sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507127508127509127510127511127512127513127514127515127516127517127518127519127520127521127522127523127524127525127526127527127528127529127530127531127532127533127534127535127536127537127538127539127540127541127542127543127544127545127546127547127548127549127550127551127552127553127554127555127556127557127558127559127560127561127562127563127564127565127566127567127568127569127570127571127572127573127574127575127576127577127578127579127580127581127582127583127584127585127586127587127588127589127590127591127592127593127594127595127596127597127598127599127600127601127602127603127604127605127606127607127608127609127610127611127612127613127614127615127616127617127618127619127620127621127622127623127624127625127626127627127628127629127630127631127632127633127634127635127636127637127638127639127640127641127642127643127644127645127646127647127648127649127650127651127652127653127654127655127656127657127658127659127660127661127662127663127664127665127666127667127668127669127670127671127672127673127674127675127676127677127678127679127680127681127682127683127684127685127686127687127688127689127690127691127692127693127694127695127696127697127698127699127700127701127702127703127704127705127706127707127708127709127710127711127712127713127714127715127716127717127718127719127720127721127722127723127724127725127726127727127728127729127730127731127732127733127734127735127736127737127738127739127740127741127742127743127744127745127746127747127748127749127750127751127752127753127754127755127756127757127758127759127760127761127762127763127764127765127766127767127768127769127770127771127772127773127774127775127776127777127778127779127780127781127782127783127784127785127786127787127788127789127790127791127792127793127794127795127796127797127798127799127800127801127802127803127804127805127806127807127808127809127810127811127812127813127814127815127816127817127818127819127820127821127822127823127824127825127826127827127828127829127830127831127832127833127834127835127836127837127838127839127840127841127842127843127844127845127846127847127848127849127850127851127852127853127854127855127856127857127858127859127860127861127862127863127864127865127866127867127868127869127870127871127872127873127874127875127876127877127878127879127880127881127882127883127884127885127886127887127888127889127890127891127892127893127894127895127896127897127898127899127900127901127902127903127904127905127906127907127908127909127910127911127912127913127914127915127916127917127918127919127920127921127922127923127924127925127926127927127928127929127930127931127932127933127934127935127936127937127938127939127940127941127942127943127944127945127946127947127948127949127950127951127952127953127954127955127956127957127958127959127960127961127962127963127964127965127966127967127968127969127970127971127972127973127974127975127976127977127978127979127980127981127982127983127984127985127986127987127988127989127990127991127992127993127994127995127996127997127998127999128000128001128002128003128004128005128006128007128008128009128010128011128012128013128014128015128016128017128018128019128020128021128022128023128024128025128026128027128028128029128030128031128032128033128034128035128036128037128038128039128040128041128042128043128044128045128046128047128048128049128050128051128052128053128054128055128056128057128058128059128060128061128062128063128064128065128066128067128068128069128070128071128072128073128074128075128076128077128078128079128080128081128082128083128084128085128086128087128088128089128090128091128092128093128094128095128096128097128098128099128100128101128102128103128104128105128106128107128108128109128110128111128112128113128114128115128116128117128118128119128120128121128122128123128124128125128126128127128128128129128130128131128132128133128134128135128136128137128138128139128140128141128142128143128144128145128146128147128148128149128150128151128152128153128154128155128156128157128158128159128160128161128162128163128164128165128166128167128168128169128170128171128172128173128174128175128176128177128178128179128180128181128182128183128184128185128186128187128188128189128190128191128192128193128194128195128196128197128198128199128200128201128202128203128204128205128206128207128208128209128210128211128212128213128214128215128216128217128218128219128220128221128222128223128224128225128226128227128228128229128230128231128232128233128234128235128236128237128238128239128240128241128242128243128244128245128246128247128248128249128250128251128252128253128254128255128256128257128258128259128260128261128262128263128264128265128266128267128268128269128270128271128272128273128274128275128276128277128278128279128280128281128282128283128284128285128286128287128288128289128290128291128292128293128294128295128296128297128298128299128300128301128302128303128304128305128306128307128308128309128310128311128312128313128314128315128316128317128318128319128320128321128322128323128324128325128326128327128328128329128330128331128332128333128334128335128336128337128338128339128340128341128342128343128344128345128346128347128348128349128350128351128352128353128354128355128356128357128358128359128360128361128362128363128364128365128366128367128368128369128370128371128372128373128374128375128376128377128378128379128380128381128382128383128384128385128386128387128388128389128390128391128392128393128394128395128396128397128398128399128400128401128402128403128404128405128406128407128408128409128410128411128412128413128414128415128416128417128418128419128420128421128422128423128424128425128426128427128428128429128430128431128432128433128434128435128436128437128438128439128440128441128442128443128444128445128446128447128448128449128450128451128452128453128454128455128456128457128458128459128460128461128462128463128464128465128466128467128468128469128470128471128472128473128474128475128476128477128478128479128480128481128482128483128484128485128486128487128488128489128490128491128492128493128494128495128496128497128498128499128500128501128502128503128504128505128506128507128508128509128510128511128512128513128514128515128516128517128518128519128520128521128522128523128524128525128526128527128528128529128530128531128532128533128534128535128536128537128538128539128540128541128542128543128544128545128546128547128548128549128550128551128552128553128554128555128556128557128558128559128560128561128562128563128564128565128566128567128568128569128570128571128572128573128574128575128576128577128578128579128580128581128582128583128584128585128586128587128588128589128590128591128592128593128594128595128596128597128598128599128600128601128602128603128604128605128606128607128608128609128610128611128612128613128614128615128616128617128618128619128620128621128622128623128624128625128626128627128628128629128630128631128632128633128634128635128636128637128638128639128640128641128642128643128644128645128646128647128648128649128650128651128652128653128654128655128656128657128658128659128660128661128662128663128664128665128666128667128668128669128670128671128672128673128674128675128676128677128678128679128680128681128682128683128684128685128686128687128688128689128690128691128692128693128694128695128696128697128698128699128700128701128702128703128704128705128706128707128708128709128710128711128712128713128714128715128716128717128718128719128720128721128722128723128724128725128726128727128728128729128730128731128732128733128734128735128736128737128738128739128740128741128742128743128744128745128746128747128748128749128750128751128752128753128754128755128756128757128758128759128760128761128762128763128764128765128766128767128768128769128770128771128772128773128774128775128776128777128778128779128780128781128782128783128784128785128786128787128788128789128790128791128792128793128794128795128796128797128798128799128800128801128802128803128804
  1. // Because of vitejs/vite#12340, there's no way to reliably detect whether we're
  2. // running as a (possibly bundled/polyfilled) ESM module or as a CommonJS
  3. // module. In order to work everywhere, we have to provide the load function via
  4. // a side channel on the global object. We write it as a stack so that multiple
  5. // cli_pkg packages can depend on one another without clobbering their exports.
  6. if (!globalThis._cliPkgExports) {
  7. globalThis._cliPkgExports = [];
  8. }
  9. let _cliPkgExports = {};
  10. globalThis._cliPkgExports.push(_cliPkgExports);
  11. _cliPkgExports.load = function(_cliPkgRequires, _cliPkgExportParam) {
  12. var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
  13. // make sure to keep this as 'var'
  14. // we don't want block scoping
  15. var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
  16. self.scheduleImmediate = typeof setImmediate !== "undefined"
  17. ? function (cb) {
  18. setImmediate(cb);
  19. }
  20. : function(cb) {
  21. setTimeout(cb, 0);
  22. };
  23. // CommonJS globals.
  24. if (typeof require !== "undefined") {
  25. self.require = require;
  26. }
  27. self.exports = _cliPkgExportParam || _cliPkgExports;
  28. // Node.js specific exports, check to see if they exist & or polyfilled
  29. if (typeof process !== "undefined") {
  30. self.process = process;
  31. }
  32. if (typeof __dirname !== "undefined") {
  33. self.__dirname = __dirname;
  34. }
  35. if (typeof __filename !== "undefined") {
  36. self.__filename = __filename;
  37. }
  38. if (typeof Buffer !== "undefined") {
  39. self.Buffer = Buffer;
  40. }
  41. // if we're running in a browser, Dart supports most of this out of box
  42. // make sure we only run these in Node.js environment
  43. if (dartNodeIsActuallyNode) {
  44. // This line is to:
  45. // 1) Prevent Webpack from bundling.
  46. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  47. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  48. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  49. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  50. // as a property instead to be safe.
  51. Object.defineProperty(self, "location", {
  52. value: {
  53. get href() {
  54. if (url.pathToFileURL) {
  55. return url.pathToFileURL(process.cwd()).href + "/";
  56. } else {
  57. // This isn't really a correct transformation, but it's the best we have
  58. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  59. // For example, it will fail for paths that contain characters that need
  60. // to be escaped in URLs.
  61. return "file://" + (function() {
  62. var cwd = process.cwd();
  63. if (process.platform != "win32") return cwd;
  64. return "/" + cwd.replace(/\\/g, "/");
  65. })() + "/"
  66. }
  67. }
  68. }
  69. });
  70. (function() {
  71. function computeCurrentScript() {
  72. try {
  73. throw new Error();
  74. } catch(e) {
  75. var stack = e.stack;
  76. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  77. var lastMatch = null;
  78. do {
  79. var match = re.exec(stack);
  80. if (match != null) lastMatch = match;
  81. } while (match != null);
  82. return lastMatch[1];
  83. }
  84. }
  85. // Setting `self.document=` isn't known to throw an error anywhere like
  86. // `self.location=` does on Electron, but it's better to be future-proof
  87. // just in case..
  88. var cachedCurrentScript = null;
  89. Object.defineProperty(self, "document", {
  90. value: {
  91. get currentScript() {
  92. if (cachedCurrentScript == null) {
  93. cachedCurrentScript = {src: computeCurrentScript()};
  94. }
  95. return cachedCurrentScript;
  96. }
  97. }
  98. });
  99. })();
  100. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  101. try {
  102. load(uri);
  103. successCallback();
  104. } catch (error) {
  105. errorCallback(error);
  106. }
  107. };
  108. }
  109. Object.defineProperty(self, 'parcel_watcher', { get: _cliPkgRequires.parcel_watcher });
  110. self.immutable = _cliPkgRequires.immutable;
  111. self.chokidar = _cliPkgRequires.chokidar;
  112. self.readline = _cliPkgRequires.readline;
  113. self.fs = _cliPkgRequires.fs;
  114. self.nodeModule = _cliPkgRequires.nodeModule;
  115. self.stream = _cliPkgRequires.stream;
  116. self.util = _cliPkgRequires.util;
  117. // Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.10.1.
  118. // The code supports the following hooks:
  119. // dartPrint(message):
  120. // if this function is defined it is called instead of the Dart [print]
  121. // method.
  122. //
  123. // dartMainRunner(main, args):
  124. // if this function is defined, the Dart [main] method will not be invoked
  125. // directly. Instead, a closure that will invoke [main], and its arguments
  126. // [args] is passed to [dartMainRunner].
  127. //
  128. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  129. // if this function is defined, it will be called when a deferred library
  130. // is loaded. It should load and eval the javascript of `uri`, and call
  131. // successCallback. If it fails to do so, it should call errorCallback with
  132. // an error. The loadId argument is the deferred import that resulted in
  133. // this uri being loaded. The loadPriority argument is an arbitrary argument
  134. // string forwarded from the 'dart2js:load-priority' pragma option.
  135. // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
  136. // if this function is defined, it will be called when a deferred library
  137. // is loaded. It should load and eval the javascript of every URI in `uris`,
  138. // and call successCallback. If it fails to do so, it should call
  139. // errorCallback with an error. The loadId argument is the deferred import
  140. // that resulted in this uri being loaded. The loadPriority argument is an
  141. // arbitrary argument string forwarded from the 'dart2js:load-priority'
  142. // pragma option.
  143. //
  144. // dartCallInstrumentation(id, qualifiedName):
  145. // if this function is defined, it will be called at each entry of a
  146. // method or constructor. Used only when compiling programs with
  147. // --experiment-call-instrumentation.
  148. (function dartProgram() {
  149. function copyProperties(from, to) {
  150. var keys = Object.keys(from);
  151. for (var i = 0; i < keys.length; i++) {
  152. var key = keys[i];
  153. to[key] = from[key];
  154. }
  155. }
  156. function mixinPropertiesHard(from, to) {
  157. var keys = Object.keys(from);
  158. for (var i = 0; i < keys.length; i++) {
  159. var key = keys[i];
  160. if (!to.hasOwnProperty(key)) {
  161. to[key] = from[key];
  162. }
  163. }
  164. }
  165. function mixinPropertiesEasy(from, to) {
  166. Object.assign(to, from);
  167. }
  168. var supportsDirectProtoAccess = function() {
  169. var cls = function() {
  170. };
  171. cls.prototype = {p: {}};
  172. var object = new cls();
  173. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  174. return false;
  175. try {
  176. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  177. return true;
  178. if (typeof version == "function" && version.length == 0) {
  179. var v = version();
  180. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  181. return true;
  182. }
  183. } catch (_) {
  184. }
  185. return false;
  186. }();
  187. function inherit(cls, sup) {
  188. cls.prototype.constructor = cls;
  189. cls.prototype["$is" + cls.name] = cls;
  190. if (sup != null) {
  191. if (supportsDirectProtoAccess) {
  192. Object.setPrototypeOf(cls.prototype, sup.prototype);
  193. return;
  194. }
  195. var clsPrototype = Object.create(sup.prototype);
  196. copyProperties(cls.prototype, clsPrototype);
  197. cls.prototype = clsPrototype;
  198. }
  199. }
  200. function inheritMany(sup, classes) {
  201. for (var i = 0; i < classes.length; i++) {
  202. inherit(classes[i], sup);
  203. }
  204. }
  205. function mixinEasy(cls, mixin) {
  206. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  207. cls.prototype.constructor = cls;
  208. }
  209. function mixinHard(cls, mixin) {
  210. mixinPropertiesHard(mixin.prototype, cls.prototype);
  211. cls.prototype.constructor = cls;
  212. }
  213. function lazy(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. if (holder[name] === uninitializedSentinel) {
  218. holder[name] = initializer();
  219. }
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. return holder[name];
  224. };
  225. }
  226. function lazyFinal(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel) {
  231. var value = initializer();
  232. if (holder[name] !== uninitializedSentinel) {
  233. A.throwLateFieldADI(name);
  234. }
  235. holder[name] = value;
  236. }
  237. var finalValue = holder[name];
  238. holder[getterName] = function() {
  239. return finalValue;
  240. };
  241. return finalValue;
  242. };
  243. }
  244. function makeConstList(list, rti) {
  245. if (rti != null)
  246. A._setArrayType(list, rti);
  247. list.$flags = 7;
  248. return list;
  249. }
  250. function convertToFastObject(properties) {
  251. function t() {
  252. }
  253. t.prototype = properties;
  254. new t();
  255. return properties;
  256. }
  257. function convertAllToFastObject(arrayOfObjects) {
  258. for (var i = 0; i < arrayOfObjects.length; ++i) {
  259. convertToFastObject(arrayOfObjects[i]);
  260. }
  261. }
  262. var functionCounter = 0;
  263. function instanceTearOffGetter(isIntercepted, parameters) {
  264. var cache = null;
  265. return isIntercepted ? function(receiver) {
  266. if (cache === null)
  267. cache = A.closureFromTearOff(parameters);
  268. return new cache(receiver, this);
  269. } : function() {
  270. if (cache === null)
  271. cache = A.closureFromTearOff(parameters);
  272. return new cache(this, null);
  273. };
  274. }
  275. function staticTearOffGetter(parameters) {
  276. var cache = null;
  277. return function() {
  278. if (cache === null)
  279. cache = A.closureFromTearOff(parameters).prototype;
  280. return cache;
  281. };
  282. }
  283. var typesOffset = 0;
  284. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  285. if (typeof funType == "number") {
  286. funType += typesOffset;
  287. }
  288. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  289. }
  290. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  291. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  292. var getterFunction = staticTearOffGetter(parameters);
  293. holder[getterName] = getterFunction;
  294. }
  295. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  296. isIntercepted = !!isIntercepted;
  297. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  298. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  299. prototype[getterName] = getterFunction;
  300. }
  301. function setOrUpdateInterceptorsByTag(newTags) {
  302. var tags = init.interceptorsByTag;
  303. if (!tags) {
  304. init.interceptorsByTag = newTags;
  305. return;
  306. }
  307. copyProperties(newTags, tags);
  308. }
  309. function setOrUpdateLeafTags(newTags) {
  310. var tags = init.leafTags;
  311. if (!tags) {
  312. init.leafTags = newTags;
  313. return;
  314. }
  315. copyProperties(newTags, tags);
  316. }
  317. function updateTypes(newTypes) {
  318. var types = init.types;
  319. var length = types.length;
  320. types.push.apply(types, newTypes);
  321. return length;
  322. }
  323. function updateHolder(holder, newHolder) {
  324. copyProperties(newHolder, holder);
  325. return holder;
  326. }
  327. var hunkHelpers = function() {
  328. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  329. return function(container, getterName, name, funType) {
  330. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  331. };
  332. },
  333. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  334. return function(container, getterName, name, funType) {
  335. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  336. };
  337. };
  338. return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  339. }();
  340. function initializeDeferredHunk(hunk) {
  341. typesOffset = init.types.length;
  342. hunk(hunkHelpers, init, holders, $);
  343. }
  344. var J = {
  345. makeDispatchRecord(interceptor, proto, extension, indexability) {
  346. return {i: interceptor, p: proto, e: extension, x: indexability};
  347. },
  348. getNativeInterceptor(object) {
  349. var proto, objectProto, $constructor, interceptor, t1,
  350. record = object[init.dispatchPropertyName];
  351. if (record == null)
  352. if ($.initNativeDispatchFlag == null) {
  353. A.initNativeDispatch();
  354. record = object[init.dispatchPropertyName];
  355. }
  356. if (record != null) {
  357. proto = record.p;
  358. if (false === proto)
  359. return record.i;
  360. if (true === proto)
  361. return object;
  362. objectProto = Object.getPrototypeOf(object);
  363. if (proto === objectProto)
  364. return record.i;
  365. if (record.e === objectProto)
  366. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  367. }
  368. $constructor = object.constructor;
  369. if ($constructor == null)
  370. interceptor = null;
  371. else {
  372. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  373. if (t1 == null)
  374. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  375. interceptor = $constructor[t1];
  376. }
  377. if (interceptor != null)
  378. return interceptor;
  379. interceptor = A.lookupAndCacheInterceptor(object);
  380. if (interceptor != null)
  381. return interceptor;
  382. if (typeof object == "function")
  383. return B.JavaScriptFunction_methods;
  384. proto = Object.getPrototypeOf(object);
  385. if (proto == null)
  386. return B.PlainJavaScriptObject_methods;
  387. if (proto === Object.prototype)
  388. return B.PlainJavaScriptObject_methods;
  389. if (typeof $constructor == "function") {
  390. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  391. if (t1 == null)
  392. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  393. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  394. return B.UnknownJavaScriptObject_methods;
  395. }
  396. return B.UnknownJavaScriptObject_methods;
  397. },
  398. JSArray_JSArray$fixed($length, $E) {
  399. if ($length < 0 || $length > 4294967295)
  400. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  401. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  402. },
  403. JSArray_JSArray$allocateFixed($length, $E) {
  404. if ($length > 4294967295)
  405. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  406. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  407. },
  408. JSArray_JSArray$growable($length, $E) {
  409. if ($length < 0)
  410. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  411. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  412. },
  413. JSArray_JSArray$allocateGrowable($length, $E) {
  414. if ($length < 0)
  415. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  416. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  417. },
  418. JSArray_JSArray$markFixed(allocation, $E) {
  419. var t1 = A._setArrayType(allocation, $E._eval$1("JSArray<0>"));
  420. t1.$flags = 1;
  421. return t1;
  422. },
  423. JSArray__compareAny(a, b) {
  424. return J.compareTo$1$ns(a, b);
  425. },
  426. JSString__isWhitespace(codeUnit) {
  427. if (codeUnit < 256)
  428. switch (codeUnit) {
  429. case 9:
  430. case 10:
  431. case 11:
  432. case 12:
  433. case 13:
  434. case 32:
  435. case 133:
  436. case 160:
  437. return true;
  438. default:
  439. return false;
  440. }
  441. switch (codeUnit) {
  442. case 5760:
  443. case 8192:
  444. case 8193:
  445. case 8194:
  446. case 8195:
  447. case 8196:
  448. case 8197:
  449. case 8198:
  450. case 8199:
  451. case 8200:
  452. case 8201:
  453. case 8202:
  454. case 8232:
  455. case 8233:
  456. case 8239:
  457. case 8287:
  458. case 12288:
  459. case 65279:
  460. return true;
  461. default:
  462. return false;
  463. }
  464. },
  465. JSString__skipLeadingWhitespace(string, index) {
  466. var t1, codeUnit;
  467. for (t1 = string.length; index < t1;) {
  468. codeUnit = string.charCodeAt(index);
  469. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  470. break;
  471. ++index;
  472. }
  473. return index;
  474. },
  475. JSString__skipTrailingWhitespace(string, index) {
  476. var index0, codeUnit;
  477. for (; index > 0; index = index0) {
  478. index0 = index - 1;
  479. codeUnit = string.charCodeAt(index0);
  480. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  481. break;
  482. }
  483. return index;
  484. },
  485. getInterceptor$(receiver) {
  486. if (typeof receiver == "number") {
  487. if (Math.floor(receiver) == receiver)
  488. return J.JSInt.prototype;
  489. return J.JSNumNotInt.prototype;
  490. }
  491. if (typeof receiver == "string")
  492. return J.JSString.prototype;
  493. if (receiver == null)
  494. return J.JSNull.prototype;
  495. if (typeof receiver == "boolean")
  496. return J.JSBool.prototype;
  497. if (Array.isArray(receiver))
  498. return J.JSArray.prototype;
  499. if (typeof receiver != "object") {
  500. if (typeof receiver == "function")
  501. return J.JavaScriptFunction.prototype;
  502. if (typeof receiver == "symbol")
  503. return J.JavaScriptSymbol.prototype;
  504. if (typeof receiver == "bigint")
  505. return J.JavaScriptBigInt.prototype;
  506. return receiver;
  507. }
  508. if (receiver instanceof A.Object)
  509. return receiver;
  510. return J.getNativeInterceptor(receiver);
  511. },
  512. getInterceptor$ansx(receiver) {
  513. if (typeof receiver == "number")
  514. return J.JSNumber.prototype;
  515. if (typeof receiver == "string")
  516. return J.JSString.prototype;
  517. if (receiver == null)
  518. return receiver;
  519. if (Array.isArray(receiver))
  520. return J.JSArray.prototype;
  521. if (typeof receiver != "object") {
  522. if (typeof receiver == "function")
  523. return J.JavaScriptFunction.prototype;
  524. if (typeof receiver == "symbol")
  525. return J.JavaScriptSymbol.prototype;
  526. if (typeof receiver == "bigint")
  527. return J.JavaScriptBigInt.prototype;
  528. return receiver;
  529. }
  530. if (receiver instanceof A.Object)
  531. return receiver;
  532. return J.getNativeInterceptor(receiver);
  533. },
  534. getInterceptor$asx(receiver) {
  535. if (typeof receiver == "string")
  536. return J.JSString.prototype;
  537. if (receiver == null)
  538. return receiver;
  539. if (Array.isArray(receiver))
  540. return J.JSArray.prototype;
  541. if (typeof receiver != "object") {
  542. if (typeof receiver == "function")
  543. return J.JavaScriptFunction.prototype;
  544. if (typeof receiver == "symbol")
  545. return J.JavaScriptSymbol.prototype;
  546. if (typeof receiver == "bigint")
  547. return J.JavaScriptBigInt.prototype;
  548. return receiver;
  549. }
  550. if (receiver instanceof A.Object)
  551. return receiver;
  552. return J.getNativeInterceptor(receiver);
  553. },
  554. getInterceptor$ax(receiver) {
  555. if (receiver == null)
  556. return receiver;
  557. if (Array.isArray(receiver))
  558. return J.JSArray.prototype;
  559. if (typeof receiver != "object") {
  560. if (typeof receiver == "function")
  561. return J.JavaScriptFunction.prototype;
  562. if (typeof receiver == "symbol")
  563. return J.JavaScriptSymbol.prototype;
  564. if (typeof receiver == "bigint")
  565. return J.JavaScriptBigInt.prototype;
  566. return receiver;
  567. }
  568. if (receiver instanceof A.Object)
  569. return receiver;
  570. return J.getNativeInterceptor(receiver);
  571. },
  572. getInterceptor$in(receiver) {
  573. if (typeof receiver == "number") {
  574. if (Math.floor(receiver) == receiver)
  575. return J.JSInt.prototype;
  576. return J.JSNumNotInt.prototype;
  577. }
  578. if (receiver == null)
  579. return receiver;
  580. if (!(receiver instanceof A.Object))
  581. return J.UnknownJavaScriptObject.prototype;
  582. return receiver;
  583. },
  584. getInterceptor$ns(receiver) {
  585. if (typeof receiver == "number")
  586. return J.JSNumber.prototype;
  587. if (typeof receiver == "string")
  588. return J.JSString.prototype;
  589. if (receiver == null)
  590. return receiver;
  591. if (!(receiver instanceof A.Object))
  592. return J.UnknownJavaScriptObject.prototype;
  593. return receiver;
  594. },
  595. getInterceptor$s(receiver) {
  596. if (typeof receiver == "string")
  597. return J.JSString.prototype;
  598. if (receiver == null)
  599. return receiver;
  600. if (!(receiver instanceof A.Object))
  601. return J.UnknownJavaScriptObject.prototype;
  602. return receiver;
  603. },
  604. getInterceptor$x(receiver) {
  605. if (receiver == null)
  606. return receiver;
  607. if (typeof receiver != "object") {
  608. if (typeof receiver == "function")
  609. return J.JavaScriptFunction.prototype;
  610. if (typeof receiver == "symbol")
  611. return J.JavaScriptSymbol.prototype;
  612. if (typeof receiver == "bigint")
  613. return J.JavaScriptBigInt.prototype;
  614. return receiver;
  615. }
  616. if (receiver instanceof A.Object)
  617. return receiver;
  618. return J.getNativeInterceptor(receiver);
  619. },
  620. getInterceptor$z(receiver) {
  621. if (receiver == null)
  622. return receiver;
  623. if (!(receiver instanceof A.Object))
  624. return J.UnknownJavaScriptObject.prototype;
  625. return receiver;
  626. },
  627. set$AsyncCompiler$x(receiver, value) {
  628. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  629. },
  630. set$CalculationInterpolation$x(receiver, value) {
  631. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  632. },
  633. set$CalculationOperation$x(receiver, value) {
  634. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  635. },
  636. set$Compiler$x(receiver, value) {
  637. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  638. },
  639. set$Exception$x(receiver, value) {
  640. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  641. },
  642. set$FALSE$x(receiver, value) {
  643. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  644. },
  645. set$Logger$x(receiver, value) {
  646. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  647. },
  648. set$NULL$x(receiver, value) {
  649. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  650. },
  651. set$NodePackageImporter$x(receiver, value) {
  652. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  653. },
  654. set$SassArgumentList$x(receiver, value) {
  655. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  656. },
  657. set$SassBoolean$x(receiver, value) {
  658. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  659. },
  660. set$SassCalculation$x(receiver, value) {
  661. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  662. },
  663. set$SassColor$x(receiver, value) {
  664. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  665. },
  666. set$SassFunction$x(receiver, value) {
  667. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  668. },
  669. set$SassList$x(receiver, value) {
  670. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  671. },
  672. set$SassMap$x(receiver, value) {
  673. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  674. },
  675. set$SassMixin$x(receiver, value) {
  676. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  677. },
  678. set$SassNumber$x(receiver, value) {
  679. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  680. },
  681. set$SassString$x(receiver, value) {
  682. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  683. },
  684. set$TRUE$x(receiver, value) {
  685. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  686. },
  687. set$Value$x(receiver, value) {
  688. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  689. },
  690. set$Version$x(receiver, value) {
  691. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  692. },
  693. set$cli_pkg_main_0_$x(receiver, value) {
  694. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  695. },
  696. set$compile$x(receiver, value) {
  697. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  698. },
  699. set$compileAsync$x(receiver, value) {
  700. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  701. },
  702. set$compileString$x(receiver, value) {
  703. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  704. },
  705. set$compileStringAsync$x(receiver, value) {
  706. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  707. },
  708. set$context$x(receiver, value) {
  709. return J.getInterceptor$x(receiver).set$context(receiver, value);
  710. },
  711. set$dartValue$x(receiver, value) {
  712. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  713. },
  714. set$deprecations$x(receiver, value) {
  715. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  716. },
  717. set$exitCode$x(receiver, value) {
  718. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  719. },
  720. set$info$x(receiver, value) {
  721. return J.getInterceptor$x(receiver).set$info(receiver, value);
  722. },
  723. set$initAsyncCompiler$x(receiver, value) {
  724. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  725. },
  726. set$initCompiler$x(receiver, value) {
  727. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  728. },
  729. set$length$asx(receiver, value) {
  730. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  731. },
  732. set$loadParserExports_$x(receiver, value) {
  733. return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
  734. },
  735. set$render$x(receiver, value) {
  736. return J.getInterceptor$x(receiver).set$render(receiver, value);
  737. },
  738. set$renderSync$x(receiver, value) {
  739. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  740. },
  741. set$sassFalse$x(receiver, value) {
  742. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  743. },
  744. set$sassNull$x(receiver, value) {
  745. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  746. },
  747. set$sassTrue$x(receiver, value) {
  748. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  749. },
  750. set$types$x(receiver, value) {
  751. return J.getInterceptor$x(receiver).set$types(receiver, value);
  752. },
  753. get$$prototype$x(receiver) {
  754. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  755. },
  756. get$_dartException$x(receiver) {
  757. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  758. },
  759. get$alertAscii$x(receiver) {
  760. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  761. },
  762. get$alertColor$x(receiver) {
  763. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  764. },
  765. get$argv$x(receiver) {
  766. return J.getInterceptor$x(receiver).get$argv(receiver);
  767. },
  768. get$brackets$x(receiver) {
  769. return J.getInterceptor$x(receiver).get$brackets(receiver);
  770. },
  771. get$charset$x(receiver) {
  772. return J.getInterceptor$x(receiver).get$charset(receiver);
  773. },
  774. get$code$x(receiver) {
  775. return J.getInterceptor$x(receiver).get$code(receiver);
  776. },
  777. get$current$x(receiver) {
  778. return J.getInterceptor$x(receiver).get$current(receiver);
  779. },
  780. get$dartValue$x(receiver) {
  781. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  782. },
  783. get$debug$x(receiver) {
  784. return J.getInterceptor$x(receiver).get$debug(receiver);
  785. },
  786. get$denominatorUnits$x(receiver) {
  787. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  788. },
  789. get$env$x(receiver) {
  790. return J.getInterceptor$x(receiver).get$env(receiver);
  791. },
  792. get$exitCode$x(receiver) {
  793. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  794. },
  795. get$fatalDeprecations$x(receiver) {
  796. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  797. },
  798. get$fiber$x(receiver) {
  799. return J.getInterceptor$x(receiver).get$fiber(receiver);
  800. },
  801. get$file$x(receiver) {
  802. return J.getInterceptor$x(receiver).get$file(receiver);
  803. },
  804. get$filename$x(receiver) {
  805. return J.getInterceptor$x(receiver).get$filename(receiver);
  806. },
  807. get$first$ax(receiver) {
  808. return J.getInterceptor$ax(receiver).get$first(receiver);
  809. },
  810. get$functions$x(receiver) {
  811. return J.getInterceptor$x(receiver).get$functions(receiver);
  812. },
  813. get$futureDeprecations$x(receiver) {
  814. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  815. },
  816. get$hashCode$(receiver) {
  817. return J.getInterceptor$(receiver).get$hashCode(receiver);
  818. },
  819. get$id$x(receiver) {
  820. return J.getInterceptor$x(receiver).get$id(receiver);
  821. },
  822. get$importer$x(receiver) {
  823. return J.getInterceptor$x(receiver).get$importer(receiver);
  824. },
  825. get$importers$x(receiver) {
  826. return J.getInterceptor$x(receiver).get$importers(receiver);
  827. },
  828. get$isEmpty$asx(receiver) {
  829. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  830. },
  831. get$isNotEmpty$asx(receiver) {
  832. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  833. },
  834. get$isTTY$x(receiver) {
  835. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  836. },
  837. get$iterator$ax(receiver) {
  838. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  839. },
  840. get$last$ax(receiver) {
  841. return J.getInterceptor$ax(receiver).get$last(receiver);
  842. },
  843. get$length$asx(receiver) {
  844. return J.getInterceptor$asx(receiver).get$length(receiver);
  845. },
  846. get$loadPaths$x(receiver) {
  847. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  848. },
  849. get$logger$x(receiver) {
  850. return J.getInterceptor$x(receiver).get$logger(receiver);
  851. },
  852. get$message$x(receiver) {
  853. return J.getInterceptor$x(receiver).get$message(receiver);
  854. },
  855. get$method$x(receiver) {
  856. return J.getInterceptor$x(receiver).get$method(receiver);
  857. },
  858. get$mtime$x(receiver) {
  859. return J.getInterceptor$x(receiver).get$mtime(receiver);
  860. },
  861. get$name$x(receiver) {
  862. return J.getInterceptor$x(receiver).get$name(receiver);
  863. },
  864. get$numeratorUnits$x(receiver) {
  865. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  866. },
  867. get$options$x(receiver) {
  868. return J.getInterceptor$x(receiver).get$options(receiver);
  869. },
  870. get$parent$z(receiver) {
  871. return J.getInterceptor$z(receiver).get$parent(receiver);
  872. },
  873. get$path$x(receiver) {
  874. return J.getInterceptor$x(receiver).get$path(receiver);
  875. },
  876. get$platform$x(receiver) {
  877. return J.getInterceptor$x(receiver).get$platform(receiver);
  878. },
  879. get$quietDeps$x(receiver) {
  880. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  881. },
  882. get$quotes$x(receiver) {
  883. return J.getInterceptor$x(receiver).get$quotes(receiver);
  884. },
  885. get$realpathSync$x(receiver) {
  886. return J.getInterceptor$x(receiver).get$realpathSync(receiver);
  887. },
  888. get$release$x(receiver) {
  889. return J.getInterceptor$x(receiver).get$release(receiver);
  890. },
  891. get$reversed$ax(receiver) {
  892. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  893. },
  894. get$runtimeType$(receiver) {
  895. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  896. },
  897. get$separator$x(receiver) {
  898. return J.getInterceptor$x(receiver).get$separator(receiver);
  899. },
  900. get$sign$in(receiver) {
  901. if (typeof receiver === "number")
  902. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  903. return J.getInterceptor$in(receiver).get$sign(receiver);
  904. },
  905. get$silenceDeprecations$x(receiver) {
  906. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  907. },
  908. get$single$ax(receiver) {
  909. return J.getInterceptor$ax(receiver).get$single(receiver);
  910. },
  911. get$sourceMap$x(receiver) {
  912. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  913. },
  914. get$sourceMapIncludeSources$x(receiver) {
  915. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  916. },
  917. get$space$x(receiver) {
  918. return J.getInterceptor$x(receiver).get$space(receiver);
  919. },
  920. get$span$z(receiver) {
  921. return J.getInterceptor$z(receiver).get$span(receiver);
  922. },
  923. get$stderr$x(receiver) {
  924. return J.getInterceptor$x(receiver).get$stderr(receiver);
  925. },
  926. get$stdout$x(receiver) {
  927. return J.getInterceptor$x(receiver).get$stdout(receiver);
  928. },
  929. get$style$x(receiver) {
  930. return J.getInterceptor$x(receiver).get$style(receiver);
  931. },
  932. get$syntax$x(receiver) {
  933. return J.getInterceptor$x(receiver).get$syntax(receiver);
  934. },
  935. get$trace$z(receiver) {
  936. return J.getInterceptor$z(receiver).get$trace(receiver);
  937. },
  938. get$url$x(receiver) {
  939. return J.getInterceptor$x(receiver).get$url(receiver);
  940. },
  941. get$verbose$x(receiver) {
  942. return J.getInterceptor$x(receiver).get$verbose(receiver);
  943. },
  944. get$warn$x(receiver) {
  945. return J.getInterceptor$x(receiver).get$warn(receiver);
  946. },
  947. get$weight$x(receiver) {
  948. return J.getInterceptor$x(receiver).get$weight(receiver);
  949. },
  950. $add$ansx(receiver, a0) {
  951. if (typeof receiver == "number" && typeof a0 == "number")
  952. return receiver + a0;
  953. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  954. },
  955. $eq$(receiver, a0) {
  956. if (receiver == null)
  957. return a0 == null;
  958. if (typeof receiver != "object")
  959. return a0 != null && receiver === a0;
  960. return J.getInterceptor$(receiver).$eq(receiver, a0);
  961. },
  962. $index$asx(receiver, a0) {
  963. if (typeof a0 === "number")
  964. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  965. if (a0 >>> 0 === a0 && a0 < receiver.length)
  966. return receiver[a0];
  967. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  968. },
  969. $indexSet$ax(receiver, a0, a1) {
  970. if (typeof a0 === "number")
  971. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !(receiver.$flags & 2) && a0 >>> 0 === a0 && a0 < receiver.length)
  972. return receiver[a0] = a1;
  973. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  974. },
  975. $set$2$x(receiver, a0, a1) {
  976. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  977. },
  978. add$1$ax(receiver, a0) {
  979. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  980. },
  981. addAll$1$ax(receiver, a0) {
  982. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  983. },
  984. allMatches$1$s(receiver, a0) {
  985. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  986. },
  987. allMatches$2$s(receiver, a0, a1) {
  988. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  989. },
  990. any$1$ax(receiver, a0) {
  991. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  992. },
  993. apply$2$x(receiver, a0, a1) {
  994. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  995. },
  996. asImmutable$0$x(receiver) {
  997. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  998. },
  999. asMutable$0$x(receiver) {
  1000. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1001. },
  1002. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1003. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1004. },
  1005. cast$1$0$ax(receiver, $T1) {
  1006. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1007. },
  1008. close$0$x(receiver) {
  1009. return J.getInterceptor$x(receiver).close$0(receiver);
  1010. },
  1011. codeUnitAt$1$s(receiver, a0) {
  1012. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1013. },
  1014. compareTo$1$ns(receiver, a0) {
  1015. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1016. },
  1017. contains$1$asx(receiver, a0) {
  1018. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1019. },
  1020. createInterface$1$x(receiver, a0) {
  1021. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1022. },
  1023. createRequire$1$x(receiver, a0) {
  1024. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1025. },
  1026. elementAt$1$ax(receiver, a0) {
  1027. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1028. },
  1029. error$1$x(receiver, a0) {
  1030. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1031. },
  1032. every$1$ax(receiver, a0) {
  1033. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1034. },
  1035. existsSync$1$x(receiver, a0) {
  1036. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1037. },
  1038. expand$1$1$ax(receiver, a0, $T1) {
  1039. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1040. },
  1041. fillRange$3$ax(receiver, a0, a1, a2) {
  1042. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1043. },
  1044. fold$2$ax(receiver, a0, a1) {
  1045. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1046. },
  1047. forEach$1$ax(receiver, a0) {
  1048. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1049. },
  1050. getRange$2$ax(receiver, a0, a1) {
  1051. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1052. },
  1053. getTime$0$x(receiver) {
  1054. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1055. },
  1056. isDirectory$0$x(receiver) {
  1057. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1058. },
  1059. isFile$0$x(receiver) {
  1060. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1061. },
  1062. isSymbolicLink$0$x(receiver) {
  1063. return J.getInterceptor$x(receiver).isSymbolicLink$0(receiver);
  1064. },
  1065. join$1$ax(receiver, a0) {
  1066. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1067. },
  1068. log$1$x(receiver, a0) {
  1069. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1070. },
  1071. lstatSync$1$x(receiver, a0) {
  1072. return J.getInterceptor$x(receiver).lstatSync$1(receiver, a0);
  1073. },
  1074. map$1$1$ax(receiver, a0, $T1) {
  1075. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1076. },
  1077. matchAsPrefix$2$s(receiver, a0, a1) {
  1078. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1079. },
  1080. mkdirSync$1$x(receiver, a0) {
  1081. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1082. },
  1083. native$1$x(receiver, a0) {
  1084. return J.getInterceptor$x(receiver).native$1(receiver, a0);
  1085. },
  1086. noSuchMethod$1$(receiver, a0) {
  1087. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1088. },
  1089. on$2$x(receiver, a0, a1) {
  1090. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1091. },
  1092. parse$0$z(receiver) {
  1093. return J.getInterceptor$z(receiver).parse$0(receiver);
  1094. },
  1095. readFileSync$2$x(receiver, a0, a1) {
  1096. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1097. },
  1098. readdirSync$1$x(receiver, a0) {
  1099. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1100. },
  1101. removeRange$2$ax(receiver, a0, a1) {
  1102. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1103. },
  1104. replaceFirst$2$s(receiver, a0, a1) {
  1105. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1106. },
  1107. resolve$1$x(receiver, a0) {
  1108. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1109. },
  1110. run$0$x(receiver) {
  1111. return J.getInterceptor$x(receiver).run$0(receiver);
  1112. },
  1113. run$1$x(receiver, a0) {
  1114. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1115. },
  1116. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1117. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1118. },
  1119. skip$1$ax(receiver, a0) {
  1120. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1121. },
  1122. sort$1$ax(receiver, a0) {
  1123. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1124. },
  1125. startsWith$1$s(receiver, a0) {
  1126. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1127. },
  1128. statSync$1$x(receiver, a0) {
  1129. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1130. },
  1131. sublist$1$ax(receiver, a0) {
  1132. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1133. },
  1134. substring$2$s(receiver, a0, a1) {
  1135. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1136. },
  1137. take$1$ax(receiver, a0) {
  1138. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1139. },
  1140. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1141. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1142. },
  1143. then$2$x(receiver, a0, a1) {
  1144. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1145. },
  1146. toArray$0$x(receiver) {
  1147. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1148. },
  1149. toList$0$ax(receiver) {
  1150. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1151. },
  1152. toString$0$(receiver) {
  1153. return J.getInterceptor$(receiver).toString$0(receiver);
  1154. },
  1155. toString$1$color$(receiver, a0) {
  1156. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1157. },
  1158. trim$0$s(receiver) {
  1159. return J.getInterceptor$s(receiver).trim$0(receiver);
  1160. },
  1161. unlinkSync$1$x(receiver, a0) {
  1162. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1163. },
  1164. visitAtRootRule$1$x(receiver, a0) {
  1165. return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
  1166. },
  1167. visitAtRule$1$x(receiver, a0) {
  1168. return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
  1169. },
  1170. visitAttributeSelector$1$x(receiver, a0) {
  1171. return J.getInterceptor$x(receiver).visitAttributeSelector$1(receiver, a0);
  1172. },
  1173. visitBinaryOperationExpression$1$x(receiver, a0) {
  1174. return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
  1175. },
  1176. visitBooleanExpression$1$x(receiver, a0) {
  1177. return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
  1178. },
  1179. visitClassSelector$1$x(receiver, a0) {
  1180. return J.getInterceptor$x(receiver).visitClassSelector$1(receiver, a0);
  1181. },
  1182. visitColorExpression$1$x(receiver, a0) {
  1183. return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
  1184. },
  1185. visitContentBlock$1$x(receiver, a0) {
  1186. return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
  1187. },
  1188. visitContentRule$1$x(receiver, a0) {
  1189. return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
  1190. },
  1191. visitDebugRule$1$x(receiver, a0) {
  1192. return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
  1193. },
  1194. visitDeclaration$1$x(receiver, a0) {
  1195. return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
  1196. },
  1197. visitEachRule$1$x(receiver, a0) {
  1198. return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
  1199. },
  1200. visitErrorRule$1$x(receiver, a0) {
  1201. return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
  1202. },
  1203. visitExtendRule$1$x(receiver, a0) {
  1204. return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
  1205. },
  1206. visitForRule$1$x(receiver, a0) {
  1207. return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
  1208. },
  1209. visitForwardRule$1$x(receiver, a0) {
  1210. return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
  1211. },
  1212. visitFunctionExpression$1$x(receiver, a0) {
  1213. return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
  1214. },
  1215. visitFunctionRule$1$x(receiver, a0) {
  1216. return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
  1217. },
  1218. visitIDSelector$1$x(receiver, a0) {
  1219. return J.getInterceptor$x(receiver).visitIDSelector$1(receiver, a0);
  1220. },
  1221. visitIfExpression$1$x(receiver, a0) {
  1222. return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
  1223. },
  1224. visitIfRule$1$x(receiver, a0) {
  1225. return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
  1226. },
  1227. visitImportRule$1$x(receiver, a0) {
  1228. return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
  1229. },
  1230. visitIncludeRule$1$x(receiver, a0) {
  1231. return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
  1232. },
  1233. visitInterpolatedFunctionExpression$1$x(receiver, a0) {
  1234. return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
  1235. },
  1236. visitListExpression$1$x(receiver, a0) {
  1237. return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
  1238. },
  1239. visitLoudComment$1$x(receiver, a0) {
  1240. return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
  1241. },
  1242. visitMapExpression$1$x(receiver, a0) {
  1243. return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
  1244. },
  1245. visitMediaRule$1$x(receiver, a0) {
  1246. return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
  1247. },
  1248. visitMixinRule$1$x(receiver, a0) {
  1249. return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
  1250. },
  1251. visitNullExpression$1$x(receiver, a0) {
  1252. return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
  1253. },
  1254. visitNumberExpression$1$x(receiver, a0) {
  1255. return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
  1256. },
  1257. visitParentSelector$1$x(receiver, a0) {
  1258. return J.getInterceptor$x(receiver).visitParentSelector$1(receiver, a0);
  1259. },
  1260. visitParenthesizedExpression$1$x(receiver, a0) {
  1261. return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
  1262. },
  1263. visitPlaceholderSelector$1$x(receiver, a0) {
  1264. return J.getInterceptor$x(receiver).visitPlaceholderSelector$1(receiver, a0);
  1265. },
  1266. visitPseudoSelector$1$x(receiver, a0) {
  1267. return J.getInterceptor$x(receiver).visitPseudoSelector$1(receiver, a0);
  1268. },
  1269. visitReturnRule$1$x(receiver, a0) {
  1270. return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
  1271. },
  1272. visitSelectorExpression$1$x(receiver, a0) {
  1273. return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
  1274. },
  1275. visitSilentComment$1$x(receiver, a0) {
  1276. return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
  1277. },
  1278. visitStringExpression$1$x(receiver, a0) {
  1279. return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
  1280. },
  1281. visitStyleRule$1$x(receiver, a0) {
  1282. return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
  1283. },
  1284. visitStylesheet$1$x(receiver, a0) {
  1285. return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
  1286. },
  1287. visitSupportsExpression$1$x(receiver, a0) {
  1288. return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
  1289. },
  1290. visitSupportsRule$1$x(receiver, a0) {
  1291. return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
  1292. },
  1293. visitTypeSelector$1$x(receiver, a0) {
  1294. return J.getInterceptor$x(receiver).visitTypeSelector$1(receiver, a0);
  1295. },
  1296. visitUnaryOperationExpression$1$x(receiver, a0) {
  1297. return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
  1298. },
  1299. visitUniversalSelector$1$x(receiver, a0) {
  1300. return J.getInterceptor$x(receiver).visitUniversalSelector$1(receiver, a0);
  1301. },
  1302. visitUseRule$1$x(receiver, a0) {
  1303. return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
  1304. },
  1305. visitValueExpression$1$x(receiver, a0) {
  1306. return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
  1307. },
  1308. visitVariableDeclaration$1$x(receiver, a0) {
  1309. return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
  1310. },
  1311. visitVariableExpression$1$x(receiver, a0) {
  1312. return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
  1313. },
  1314. visitWarnRule$1$x(receiver, a0) {
  1315. return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
  1316. },
  1317. visitWhileRule$1$x(receiver, a0) {
  1318. return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
  1319. },
  1320. watch$2$x(receiver, a0, a1) {
  1321. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1322. },
  1323. where$1$ax(receiver, a0) {
  1324. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1325. },
  1326. write$1$x(receiver, a0) {
  1327. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1328. },
  1329. writeFileSync$2$x(receiver, a0, a1) {
  1330. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1331. },
  1332. yield$0$x(receiver) {
  1333. return J.getInterceptor$x(receiver).yield$0(receiver);
  1334. },
  1335. Interceptor: function Interceptor() {
  1336. },
  1337. JSBool: function JSBool() {
  1338. },
  1339. JSNull: function JSNull() {
  1340. },
  1341. JavaScriptObject: function JavaScriptObject() {
  1342. },
  1343. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1344. },
  1345. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1346. },
  1347. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1348. },
  1349. JavaScriptFunction: function JavaScriptFunction() {
  1350. },
  1351. JavaScriptBigInt: function JavaScriptBigInt() {
  1352. },
  1353. JavaScriptSymbol: function JavaScriptSymbol() {
  1354. },
  1355. JSArray: function JSArray(t0) {
  1356. this.$ti = t0;
  1357. },
  1358. JSArraySafeToStringHook: function JSArraySafeToStringHook() {
  1359. },
  1360. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1361. this.$ti = t0;
  1362. },
  1363. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1364. var _ = this;
  1365. _._iterable = t0;
  1366. _._length = t1;
  1367. _._index = 0;
  1368. _._current = null;
  1369. _.$ti = t2;
  1370. },
  1371. JSNumber: function JSNumber() {
  1372. },
  1373. JSInt: function JSInt() {
  1374. },
  1375. JSNumNotInt: function JSNumNotInt() {
  1376. },
  1377. JSString: function JSString() {
  1378. }
  1379. },
  1380. A = {JS_CONST: function JS_CONST() {
  1381. },
  1382. CastIterable_CastIterable(source, $S, $T) {
  1383. if (type$.EfficientLengthIterable_dynamic._is(source))
  1384. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1385. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1386. },
  1387. LateError$fieldADI(fieldName) {
  1388. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  1389. },
  1390. LateError$fieldNI(fieldName) {
  1391. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  1392. },
  1393. LateError$localNI(localName) {
  1394. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1395. },
  1396. LateError$fieldAI(fieldName) {
  1397. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  1398. },
  1399. hexDigitValue(char) {
  1400. var letter,
  1401. digit = char ^ 48;
  1402. if (digit <= 9)
  1403. return digit;
  1404. letter = char | 32;
  1405. if (97 <= letter && letter <= 102)
  1406. return letter - 87;
  1407. return -1;
  1408. },
  1409. SystemHash_combine(hash, value) {
  1410. hash = hash + value & 536870911;
  1411. hash = hash + ((hash & 524287) << 10) & 536870911;
  1412. return hash ^ hash >>> 6;
  1413. },
  1414. SystemHash_finish(hash) {
  1415. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1416. hash ^= hash >>> 11;
  1417. return hash + ((hash & 16383) << 15) & 536870911;
  1418. },
  1419. checkNotNullable(value, $name, $T) {
  1420. return value;
  1421. },
  1422. isToStringVisiting(object) {
  1423. var t1, i;
  1424. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1425. if (object === $.toStringVisiting[i])
  1426. return true;
  1427. return false;
  1428. },
  1429. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1430. A.RangeError_checkNotNegative(_start, "start");
  1431. if (_endOrLength != null) {
  1432. A.RangeError_checkNotNegative(_endOrLength, "end");
  1433. if (_start > _endOrLength)
  1434. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1435. }
  1436. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1437. },
  1438. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1439. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1440. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1441. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1442. },
  1443. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1444. var _s9_ = "takeCount";
  1445. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1446. A.RangeError_checkNotNegative(takeCount, _s9_);
  1447. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1448. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1449. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1450. },
  1451. SkipIterable_SkipIterable(iterable, count, $E) {
  1452. var _s5_ = "count";
  1453. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1454. A.ArgumentError_checkNotNull(count, _s5_);
  1455. A.RangeError_checkNotNegative(count, _s5_);
  1456. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1457. }
  1458. A.ArgumentError_checkNotNull(count, _s5_);
  1459. A.RangeError_checkNotNegative(count, _s5_);
  1460. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1461. },
  1462. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1463. if (type$.EfficientLengthIterable_dynamic._is(second))
  1464. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1465. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1466. },
  1467. IterableElementError_noElement() {
  1468. return new A.StateError("No element");
  1469. },
  1470. IterableElementError_tooMany() {
  1471. return new A.StateError("Too many elements");
  1472. },
  1473. IterableElementError_tooFew() {
  1474. return new A.StateError("Too few elements");
  1475. },
  1476. Sort__doSort(a, left, right, compare) {
  1477. if (right - left <= 32)
  1478. A.Sort__insertionSort(a, left, right, compare);
  1479. else
  1480. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1481. },
  1482. Sort__insertionSort(a, left, right, compare) {
  1483. var i, t1, el, j, j0;
  1484. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1485. el = t1.$index(a, i);
  1486. j = i;
  1487. for (;;) {
  1488. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1489. break;
  1490. j0 = j - 1;
  1491. t1.$indexSet(a, j, t1.$index(a, j0));
  1492. j = j0;
  1493. }
  1494. t1.$indexSet(a, j, el);
  1495. }
  1496. },
  1497. Sort__dualPivotQuicksort(a, left, right, compare) {
  1498. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1499. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1500. index1 = left + sixth,
  1501. index5 = right - sixth,
  1502. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1503. index2 = index3 - sixth,
  1504. index4 = index3 + sixth,
  1505. t1 = J.getInterceptor$asx(a),
  1506. el1 = t1.$index(a, index1),
  1507. el2 = t1.$index(a, index2),
  1508. el3 = t1.$index(a, index3),
  1509. el4 = t1.$index(a, index4),
  1510. el5 = t1.$index(a, index5);
  1511. if (compare.call$2(el1, el2) > 0) {
  1512. t0 = el2;
  1513. el2 = el1;
  1514. el1 = t0;
  1515. }
  1516. if (compare.call$2(el4, el5) > 0) {
  1517. t0 = el5;
  1518. el5 = el4;
  1519. el4 = t0;
  1520. }
  1521. if (compare.call$2(el1, el3) > 0) {
  1522. t0 = el3;
  1523. el3 = el1;
  1524. el1 = t0;
  1525. }
  1526. if (compare.call$2(el2, el3) > 0) {
  1527. t0 = el3;
  1528. el3 = el2;
  1529. el2 = t0;
  1530. }
  1531. if (compare.call$2(el1, el4) > 0) {
  1532. t0 = el4;
  1533. el4 = el1;
  1534. el1 = t0;
  1535. }
  1536. if (compare.call$2(el3, el4) > 0) {
  1537. t0 = el4;
  1538. el4 = el3;
  1539. el3 = t0;
  1540. }
  1541. if (compare.call$2(el2, el5) > 0) {
  1542. t0 = el5;
  1543. el5 = el2;
  1544. el2 = t0;
  1545. }
  1546. if (compare.call$2(el2, el3) > 0) {
  1547. t0 = el3;
  1548. el3 = el2;
  1549. el2 = t0;
  1550. }
  1551. if (compare.call$2(el4, el5) > 0) {
  1552. t0 = el5;
  1553. el5 = el4;
  1554. el4 = t0;
  1555. }
  1556. t1.$indexSet(a, index1, el1);
  1557. t1.$indexSet(a, index3, el3);
  1558. t1.$indexSet(a, index5, el5);
  1559. t1.$indexSet(a, index2, t1.$index(a, left));
  1560. t1.$indexSet(a, index4, t1.$index(a, right));
  1561. less = left + 1;
  1562. great = right - 1;
  1563. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1564. if (pivots_are_equal)
  1565. for (k = less; k <= great; ++k) {
  1566. ak = t1.$index(a, k);
  1567. comp = compare.call$2(ak, el2);
  1568. if (comp === 0)
  1569. continue;
  1570. if (comp < 0) {
  1571. if (k !== less) {
  1572. t1.$indexSet(a, k, t1.$index(a, less));
  1573. t1.$indexSet(a, less, ak);
  1574. }
  1575. ++less;
  1576. } else
  1577. for (;;) {
  1578. comp = compare.call$2(t1.$index(a, great), el2);
  1579. if (comp > 0) {
  1580. --great;
  1581. continue;
  1582. } else {
  1583. great0 = great - 1;
  1584. if (comp < 0) {
  1585. t1.$indexSet(a, k, t1.$index(a, less));
  1586. less0 = less + 1;
  1587. t1.$indexSet(a, less, t1.$index(a, great));
  1588. t1.$indexSet(a, great, ak);
  1589. great = great0;
  1590. less = less0;
  1591. break;
  1592. } else {
  1593. t1.$indexSet(a, k, t1.$index(a, great));
  1594. t1.$indexSet(a, great, ak);
  1595. great = great0;
  1596. break;
  1597. }
  1598. }
  1599. }
  1600. }
  1601. else
  1602. for (k = less; k <= great; ++k) {
  1603. ak = t1.$index(a, k);
  1604. if (compare.call$2(ak, el2) < 0) {
  1605. if (k !== less) {
  1606. t1.$indexSet(a, k, t1.$index(a, less));
  1607. t1.$indexSet(a, less, ak);
  1608. }
  1609. ++less;
  1610. } else if (compare.call$2(ak, el4) > 0)
  1611. for (;;)
  1612. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1613. --great;
  1614. if (great < k)
  1615. break;
  1616. continue;
  1617. } else {
  1618. great0 = great - 1;
  1619. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1620. t1.$indexSet(a, k, t1.$index(a, less));
  1621. less0 = less + 1;
  1622. t1.$indexSet(a, less, t1.$index(a, great));
  1623. t1.$indexSet(a, great, ak);
  1624. less = less0;
  1625. } else {
  1626. t1.$indexSet(a, k, t1.$index(a, great));
  1627. t1.$indexSet(a, great, ak);
  1628. }
  1629. great = great0;
  1630. break;
  1631. }
  1632. }
  1633. t2 = less - 1;
  1634. t1.$indexSet(a, left, t1.$index(a, t2));
  1635. t1.$indexSet(a, t2, el2);
  1636. t2 = great + 1;
  1637. t1.$indexSet(a, right, t1.$index(a, t2));
  1638. t1.$indexSet(a, t2, el4);
  1639. A.Sort__doSort(a, left, less - 2, compare);
  1640. A.Sort__doSort(a, great + 2, right, compare);
  1641. if (pivots_are_equal)
  1642. return;
  1643. if (less < index1 && great > index5) {
  1644. while (J.$eq$(compare.call$2(t1.$index(a, less), el2), 0))
  1645. ++less;
  1646. while (J.$eq$(compare.call$2(t1.$index(a, great), el4), 0))
  1647. --great;
  1648. for (k = less; k <= great; ++k) {
  1649. ak = t1.$index(a, k);
  1650. if (compare.call$2(ak, el2) === 0) {
  1651. if (k !== less) {
  1652. t1.$indexSet(a, k, t1.$index(a, less));
  1653. t1.$indexSet(a, less, ak);
  1654. }
  1655. ++less;
  1656. } else if (compare.call$2(ak, el4) === 0)
  1657. for (;;)
  1658. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1659. --great;
  1660. if (great < k)
  1661. break;
  1662. continue;
  1663. } else {
  1664. great0 = great - 1;
  1665. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1666. t1.$indexSet(a, k, t1.$index(a, less));
  1667. less0 = less + 1;
  1668. t1.$indexSet(a, less, t1.$index(a, great));
  1669. t1.$indexSet(a, great, ak);
  1670. less = less0;
  1671. } else {
  1672. t1.$indexSet(a, k, t1.$index(a, great));
  1673. t1.$indexSet(a, great, ak);
  1674. }
  1675. great = great0;
  1676. break;
  1677. }
  1678. }
  1679. A.Sort__doSort(a, less, great, compare);
  1680. } else
  1681. A.Sort__doSort(a, less, great, compare);
  1682. },
  1683. _CastIterableBase: function _CastIterableBase() {
  1684. },
  1685. CastIterator: function CastIterator(t0, t1) {
  1686. this._source = t0;
  1687. this.$ti = t1;
  1688. },
  1689. CastIterable: function CastIterable(t0, t1) {
  1690. this._source = t0;
  1691. this.$ti = t1;
  1692. },
  1693. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1694. this._source = t0;
  1695. this.$ti = t1;
  1696. },
  1697. _CastListBase: function _CastListBase() {
  1698. },
  1699. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1700. this.$this = t0;
  1701. this.compare = t1;
  1702. },
  1703. CastList: function CastList(t0, t1) {
  1704. this._source = t0;
  1705. this.$ti = t1;
  1706. },
  1707. CastSet: function CastSet(t0, t1, t2) {
  1708. this._source = t0;
  1709. this._emptySet = t1;
  1710. this.$ti = t2;
  1711. },
  1712. CastMap: function CastMap(t0, t1) {
  1713. this._source = t0;
  1714. this.$ti = t1;
  1715. },
  1716. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1717. this.$this = t0;
  1718. this.f = t1;
  1719. },
  1720. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1721. this.$this = t0;
  1722. },
  1723. LateError: function LateError(t0) {
  1724. this._message = t0;
  1725. },
  1726. CodeUnits: function CodeUnits(t0) {
  1727. this._string = t0;
  1728. },
  1729. nullFuture_closure: function nullFuture_closure() {
  1730. },
  1731. SentinelValue: function SentinelValue() {
  1732. },
  1733. EfficientLengthIterable: function EfficientLengthIterable() {
  1734. },
  1735. ListIterable: function ListIterable() {
  1736. },
  1737. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1738. var _ = this;
  1739. _.__internal$_iterable = t0;
  1740. _._start = t1;
  1741. _._endOrLength = t2;
  1742. _.$ti = t3;
  1743. },
  1744. ListIterator: function ListIterator(t0, t1, t2) {
  1745. var _ = this;
  1746. _.__internal$_iterable = t0;
  1747. _.__internal$_length = t1;
  1748. _.__internal$_index = 0;
  1749. _.__internal$_current = null;
  1750. _.$ti = t2;
  1751. },
  1752. MappedIterable: function MappedIterable(t0, t1, t2) {
  1753. this.__internal$_iterable = t0;
  1754. this._f = t1;
  1755. this.$ti = t2;
  1756. },
  1757. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1758. this.__internal$_iterable = t0;
  1759. this._f = t1;
  1760. this.$ti = t2;
  1761. },
  1762. MappedIterator: function MappedIterator(t0, t1, t2) {
  1763. var _ = this;
  1764. _.__internal$_current = null;
  1765. _._iterator = t0;
  1766. _._f = t1;
  1767. _.$ti = t2;
  1768. },
  1769. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1770. this._source = t0;
  1771. this._f = t1;
  1772. this.$ti = t2;
  1773. },
  1774. WhereIterable: function WhereIterable(t0, t1, t2) {
  1775. this.__internal$_iterable = t0;
  1776. this._f = t1;
  1777. this.$ti = t2;
  1778. },
  1779. WhereIterator: function WhereIterator(t0, t1) {
  1780. this._iterator = t0;
  1781. this._f = t1;
  1782. },
  1783. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1784. this.__internal$_iterable = t0;
  1785. this._f = t1;
  1786. this.$ti = t2;
  1787. },
  1788. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1789. var _ = this;
  1790. _._iterator = t0;
  1791. _._f = t1;
  1792. _._currentExpansion = t2;
  1793. _.__internal$_current = null;
  1794. _.$ti = t3;
  1795. },
  1796. TakeIterable: function TakeIterable(t0, t1, t2) {
  1797. this.__internal$_iterable = t0;
  1798. this._takeCount = t1;
  1799. this.$ti = t2;
  1800. },
  1801. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1802. this.__internal$_iterable = t0;
  1803. this._takeCount = t1;
  1804. this.$ti = t2;
  1805. },
  1806. TakeIterator: function TakeIterator(t0, t1, t2) {
  1807. this._iterator = t0;
  1808. this._remaining = t1;
  1809. this.$ti = t2;
  1810. },
  1811. SkipIterable: function SkipIterable(t0, t1, t2) {
  1812. this.__internal$_iterable = t0;
  1813. this._skipCount = t1;
  1814. this.$ti = t2;
  1815. },
  1816. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1817. this.__internal$_iterable = t0;
  1818. this._skipCount = t1;
  1819. this.$ti = t2;
  1820. },
  1821. SkipIterator: function SkipIterator(t0, t1) {
  1822. this._iterator = t0;
  1823. this._skipCount = t1;
  1824. },
  1825. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1826. this.__internal$_iterable = t0;
  1827. this._f = t1;
  1828. this.$ti = t2;
  1829. },
  1830. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1831. this._iterator = t0;
  1832. this._f = t1;
  1833. this._hasSkipped = false;
  1834. },
  1835. EmptyIterable: function EmptyIterable(t0) {
  1836. this.$ti = t0;
  1837. },
  1838. EmptyIterator: function EmptyIterator() {
  1839. },
  1840. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1841. this.__internal$_first = t0;
  1842. this._second = t1;
  1843. this.$ti = t2;
  1844. },
  1845. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1846. this.__internal$_first = t0;
  1847. this._second = t1;
  1848. this.$ti = t2;
  1849. },
  1850. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1851. this._currentIterator = t0;
  1852. this._nextIterable = t1;
  1853. },
  1854. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1855. this._source = t0;
  1856. this.$ti = t1;
  1857. },
  1858. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1859. this._source = t0;
  1860. this.$ti = t1;
  1861. },
  1862. NonNullsIterable: function NonNullsIterable(t0, t1) {
  1863. this._source = t0;
  1864. this.$ti = t1;
  1865. },
  1866. NonNullsIterator: function NonNullsIterator(t0) {
  1867. this._source = t0;
  1868. this.__internal$_current = null;
  1869. },
  1870. FixedLengthListMixin: function FixedLengthListMixin() {
  1871. },
  1872. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1873. },
  1874. UnmodifiableListBase: function UnmodifiableListBase() {
  1875. },
  1876. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1877. this._source = t0;
  1878. this.$ti = t1;
  1879. },
  1880. Symbol: function Symbol(t0) {
  1881. this.__internal$_name = t0;
  1882. },
  1883. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1884. },
  1885. ConstantMap_ConstantMap$from(other, $K, $V) {
  1886. var allStrings, k, object, index, index0, map,
  1887. keys = A.List_List$from(other.get$keys(other), true, $K),
  1888. t1 = keys.length,
  1889. _i = 0;
  1890. for (;;) {
  1891. if (!(_i < t1)) {
  1892. allStrings = true;
  1893. break;
  1894. }
  1895. k = keys[_i];
  1896. if (typeof k != "string" || "__proto__" === k) {
  1897. allStrings = false;
  1898. break;
  1899. }
  1900. ++_i;
  1901. }
  1902. if (allStrings) {
  1903. object = {};
  1904. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1905. k = keys[_i];
  1906. other.$index(0, k);
  1907. index0 = index + 1;
  1908. object[k] = index;
  1909. }
  1910. map = new A.ConstantStringMap(object, A.List_List$from(other.get$values(other), true, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  1911. map.$keys = keys;
  1912. return map;
  1913. }
  1914. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1915. },
  1916. ConstantMap__throwUnmodifiable() {
  1917. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1918. },
  1919. ConstantSet__throwUnmodifiable() {
  1920. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1921. },
  1922. instantiate1(f, $T1) {
  1923. var t1 = new A.Instantiation1(f, $T1._eval$1("Instantiation1<0>"));
  1924. t1.Instantiation$1(f);
  1925. return t1;
  1926. },
  1927. unminifyOrTag(rawClassName) {
  1928. var preserved = init.mangledGlobalNames[rawClassName];
  1929. if (preserved != null)
  1930. return preserved;
  1931. return rawClassName;
  1932. },
  1933. isJsIndexable(object, record) {
  1934. var result;
  1935. if (record != null) {
  1936. result = record.x;
  1937. if (result != null)
  1938. return result;
  1939. }
  1940. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1941. },
  1942. S(value) {
  1943. var result;
  1944. if (typeof value == "string")
  1945. return value;
  1946. if (typeof value == "number") {
  1947. if (value !== 0)
  1948. return "" + value;
  1949. } else if (true === value)
  1950. return "true";
  1951. else if (false === value)
  1952. return "false";
  1953. else if (value == null)
  1954. return "null";
  1955. result = J.toString$0$(value);
  1956. return result;
  1957. },
  1958. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1959. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1960. },
  1961. Primitives_objectHashCode(object) {
  1962. var hash,
  1963. property = $.Primitives__identityHashCodeProperty;
  1964. if (property == null)
  1965. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1966. hash = object[property];
  1967. if (hash == null) {
  1968. hash = Math.random() * 0x3fffffff | 0;
  1969. object[property] = hash;
  1970. }
  1971. return hash;
  1972. },
  1973. Primitives_parseInt(source, radix) {
  1974. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1975. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1976. if (match == null)
  1977. return _null;
  1978. decimalMatch = match[3];
  1979. if (radix == null) {
  1980. if (decimalMatch != null)
  1981. return parseInt(source, 10);
  1982. if (match[2] != null)
  1983. return parseInt(source, 16);
  1984. return _null;
  1985. }
  1986. if (radix < 2 || radix > 36)
  1987. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1988. if (radix === 10 && decimalMatch != null)
  1989. return parseInt(source, 10);
  1990. if (radix < 10 || decimalMatch == null) {
  1991. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1992. digitsPart = match[1];
  1993. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1994. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1995. return _null;
  1996. }
  1997. return parseInt(source, radix);
  1998. },
  1999. Primitives_parseDouble(source) {
  2000. var result, trimmed;
  2001. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  2002. return null;
  2003. result = parseFloat(source);
  2004. if (isNaN(result)) {
  2005. trimmed = B.JSString_methods.trim$0(source);
  2006. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  2007. return result;
  2008. return null;
  2009. }
  2010. return result;
  2011. },
  2012. Primitives_objectTypeName(object) {
  2013. var interceptor, dispatchName, $constructor, constructorName;
  2014. if (object instanceof A.Object)
  2015. return A._rtiToString(A.instanceType(object), null);
  2016. interceptor = J.getInterceptor$(object);
  2017. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  2018. dispatchName = B.C_JS_CONST(object);
  2019. if (dispatchName !== "Object" && dispatchName !== "")
  2020. return dispatchName;
  2021. $constructor = object.constructor;
  2022. if (typeof $constructor == "function") {
  2023. constructorName = $constructor.name;
  2024. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  2025. return constructorName;
  2026. }
  2027. }
  2028. return A._rtiToString(A.instanceType(object), null);
  2029. },
  2030. Primitives_safeToString(object) {
  2031. var hooks, i, hookResult;
  2032. if (object == null || typeof object == "number" || A._isBool(object))
  2033. return J.toString$0$(object);
  2034. if (typeof object == "string")
  2035. return JSON.stringify(object);
  2036. if (object instanceof A.Closure)
  2037. return object.toString$0(0);
  2038. if (object instanceof A._Record)
  2039. return object._toString$1(true);
  2040. hooks = $.$get$_safeToStringHooks();
  2041. for (i = 0; i < 1; ++i) {
  2042. hookResult = hooks[i].tryFormat$1(object);
  2043. if (hookResult != null)
  2044. return hookResult;
  2045. }
  2046. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  2047. },
  2048. Primitives_currentUri() {
  2049. if (!!self.location)
  2050. return self.location.href;
  2051. return null;
  2052. },
  2053. Primitives__fromCharCodeApply(array) {
  2054. var result, i, i0, chunkEnd,
  2055. end = array.length;
  2056. if (end <= 500)
  2057. return String.fromCharCode.apply(null, array);
  2058. for (result = "", i = 0; i < end; i = i0) {
  2059. i0 = i + 500;
  2060. chunkEnd = i0 < end ? i0 : end;
  2061. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  2062. }
  2063. return result;
  2064. },
  2065. Primitives_stringFromCodePoints(codePoints) {
  2066. var t1, _i, i,
  2067. a = A._setArrayType([], type$.JSArray_int);
  2068. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  2069. i = codePoints[_i];
  2070. if (!A._isInt(i))
  2071. throw A.wrapException(A.argumentErrorValue(i));
  2072. if (i <= 65535)
  2073. a.push(i);
  2074. else if (i <= 1114111) {
  2075. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  2076. a.push(56320 + (i & 1023));
  2077. } else
  2078. throw A.wrapException(A.argumentErrorValue(i));
  2079. }
  2080. return A.Primitives__fromCharCodeApply(a);
  2081. },
  2082. Primitives_stringFromCharCodes(charCodes) {
  2083. var t1, _i, i;
  2084. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  2085. i = charCodes[_i];
  2086. if (!A._isInt(i))
  2087. throw A.wrapException(A.argumentErrorValue(i));
  2088. if (i < 0)
  2089. throw A.wrapException(A.argumentErrorValue(i));
  2090. if (i > 65535)
  2091. return A.Primitives_stringFromCodePoints(charCodes);
  2092. }
  2093. return A.Primitives__fromCharCodeApply(charCodes);
  2094. },
  2095. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  2096. var i, result, i0, chunkEnd;
  2097. if (end <= 500 && start === 0 && end === charCodes.length)
  2098. return String.fromCharCode.apply(null, charCodes);
  2099. for (i = start, result = ""; i < end; i = i0) {
  2100. i0 = i + 500;
  2101. chunkEnd = i0 < end ? i0 : end;
  2102. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  2103. }
  2104. return result;
  2105. },
  2106. Primitives_stringFromCharCode(charCode) {
  2107. var bits;
  2108. if (0 <= charCode) {
  2109. if (charCode <= 65535)
  2110. return String.fromCharCode(charCode);
  2111. if (charCode <= 1114111) {
  2112. bits = charCode - 65536;
  2113. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  2114. }
  2115. }
  2116. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  2117. },
  2118. Primitives_lazyAsJsDate(receiver) {
  2119. if (receiver.date === void 0)
  2120. receiver.date = new Date(receiver._value);
  2121. return receiver.date;
  2122. },
  2123. Primitives_getYear(receiver) {
  2124. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  2125. return t1;
  2126. },
  2127. Primitives_getMonth(receiver) {
  2128. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  2129. return t1;
  2130. },
  2131. Primitives_getDay(receiver) {
  2132. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  2133. return t1;
  2134. },
  2135. Primitives_getHours(receiver) {
  2136. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2137. return t1;
  2138. },
  2139. Primitives_getMinutes(receiver) {
  2140. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2141. return t1;
  2142. },
  2143. Primitives_getSeconds(receiver) {
  2144. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2145. return t1;
  2146. },
  2147. Primitives_getMilliseconds(receiver) {
  2148. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2149. return t1;
  2150. },
  2151. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2152. var $arguments, namedArgumentList, t1 = {};
  2153. t1.argumentCount = 0;
  2154. $arguments = [];
  2155. namedArgumentList = [];
  2156. t1.argumentCount = positionalArguments.length;
  2157. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2158. t1.names = "";
  2159. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2160. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2161. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2162. },
  2163. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2164. var t1, argumentCount, jsStub;
  2165. if (Array.isArray(positionalArguments))
  2166. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2167. else
  2168. t1 = false;
  2169. if (t1) {
  2170. argumentCount = positionalArguments.length;
  2171. if (argumentCount === 0) {
  2172. if (!!$function.call$0)
  2173. return $function.call$0();
  2174. } else if (argumentCount === 1) {
  2175. if (!!$function.call$1)
  2176. return $function.call$1(positionalArguments[0]);
  2177. } else if (argumentCount === 2) {
  2178. if (!!$function.call$2)
  2179. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2180. } else if (argumentCount === 3) {
  2181. if (!!$function.call$3)
  2182. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2183. } else if (argumentCount === 4) {
  2184. if (!!$function.call$4)
  2185. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2186. } else if (argumentCount === 5)
  2187. if (!!$function.call$5)
  2188. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2189. jsStub = $function["call" + "$" + argumentCount];
  2190. if (jsStub != null)
  2191. return jsStub.apply($function, positionalArguments);
  2192. }
  2193. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2194. },
  2195. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2196. var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2;
  2197. if (Array.isArray(positionalArguments))
  2198. $arguments = positionalArguments;
  2199. else
  2200. $arguments = A.List_List$_of(positionalArguments, type$.dynamic);
  2201. argumentCount = $arguments.length;
  2202. requiredParameterCount = $function.$requiredArgCount;
  2203. if (argumentCount < requiredParameterCount)
  2204. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2205. defaultValuesClosure = $function.$defaultValues;
  2206. t1 = defaultValuesClosure == null;
  2207. defaultValues = !t1 ? defaultValuesClosure() : null;
  2208. interceptor = J.getInterceptor$($function);
  2209. jsFunction = interceptor["call*"];
  2210. if (typeof jsFunction == "string")
  2211. jsFunction = interceptor[jsFunction];
  2212. if (t1) {
  2213. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2214. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2215. if (argumentCount === requiredParameterCount)
  2216. return jsFunction.apply($function, $arguments);
  2217. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2218. }
  2219. if (Array.isArray(defaultValues)) {
  2220. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2221. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2222. maxArguments = requiredParameterCount + defaultValues.length;
  2223. if (argumentCount > maxArguments)
  2224. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2225. if (argumentCount < maxArguments) {
  2226. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2227. if ($arguments === positionalArguments)
  2228. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2229. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2230. }
  2231. return jsFunction.apply($function, $arguments);
  2232. } else {
  2233. if (argumentCount > requiredParameterCount)
  2234. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2235. if ($arguments === positionalArguments)
  2236. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2237. keys = Object.keys(defaultValues);
  2238. if (namedArguments == null)
  2239. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2240. defaultValue = defaultValues[keys[_i]];
  2241. if (B.C__Required === defaultValue)
  2242. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2243. B.JSArray_methods.add$1($arguments, defaultValue);
  2244. }
  2245. else {
  2246. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2247. t2 = keys[_i];
  2248. if (namedArguments.containsKey$1(t2)) {
  2249. ++used;
  2250. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2251. } else {
  2252. defaultValue = defaultValues[t2];
  2253. if (B.C__Required === defaultValue)
  2254. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2255. B.JSArray_methods.add$1($arguments, defaultValue);
  2256. }
  2257. }
  2258. if (used !== namedArguments.__js_helper$_length)
  2259. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2260. }
  2261. return jsFunction.apply($function, $arguments);
  2262. }
  2263. },
  2264. Primitives_extractStackTrace(error) {
  2265. var jsError = error.$thrownJsError;
  2266. if (jsError == null)
  2267. return null;
  2268. return A.getTraceFromException(jsError);
  2269. },
  2270. Primitives_trySetStackTrace(error, stackTrace) {
  2271. var jsError;
  2272. if (error.$thrownJsError == null) {
  2273. jsError = new Error();
  2274. A.initializeExceptionWrapper(error, jsError);
  2275. error.$thrownJsError = jsError;
  2276. jsError.stack = stackTrace.toString$0(0);
  2277. }
  2278. },
  2279. diagnoseIndexError(indexable, index) {
  2280. var $length, _s5_ = "index";
  2281. if (!A._isInt(index))
  2282. return new A.ArgumentError(true, index, _s5_, null);
  2283. $length = J.get$length$asx(indexable);
  2284. if (index < 0 || index >= $length)
  2285. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2286. return A.RangeError$value(index, _s5_, null);
  2287. },
  2288. diagnoseRangeError(start, end, $length) {
  2289. if (start < 0 || start > $length)
  2290. return A.RangeError$range(start, 0, $length, "start", null);
  2291. if (end != null)
  2292. if (end < start || end > $length)
  2293. return A.RangeError$range(end, start, $length, "end", null);
  2294. return new A.ArgumentError(true, end, "end", null);
  2295. },
  2296. argumentErrorValue(object) {
  2297. return new A.ArgumentError(true, object, null, null);
  2298. },
  2299. wrapException(ex) {
  2300. return A.initializeExceptionWrapper(ex, new Error());
  2301. },
  2302. initializeExceptionWrapper(ex, wrapper) {
  2303. var t1;
  2304. if (ex == null)
  2305. ex = new A.TypeError();
  2306. wrapper.dartException = ex;
  2307. t1 = A.toStringWrapper;
  2308. if ("defineProperty" in Object) {
  2309. Object.defineProperty(wrapper, "message", {get: t1});
  2310. wrapper.name = "";
  2311. } else
  2312. wrapper.toString = t1;
  2313. return wrapper;
  2314. },
  2315. toStringWrapper() {
  2316. return J.toString$0$(this.dartException);
  2317. },
  2318. throwExpression(ex, wrapper) {
  2319. throw A.initializeExceptionWrapper(ex, wrapper == null ? new Error() : wrapper);
  2320. },
  2321. throwUnsupportedOperation(o, operation, verb) {
  2322. var wrapper;
  2323. if (operation == null)
  2324. operation = 0;
  2325. if (verb == null)
  2326. verb = 0;
  2327. wrapper = Error();
  2328. A.throwExpression(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);
  2329. },
  2330. _diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {
  2331. var operation, table, tableLength, index, verb, object, flags, article, adjective;
  2332. if (typeof encodedOperation == "string")
  2333. operation = encodedOperation;
  2334. else {
  2335. table = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";");
  2336. tableLength = table.length;
  2337. index = encodedOperation;
  2338. if (index > tableLength) {
  2339. encodedVerb = index / tableLength | 0;
  2340. index %= tableLength;
  2341. }
  2342. operation = table[index];
  2343. }
  2344. verb = typeof encodedVerb == "string" ? encodedVerb : "modify;remove from;add to".split(";")[encodedVerb];
  2345. object = type$.List_dynamic._is(o) ? "list" : "ByteData";
  2346. flags = o.$flags | 0;
  2347. article = "a ";
  2348. if ((flags & 4) !== 0)
  2349. adjective = "constant ";
  2350. else if ((flags & 2) !== 0) {
  2351. adjective = "unmodifiable ";
  2352. article = "an ";
  2353. } else
  2354. adjective = (flags & 1) !== 0 ? "fixed-length " : "";
  2355. return new A.UnsupportedError("'" + operation + "': Cannot " + verb + " " + article + adjective + object);
  2356. },
  2357. throwConcurrentModificationError(collection) {
  2358. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2359. },
  2360. TypeErrorDecoder_extractPattern(message) {
  2361. var match, $arguments, argumentsExpr, expr, method, receiver;
  2362. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2363. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2364. if (match == null)
  2365. match = A._setArrayType([], type$.JSArray_String);
  2366. $arguments = match.indexOf("\\$arguments\\$");
  2367. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2368. expr = match.indexOf("\\$expr\\$");
  2369. method = match.indexOf("\\$method\\$");
  2370. receiver = match.indexOf("\\$receiver\\$");
  2371. return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver);
  2372. },
  2373. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2374. return function($expr$) {
  2375. var $argumentsExpr$ = "$arguments$";
  2376. try {
  2377. $expr$.$method$($argumentsExpr$);
  2378. } catch (e) {
  2379. return e.message;
  2380. }
  2381. }(expression);
  2382. },
  2383. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2384. return function($expr$) {
  2385. try {
  2386. $expr$.$method$;
  2387. } catch (e) {
  2388. return e.message;
  2389. }
  2390. }(expression);
  2391. },
  2392. JsNoSuchMethodError$(_message, match) {
  2393. var t1 = match == null,
  2394. t2 = t1 ? null : match.method;
  2395. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2396. },
  2397. unwrapException(ex) {
  2398. if (ex == null)
  2399. return new A.NullThrownFromJavaScriptException(ex);
  2400. if (ex instanceof A.ExceptionAndStackTrace)
  2401. return A.saveStackTrace(ex, ex.dartException);
  2402. if (typeof ex !== "object")
  2403. return ex;
  2404. if ("dartException" in ex)
  2405. return A.saveStackTrace(ex, ex.dartException);
  2406. return A._unwrapNonDartException(ex);
  2407. },
  2408. saveStackTrace(ex, error) {
  2409. if (type$.Error._is(error))
  2410. if (error.$thrownJsError == null)
  2411. error.$thrownJsError = ex;
  2412. return error;
  2413. },
  2414. _unwrapNonDartException(ex) {
  2415. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2416. if (!("message" in ex))
  2417. return ex;
  2418. message = ex.message;
  2419. if ("number" in ex && typeof ex.number == "number") {
  2420. number = ex.number;
  2421. ieErrorCode = number & 65535;
  2422. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2423. switch (ieErrorCode) {
  2424. case 438:
  2425. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2426. case 445:
  2427. case 5007:
  2428. A.S(message);
  2429. return A.saveStackTrace(ex, new A.NullError());
  2430. }
  2431. }
  2432. if (ex instanceof TypeError) {
  2433. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2434. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2435. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2436. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2437. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2438. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2439. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2440. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2441. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2442. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2443. match = nsme.matchTypeError$1(message);
  2444. if (match != null)
  2445. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2446. else {
  2447. match = notClosure.matchTypeError$1(message);
  2448. if (match != null) {
  2449. match.method = "call";
  2450. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2451. } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null)
  2452. return A.saveStackTrace(ex, new A.NullError());
  2453. }
  2454. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2455. }
  2456. if (ex instanceof RangeError) {
  2457. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2458. return new A.StackOverflowError();
  2459. message = function(ex) {
  2460. try {
  2461. return String(ex);
  2462. } catch (e) {
  2463. }
  2464. return null;
  2465. }(ex);
  2466. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2467. }
  2468. if (typeof InternalError == "function" && ex instanceof InternalError)
  2469. if (typeof message == "string" && message === "too much recursion")
  2470. return new A.StackOverflowError();
  2471. return ex;
  2472. },
  2473. getTraceFromException(exception) {
  2474. var trace;
  2475. if (exception instanceof A.ExceptionAndStackTrace)
  2476. return exception.stackTrace;
  2477. if (exception == null)
  2478. return new A._StackTrace(exception);
  2479. trace = exception.$cachedTrace;
  2480. if (trace != null)
  2481. return trace;
  2482. trace = new A._StackTrace(exception);
  2483. if (typeof exception === "object")
  2484. exception.$cachedTrace = trace;
  2485. return trace;
  2486. },
  2487. objectHashCode(object) {
  2488. if (object == null)
  2489. return J.get$hashCode$(object);
  2490. if (typeof object == "object")
  2491. return A.Primitives_objectHashCode(object);
  2492. return J.get$hashCode$(object);
  2493. },
  2494. constantHashCode(key) {
  2495. if (typeof key == "number")
  2496. return B.JSNumber_methods.get$hashCode(key);
  2497. if (key instanceof A._Type)
  2498. return A.Primitives_objectHashCode(key);
  2499. if (key instanceof A._Record)
  2500. return key.get$hashCode(key);
  2501. if (key instanceof A.Symbol)
  2502. return key.get$hashCode(0);
  2503. return A.objectHashCode(key);
  2504. },
  2505. fillLiteralMap(keyValuePairs, result) {
  2506. var index, index0, index1,
  2507. $length = keyValuePairs.length;
  2508. for (index = 0; index < $length; index = index1) {
  2509. index0 = index + 1;
  2510. index1 = index0 + 1;
  2511. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2512. }
  2513. return result;
  2514. },
  2515. fillLiteralSet(values, result) {
  2516. var index,
  2517. $length = values.length;
  2518. for (index = 0; index < $length; ++index)
  2519. result.add$1(0, values[index]);
  2520. return result;
  2521. },
  2522. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2523. switch (numberOfArguments) {
  2524. case 0:
  2525. return closure.call$0();
  2526. case 1:
  2527. return closure.call$1(arg1);
  2528. case 2:
  2529. return closure.call$2(arg1, arg2);
  2530. case 3:
  2531. return closure.call$3(arg1, arg2, arg3);
  2532. case 4:
  2533. return closure.call$4(arg1, arg2, arg3, arg4);
  2534. }
  2535. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2536. },
  2537. convertDartClosureToJS(closure, arity) {
  2538. var $function;
  2539. if (closure == null)
  2540. return null;
  2541. $function = closure.$identity;
  2542. if (!!$function)
  2543. return $function;
  2544. $function = A.convertDartClosureToJSUncached(closure, arity);
  2545. closure.$identity = $function;
  2546. return $function;
  2547. },
  2548. convertDartClosureToJSUncached(closure, arity) {
  2549. var entry;
  2550. switch (arity) {
  2551. case 0:
  2552. entry = closure.call$0;
  2553. break;
  2554. case 1:
  2555. entry = closure.call$1;
  2556. break;
  2557. case 2:
  2558. entry = closure.call$2;
  2559. break;
  2560. case 3:
  2561. entry = closure.call$3;
  2562. break;
  2563. case 4:
  2564. entry = closure.call$4;
  2565. break;
  2566. default:
  2567. entry = null;
  2568. }
  2569. if (entry != null)
  2570. return entry.bind(closure);
  2571. return function(closure, arity, invoke) {
  2572. return function(a1, a2, a3, a4) {
  2573. return invoke(closure, arity, a1, a2, a3, a4);
  2574. };
  2575. }(closure, arity, A._invokeClosure);
  2576. },
  2577. Closure_fromTearOff(parameters) {
  2578. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2579. container = parameters.co,
  2580. isStatic = parameters.iS,
  2581. isIntercepted = parameters.iI,
  2582. needsDirectAccess = parameters.nDA,
  2583. applyTrampolineIndex = parameters.aI,
  2584. funsOrNames = parameters.fs,
  2585. callNames = parameters.cs,
  2586. $name = funsOrNames[0],
  2587. callName = callNames[0],
  2588. $function = container[$name],
  2589. t1 = parameters.fT;
  2590. t1.toString;
  2591. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2592. $prototype.$initialize = $prototype.constructor;
  2593. $constructor = isStatic ? function static_tear_off() {
  2594. this.$initialize();
  2595. } : function tear_off(a, b) {
  2596. this.$initialize(a, b);
  2597. };
  2598. $prototype.constructor = $constructor;
  2599. $constructor.prototype = $prototype;
  2600. $prototype.$_name = $name;
  2601. $prototype.$_target = $function;
  2602. t2 = !isStatic;
  2603. if (t2)
  2604. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2605. else {
  2606. $prototype.$static_name = $name;
  2607. trampoline = $function;
  2608. }
  2609. $prototype.$signature = A.Closure__computeSignatureFunction(t1, isStatic, isIntercepted);
  2610. $prototype[callName] = trampoline;
  2611. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2612. stub = funsOrNames[i];
  2613. if (typeof stub == "string") {
  2614. stub0 = container[stub];
  2615. stubName = stub;
  2616. stub = stub0;
  2617. } else
  2618. stubName = "";
  2619. stubCallName = callNames[i];
  2620. if (stubCallName != null) {
  2621. if (t2)
  2622. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2623. $prototype[stubCallName] = stub;
  2624. }
  2625. if (i === applyTrampolineIndex)
  2626. applyTrampoline = stub;
  2627. }
  2628. $prototype["call*"] = applyTrampoline;
  2629. $prototype.$requiredArgCount = parameters.rC;
  2630. $prototype.$defaultValues = parameters.dV;
  2631. return $constructor;
  2632. },
  2633. Closure__computeSignatureFunction(functionType, isStatic, isIntercepted) {
  2634. if (typeof functionType == "number")
  2635. return functionType;
  2636. if (typeof functionType == "string") {
  2637. if (isStatic)
  2638. throw A.wrapException("Cannot compute signature for static tearoff.");
  2639. return function(recipe, evalOnReceiver) {
  2640. return function() {
  2641. return evalOnReceiver(this, recipe);
  2642. };
  2643. }(functionType, A.BoundClosure_evalRecipe);
  2644. }
  2645. throw A.wrapException("Error in functionType of tearoff");
  2646. },
  2647. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2648. var getReceiver = A.BoundClosure_receiverOf;
  2649. switch (needsDirectAccess ? -1 : arity) {
  2650. case 0:
  2651. return function(entry, receiverOf) {
  2652. return function() {
  2653. return receiverOf(this)[entry]();
  2654. };
  2655. }(stubName, getReceiver);
  2656. case 1:
  2657. return function(entry, receiverOf) {
  2658. return function(a) {
  2659. return receiverOf(this)[entry](a);
  2660. };
  2661. }(stubName, getReceiver);
  2662. case 2:
  2663. return function(entry, receiverOf) {
  2664. return function(a, b) {
  2665. return receiverOf(this)[entry](a, b);
  2666. };
  2667. }(stubName, getReceiver);
  2668. case 3:
  2669. return function(entry, receiverOf) {
  2670. return function(a, b, c) {
  2671. return receiverOf(this)[entry](a, b, c);
  2672. };
  2673. }(stubName, getReceiver);
  2674. case 4:
  2675. return function(entry, receiverOf) {
  2676. return function(a, b, c, d) {
  2677. return receiverOf(this)[entry](a, b, c, d);
  2678. };
  2679. }(stubName, getReceiver);
  2680. case 5:
  2681. return function(entry, receiverOf) {
  2682. return function(a, b, c, d, e) {
  2683. return receiverOf(this)[entry](a, b, c, d, e);
  2684. };
  2685. }(stubName, getReceiver);
  2686. default:
  2687. return function(f, receiverOf) {
  2688. return function() {
  2689. return f.apply(receiverOf(this), arguments);
  2690. };
  2691. }($function, getReceiver);
  2692. }
  2693. },
  2694. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2695. if (isIntercepted)
  2696. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2697. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2698. },
  2699. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2700. var getReceiver = A.BoundClosure_receiverOf,
  2701. getInterceptor = A.BoundClosure_interceptorOf;
  2702. switch (needsDirectAccess ? -1 : arity) {
  2703. case 0:
  2704. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2705. case 1:
  2706. return function(entry, interceptorOf, receiverOf) {
  2707. return function() {
  2708. return interceptorOf(this)[entry](receiverOf(this));
  2709. };
  2710. }(stubName, getInterceptor, getReceiver);
  2711. case 2:
  2712. return function(entry, interceptorOf, receiverOf) {
  2713. return function(a) {
  2714. return interceptorOf(this)[entry](receiverOf(this), a);
  2715. };
  2716. }(stubName, getInterceptor, getReceiver);
  2717. case 3:
  2718. return function(entry, interceptorOf, receiverOf) {
  2719. return function(a, b) {
  2720. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2721. };
  2722. }(stubName, getInterceptor, getReceiver);
  2723. case 4:
  2724. return function(entry, interceptorOf, receiverOf) {
  2725. return function(a, b, c) {
  2726. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2727. };
  2728. }(stubName, getInterceptor, getReceiver);
  2729. case 5:
  2730. return function(entry, interceptorOf, receiverOf) {
  2731. return function(a, b, c, d) {
  2732. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2733. };
  2734. }(stubName, getInterceptor, getReceiver);
  2735. case 6:
  2736. return function(entry, interceptorOf, receiverOf) {
  2737. return function(a, b, c, d, e) {
  2738. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2739. };
  2740. }(stubName, getInterceptor, getReceiver);
  2741. default:
  2742. return function(f, interceptorOf, receiverOf) {
  2743. return function() {
  2744. var a = [receiverOf(this)];
  2745. Array.prototype.push.apply(a, arguments);
  2746. return f.apply(interceptorOf(this), a);
  2747. };
  2748. }($function, getInterceptor, getReceiver);
  2749. }
  2750. },
  2751. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2752. var arity, t1;
  2753. if ($.BoundClosure__interceptorFieldNameCache == null)
  2754. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2755. if ($.BoundClosure__receiverFieldNameCache == null)
  2756. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2757. arity = $function.length;
  2758. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2759. return t1;
  2760. },
  2761. closureFromTearOff(parameters) {
  2762. return A.Closure_fromTearOff(parameters);
  2763. },
  2764. BoundClosure_evalRecipe(closure, recipe) {
  2765. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2766. },
  2767. BoundClosure_receiverOf(closure) {
  2768. return closure._receiver;
  2769. },
  2770. BoundClosure_interceptorOf(closure) {
  2771. return closure._interceptor;
  2772. },
  2773. BoundClosure__computeFieldNamed(fieldName) {
  2774. var names, i, $name,
  2775. template = new A.BoundClosure("receiver", "interceptor"),
  2776. t1 = Object.getOwnPropertyNames(template);
  2777. t1.$flags = 1;
  2778. names = t1;
  2779. for (t1 = names.length, i = 0; i < t1; ++i) {
  2780. $name = names[i];
  2781. if (template[$name] === fieldName)
  2782. return $name;
  2783. }
  2784. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2785. },
  2786. getIsolateAffinityTag($name) {
  2787. return init.getIsolateTag($name);
  2788. },
  2789. defineProperty(obj, property, value) {
  2790. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2791. },
  2792. lookupAndCacheInterceptor(obj) {
  2793. var interceptor, interceptorClass, altTag, mark, t1,
  2794. tag = $.getTagFunction.call$1(obj),
  2795. record = $.dispatchRecordsForInstanceTags[tag];
  2796. if (record != null) {
  2797. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2798. return record.i;
  2799. }
  2800. interceptor = $.interceptorsForUncacheableTags[tag];
  2801. if (interceptor != null)
  2802. return interceptor;
  2803. interceptorClass = init.interceptorsByTag[tag];
  2804. if (interceptorClass == null) {
  2805. altTag = $.alternateTagFunction.call$2(obj, tag);
  2806. if (altTag != null) {
  2807. record = $.dispatchRecordsForInstanceTags[altTag];
  2808. if (record != null) {
  2809. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2810. return record.i;
  2811. }
  2812. interceptor = $.interceptorsForUncacheableTags[altTag];
  2813. if (interceptor != null)
  2814. return interceptor;
  2815. interceptorClass = init.interceptorsByTag[altTag];
  2816. tag = altTag;
  2817. }
  2818. }
  2819. if (interceptorClass == null)
  2820. return null;
  2821. interceptor = interceptorClass.prototype;
  2822. mark = tag[0];
  2823. if (mark === "!") {
  2824. record = A.makeLeafDispatchRecord(interceptor);
  2825. $.dispatchRecordsForInstanceTags[tag] = record;
  2826. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2827. return record.i;
  2828. }
  2829. if (mark === "~") {
  2830. $.interceptorsForUncacheableTags[tag] = interceptor;
  2831. return interceptor;
  2832. }
  2833. if (mark === "-") {
  2834. t1 = A.makeLeafDispatchRecord(interceptor);
  2835. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2836. return t1.i;
  2837. }
  2838. if (mark === "+")
  2839. return A.patchInteriorProto(obj, interceptor);
  2840. if (mark === "*")
  2841. throw A.wrapException(A.UnimplementedError$(tag));
  2842. if (init.leafTags[tag] === true) {
  2843. t1 = A.makeLeafDispatchRecord(interceptor);
  2844. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2845. return t1.i;
  2846. } else
  2847. return A.patchInteriorProto(obj, interceptor);
  2848. },
  2849. patchInteriorProto(obj, interceptor) {
  2850. var proto = Object.getPrototypeOf(obj);
  2851. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2852. return interceptor;
  2853. },
  2854. makeLeafDispatchRecord(interceptor) {
  2855. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2856. },
  2857. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2858. var interceptor = interceptorClass.prototype;
  2859. if (init.leafTags[tag] === true)
  2860. return A.makeLeafDispatchRecord(interceptor);
  2861. else
  2862. return J.makeDispatchRecord(interceptor, proto, null, null);
  2863. },
  2864. initNativeDispatch() {
  2865. if (true === $.initNativeDispatchFlag)
  2866. return;
  2867. $.initNativeDispatchFlag = true;
  2868. A.initNativeDispatchContinue();
  2869. },
  2870. initNativeDispatchContinue() {
  2871. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2872. $.dispatchRecordsForInstanceTags = Object.create(null);
  2873. $.interceptorsForUncacheableTags = Object.create(null);
  2874. A.initHooks();
  2875. map = init.interceptorsByTag;
  2876. tags = Object.getOwnPropertyNames(map);
  2877. if (typeof window != "undefined") {
  2878. window;
  2879. fun = function() {
  2880. };
  2881. for (i = 0; i < tags.length; ++i) {
  2882. tag = tags[i];
  2883. proto = $.prototypeForTagFunction.call$1(tag);
  2884. if (proto != null) {
  2885. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2886. if (record != null) {
  2887. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2888. fun.prototype = proto;
  2889. }
  2890. }
  2891. }
  2892. }
  2893. for (i = 0; i < tags.length; ++i) {
  2894. tag = tags[i];
  2895. if (/^[A-Za-z_]/.test(tag)) {
  2896. interceptorClass = map[tag];
  2897. map["!" + tag] = interceptorClass;
  2898. map["~" + tag] = interceptorClass;
  2899. map["-" + tag] = interceptorClass;
  2900. map["+" + tag] = interceptorClass;
  2901. map["*" + tag] = interceptorClass;
  2902. }
  2903. }
  2904. },
  2905. initHooks() {
  2906. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2907. hooks = B.C_JS_CONST0();
  2908. hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks)))))));
  2909. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2910. transformers = dartNativeDispatchHooksTransformer;
  2911. if (typeof transformers == "function")
  2912. transformers = [transformers];
  2913. if (Array.isArray(transformers))
  2914. for (i = 0; i < transformers.length; ++i) {
  2915. transformer = transformers[i];
  2916. if (typeof transformer == "function")
  2917. hooks = transformer(hooks) || hooks;
  2918. }
  2919. }
  2920. getTag = hooks.getTag;
  2921. getUnknownTag = hooks.getUnknownTag;
  2922. prototypeForTag = hooks.prototypeForTag;
  2923. $.getTagFunction = new A.initHooks_closure(getTag);
  2924. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2925. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2926. },
  2927. applyHooksTransformer(transformer, hooks) {
  2928. return transformer(hooks) || hooks;
  2929. },
  2930. _RecordN__equalValues(a, b) {
  2931. var i;
  2932. for (i = 0; i < a.length; ++i)
  2933. if (!J.$eq$(a[i], b[i]))
  2934. return false;
  2935. return true;
  2936. },
  2937. createRecordTypePredicate(shape, fieldRtis) {
  2938. var $length = fieldRtis.length,
  2939. $function = init.rttc["" + $length + ";" + shape];
  2940. if ($function == null)
  2941. return null;
  2942. if ($length === 0)
  2943. return $function;
  2944. if ($length === $function.length)
  2945. return $function.apply(null, fieldRtis);
  2946. return $function(fieldRtis);
  2947. },
  2948. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, extraFlags) {
  2949. var m = multiLine ? "m" : "",
  2950. i = caseSensitive ? "" : "i",
  2951. u = unicode ? "u" : "",
  2952. s = dotAll ? "s" : "",
  2953. regexp = function(source, modifiers) {
  2954. try {
  2955. return new RegExp(source, modifiers);
  2956. } catch (e) {
  2957. return e;
  2958. }
  2959. }(source, m + i + u + s + extraFlags);
  2960. if (regexp instanceof RegExp)
  2961. return regexp;
  2962. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2963. },
  2964. stringContainsUnchecked(receiver, other, startIndex) {
  2965. var t1;
  2966. if (typeof other == "string")
  2967. return receiver.indexOf(other, startIndex) >= 0;
  2968. else if (other instanceof A.JSSyntaxRegExp) {
  2969. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2970. return other._nativeRegExp.test(t1);
  2971. } else
  2972. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2973. },
  2974. escapeReplacement(replacement) {
  2975. if (replacement.indexOf("$", 0) >= 0)
  2976. return replacement.replace(/\$/g, "$$$$");
  2977. return replacement;
  2978. },
  2979. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2980. var match = regexp._execGlobal$2(receiver, startIndex);
  2981. if (match == null)
  2982. return receiver;
  2983. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2984. },
  2985. quoteStringForRegExp(string) {
  2986. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2987. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2988. return string;
  2989. },
  2990. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2991. var nativeRegexp;
  2992. if (typeof pattern == "string")
  2993. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2994. if (pattern instanceof A.JSSyntaxRegExp) {
  2995. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2996. nativeRegexp.lastIndex = 0;
  2997. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2998. }
  2999. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  3000. },
  3001. stringReplaceAllGeneral(receiver, pattern, replacement) {
  3002. var t1, startIndex, t2, match;
  3003. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  3004. match = t1.get$current(t1);
  3005. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  3006. startIndex = match.get$end(match);
  3007. }
  3008. t1 = t2 + receiver.substring(startIndex);
  3009. return t1.charCodeAt(0) == 0 ? t1 : t1;
  3010. },
  3011. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  3012. var $length, t1, i;
  3013. if (pattern === "") {
  3014. if (receiver === "")
  3015. return replacement;
  3016. $length = receiver.length;
  3017. for (t1 = replacement, i = 0; i < $length; ++i)
  3018. t1 = t1 + receiver[i] + replacement;
  3019. return t1.charCodeAt(0) == 0 ? t1 : t1;
  3020. }
  3021. if (receiver.indexOf(pattern, 0) < 0)
  3022. return receiver;
  3023. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  3024. return receiver.split(pattern).join(replacement);
  3025. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  3026. },
  3027. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  3028. var index, t1, matches, match;
  3029. if (typeof pattern == "string") {
  3030. index = receiver.indexOf(pattern, startIndex);
  3031. if (index < 0)
  3032. return receiver;
  3033. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  3034. }
  3035. if (pattern instanceof A.JSSyntaxRegExp)
  3036. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  3037. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  3038. matches = t1.get$iterator(t1);
  3039. if (!matches.moveNext$0())
  3040. return receiver;
  3041. match = matches.get$current(matches);
  3042. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  3043. },
  3044. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  3045. return receiver.substring(0, start) + replacement + receiver.substring(end);
  3046. },
  3047. _Record_1: function _Record_1(t0) {
  3048. this._0 = t0;
  3049. },
  3050. _Record_2: function _Record_2(t0, t1) {
  3051. this._0 = t0;
  3052. this._1 = t1;
  3053. },
  3054. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  3055. this._0 = t0;
  3056. this._1 = t1;
  3057. },
  3058. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  3059. this._0 = t0;
  3060. this._1 = t1;
  3061. },
  3062. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  3063. this._0 = t0;
  3064. this._1 = t1;
  3065. },
  3066. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  3067. this._0 = t0;
  3068. this._1 = t1;
  3069. },
  3070. _Record_3: function _Record_3(t0, t1, t2) {
  3071. this._0 = t0;
  3072. this._1 = t1;
  3073. this._2 = t2;
  3074. },
  3075. _Record_3_deprecation_message_span: function _Record_3_deprecation_message_span(t0, t1, t2) {
  3076. this._0 = t0;
  3077. this._1 = t1;
  3078. this._2 = t2;
  3079. },
  3080. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  3081. this._0 = t0;
  3082. this._1 = t1;
  3083. this._2 = t2;
  3084. },
  3085. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  3086. this._0 = t0;
  3087. this._1 = t1;
  3088. this._2 = t2;
  3089. },
  3090. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  3091. this._0 = t0;
  3092. this._1 = t1;
  3093. this._2 = t2;
  3094. },
  3095. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  3096. this._values = t0;
  3097. },
  3098. ConstantMapView: function ConstantMapView(t0, t1) {
  3099. this._map = t0;
  3100. this.$ti = t1;
  3101. },
  3102. ConstantMap: function ConstantMap() {
  3103. },
  3104. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  3105. this._jsIndex = t0;
  3106. this._values = t1;
  3107. this.$ti = t2;
  3108. },
  3109. _KeysOrValues: function _KeysOrValues(t0, t1) {
  3110. this._elements = t0;
  3111. this.$ti = t1;
  3112. },
  3113. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  3114. var _ = this;
  3115. _._elements = t0;
  3116. _.__js_helper$_length = t1;
  3117. _.__js_helper$_index = 0;
  3118. _.__js_helper$_current = null;
  3119. _.$ti = t2;
  3120. },
  3121. ConstantSet: function ConstantSet() {
  3122. },
  3123. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  3124. this._jsIndex = t0;
  3125. this.__js_helper$_length = t1;
  3126. this.$ti = t2;
  3127. },
  3128. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  3129. this._elements = t0;
  3130. this.$ti = t1;
  3131. },
  3132. Instantiation: function Instantiation() {
  3133. },
  3134. Instantiation1: function Instantiation1(t0, t1) {
  3135. this._genericClosure = t0;
  3136. this.$ti = t1;
  3137. },
  3138. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  3139. var _ = this;
  3140. _.__js_helper$_memberName = t0;
  3141. _.__js_helper$_kind = t1;
  3142. _._arguments = t2;
  3143. _._namedArgumentNames = t3;
  3144. _._typeArgumentCount = t4;
  3145. },
  3146. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  3147. this._box_0 = t0;
  3148. this.namedArgumentList = t1;
  3149. this.$arguments = t2;
  3150. },
  3151. SafeToStringHook: function SafeToStringHook() {
  3152. },
  3153. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  3154. var _ = this;
  3155. _._pattern = t0;
  3156. _._arguments = t1;
  3157. _._argumentsExpr = t2;
  3158. _._expr = t3;
  3159. _._method = t4;
  3160. _._receiver = t5;
  3161. },
  3162. NullError: function NullError() {
  3163. },
  3164. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  3165. this.__js_helper$_message = t0;
  3166. this._method = t1;
  3167. this._receiver = t2;
  3168. },
  3169. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  3170. this.__js_helper$_message = t0;
  3171. },
  3172. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  3173. this._irritant = t0;
  3174. },
  3175. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  3176. this.dartException = t0;
  3177. this.stackTrace = t1;
  3178. },
  3179. _StackTrace: function _StackTrace(t0) {
  3180. this._exception = t0;
  3181. this._trace = null;
  3182. },
  3183. Closure: function Closure() {
  3184. },
  3185. Closure0Args: function Closure0Args() {
  3186. },
  3187. Closure2Args: function Closure2Args() {
  3188. },
  3189. TearOffClosure: function TearOffClosure() {
  3190. },
  3191. StaticClosure: function StaticClosure() {
  3192. },
  3193. BoundClosure: function BoundClosure(t0, t1) {
  3194. this._receiver = t0;
  3195. this._interceptor = t1;
  3196. },
  3197. RuntimeError: function RuntimeError(t0) {
  3198. this.message = t0;
  3199. },
  3200. _Required: function _Required() {
  3201. },
  3202. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3203. var _ = this;
  3204. _.__js_helper$_length = 0;
  3205. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3206. _._modifications = 0;
  3207. _.$ti = t0;
  3208. },
  3209. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3210. this.$this = t0;
  3211. },
  3212. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3213. var _ = this;
  3214. _.hashMapCellKey = t0;
  3215. _.hashMapCellValue = t1;
  3216. _._previous = _._next = null;
  3217. },
  3218. LinkedHashMapKeysIterable: function LinkedHashMapKeysIterable(t0, t1) {
  3219. this.__js_helper$_map = t0;
  3220. this.$ti = t1;
  3221. },
  3222. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) {
  3223. var _ = this;
  3224. _.__js_helper$_map = t0;
  3225. _._modifications = t1;
  3226. _._cell = t2;
  3227. _.__js_helper$_current = null;
  3228. },
  3229. LinkedHashMapValuesIterable: function LinkedHashMapValuesIterable(t0, t1) {
  3230. this.__js_helper$_map = t0;
  3231. this.$ti = t1;
  3232. },
  3233. LinkedHashMapValueIterator: function LinkedHashMapValueIterator(t0, t1, t2) {
  3234. var _ = this;
  3235. _.__js_helper$_map = t0;
  3236. _._modifications = t1;
  3237. _._cell = t2;
  3238. _.__js_helper$_current = null;
  3239. },
  3240. LinkedHashMapEntriesIterable: function LinkedHashMapEntriesIterable(t0, t1) {
  3241. this.__js_helper$_map = t0;
  3242. this.$ti = t1;
  3243. },
  3244. LinkedHashMapEntryIterator: function LinkedHashMapEntryIterator(t0, t1, t2, t3) {
  3245. var _ = this;
  3246. _.__js_helper$_map = t0;
  3247. _._modifications = t1;
  3248. _._cell = t2;
  3249. _.__js_helper$_current = null;
  3250. _.$ti = t3;
  3251. },
  3252. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3253. var _ = this;
  3254. _.__js_helper$_length = 0;
  3255. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3256. _._modifications = 0;
  3257. _.$ti = t0;
  3258. },
  3259. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3260. var _ = this;
  3261. _.__js_helper$_length = 0;
  3262. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3263. _._modifications = 0;
  3264. _.$ti = t0;
  3265. },
  3266. initHooks_closure: function initHooks_closure(t0) {
  3267. this.getTag = t0;
  3268. },
  3269. initHooks_closure0: function initHooks_closure0(t0) {
  3270. this.getUnknownTag = t0;
  3271. },
  3272. initHooks_closure1: function initHooks_closure1(t0) {
  3273. this.prototypeForTag = t0;
  3274. },
  3275. _Record: function _Record() {
  3276. },
  3277. _Record2: function _Record2() {
  3278. },
  3279. _Record1: function _Record1() {
  3280. },
  3281. _Record3: function _Record3() {
  3282. },
  3283. _RecordN: function _RecordN() {
  3284. },
  3285. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3286. var _ = this;
  3287. _.pattern = t0;
  3288. _._nativeRegExp = t1;
  3289. _._hasCapturesCache = _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3290. },
  3291. _MatchImplementation: function _MatchImplementation(t0) {
  3292. this._match = t0;
  3293. },
  3294. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3295. this._re = t0;
  3296. this.__js_helper$_string = t1;
  3297. this.__js_helper$_start = t2;
  3298. },
  3299. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3300. var _ = this;
  3301. _._regExp = t0;
  3302. _.__js_helper$_string = t1;
  3303. _._nextIndex = t2;
  3304. _.__js_helper$_current = null;
  3305. },
  3306. StringMatch: function StringMatch(t0, t1) {
  3307. this.start = t0;
  3308. this.pattern = t1;
  3309. },
  3310. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3311. this._input = t0;
  3312. this._pattern = t1;
  3313. this.__js_helper$_index = t2;
  3314. },
  3315. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3316. var _ = this;
  3317. _._input = t0;
  3318. _._pattern = t1;
  3319. _.__js_helper$_index = t2;
  3320. _.__js_helper$_current = null;
  3321. },
  3322. throwLateFieldADI(fieldName) {
  3323. throw A.initializeExceptionWrapper(A.LateError$fieldADI(fieldName), new Error());
  3324. },
  3325. throwUnnamedLateFieldNI() {
  3326. throw A.initializeExceptionWrapper(A.LateError$fieldNI(""), new Error());
  3327. },
  3328. throwUnnamedLateFieldAI() {
  3329. throw A.initializeExceptionWrapper(A.LateError$fieldAI(""), new Error());
  3330. },
  3331. throwUnnamedLateFieldADI() {
  3332. throw A.initializeExceptionWrapper(A.LateError$fieldADI(""), new Error());
  3333. },
  3334. _Cell$() {
  3335. var t1 = new A._Cell();
  3336. return t1.__late_helper$_value = t1;
  3337. },
  3338. _Cell: function _Cell() {
  3339. this.__late_helper$_value = null;
  3340. },
  3341. _ensureNativeList(list) {
  3342. return list;
  3343. },
  3344. NativeFloat64List_NativeFloat64List$fromList(elements) {
  3345. return new Float64Array(A._ensureNativeList(elements));
  3346. },
  3347. NativeInt8List__create1(arg) {
  3348. return new Int8Array(arg);
  3349. },
  3350. NativeUint8List_NativeUint8List($length) {
  3351. return new Uint8Array($length);
  3352. },
  3353. _checkValidIndex(index, list, $length) {
  3354. if (index >>> 0 !== index || index >= $length)
  3355. throw A.wrapException(A.diagnoseIndexError(list, index));
  3356. },
  3357. _checkValidRange(start, end, $length) {
  3358. var t1;
  3359. if (!(start >>> 0 !== start))
  3360. if (end == null)
  3361. t1 = start > $length;
  3362. else
  3363. t1 = end >>> 0 !== end || start > end || end > $length;
  3364. else
  3365. t1 = true;
  3366. if (t1)
  3367. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3368. if (end == null)
  3369. return $length;
  3370. return end;
  3371. },
  3372. NativeByteBuffer: function NativeByteBuffer() {
  3373. },
  3374. NativeTypedData: function NativeTypedData() {
  3375. },
  3376. NativeByteData: function NativeByteData() {
  3377. },
  3378. NativeTypedArray: function NativeTypedArray() {
  3379. },
  3380. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3381. },
  3382. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3383. },
  3384. NativeFloat32List: function NativeFloat32List() {
  3385. },
  3386. NativeFloat64List: function NativeFloat64List() {
  3387. },
  3388. NativeInt16List: function NativeInt16List() {
  3389. },
  3390. NativeInt32List: function NativeInt32List() {
  3391. },
  3392. NativeInt8List: function NativeInt8List() {
  3393. },
  3394. NativeUint16List: function NativeUint16List() {
  3395. },
  3396. NativeUint32List: function NativeUint32List() {
  3397. },
  3398. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3399. },
  3400. NativeUint8List: function NativeUint8List() {
  3401. },
  3402. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3403. },
  3404. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3405. },
  3406. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3407. },
  3408. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3409. },
  3410. Rti__getFutureFromFutureOr(universe, rti) {
  3411. var future = rti._precomputed1;
  3412. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3413. },
  3414. Rti__isUnionOfFunctionType(rti) {
  3415. var kind = rti._kind;
  3416. if (kind === 6 || kind === 7)
  3417. return A.Rti__isUnionOfFunctionType(rti._primary);
  3418. return kind === 11 || kind === 12;
  3419. },
  3420. Rti__getCanonicalRecipe(rti) {
  3421. return rti._canonicalRecipe;
  3422. },
  3423. pairwiseIsTest(fieldRtis, values) {
  3424. var i,
  3425. $length = values.length;
  3426. for (i = 0; i < $length; ++i)
  3427. if (!fieldRtis[i]._is(values[i]))
  3428. return false;
  3429. return true;
  3430. },
  3431. findType(recipe) {
  3432. return A._Universe_eval(init.typeUniverse, recipe, false);
  3433. },
  3434. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3435. var t1, cache, key, probe, rti;
  3436. if (genericFunctionRti == null)
  3437. return null;
  3438. t1 = instantiationRti._rest;
  3439. cache = genericFunctionRti._bindCache;
  3440. if (cache == null)
  3441. cache = genericFunctionRti._bindCache = new Map();
  3442. key = instantiationRti._canonicalRecipe;
  3443. probe = cache.get(key);
  3444. if (probe != null)
  3445. return probe;
  3446. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3447. cache.set(key, rti);
  3448. return rti;
  3449. },
  3450. _substitute(universe, rti, typeArguments, depth) {
  3451. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3452. kind = rti._kind;
  3453. switch (kind) {
  3454. case 5:
  3455. case 1:
  3456. case 2:
  3457. case 3:
  3458. case 4:
  3459. return rti;
  3460. case 6:
  3461. baseType = rti._primary;
  3462. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3463. if (substitutedBaseType === baseType)
  3464. return rti;
  3465. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3466. case 7:
  3467. baseType = rti._primary;
  3468. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3469. if (substitutedBaseType === baseType)
  3470. return rti;
  3471. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3472. case 8:
  3473. interfaceTypeArguments = rti._rest;
  3474. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3475. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3476. return rti;
  3477. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3478. case 9:
  3479. base = rti._primary;
  3480. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3481. $arguments = rti._rest;
  3482. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3483. if (substitutedBase === base && substitutedArguments === $arguments)
  3484. return rti;
  3485. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3486. case 10:
  3487. t1 = rti._primary;
  3488. fields = rti._rest;
  3489. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3490. if (substitutedFields === fields)
  3491. return rti;
  3492. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3493. case 11:
  3494. returnType = rti._primary;
  3495. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3496. functionParameters = rti._rest;
  3497. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3498. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3499. return rti;
  3500. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3501. case 12:
  3502. bounds = rti._rest;
  3503. depth += bounds.length;
  3504. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3505. base = rti._primary;
  3506. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3507. if (substitutedBounds === bounds && substitutedBase === base)
  3508. return rti;
  3509. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3510. case 13:
  3511. index = rti._primary;
  3512. if (index < depth)
  3513. return rti;
  3514. argument = typeArguments[index - depth];
  3515. if (argument == null)
  3516. return rti;
  3517. return argument;
  3518. default:
  3519. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3520. }
  3521. },
  3522. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3523. var changed, i, rti, substitutedRti,
  3524. $length = rtiArray.length,
  3525. result = A._Utils_newArrayOrEmpty($length);
  3526. for (changed = false, i = 0; i < $length; ++i) {
  3527. rti = rtiArray[i];
  3528. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3529. if (substitutedRti !== rti)
  3530. changed = true;
  3531. result[i] = substitutedRti;
  3532. }
  3533. return changed ? result : rtiArray;
  3534. },
  3535. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3536. var changed, i, t1, t2, rti, substitutedRti,
  3537. $length = namedArray.length,
  3538. result = A._Utils_newArrayOrEmpty($length);
  3539. for (changed = false, i = 0; i < $length; i += 3) {
  3540. t1 = namedArray[i];
  3541. t2 = namedArray[i + 1];
  3542. rti = namedArray[i + 2];
  3543. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3544. if (substitutedRti !== rti)
  3545. changed = true;
  3546. result.splice(i, 3, t1, t2, substitutedRti);
  3547. }
  3548. return changed ? result : namedArray;
  3549. },
  3550. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3551. var result,
  3552. requiredPositional = functionParameters._requiredPositional,
  3553. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3554. optionalPositional = functionParameters._optionalPositional,
  3555. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3556. named = functionParameters._named,
  3557. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3558. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3559. return functionParameters;
  3560. result = new A._FunctionParameters();
  3561. result._requiredPositional = substitutedRequiredPositional;
  3562. result._optionalPositional = substitutedOptionalPositional;
  3563. result._named = substitutedNamed;
  3564. return result;
  3565. },
  3566. _setArrayType(target, rti) {
  3567. target[init.arrayRti] = rti;
  3568. return target;
  3569. },
  3570. closureFunctionType(closure) {
  3571. var signature = closure.$signature;
  3572. if (signature != null) {
  3573. if (typeof signature == "number")
  3574. return A.getTypeFromTypesTable(signature);
  3575. return closure.$signature();
  3576. }
  3577. return null;
  3578. },
  3579. instanceOrFunctionType(object, testRti) {
  3580. var rti;
  3581. if (A.Rti__isUnionOfFunctionType(testRti))
  3582. if (object instanceof A.Closure) {
  3583. rti = A.closureFunctionType(object);
  3584. if (rti != null)
  3585. return rti;
  3586. }
  3587. return A.instanceType(object);
  3588. },
  3589. instanceType(object) {
  3590. if (object instanceof A.Object)
  3591. return A._instanceType(object);
  3592. if (Array.isArray(object))
  3593. return A._arrayInstanceType(object);
  3594. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3595. },
  3596. _arrayInstanceType(object) {
  3597. var rti = object[init.arrayRti],
  3598. defaultRti = type$.JSArray_dynamic;
  3599. if (rti == null)
  3600. return defaultRti;
  3601. if (rti.constructor !== defaultRti.constructor)
  3602. return defaultRti;
  3603. return rti;
  3604. },
  3605. _instanceType(object) {
  3606. var rti = object.$ti;
  3607. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3608. },
  3609. _instanceTypeFromConstructor(instance) {
  3610. var $constructor = instance.constructor,
  3611. probe = $constructor.$ccache;
  3612. if (probe != null)
  3613. return probe;
  3614. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3615. },
  3616. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3617. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3618. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3619. $constructor.$ccache = rti;
  3620. return rti;
  3621. },
  3622. getTypeFromTypesTable(index) {
  3623. var rti,
  3624. table = init.types,
  3625. type = table[index];
  3626. if (typeof type == "string") {
  3627. rti = A._Universe_eval(init.typeUniverse, type, false);
  3628. table[index] = rti;
  3629. return rti;
  3630. }
  3631. return type;
  3632. },
  3633. getRuntimeTypeOfDartObject(object) {
  3634. return A.createRuntimeType(A._instanceType(object));
  3635. },
  3636. getRuntimeTypeOfClosure(closure) {
  3637. var rti = A.closureFunctionType(closure);
  3638. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3639. },
  3640. _structuralTypeOf(object) {
  3641. var functionRti;
  3642. if (object instanceof A._Record)
  3643. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3644. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3645. if (functionRti != null)
  3646. return functionRti;
  3647. if (type$.TrustedGetRuntimeType._is(object))
  3648. return J.get$runtimeType$(object)._rti;
  3649. if (Array.isArray(object))
  3650. return A._arrayInstanceType(object);
  3651. return A.instanceType(object);
  3652. },
  3653. createRuntimeType(rti) {
  3654. var t1 = rti._cachedRuntimeType;
  3655. return t1 == null ? rti._cachedRuntimeType = new A._Type(rti) : t1;
  3656. },
  3657. evaluateRtiForRecord(recordRecipe, valuesList) {
  3658. var bindings, i,
  3659. values = valuesList,
  3660. $length = values.length;
  3661. if ($length === 0)
  3662. return type$.Record_0;
  3663. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3664. for (i = 1; i < $length; ++i)
  3665. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3666. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3667. },
  3668. typeLiteral(recipe) {
  3669. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3670. },
  3671. _installSpecializedIsTest(object) {
  3672. var testRti = this;
  3673. testRti._is = A._specializedIsTest(testRti);
  3674. return testRti._is(object);
  3675. },
  3676. _specializedIsTest(testRti) {
  3677. var kind, simpleIsFn, $name, predicate;
  3678. if (testRti === type$.Object)
  3679. return A._isObject;
  3680. if (A.isTopType(testRti))
  3681. return A._isTop;
  3682. kind = testRti._kind;
  3683. if (kind === 6)
  3684. return A._generalNullableIsTestImplementation;
  3685. if (kind === 1)
  3686. return A._isNever;
  3687. if (kind === 7)
  3688. return A._isFutureOr;
  3689. simpleIsFn = A._simpleSpecializedIsTest(testRti);
  3690. if (simpleIsFn != null)
  3691. return simpleIsFn;
  3692. if (kind === 8) {
  3693. $name = testRti._primary;
  3694. if (testRti._rest.every(A.isTopType)) {
  3695. testRti._specializedTestResource = "$is" + $name;
  3696. if ($name === "List")
  3697. return A._isListTestViaProperty;
  3698. if (testRti === type$.JSObject)
  3699. return A._isJSObject;
  3700. return A._isTestViaProperty;
  3701. }
  3702. } else if (kind === 10) {
  3703. predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);
  3704. return predicate == null ? A._isNever : predicate;
  3705. }
  3706. return A._generalIsTestImplementation;
  3707. },
  3708. _simpleSpecializedIsTest(testRti) {
  3709. if (testRti._kind === 8) {
  3710. if (testRti === type$.int)
  3711. return A._isInt;
  3712. if (testRti === type$.double || testRti === type$.num)
  3713. return A._isNum;
  3714. if (testRti === type$.String)
  3715. return A._isString;
  3716. if (testRti === type$.bool)
  3717. return A._isBool;
  3718. }
  3719. return null;
  3720. },
  3721. _installSpecializedAsCheck(object) {
  3722. var testRti = this,
  3723. asFn = A._generalAsCheckImplementation;
  3724. if (A.isTopType(testRti))
  3725. asFn = A._asTop;
  3726. else if (testRti === type$.Object)
  3727. asFn = A._asObject;
  3728. else if (A.isNullable(testRti)) {
  3729. asFn = A._generalNullableAsCheckImplementation;
  3730. if (testRti === type$.nullable_int)
  3731. asFn = A._asIntQ;
  3732. else if (testRti === type$.nullable_String)
  3733. asFn = A._asStringQ;
  3734. else if (testRti === type$.nullable_bool)
  3735. asFn = A._asBoolQ;
  3736. else if (testRti === type$.nullable_num)
  3737. asFn = A._asNumQ;
  3738. else if (testRti === type$.nullable_double)
  3739. asFn = A._asDoubleQ;
  3740. else if (testRti === type$.nullable_JSObject)
  3741. asFn = A._asJSObjectQ;
  3742. } else if (testRti === type$.int)
  3743. asFn = A._asInt;
  3744. else if (testRti === type$.String)
  3745. asFn = A._asString;
  3746. else if (testRti === type$.bool)
  3747. asFn = A._asBool;
  3748. else if (testRti === type$.num)
  3749. asFn = A._asNum;
  3750. else if (testRti === type$.double)
  3751. asFn = A._asDouble;
  3752. else if (testRti === type$.JSObject)
  3753. asFn = A._asJSObject;
  3754. testRti._as = asFn;
  3755. return testRti._as(object);
  3756. },
  3757. _generalIsTestImplementation(object) {
  3758. var testRti = this;
  3759. if (object == null)
  3760. return A.isNullable(testRti);
  3761. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3762. },
  3763. _generalNullableIsTestImplementation(object) {
  3764. if (object == null)
  3765. return true;
  3766. return this._primary._is(object);
  3767. },
  3768. _isTestViaProperty(object) {
  3769. var tag, testRti = this;
  3770. if (object == null)
  3771. return A.isNullable(testRti);
  3772. tag = testRti._specializedTestResource;
  3773. if (object instanceof A.Object)
  3774. return !!object[tag];
  3775. return !!J.getInterceptor$(object)[tag];
  3776. },
  3777. _isListTestViaProperty(object) {
  3778. var tag, testRti = this;
  3779. if (object == null)
  3780. return A.isNullable(testRti);
  3781. if (typeof object != "object")
  3782. return false;
  3783. if (Array.isArray(object))
  3784. return true;
  3785. tag = testRti._specializedTestResource;
  3786. if (object instanceof A.Object)
  3787. return !!object[tag];
  3788. return !!J.getInterceptor$(object)[tag];
  3789. },
  3790. _isJSObject(object) {
  3791. var t1 = this;
  3792. if (object == null)
  3793. return false;
  3794. if (typeof object == "object") {
  3795. if (object instanceof A.Object)
  3796. return !!object[t1._specializedTestResource];
  3797. return true;
  3798. }
  3799. if (typeof object == "function")
  3800. return true;
  3801. return false;
  3802. },
  3803. _isJSObjectStandalone(object) {
  3804. if (typeof object == "object") {
  3805. if (object instanceof A.Object)
  3806. return type$.JSObject._is(object);
  3807. return true;
  3808. }
  3809. if (typeof object == "function")
  3810. return true;
  3811. return false;
  3812. },
  3813. _generalAsCheckImplementation(object) {
  3814. var testRti = this;
  3815. if (object == null) {
  3816. if (A.isNullable(testRti))
  3817. return object;
  3818. } else if (testRti._is(object))
  3819. return object;
  3820. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3821. },
  3822. _generalNullableAsCheckImplementation(object) {
  3823. var testRti = this;
  3824. if (object == null || testRti._is(object))
  3825. return object;
  3826. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3827. },
  3828. _errorForAsCheck(object, testRti) {
  3829. return new A._TypeError("TypeError: " + A._Error_compose(object, A._rtiToString(testRti, null)));
  3830. },
  3831. _Error_compose(object, checkedTypeDescription) {
  3832. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3833. },
  3834. _TypeError__TypeError$forType(object, type) {
  3835. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3836. },
  3837. _isFutureOr(object) {
  3838. var testRti = this;
  3839. return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);
  3840. },
  3841. _isObject(object) {
  3842. return object != null;
  3843. },
  3844. _asObject(object) {
  3845. if (object != null)
  3846. return object;
  3847. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "Object"), new Error());
  3848. },
  3849. _isTop(object) {
  3850. return true;
  3851. },
  3852. _asTop(object) {
  3853. return object;
  3854. },
  3855. _isNever(object) {
  3856. return false;
  3857. },
  3858. _isBool(object) {
  3859. return true === object || false === object;
  3860. },
  3861. _asBool(object) {
  3862. if (true === object)
  3863. return true;
  3864. if (false === object)
  3865. return false;
  3866. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool"), new Error());
  3867. },
  3868. _asBoolQ(object) {
  3869. if (true === object)
  3870. return true;
  3871. if (false === object)
  3872. return false;
  3873. if (object == null)
  3874. return object;
  3875. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool?"), new Error());
  3876. },
  3877. _asDouble(object) {
  3878. if (typeof object == "number")
  3879. return object;
  3880. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double"), new Error());
  3881. },
  3882. _asDoubleQ(object) {
  3883. if (typeof object == "number")
  3884. return object;
  3885. if (object == null)
  3886. return object;
  3887. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double?"), new Error());
  3888. },
  3889. _isInt(object) {
  3890. return typeof object == "number" && Math.floor(object) === object;
  3891. },
  3892. _asInt(object) {
  3893. if (typeof object == "number" && Math.floor(object) === object)
  3894. return object;
  3895. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int"), new Error());
  3896. },
  3897. _asIntQ(object) {
  3898. if (typeof object == "number" && Math.floor(object) === object)
  3899. return object;
  3900. if (object == null)
  3901. return object;
  3902. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int?"), new Error());
  3903. },
  3904. _isNum(object) {
  3905. return typeof object == "number";
  3906. },
  3907. _asNum(object) {
  3908. if (typeof object == "number")
  3909. return object;
  3910. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num"), new Error());
  3911. },
  3912. _asNumQ(object) {
  3913. if (typeof object == "number")
  3914. return object;
  3915. if (object == null)
  3916. return object;
  3917. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num?"), new Error());
  3918. },
  3919. _isString(object) {
  3920. return typeof object == "string";
  3921. },
  3922. _asString(object) {
  3923. if (typeof object == "string")
  3924. return object;
  3925. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String"), new Error());
  3926. },
  3927. _asStringQ(object) {
  3928. if (typeof object == "string")
  3929. return object;
  3930. if (object == null)
  3931. return object;
  3932. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String?"), new Error());
  3933. },
  3934. _asJSObject(object) {
  3935. if (A._isJSObjectStandalone(object))
  3936. return object;
  3937. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject"), new Error());
  3938. },
  3939. _asJSObjectQ(object) {
  3940. if (object == null)
  3941. return object;
  3942. if (A._isJSObjectStandalone(object))
  3943. return object;
  3944. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject?"), new Error());
  3945. },
  3946. _rtiArrayToString(array, genericContext) {
  3947. var s, sep, i;
  3948. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3949. s += sep + A._rtiToString(array[i], genericContext);
  3950. return s;
  3951. },
  3952. _recordRtiToString(recordType, genericContext) {
  3953. var fieldCount, names, namesIndex, s, comma, i,
  3954. partialShape = recordType._primary,
  3955. fields = recordType._rest;
  3956. if ("" === partialShape)
  3957. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3958. fieldCount = fields.length;
  3959. names = partialShape.split(",");
  3960. namesIndex = names.length - fieldCount;
  3961. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3962. s += comma;
  3963. if (namesIndex === 0)
  3964. s += "{";
  3965. s += A._rtiToString(fields[i], genericContext);
  3966. if (namesIndex >= 0)
  3967. s += " " + names[namesIndex];
  3968. ++namesIndex;
  3969. }
  3970. return s + "})";
  3971. },
  3972. _functionRtiToString(functionType, genericContext, bounds) {
  3973. var boundsLength, offset, i, t1, typeParametersText, typeSep, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
  3974. if (bounds != null) {
  3975. boundsLength = bounds.length;
  3976. if (genericContext == null)
  3977. genericContext = A._setArrayType([], type$.JSArray_String);
  3978. else
  3979. outerContextLength = genericContext.length;
  3980. offset = genericContext.length;
  3981. for (i = boundsLength; i > 0; --i)
  3982. genericContext.push("T" + (offset + i));
  3983. for (t1 = type$.nullable_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3984. typeParametersText = typeParametersText + typeSep + genericContext[genericContext.length - 1 - i];
  3985. boundRti = bounds[i];
  3986. kind = boundRti._kind;
  3987. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3988. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3989. }
  3990. typeParametersText += ">";
  3991. } else
  3992. typeParametersText = "";
  3993. t1 = functionType._primary;
  3994. parameters = functionType._rest;
  3995. requiredPositional = parameters._requiredPositional;
  3996. requiredPositionalLength = requiredPositional.length;
  3997. optionalPositional = parameters._optionalPositional;
  3998. optionalPositionalLength = optionalPositional.length;
  3999. named = parameters._named;
  4000. namedLength = named.length;
  4001. returnTypeText = A._rtiToString(t1, genericContext);
  4002. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  4003. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  4004. if (optionalPositionalLength > 0) {
  4005. argumentsText += sep + "[";
  4006. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  4007. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  4008. argumentsText += "]";
  4009. }
  4010. if (namedLength > 0) {
  4011. argumentsText += sep + "{";
  4012. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  4013. argumentsText += sep;
  4014. if (named[i + 1])
  4015. argumentsText += "required ";
  4016. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  4017. }
  4018. argumentsText += "}";
  4019. }
  4020. if (outerContextLength != null) {
  4021. genericContext.toString;
  4022. genericContext.length = outerContextLength;
  4023. }
  4024. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  4025. },
  4026. _rtiToString(rti, genericContext) {
  4027. var questionArgument, s, argumentKind, $name, $arguments, t1,
  4028. kind = rti._kind;
  4029. if (kind === 5)
  4030. return "erased";
  4031. if (kind === 2)
  4032. return "dynamic";
  4033. if (kind === 3)
  4034. return "void";
  4035. if (kind === 1)
  4036. return "Never";
  4037. if (kind === 4)
  4038. return "any";
  4039. if (kind === 6) {
  4040. questionArgument = rti._primary;
  4041. s = A._rtiToString(questionArgument, genericContext);
  4042. argumentKind = questionArgument._kind;
  4043. return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
  4044. }
  4045. if (kind === 7)
  4046. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  4047. if (kind === 8) {
  4048. $name = A._unminifyOrTag(rti._primary);
  4049. $arguments = rti._rest;
  4050. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  4051. }
  4052. if (kind === 10)
  4053. return A._recordRtiToString(rti, genericContext);
  4054. if (kind === 11)
  4055. return A._functionRtiToString(rti, genericContext, null);
  4056. if (kind === 12)
  4057. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  4058. if (kind === 13) {
  4059. t1 = rti._primary;
  4060. return genericContext[genericContext.length - 1 - t1];
  4061. }
  4062. return "?";
  4063. },
  4064. _unminifyOrTag(rawClassName) {
  4065. var preserved = init.mangledGlobalNames[rawClassName];
  4066. if (preserved != null)
  4067. return preserved;
  4068. return rawClassName;
  4069. },
  4070. _Universe_findRule(universe, targetType) {
  4071. var rule = universe.tR[targetType];
  4072. while (typeof rule == "string")
  4073. rule = universe.tR[rule];
  4074. return rule;
  4075. },
  4076. _Universe_findErasedType(universe, cls) {
  4077. var $length, erased, $arguments, i, $interface,
  4078. metadata = universe.eT,
  4079. probe = metadata[cls];
  4080. if (probe == null)
  4081. return A._Universe_eval(universe, cls, false);
  4082. else if (typeof probe == "number") {
  4083. $length = probe;
  4084. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  4085. $arguments = A._Utils_newArrayOrEmpty($length);
  4086. for (i = 0; i < $length; ++i)
  4087. $arguments[i] = erased;
  4088. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  4089. metadata[cls] = $interface;
  4090. return $interface;
  4091. } else
  4092. return probe;
  4093. },
  4094. _Universe_addRules(universe, rules) {
  4095. return A._Utils_objectAssign(universe.tR, rules);
  4096. },
  4097. _Universe_addErasedTypes(universe, types) {
  4098. return A._Utils_objectAssign(universe.eT, types);
  4099. },
  4100. _Universe_eval(universe, recipe, normalize) {
  4101. var rti,
  4102. cache = universe.eC,
  4103. probe = cache.get(recipe);
  4104. if (probe != null)
  4105. return probe;
  4106. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));
  4107. cache.set(recipe, rti);
  4108. return rti;
  4109. },
  4110. _Universe_evalInEnvironment(universe, environment, recipe) {
  4111. var probe, rti,
  4112. cache = environment._evalCache;
  4113. if (cache == null)
  4114. cache = environment._evalCache = new Map();
  4115. probe = cache.get(recipe);
  4116. if (probe != null)
  4117. return probe;
  4118. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  4119. cache.set(recipe, rti);
  4120. return rti;
  4121. },
  4122. _Universe_bind(universe, environment, argumentsRti) {
  4123. var argumentsRecipe, probe, rti,
  4124. cache = environment._bindCache;
  4125. if (cache == null)
  4126. cache = environment._bindCache = new Map();
  4127. argumentsRecipe = argumentsRti._canonicalRecipe;
  4128. probe = cache.get(argumentsRecipe);
  4129. if (probe != null)
  4130. return probe;
  4131. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 9 ? argumentsRti._rest : [argumentsRti]);
  4132. cache.set(argumentsRecipe, rti);
  4133. return rti;
  4134. },
  4135. _Universe__installTypeTests(universe, rti) {
  4136. rti._as = A._installSpecializedAsCheck;
  4137. rti._is = A._installSpecializedIsTest;
  4138. return rti;
  4139. },
  4140. _Universe__lookupTerminalRti(universe, kind, key) {
  4141. var rti, t1,
  4142. probe = universe.eC.get(key);
  4143. if (probe != null)
  4144. return probe;
  4145. rti = new A.Rti(null, null);
  4146. rti._kind = kind;
  4147. rti._canonicalRecipe = key;
  4148. t1 = A._Universe__installTypeTests(universe, rti);
  4149. universe.eC.set(key, t1);
  4150. return t1;
  4151. },
  4152. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4153. var t1,
  4154. key = baseType._canonicalRecipe + "?",
  4155. probe = universe.eC.get(key);
  4156. if (probe != null)
  4157. return probe;
  4158. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4159. universe.eC.set(key, t1);
  4160. return t1;
  4161. },
  4162. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4163. var baseKind, t1, rti;
  4164. if (normalize) {
  4165. baseKind = baseType._kind;
  4166. t1 = true;
  4167. if (!A.isTopType(baseType))
  4168. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4169. if (baseKind !== 6)
  4170. t1 = baseKind === 7 && A.isNullable(baseType._primary);
  4171. if (t1)
  4172. return baseType;
  4173. else if (baseKind === 1)
  4174. return type$.Null;
  4175. }
  4176. rti = new A.Rti(null, null);
  4177. rti._kind = 6;
  4178. rti._primary = baseType;
  4179. rti._canonicalRecipe = key;
  4180. return A._Universe__installTypeTests(universe, rti);
  4181. },
  4182. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4183. var t1,
  4184. key = baseType._canonicalRecipe + "/",
  4185. probe = universe.eC.get(key);
  4186. if (probe != null)
  4187. return probe;
  4188. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4189. universe.eC.set(key, t1);
  4190. return t1;
  4191. },
  4192. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4193. var t1, rti;
  4194. if (normalize) {
  4195. t1 = baseType._kind;
  4196. if (A.isTopType(baseType) || baseType === type$.Object)
  4197. return baseType;
  4198. else if (t1 === 1)
  4199. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4200. else if (baseType === type$.Null || baseType === type$.JSNull)
  4201. return type$.nullable_Future_Null;
  4202. }
  4203. rti = new A.Rti(null, null);
  4204. rti._kind = 7;
  4205. rti._primary = baseType;
  4206. rti._canonicalRecipe = key;
  4207. return A._Universe__installTypeTests(universe, rti);
  4208. },
  4209. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4210. var rti, t1,
  4211. key = "" + index + "^",
  4212. probe = universe.eC.get(key);
  4213. if (probe != null)
  4214. return probe;
  4215. rti = new A.Rti(null, null);
  4216. rti._kind = 13;
  4217. rti._primary = index;
  4218. rti._canonicalRecipe = key;
  4219. t1 = A._Universe__installTypeTests(universe, rti);
  4220. universe.eC.set(key, t1);
  4221. return t1;
  4222. },
  4223. _Universe__canonicalRecipeJoin($arguments) {
  4224. var s, sep, i,
  4225. $length = $arguments.length;
  4226. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4227. s += sep + $arguments[i]._canonicalRecipe;
  4228. return s;
  4229. },
  4230. _Universe__canonicalRecipeJoinNamed($arguments) {
  4231. var s, sep, i, t1, nameSep,
  4232. $length = $arguments.length;
  4233. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4234. t1 = $arguments[i];
  4235. nameSep = $arguments[i + 1] ? "!" : ":";
  4236. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4237. }
  4238. return s;
  4239. },
  4240. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4241. var probe, rti, t1,
  4242. s = $name;
  4243. if ($arguments.length > 0)
  4244. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4245. probe = universe.eC.get(s);
  4246. if (probe != null)
  4247. return probe;
  4248. rti = new A.Rti(null, null);
  4249. rti._kind = 8;
  4250. rti._primary = $name;
  4251. rti._rest = $arguments;
  4252. if ($arguments.length > 0)
  4253. rti._precomputed1 = $arguments[0];
  4254. rti._canonicalRecipe = s;
  4255. t1 = A._Universe__installTypeTests(universe, rti);
  4256. universe.eC.set(s, t1);
  4257. return t1;
  4258. },
  4259. _Universe__lookupBindingRti(universe, base, $arguments) {
  4260. var newBase, newArguments, key, probe, rti, t1;
  4261. if (base._kind === 9) {
  4262. newBase = base._primary;
  4263. newArguments = base._rest.concat($arguments);
  4264. } else {
  4265. newArguments = $arguments;
  4266. newBase = base;
  4267. }
  4268. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4269. probe = universe.eC.get(key);
  4270. if (probe != null)
  4271. return probe;
  4272. rti = new A.Rti(null, null);
  4273. rti._kind = 9;
  4274. rti._primary = newBase;
  4275. rti._rest = newArguments;
  4276. rti._canonicalRecipe = key;
  4277. t1 = A._Universe__installTypeTests(universe, rti);
  4278. universe.eC.set(key, t1);
  4279. return t1;
  4280. },
  4281. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4282. var rti, t1,
  4283. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4284. probe = universe.eC.get(key);
  4285. if (probe != null)
  4286. return probe;
  4287. rti = new A.Rti(null, null);
  4288. rti._kind = 10;
  4289. rti._primary = partialShapeTag;
  4290. rti._rest = fields;
  4291. rti._canonicalRecipe = key;
  4292. t1 = A._Universe__installTypeTests(universe, rti);
  4293. universe.eC.set(key, t1);
  4294. return t1;
  4295. },
  4296. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4297. var sep, key, probe, rti, t1,
  4298. s = returnType._canonicalRecipe,
  4299. requiredPositional = parameters._requiredPositional,
  4300. requiredPositionalLength = requiredPositional.length,
  4301. optionalPositional = parameters._optionalPositional,
  4302. optionalPositionalLength = optionalPositional.length,
  4303. named = parameters._named,
  4304. namedLength = named.length,
  4305. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4306. if (optionalPositionalLength > 0) {
  4307. sep = requiredPositionalLength > 0 ? "," : "";
  4308. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4309. }
  4310. if (namedLength > 0) {
  4311. sep = requiredPositionalLength > 0 ? "," : "";
  4312. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4313. }
  4314. key = s + (recipe + ")");
  4315. probe = universe.eC.get(key);
  4316. if (probe != null)
  4317. return probe;
  4318. rti = new A.Rti(null, null);
  4319. rti._kind = 11;
  4320. rti._primary = returnType;
  4321. rti._rest = parameters;
  4322. rti._canonicalRecipe = key;
  4323. t1 = A._Universe__installTypeTests(universe, rti);
  4324. universe.eC.set(key, t1);
  4325. return t1;
  4326. },
  4327. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4328. var t1,
  4329. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4330. probe = universe.eC.get(key);
  4331. if (probe != null)
  4332. return probe;
  4333. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4334. universe.eC.set(key, t1);
  4335. return t1;
  4336. },
  4337. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4338. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4339. if (normalize) {
  4340. $length = bounds.length;
  4341. typeArguments = A._Utils_newArrayOrEmpty($length);
  4342. for (count = 0, i = 0; i < $length; ++i) {
  4343. bound = bounds[i];
  4344. if (bound._kind === 1) {
  4345. typeArguments[i] = bound;
  4346. ++count;
  4347. }
  4348. }
  4349. if (count > 0) {
  4350. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4351. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4352. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4353. }
  4354. }
  4355. rti = new A.Rti(null, null);
  4356. rti._kind = 12;
  4357. rti._primary = baseFunctionType;
  4358. rti._rest = bounds;
  4359. rti._canonicalRecipe = key;
  4360. return A._Universe__installTypeTests(universe, rti);
  4361. },
  4362. _Parser_create(universe, environment, recipe, normalize) {
  4363. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4364. },
  4365. _Parser_parse(parser) {
  4366. var t1, i, ch, u, array, end, item,
  4367. source = parser.r,
  4368. stack = parser.s;
  4369. for (t1 = source.length, i = 0; i < t1;) {
  4370. ch = source.charCodeAt(i);
  4371. if (ch >= 48 && ch <= 57)
  4372. i = A._Parser_handleDigit(i + 1, ch, source, stack);
  4373. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4374. i = A._Parser_handleIdentifier(parser, i, source, stack, false);
  4375. else if (ch === 46)
  4376. i = A._Parser_handleIdentifier(parser, i, source, stack, true);
  4377. else {
  4378. ++i;
  4379. switch (ch) {
  4380. case 44:
  4381. break;
  4382. case 58:
  4383. stack.push(false);
  4384. break;
  4385. case 33:
  4386. stack.push(true);
  4387. break;
  4388. case 59:
  4389. stack.push(A._Parser_toType(parser.u, parser.e, stack.pop()));
  4390. break;
  4391. case 94:
  4392. stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));
  4393. break;
  4394. case 35:
  4395. stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4396. break;
  4397. case 64:
  4398. stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4399. break;
  4400. case 126:
  4401. stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4402. break;
  4403. case 60:
  4404. stack.push(parser.p);
  4405. parser.p = stack.length;
  4406. break;
  4407. case 62:
  4408. A._Parser_handleTypeArguments(parser, stack);
  4409. break;
  4410. case 38:
  4411. A._Parser_handleExtendedOperations(parser, stack);
  4412. break;
  4413. case 63:
  4414. u = parser.u;
  4415. stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
  4416. break;
  4417. case 47:
  4418. u = parser.u;
  4419. stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
  4420. break;
  4421. case 40:
  4422. stack.push(-3);
  4423. stack.push(parser.p);
  4424. parser.p = stack.length;
  4425. break;
  4426. case 41:
  4427. A._Parser_handleArguments(parser, stack);
  4428. break;
  4429. case 91:
  4430. stack.push(parser.p);
  4431. parser.p = stack.length;
  4432. break;
  4433. case 93:
  4434. array = stack.splice(parser.p);
  4435. A._Parser_toTypes(parser.u, parser.e, array);
  4436. parser.p = stack.pop();
  4437. stack.push(array);
  4438. stack.push(-1);
  4439. break;
  4440. case 123:
  4441. stack.push(parser.p);
  4442. parser.p = stack.length;
  4443. break;
  4444. case 125:
  4445. array = stack.splice(parser.p);
  4446. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4447. parser.p = stack.pop();
  4448. stack.push(array);
  4449. stack.push(-2);
  4450. break;
  4451. case 43:
  4452. end = source.indexOf("(", i);
  4453. stack.push(source.substring(i, end));
  4454. stack.push(-4);
  4455. stack.push(parser.p);
  4456. parser.p = stack.length;
  4457. i = end + 1;
  4458. break;
  4459. default:
  4460. throw "Bad character " + ch;
  4461. }
  4462. }
  4463. }
  4464. item = stack.pop();
  4465. return A._Parser_toType(parser.u, parser.e, item);
  4466. },
  4467. _Parser_handleDigit(i, digit, source, stack) {
  4468. var t1, ch,
  4469. value = digit - 48;
  4470. for (t1 = source.length; i < t1; ++i) {
  4471. ch = source.charCodeAt(i);
  4472. if (!(ch >= 48 && ch <= 57))
  4473. break;
  4474. value = value * 10 + (ch - 48);
  4475. }
  4476. stack.push(value);
  4477. return i;
  4478. },
  4479. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4480. var t1, ch, t2, string, environment, recipe,
  4481. i = start + 1;
  4482. for (t1 = source.length; i < t1; ++i) {
  4483. ch = source.charCodeAt(i);
  4484. if (ch === 46) {
  4485. if (hasPeriod)
  4486. break;
  4487. hasPeriod = true;
  4488. } else {
  4489. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4490. t2 = ch >= 48 && ch <= 57;
  4491. else
  4492. t2 = true;
  4493. if (!t2)
  4494. break;
  4495. }
  4496. }
  4497. string = source.substring(start, i);
  4498. if (hasPeriod) {
  4499. t1 = parser.u;
  4500. environment = parser.e;
  4501. if (environment._kind === 9)
  4502. environment = environment._primary;
  4503. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4504. if (recipe == null)
  4505. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4506. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4507. } else
  4508. stack.push(string);
  4509. return i;
  4510. },
  4511. _Parser_handleTypeArguments(parser, stack) {
  4512. var base,
  4513. universe = parser.u,
  4514. $arguments = A._Parser_collectArray(parser, stack),
  4515. head = stack.pop();
  4516. if (typeof head == "string")
  4517. stack.push(A._Universe__lookupInterfaceRti(universe, head, $arguments));
  4518. else {
  4519. base = A._Parser_toType(universe, parser.e, head);
  4520. switch (base._kind) {
  4521. case 11:
  4522. stack.push(A._Universe__lookupGenericFunctionRti(universe, base, $arguments, parser.n));
  4523. break;
  4524. default:
  4525. stack.push(A._Universe__lookupBindingRti(universe, base, $arguments));
  4526. break;
  4527. }
  4528. }
  4529. },
  4530. _Parser_handleArguments(parser, stack) {
  4531. var requiredPositional, returnType, parameters,
  4532. universe = parser.u,
  4533. head = stack.pop(),
  4534. optionalPositional = null, named = null;
  4535. if (typeof head == "number")
  4536. switch (head) {
  4537. case -1:
  4538. optionalPositional = stack.pop();
  4539. break;
  4540. case -2:
  4541. named = stack.pop();
  4542. break;
  4543. default:
  4544. stack.push(head);
  4545. break;
  4546. }
  4547. else
  4548. stack.push(head);
  4549. requiredPositional = A._Parser_collectArray(parser, stack);
  4550. head = stack.pop();
  4551. switch (head) {
  4552. case -3:
  4553. head = stack.pop();
  4554. if (optionalPositional == null)
  4555. optionalPositional = universe.sEA;
  4556. if (named == null)
  4557. named = universe.sEA;
  4558. returnType = A._Parser_toType(universe, parser.e, head);
  4559. parameters = new A._FunctionParameters();
  4560. parameters._requiredPositional = requiredPositional;
  4561. parameters._optionalPositional = optionalPositional;
  4562. parameters._named = named;
  4563. stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters));
  4564. return;
  4565. case -4:
  4566. stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional));
  4567. return;
  4568. default:
  4569. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4570. }
  4571. },
  4572. _Parser_handleExtendedOperations(parser, stack) {
  4573. var $top = stack.pop();
  4574. if (0 === $top) {
  4575. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4576. return;
  4577. }
  4578. if (1 === $top) {
  4579. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4580. return;
  4581. }
  4582. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4583. },
  4584. _Parser_collectArray(parser, stack) {
  4585. var array = stack.splice(parser.p);
  4586. A._Parser_toTypes(parser.u, parser.e, array);
  4587. parser.p = stack.pop();
  4588. return array;
  4589. },
  4590. _Parser_toType(universe, environment, item) {
  4591. if (typeof item == "string")
  4592. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4593. else if (typeof item == "number") {
  4594. environment.toString;
  4595. return A._Parser_indexToType(universe, environment, item);
  4596. } else
  4597. return item;
  4598. },
  4599. _Parser_toTypes(universe, environment, items) {
  4600. var i,
  4601. $length = items.length;
  4602. for (i = 0; i < $length; ++i)
  4603. items[i] = A._Parser_toType(universe, environment, items[i]);
  4604. },
  4605. _Parser_toTypesNamed(universe, environment, items) {
  4606. var i,
  4607. $length = items.length;
  4608. for (i = 2; i < $length; i += 3)
  4609. items[i] = A._Parser_toType(universe, environment, items[i]);
  4610. },
  4611. _Parser_indexToType(universe, environment, index) {
  4612. var typeArguments, len,
  4613. kind = environment._kind;
  4614. if (kind === 9) {
  4615. if (index === 0)
  4616. return environment._primary;
  4617. typeArguments = environment._rest;
  4618. len = typeArguments.length;
  4619. if (index <= len)
  4620. return typeArguments[index - 1];
  4621. index -= len;
  4622. environment = environment._primary;
  4623. kind = environment._kind;
  4624. } else if (index === 0)
  4625. return environment;
  4626. if (kind !== 8)
  4627. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4628. typeArguments = environment._rest;
  4629. if (index <= typeArguments.length)
  4630. return typeArguments[index - 1];
  4631. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4632. },
  4633. isSubtype(universe, s, t) {
  4634. var result,
  4635. sCache = s._isSubtypeCache;
  4636. if (sCache == null)
  4637. sCache = s._isSubtypeCache = new Map();
  4638. result = sCache.get(t);
  4639. if (result == null) {
  4640. result = A._isSubtype(universe, s, null, t, null);
  4641. sCache.set(t, result);
  4642. }
  4643. return result;
  4644. },
  4645. _isSubtype(universe, s, sEnv, t, tEnv) {
  4646. var sKind, leftTypeVariable, tKind, t1, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4647. if (s === t)
  4648. return true;
  4649. if (A.isTopType(t))
  4650. return true;
  4651. sKind = s._kind;
  4652. if (sKind === 4)
  4653. return true;
  4654. if (A.isTopType(s))
  4655. return false;
  4656. if (s._kind === 1)
  4657. return true;
  4658. leftTypeVariable = sKind === 13;
  4659. if (leftTypeVariable)
  4660. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  4661. return true;
  4662. tKind = t._kind;
  4663. t1 = type$.Null;
  4664. if (s === t1 || s === type$.JSNull) {
  4665. if (tKind === 7)
  4666. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4667. return t === t1 || t === type$.JSNull || tKind === 6;
  4668. }
  4669. if (t === type$.Object) {
  4670. if (sKind === 7)
  4671. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4672. return sKind !== 6;
  4673. }
  4674. if (sKind === 7) {
  4675. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  4676. return false;
  4677. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  4678. }
  4679. if (sKind === 6)
  4680. return A._isSubtype(universe, t1, sEnv, t, tEnv) && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4681. if (tKind === 7) {
  4682. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  4683. return true;
  4684. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  4685. }
  4686. if (tKind === 6)
  4687. return A._isSubtype(universe, s, sEnv, t1, tEnv) || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4688. if (leftTypeVariable)
  4689. return false;
  4690. t1 = sKind !== 11;
  4691. if ((!t1 || sKind === 12) && t === type$.Function)
  4692. return true;
  4693. t2 = sKind === 10;
  4694. if (t2 && t === type$.Record)
  4695. return true;
  4696. if (tKind === 12) {
  4697. if (s === type$.JavaScriptFunction)
  4698. return true;
  4699. if (sKind !== 12)
  4700. return false;
  4701. sBounds = s._rest;
  4702. tBounds = t._rest;
  4703. sLength = sBounds.length;
  4704. if (sLength !== tBounds.length)
  4705. return false;
  4706. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4707. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4708. for (i = 0; i < sLength; ++i) {
  4709. sBound = sBounds[i];
  4710. tBound = tBounds[i];
  4711. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  4712. return false;
  4713. }
  4714. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  4715. }
  4716. if (tKind === 11) {
  4717. if (s === type$.JavaScriptFunction)
  4718. return true;
  4719. if (t1)
  4720. return false;
  4721. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  4722. }
  4723. if (sKind === 8) {
  4724. if (tKind !== 8)
  4725. return false;
  4726. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  4727. }
  4728. if (t2 && tKind === 10)
  4729. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  4730. return false;
  4731. },
  4732. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  4733. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4734. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  4735. return false;
  4736. sParameters = s._rest;
  4737. tParameters = t._rest;
  4738. sRequiredPositional = sParameters._requiredPositional;
  4739. tRequiredPositional = tParameters._requiredPositional;
  4740. sRequiredPositionalLength = sRequiredPositional.length;
  4741. tRequiredPositionalLength = tRequiredPositional.length;
  4742. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4743. return false;
  4744. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4745. sOptionalPositional = sParameters._optionalPositional;
  4746. tOptionalPositional = tParameters._optionalPositional;
  4747. sOptionalPositionalLength = sOptionalPositional.length;
  4748. tOptionalPositionalLength = tOptionalPositional.length;
  4749. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4750. return false;
  4751. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4752. t1 = sRequiredPositional[i];
  4753. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  4754. return false;
  4755. }
  4756. for (i = 0; i < requiredPositionalDelta; ++i) {
  4757. t1 = sOptionalPositional[i];
  4758. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  4759. return false;
  4760. }
  4761. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4762. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4763. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  4764. return false;
  4765. }
  4766. sNamed = sParameters._named;
  4767. tNamed = tParameters._named;
  4768. sNamedLength = sNamed.length;
  4769. tNamedLength = tNamed.length;
  4770. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4771. tName = tNamed[tIndex];
  4772. for (;;) {
  4773. if (sIndex >= sNamedLength)
  4774. return false;
  4775. sName = sNamed[sIndex];
  4776. sIndex += 3;
  4777. if (tName < sName)
  4778. return false;
  4779. sIsRequired = sNamed[sIndex - 2];
  4780. if (sName < tName) {
  4781. if (sIsRequired)
  4782. return false;
  4783. continue;
  4784. }
  4785. t1 = tNamed[tIndex + 1];
  4786. if (sIsRequired && !t1)
  4787. return false;
  4788. t1 = sNamed[sIndex - 1];
  4789. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  4790. return false;
  4791. break;
  4792. }
  4793. }
  4794. while (sIndex < sNamedLength) {
  4795. if (sNamed[sIndex + 1])
  4796. return false;
  4797. sIndex += 3;
  4798. }
  4799. return true;
  4800. },
  4801. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  4802. var rule, recipes, $length, supertypeArgs, i,
  4803. sName = s._primary,
  4804. tName = t._primary;
  4805. while (sName !== tName) {
  4806. rule = universe.tR[sName];
  4807. if (rule == null)
  4808. return false;
  4809. if (typeof rule == "string") {
  4810. sName = rule;
  4811. continue;
  4812. }
  4813. recipes = rule[tName];
  4814. if (recipes == null)
  4815. return false;
  4816. $length = recipes.length;
  4817. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4818. for (i = 0; i < $length; ++i)
  4819. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4820. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  4821. }
  4822. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv);
  4823. },
  4824. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  4825. var i,
  4826. $length = sArgs.length;
  4827. for (i = 0; i < $length; ++i)
  4828. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv))
  4829. return false;
  4830. return true;
  4831. },
  4832. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  4833. var i,
  4834. sFields = s._rest,
  4835. tFields = t._rest,
  4836. sCount = sFields.length;
  4837. if (sCount !== tFields.length)
  4838. return false;
  4839. if (s._primary !== t._primary)
  4840. return false;
  4841. for (i = 0; i < sCount; ++i)
  4842. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  4843. return false;
  4844. return true;
  4845. },
  4846. isNullable(t) {
  4847. var kind = t._kind,
  4848. t1 = true;
  4849. if (!(t === type$.Null || t === type$.JSNull))
  4850. if (!A.isTopType(t))
  4851. if (kind !== 6)
  4852. t1 = kind === 7 && A.isNullable(t._primary);
  4853. return t1;
  4854. },
  4855. isTopType(t) {
  4856. var kind = t._kind;
  4857. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4858. },
  4859. _Utils_objectAssign(o, other) {
  4860. var i, key,
  4861. keys = Object.keys(other),
  4862. $length = keys.length;
  4863. for (i = 0; i < $length; ++i) {
  4864. key = keys[i];
  4865. o[key] = other[key];
  4866. }
  4867. },
  4868. _Utils_newArrayOrEmpty($length) {
  4869. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4870. },
  4871. Rti: function Rti(t0, t1) {
  4872. var _ = this;
  4873. _._as = t0;
  4874. _._is = t1;
  4875. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4876. _._kind = 0;
  4877. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4878. },
  4879. _FunctionParameters: function _FunctionParameters() {
  4880. this._named = this._optionalPositional = this._requiredPositional = null;
  4881. },
  4882. _Type: function _Type(t0) {
  4883. this._rti = t0;
  4884. },
  4885. _Error: function _Error() {
  4886. },
  4887. _TypeError: function _TypeError(t0) {
  4888. this.__rti$_message = t0;
  4889. },
  4890. _AsyncRun__initializeScheduleImmediate() {
  4891. var t1, div, span;
  4892. if (self.scheduleImmediate != null)
  4893. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4894. if (self.MutationObserver != null && self.document != null) {
  4895. t1 = {};
  4896. div = self.document.createElement("div");
  4897. span = self.document.createElement("span");
  4898. t1.storedCallback = null;
  4899. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4900. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4901. } else if (self.setImmediate != null)
  4902. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4903. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4904. },
  4905. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4906. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4907. },
  4908. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4909. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4910. },
  4911. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4912. A.Timer__createTimer(B.Duration_0, callback);
  4913. },
  4914. Timer__createTimer(duration, callback) {
  4915. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4916. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4917. },
  4918. _TimerImpl$(milliseconds, callback) {
  4919. var t1 = new A._TimerImpl(true);
  4920. t1._TimerImpl$2(milliseconds, callback);
  4921. return t1;
  4922. },
  4923. _TimerImpl$periodic(milliseconds, callback) {
  4924. var t1 = new A._TimerImpl(false);
  4925. t1._TimerImpl$periodic$2(milliseconds, callback);
  4926. return t1;
  4927. },
  4928. _makeAsyncAwaitCompleter($T) {
  4929. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4930. },
  4931. _asyncStartSync(bodyFunction, completer) {
  4932. bodyFunction.call$2(0, null);
  4933. completer.isSync = true;
  4934. return completer._future;
  4935. },
  4936. _asyncAwait(object, bodyFunction) {
  4937. A._awaitOnObject(object, bodyFunction);
  4938. },
  4939. _asyncReturn(object, completer) {
  4940. completer.complete$1(object);
  4941. },
  4942. _asyncRethrow(object, completer) {
  4943. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4944. },
  4945. _awaitOnObject(object, bodyFunction) {
  4946. var t1, future,
  4947. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4948. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4949. if (object instanceof A._Future)
  4950. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4951. else {
  4952. t1 = type$.dynamic;
  4953. if (object instanceof A._Future)
  4954. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4955. else {
  4956. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4957. future._state = 8;
  4958. future._resultOrListeners = object;
  4959. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4960. }
  4961. }
  4962. },
  4963. _wrapJsFunctionForAsync($function) {
  4964. var $protected = function(fn, ERROR) {
  4965. return function(errorCode, result) {
  4966. while (true) {
  4967. try {
  4968. fn(errorCode, result);
  4969. break;
  4970. } catch (error) {
  4971. result = error;
  4972. errorCode = ERROR;
  4973. }
  4974. }
  4975. };
  4976. }($function, 1);
  4977. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4978. },
  4979. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4980. return 0;
  4981. },
  4982. AsyncError_defaultStackTrace(error) {
  4983. var stackTrace;
  4984. if (type$.Error._is(error)) {
  4985. stackTrace = error.get$stackTrace();
  4986. if (stackTrace != null)
  4987. return stackTrace;
  4988. }
  4989. return B._StringStackTrace_OdL;
  4990. },
  4991. Future_Future$value(value, $T) {
  4992. var t1;
  4993. $T._as(value);
  4994. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4995. t1._asyncComplete$1(value);
  4996. return t1;
  4997. },
  4998. Future_wait(futures, eagerError, $T) {
  4999. var handleError, future, pos, e, s, t1, t2, exception, t3, t4, _box_0 = {}, cleanUp = null,
  5000. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  5001. _box_0.values = null;
  5002. _box_0.remaining = 0;
  5003. _box_0.stackTrace = _box_0.error = null;
  5004. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  5005. try {
  5006. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  5007. future = t1.get$current(t1);
  5008. pos = _box_0.remaining;
  5009. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  5010. ++_box_0.remaining;
  5011. }
  5012. t1 = _box_0.remaining;
  5013. if (t1 === 0) {
  5014. t1 = _future;
  5015. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  5016. return t1;
  5017. }
  5018. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  5019. } catch (exception) {
  5020. e = A.unwrapException(exception);
  5021. s = A.getTraceFromException(exception);
  5022. if (_box_0.remaining === 0 || eagerError) {
  5023. t1 = _future;
  5024. t2 = e;
  5025. t3 = s;
  5026. t4 = A._interceptError(t2, t3);
  5027. if (t4 == null)
  5028. t2 = new A.AsyncError(t2, t3 == null ? A.AsyncError_defaultStackTrace(t2) : t3);
  5029. else
  5030. t2 = t4;
  5031. t1._asyncCompleteErrorObject$1(t2);
  5032. return t1;
  5033. } else {
  5034. _box_0.error = e;
  5035. _box_0.stackTrace = s;
  5036. }
  5037. }
  5038. return _future;
  5039. },
  5040. _interceptError(error, stackTrace) {
  5041. var replacement, t1, t2,
  5042. zone = $.Zone__current;
  5043. if (zone === B.C__RootZone)
  5044. return null;
  5045. replacement = zone.errorCallback$2(error, stackTrace);
  5046. if (replacement == null)
  5047. return null;
  5048. t1 = replacement.error;
  5049. t2 = replacement.stackTrace;
  5050. if (type$.Error._is(t1))
  5051. A.Primitives_trySetStackTrace(t1, t2);
  5052. return replacement;
  5053. },
  5054. _interceptUserError(error, stackTrace) {
  5055. var replacement;
  5056. if ($.Zone__current !== B.C__RootZone) {
  5057. replacement = A._interceptError(error, stackTrace);
  5058. if (replacement != null)
  5059. return replacement;
  5060. }
  5061. if (stackTrace == null)
  5062. if (type$.Error._is(error)) {
  5063. stackTrace = error.get$stackTrace();
  5064. if (stackTrace == null) {
  5065. A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);
  5066. stackTrace = B._StringStackTrace_OdL;
  5067. }
  5068. } else
  5069. stackTrace = B._StringStackTrace_OdL;
  5070. else if (type$.Error._is(error))
  5071. A.Primitives_trySetStackTrace(error, stackTrace);
  5072. return new A.AsyncError(error, stackTrace);
  5073. },
  5074. _Future$zoneValue(value, _zone, $T) {
  5075. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  5076. t1._state = 8;
  5077. t1._resultOrListeners = value;
  5078. return t1;
  5079. },
  5080. _Future$value(value, $T) {
  5081. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5082. t1._state = 8;
  5083. t1._resultOrListeners = value;
  5084. return t1;
  5085. },
  5086. _Future__chainCoreFuture(source, target, sync) {
  5087. var t2, ignoreError, listeners, _box_0 = {},
  5088. t1 = _box_0.source = source;
  5089. while (t2 = t1._state, (t2 & 4) !== 0) {
  5090. t1 = t1._resultOrListeners;
  5091. _box_0.source = t1;
  5092. }
  5093. if (t1 === target) {
  5094. t2 = A.StackTrace_current();
  5095. target._asyncCompleteErrorObject$1(new A.AsyncError(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), t2));
  5096. return;
  5097. }
  5098. ignoreError = target._state & 1;
  5099. t2 = t1._state = t2 | ignoreError;
  5100. if ((t2 & 24) === 0) {
  5101. listeners = target._resultOrListeners;
  5102. target._state = target._state & 1 | 4;
  5103. target._resultOrListeners = t1;
  5104. t1._prependListeners$1(listeners);
  5105. return;
  5106. }
  5107. if (!sync)
  5108. if (target._resultOrListeners == null)
  5109. t1 = (t2 & 16) === 0 || ignoreError !== 0;
  5110. else
  5111. t1 = false;
  5112. else
  5113. t1 = true;
  5114. if (t1) {
  5115. listeners = target._removeListeners$0();
  5116. target._cloneResult$1(_box_0.source);
  5117. A._Future__propagateToListeners(target, listeners);
  5118. return;
  5119. }
  5120. target._state ^= 2;
  5121. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(_box_0, target));
  5122. },
  5123. _Future__propagateToListeners(source, listeners) {
  5124. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5125. t1 = _box_1.source = source;
  5126. for (;;) {
  5127. _box_0 = {};
  5128. t2 = t1._state;
  5129. t3 = (t2 & 16) === 0;
  5130. hasError = !t3;
  5131. if (listeners == null) {
  5132. if (hasError && (t2 & 1) === 0) {
  5133. t2 = t1._resultOrListeners;
  5134. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5135. }
  5136. return;
  5137. }
  5138. _box_0.listener = listeners;
  5139. nextListener = listeners._nextListener;
  5140. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5141. t1._nextListener = null;
  5142. A._Future__propagateToListeners(_box_1.source, t1);
  5143. _box_0.listener = nextListener;
  5144. nextListener0 = nextListener._nextListener;
  5145. }
  5146. t2 = _box_1.source;
  5147. sourceResult = t2._resultOrListeners;
  5148. _box_0.listenerHasError = hasError;
  5149. _box_0.listenerValueOrError = sourceResult;
  5150. if (t3) {
  5151. t4 = t1.state;
  5152. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5153. } else
  5154. t4 = true;
  5155. if (t4) {
  5156. zone = t1.result._zone;
  5157. if (hasError) {
  5158. t1 = t2._zone;
  5159. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5160. } else
  5161. t1 = false;
  5162. if (t1) {
  5163. t1 = _box_1.source;
  5164. t2 = t1._resultOrListeners;
  5165. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5166. return;
  5167. }
  5168. oldZone = $.Zone__current;
  5169. if (oldZone !== zone)
  5170. $.Zone__current = zone;
  5171. else
  5172. oldZone = null;
  5173. t1 = _box_0.listener.state;
  5174. if ((t1 & 15) === 8)
  5175. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5176. else if (t3) {
  5177. if ((t1 & 1) !== 0)
  5178. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5179. } else if ((t1 & 2) !== 0)
  5180. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5181. if (oldZone != null)
  5182. $.Zone__current = oldZone;
  5183. t1 = _box_0.listenerValueOrError;
  5184. if (t1 instanceof A._Future) {
  5185. t2 = _box_0.listener.$ti;
  5186. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5187. } else
  5188. t2 = false;
  5189. if (t2) {
  5190. result = _box_0.listener.result;
  5191. if ((t1._state & 24) !== 0) {
  5192. current = result._resultOrListeners;
  5193. result._resultOrListeners = null;
  5194. listeners = result._reverseListeners$1(current);
  5195. result._state = t1._state & 30 | result._state & 1;
  5196. result._resultOrListeners = t1._resultOrListeners;
  5197. _box_1.source = t1;
  5198. continue;
  5199. } else
  5200. A._Future__chainCoreFuture(t1, result, true);
  5201. return;
  5202. }
  5203. }
  5204. result = _box_0.listener.result;
  5205. current = result._resultOrListeners;
  5206. result._resultOrListeners = null;
  5207. listeners = result._reverseListeners$1(current);
  5208. t1 = _box_0.listenerHasError;
  5209. t2 = _box_0.listenerValueOrError;
  5210. if (!t1) {
  5211. result._state = 8;
  5212. result._resultOrListeners = t2;
  5213. } else {
  5214. result._state = result._state & 1 | 16;
  5215. result._resultOrListeners = t2;
  5216. }
  5217. _box_1.source = result;
  5218. t1 = result;
  5219. }
  5220. },
  5221. _registerErrorHandler(errorHandler, zone) {
  5222. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5223. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5224. if (type$.dynamic_Function_Object._is(errorHandler))
  5225. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5226. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5227. },
  5228. _microtaskLoop() {
  5229. var entry, next;
  5230. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5231. $._lastPriorityCallback = null;
  5232. next = entry.next;
  5233. $._nextCallback = next;
  5234. if (next == null)
  5235. $._lastCallback = null;
  5236. entry.callback.call$0();
  5237. }
  5238. },
  5239. _startMicrotaskLoop() {
  5240. $._isInCallbackLoop = true;
  5241. try {
  5242. A._microtaskLoop();
  5243. } finally {
  5244. $._lastPriorityCallback = null;
  5245. $._isInCallbackLoop = false;
  5246. if ($._nextCallback != null)
  5247. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5248. }
  5249. },
  5250. _scheduleAsyncCallback(callback) {
  5251. var newEntry = new A._AsyncCallbackEntry(callback),
  5252. lastCallback = $._lastCallback;
  5253. if (lastCallback == null) {
  5254. $._nextCallback = $._lastCallback = newEntry;
  5255. if (!$._isInCallbackLoop)
  5256. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5257. } else
  5258. $._lastCallback = lastCallback.next = newEntry;
  5259. },
  5260. _schedulePriorityAsyncCallback(callback) {
  5261. var entry, lastPriorityCallback, next,
  5262. t1 = $._nextCallback;
  5263. if (t1 == null) {
  5264. A._scheduleAsyncCallback(callback);
  5265. $._lastPriorityCallback = $._lastCallback;
  5266. return;
  5267. }
  5268. entry = new A._AsyncCallbackEntry(callback);
  5269. lastPriorityCallback = $._lastPriorityCallback;
  5270. if (lastPriorityCallback == null) {
  5271. entry.next = t1;
  5272. $._nextCallback = $._lastPriorityCallback = entry;
  5273. } else {
  5274. next = lastPriorityCallback.next;
  5275. entry.next = next;
  5276. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5277. if (next == null)
  5278. $._lastCallback = entry;
  5279. }
  5280. },
  5281. scheduleMicrotask(callback) {
  5282. var t1, _null = null,
  5283. currentZone = $.Zone__current;
  5284. if (B.C__RootZone === currentZone) {
  5285. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5286. return;
  5287. }
  5288. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5289. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5290. else
  5291. t1 = false;
  5292. if (t1) {
  5293. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5294. return;
  5295. }
  5296. t1 = $.Zone__current;
  5297. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5298. },
  5299. Stream_Stream$fromFuture(future, $T) {
  5300. var _null = null,
  5301. t1 = $T._eval$1("_SyncStreamController<0>"),
  5302. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5303. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5304. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5305. },
  5306. StreamIterator_StreamIterator(stream) {
  5307. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5308. },
  5309. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5310. return sync ? new A._SyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_SyncStreamController<0>")) : new A._AsyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_AsyncStreamController<0>"));
  5311. },
  5312. _runGuarded(notificationHandler) {
  5313. var e, s, exception;
  5314. if (notificationHandler == null)
  5315. return;
  5316. try {
  5317. notificationHandler.call$0();
  5318. } catch (exception) {
  5319. e = A.unwrapException(exception);
  5320. s = A.getTraceFromException(exception);
  5321. $.Zone__current.handleUncaughtError$2(e, s);
  5322. }
  5323. },
  5324. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5325. var t1 = $.Zone__current,
  5326. t2 = cancelOnError ? 1 : 0,
  5327. t3 = onError != null ? 32 : 0,
  5328. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5329. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5330. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5331. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5332. },
  5333. _AddStreamState_makeErrorHandler(controller) {
  5334. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5335. },
  5336. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5337. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5338. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5339. },
  5340. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5341. if (handleError == null)
  5342. handleError = A.async___nullErrorHandler$closure();
  5343. if (type$.void_Function_Object_StackTrace._is(handleError))
  5344. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5345. if (type$.void_Function_Object._is(handleError))
  5346. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5347. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5348. },
  5349. _nullDataHandler(value) {
  5350. },
  5351. _nullErrorHandler(error, stackTrace) {
  5352. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5353. },
  5354. _nullDoneHandler() {
  5355. },
  5356. Timer_Timer(duration, callback) {
  5357. var t1 = $.Zone__current;
  5358. if (t1 === B.C__RootZone)
  5359. return t1.createTimer$2(duration, callback);
  5360. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5361. },
  5362. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5363. A._rootHandleError(error, stackTrace);
  5364. },
  5365. _rootHandleError(error, stackTrace) {
  5366. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5367. },
  5368. _rootRun($self, $parent, zone, f) {
  5369. var old,
  5370. t1 = $.Zone__current;
  5371. if (t1 === zone)
  5372. return f.call$0();
  5373. $.Zone__current = zone;
  5374. old = t1;
  5375. try {
  5376. t1 = f.call$0();
  5377. return t1;
  5378. } finally {
  5379. $.Zone__current = old;
  5380. }
  5381. },
  5382. _rootRunUnary($self, $parent, zone, f, arg) {
  5383. var old,
  5384. t1 = $.Zone__current;
  5385. if (t1 === zone)
  5386. return f.call$1(arg);
  5387. $.Zone__current = zone;
  5388. old = t1;
  5389. try {
  5390. t1 = f.call$1(arg);
  5391. return t1;
  5392. } finally {
  5393. $.Zone__current = old;
  5394. }
  5395. },
  5396. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5397. var old,
  5398. t1 = $.Zone__current;
  5399. if (t1 === zone)
  5400. return f.call$2(arg1, arg2);
  5401. $.Zone__current = zone;
  5402. old = t1;
  5403. try {
  5404. t1 = f.call$2(arg1, arg2);
  5405. return t1;
  5406. } finally {
  5407. $.Zone__current = old;
  5408. }
  5409. },
  5410. _rootRegisterCallback($self, $parent, zone, f) {
  5411. return f;
  5412. },
  5413. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5414. return f;
  5415. },
  5416. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5417. return f;
  5418. },
  5419. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5420. return null;
  5421. },
  5422. _rootScheduleMicrotask($self, $parent, zone, f) {
  5423. var t1, t2;
  5424. if (B.C__RootZone !== zone) {
  5425. t1 = B.C__RootZone.get$errorZone();
  5426. t2 = zone.get$errorZone();
  5427. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5428. }
  5429. A._scheduleAsyncCallback(f);
  5430. },
  5431. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5432. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5433. },
  5434. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5435. var milliseconds;
  5436. if (B.C__RootZone !== zone)
  5437. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5438. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5439. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5440. },
  5441. _rootPrint($self, $parent, zone, line) {
  5442. A.printString(line);
  5443. },
  5444. _printToZone(line) {
  5445. $.Zone__current.print$1(line);
  5446. },
  5447. _rootFork($self, $parent, zone, specification, zoneValues) {
  5448. var valueMap, t1, handleUncaughtError;
  5449. $.printToZone = A.async___printToZone$closure();
  5450. if (specification == null)
  5451. specification = B._ZoneSpecification_Ipa;
  5452. if (zoneValues == null)
  5453. valueMap = zone.get$_async$_map();
  5454. else {
  5455. t1 = type$.nullable_Object;
  5456. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5457. }
  5458. t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap);
  5459. handleUncaughtError = specification.handleUncaughtError;
  5460. if (handleUncaughtError != null)
  5461. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5462. return t1;
  5463. },
  5464. runZoned(body, zoneValues, $R) {
  5465. return A._runZoned(body, zoneValues, null, $R);
  5466. },
  5467. _runZoned(body, zoneValues, specification, $R) {
  5468. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5469. },
  5470. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5471. this._box_0 = t0;
  5472. },
  5473. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5474. this._box_0 = t0;
  5475. this.div = t1;
  5476. this.span = t2;
  5477. },
  5478. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5479. this.callback = t0;
  5480. },
  5481. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5482. this.callback = t0;
  5483. },
  5484. _TimerImpl: function _TimerImpl(t0) {
  5485. this._once = t0;
  5486. this._handle = null;
  5487. this._tick = 0;
  5488. },
  5489. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5490. this.$this = t0;
  5491. this.callback = t1;
  5492. },
  5493. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5494. var _ = this;
  5495. _.$this = t0;
  5496. _.milliseconds = t1;
  5497. _.start = t2;
  5498. _.callback = t3;
  5499. },
  5500. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5501. this._future = t0;
  5502. this.isSync = false;
  5503. this.$ti = t1;
  5504. },
  5505. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5506. this.bodyFunction = t0;
  5507. },
  5508. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5509. this.bodyFunction = t0;
  5510. },
  5511. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5512. this.$protected = t0;
  5513. },
  5514. _SyncStarIterator: function _SyncStarIterator(t0) {
  5515. var _ = this;
  5516. _._body = t0;
  5517. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5518. },
  5519. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5520. this._outerHelper = t0;
  5521. this.$ti = t1;
  5522. },
  5523. AsyncError: function AsyncError(t0, t1) {
  5524. this.error = t0;
  5525. this.stackTrace = t1;
  5526. },
  5527. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5528. var _ = this;
  5529. _._box_0 = t0;
  5530. _.cleanUp = t1;
  5531. _.eagerError = t2;
  5532. _._future = t3;
  5533. },
  5534. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5535. var _ = this;
  5536. _._box_0 = t0;
  5537. _.pos = t1;
  5538. _._future = t2;
  5539. _.T = t3;
  5540. _.cleanUp = t4;
  5541. _.eagerError = t5;
  5542. },
  5543. _Completer: function _Completer() {
  5544. },
  5545. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5546. this.future = t0;
  5547. this.$ti = t1;
  5548. },
  5549. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5550. this.future = t0;
  5551. this.$ti = t1;
  5552. },
  5553. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5554. var _ = this;
  5555. _._nextListener = null;
  5556. _.result = t0;
  5557. _.state = t1;
  5558. _.callback = t2;
  5559. _.errorCallback = t3;
  5560. _.$ti = t4;
  5561. },
  5562. _Future: function _Future(t0, t1) {
  5563. var _ = this;
  5564. _._state = 0;
  5565. _._zone = t0;
  5566. _._resultOrListeners = null;
  5567. _.$ti = t1;
  5568. },
  5569. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5570. this.$this = t0;
  5571. this.listener = t1;
  5572. },
  5573. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5574. this._box_0 = t0;
  5575. this.$this = t1;
  5576. },
  5577. _Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {
  5578. this._box_0 = t0;
  5579. this.target = t1;
  5580. },
  5581. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5582. this.$this = t0;
  5583. this.value = t1;
  5584. },
  5585. _Future__asyncCompleteErrorObject_closure: function _Future__asyncCompleteErrorObject_closure(t0, t1) {
  5586. this.$this = t0;
  5587. this.error = t1;
  5588. },
  5589. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5590. this._box_0 = t0;
  5591. this._box_1 = t1;
  5592. this.hasError = t2;
  5593. },
  5594. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {
  5595. this.joinedResult = t0;
  5596. this.originalSource = t1;
  5597. },
  5598. _Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {
  5599. this.joinedResult = t0;
  5600. },
  5601. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5602. this._box_0 = t0;
  5603. this.sourceResult = t1;
  5604. },
  5605. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5606. this._box_1 = t0;
  5607. this._box_0 = t1;
  5608. },
  5609. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5610. this.callback = t0;
  5611. this.next = null;
  5612. },
  5613. Stream: function Stream() {
  5614. },
  5615. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5616. this.controller = t0;
  5617. this.T = t1;
  5618. },
  5619. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5620. this.controller = t0;
  5621. },
  5622. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5623. this._box_0 = t0;
  5624. this.$this = t1;
  5625. },
  5626. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5627. this._box_0 = t0;
  5628. this.future = t1;
  5629. },
  5630. _StreamController: function _StreamController() {
  5631. },
  5632. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5633. this.$this = t0;
  5634. },
  5635. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5636. this.$this = t0;
  5637. },
  5638. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5639. },
  5640. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5641. },
  5642. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5643. var _ = this;
  5644. _._varData = null;
  5645. _._state = 0;
  5646. _._doneFuture = null;
  5647. _.onListen = t0;
  5648. _.onPause = t1;
  5649. _.onResume = t2;
  5650. _.onCancel = t3;
  5651. _.$ti = t4;
  5652. },
  5653. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5654. var _ = this;
  5655. _._varData = null;
  5656. _._state = 0;
  5657. _._doneFuture = null;
  5658. _.onListen = t0;
  5659. _.onPause = t1;
  5660. _.onResume = t2;
  5661. _.onCancel = t3;
  5662. _.$ti = t4;
  5663. },
  5664. _ControllerStream: function _ControllerStream(t0, t1) {
  5665. this._controller = t0;
  5666. this.$ti = t1;
  5667. },
  5668. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5669. var _ = this;
  5670. _._controller = t0;
  5671. _._onData = t1;
  5672. _._onError = t2;
  5673. _._onDone = t3;
  5674. _._zone = t4;
  5675. _._state = t5;
  5676. _._pending = _._cancelFuture = null;
  5677. _.$ti = t6;
  5678. },
  5679. _AddStreamState: function _AddStreamState() {
  5680. },
  5681. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5682. this.controller = t0;
  5683. },
  5684. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5685. this.$this = t0;
  5686. },
  5687. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5688. this._varData = t0;
  5689. this.addStreamFuture = t1;
  5690. this.addSubscription = t2;
  5691. },
  5692. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5693. },
  5694. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5695. this.$this = t0;
  5696. this.error = t1;
  5697. this.stackTrace = t2;
  5698. },
  5699. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5700. this.$this = t0;
  5701. },
  5702. _StreamImpl: function _StreamImpl() {
  5703. },
  5704. _DelayedEvent: function _DelayedEvent() {
  5705. },
  5706. _DelayedData: function _DelayedData(t0) {
  5707. this.value = t0;
  5708. this.next = null;
  5709. },
  5710. _DelayedError: function _DelayedError(t0, t1) {
  5711. this.error = t0;
  5712. this.stackTrace = t1;
  5713. this.next = null;
  5714. },
  5715. _DelayedDone: function _DelayedDone() {
  5716. },
  5717. _PendingEvents: function _PendingEvents() {
  5718. this._state = 0;
  5719. this.lastPendingEvent = this.firstPendingEvent = null;
  5720. },
  5721. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5722. this.$this = t0;
  5723. this.dispatch = t1;
  5724. },
  5725. _StreamIterator: function _StreamIterator(t0) {
  5726. this._subscription = null;
  5727. this._stateData = t0;
  5728. this._async$_hasValue = false;
  5729. },
  5730. _ForwardingStream: function _ForwardingStream() {
  5731. },
  5732. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5733. var _ = this;
  5734. _._stream = t0;
  5735. _._subscription = null;
  5736. _._onData = t1;
  5737. _._onError = t2;
  5738. _._onDone = t3;
  5739. _._zone = t4;
  5740. _._state = t5;
  5741. _._pending = _._cancelFuture = null;
  5742. _.$ti = t6;
  5743. },
  5744. _MapStream: function _MapStream(t0, t1, t2) {
  5745. this._transform = t0;
  5746. this._async$_source = t1;
  5747. this.$ti = t2;
  5748. },
  5749. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5750. this.zone = t0;
  5751. this.$function = t1;
  5752. },
  5753. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5754. var _ = this;
  5755. _.handleUncaughtError = t0;
  5756. _.run = t1;
  5757. _.runUnary = t2;
  5758. _.runBinary = t3;
  5759. _.registerCallback = t4;
  5760. _.registerUnaryCallback = t5;
  5761. _.registerBinaryCallback = t6;
  5762. _.errorCallback = t7;
  5763. _.scheduleMicrotask = t8;
  5764. _.createTimer = t9;
  5765. _.createPeriodicTimer = t10;
  5766. _.print = t11;
  5767. _.fork = t12;
  5768. },
  5769. _ZoneDelegate: function _ZoneDelegate(t0) {
  5770. this._delegationTarget = t0;
  5771. },
  5772. _Zone: function _Zone() {
  5773. },
  5774. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5775. var _ = this;
  5776. _._run = t0;
  5777. _._runUnary = t1;
  5778. _._runBinary = t2;
  5779. _._registerCallback = t3;
  5780. _._registerUnaryCallback = t4;
  5781. _._registerBinaryCallback = t5;
  5782. _._errorCallback = t6;
  5783. _._scheduleMicrotask = t7;
  5784. _._createTimer = t8;
  5785. _._createPeriodicTimer = t9;
  5786. _._print = t10;
  5787. _._fork = t11;
  5788. _._handleUncaughtError = t12;
  5789. _._delegateCache = null;
  5790. _.parent = t13;
  5791. _._async$_map = t14;
  5792. },
  5793. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5794. this.$this = t0;
  5795. this.registered = t1;
  5796. this.R = t2;
  5797. },
  5798. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5799. var _ = this;
  5800. _.$this = t0;
  5801. _.registered = t1;
  5802. _.T = t2;
  5803. _.R = t3;
  5804. },
  5805. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5806. this.$this = t0;
  5807. this.registered = t1;
  5808. },
  5809. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5810. this.error = t0;
  5811. this.stackTrace = t1;
  5812. },
  5813. _RootZone: function _RootZone() {
  5814. },
  5815. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5816. this.$this = t0;
  5817. this.f = t1;
  5818. this.R = t2;
  5819. },
  5820. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5821. var _ = this;
  5822. _.$this = t0;
  5823. _.f = t1;
  5824. _.T = t2;
  5825. _.R = t3;
  5826. },
  5827. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5828. this.$this = t0;
  5829. this.f = t1;
  5830. },
  5831. HashMap_HashMap($K, $V) {
  5832. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5833. },
  5834. _HashMap__getTableEntry(table, key) {
  5835. var entry = table[key];
  5836. return entry === table ? null : entry;
  5837. },
  5838. _HashMap__setTableEntry(table, key, value) {
  5839. if (value == null)
  5840. table[key] = table;
  5841. else
  5842. table[key] = value;
  5843. },
  5844. _HashMap__newHashTable() {
  5845. var table = Object.create(null);
  5846. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5847. delete table["<non-identifier-key>"];
  5848. return table;
  5849. },
  5850. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5851. if (isValidKey == null)
  5852. if (hashCode == null) {
  5853. if (equals == null)
  5854. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5855. hashCode = A.collection___defaultHashCode$closure();
  5856. } else {
  5857. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5858. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5859. if (equals == null)
  5860. equals = A.collection___defaultEquals$closure();
  5861. }
  5862. else {
  5863. if (hashCode == null)
  5864. hashCode = A.collection___defaultHashCode$closure();
  5865. if (equals == null)
  5866. equals = A.collection___defaultEquals$closure();
  5867. }
  5868. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5869. },
  5870. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5871. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5872. },
  5873. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5874. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5875. },
  5876. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5877. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5878. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5879. },
  5880. LinkedHashSet_LinkedHashSet($E) {
  5881. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5882. },
  5883. LinkedHashSet_LinkedHashSet$_empty($E) {
  5884. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5885. },
  5886. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5887. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5888. },
  5889. _LinkedHashSet__newHashTable() {
  5890. var table = Object.create(null);
  5891. table["<non-identifier-key>"] = table;
  5892. delete table["<non-identifier-key>"];
  5893. return table;
  5894. },
  5895. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5896. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5897. t1._collection$_cell = _set._collection$_first;
  5898. return t1;
  5899. },
  5900. UnmodifiableListView$(source, $E) {
  5901. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5902. },
  5903. _defaultEquals(a, b) {
  5904. return J.$eq$(a, b);
  5905. },
  5906. _defaultHashCode(a) {
  5907. return J.get$hashCode$(a);
  5908. },
  5909. HashMap_HashMap$from(other, $K, $V) {
  5910. var result = A.HashMap_HashMap($K, $V);
  5911. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5912. return result;
  5913. },
  5914. IterableExtensions_get_firstOrNull(_this) {
  5915. var t2,
  5916. t1 = A._arrayInstanceType(_this),
  5917. iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>"));
  5918. if (iterator.moveNext$0()) {
  5919. t2 = iterator._current;
  5920. return t2 == null ? t1._precomputed1._as(t2) : t2;
  5921. }
  5922. return null;
  5923. },
  5924. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5925. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5926. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5927. return result;
  5928. },
  5929. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5930. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5931. t1.addAll$1(0, other);
  5932. return t1;
  5933. },
  5934. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5935. var t1, _i,
  5936. result = A.LinkedHashSet_LinkedHashSet($E);
  5937. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5938. result.add$1(0, $E._as(elements[_i]));
  5939. return result;
  5940. },
  5941. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5942. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5943. t1.addAll$1(0, elements);
  5944. return t1;
  5945. },
  5946. ListBase__compareAny(a, b) {
  5947. var t1 = type$.Comparable_dynamic;
  5948. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5949. },
  5950. MapBase_mapToString(m) {
  5951. var result, t1;
  5952. if (A.isToStringVisiting(m))
  5953. return "{...}";
  5954. result = new A.StringBuffer("");
  5955. try {
  5956. t1 = {};
  5957. $.toStringVisiting.push(m);
  5958. result._contents += "{";
  5959. t1.first = true;
  5960. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5961. result._contents += "}";
  5962. } finally {
  5963. $.toStringVisiting.pop();
  5964. }
  5965. t1 = result._contents;
  5966. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5967. },
  5968. MapBase__fillMapWithIterables(map, keys, values) {
  5969. var keyIterator = keys.get$iterator(keys),
  5970. valueIterator = values.get$iterator(values),
  5971. hasNextKey = keyIterator.moveNext$0(),
  5972. hasNextValue = valueIterator.moveNext$0();
  5973. for (;;) {
  5974. if (!(hasNextKey && hasNextValue))
  5975. break;
  5976. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5977. hasNextKey = keyIterator.moveNext$0();
  5978. hasNextValue = valueIterator.moveNext$0();
  5979. }
  5980. if (hasNextKey || hasNextValue)
  5981. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5982. },
  5983. ListQueue$($E) {
  5984. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5985. },
  5986. ListQueue__calculateCapacity(initialCapacity) {
  5987. return 8;
  5988. },
  5989. ListQueue__nextPowerOf2(number) {
  5990. var nextNumber;
  5991. number = (number << 1 >>> 0) - 1;
  5992. for (;; number = nextNumber) {
  5993. nextNumber = (number & number - 1) >>> 0;
  5994. if (nextNumber === 0)
  5995. return number;
  5996. }
  5997. },
  5998. _ListQueueIterator$(queue, $E) {
  5999. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  6000. },
  6001. _UnmodifiableSetMixin__throwUnmodifiable() {
  6002. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  6003. },
  6004. _HashMap: function _HashMap(t0) {
  6005. var _ = this;
  6006. _._collection$_length = 0;
  6007. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6008. _.$ti = t0;
  6009. },
  6010. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  6011. this.$this = t0;
  6012. },
  6013. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  6014. this.$this = t0;
  6015. },
  6016. _IdentityHashMap: function _IdentityHashMap(t0) {
  6017. var _ = this;
  6018. _._collection$_length = 0;
  6019. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6020. _.$ti = t0;
  6021. },
  6022. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  6023. this._map = t0;
  6024. this.$ti = t1;
  6025. },
  6026. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  6027. var _ = this;
  6028. _._map = t0;
  6029. _._collection$_keys = t1;
  6030. _._offset = 0;
  6031. _._collection$_current = null;
  6032. _.$ti = t2;
  6033. },
  6034. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  6035. var _ = this;
  6036. _._equals = t0;
  6037. _._hashCode = t1;
  6038. _._validKey = t2;
  6039. _.__js_helper$_length = 0;
  6040. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  6041. _._modifications = 0;
  6042. _.$ti = t3;
  6043. },
  6044. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  6045. this.K = t0;
  6046. },
  6047. _LinkedHashSet: function _LinkedHashSet(t0) {
  6048. var _ = this;
  6049. _._collection$_length = 0;
  6050. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6051. _._collection$_modifications = 0;
  6052. _.$ti = t0;
  6053. },
  6054. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  6055. var _ = this;
  6056. _._collection$_length = 0;
  6057. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6058. _._collection$_modifications = 0;
  6059. _.$ti = t0;
  6060. },
  6061. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  6062. this._element = t0;
  6063. this._collection$_previous = this._collection$_next = null;
  6064. },
  6065. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  6066. var _ = this;
  6067. _._set = t0;
  6068. _._collection$_modifications = t1;
  6069. _._collection$_current = _._collection$_cell = null;
  6070. _.$ti = t2;
  6071. },
  6072. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  6073. this._collection$_source = t0;
  6074. this.$ti = t1;
  6075. },
  6076. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  6077. this.result = t0;
  6078. this.K = t1;
  6079. this.V = t2;
  6080. },
  6081. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  6082. this.result = t0;
  6083. this.K = t1;
  6084. this.V = t2;
  6085. },
  6086. ListBase: function ListBase() {
  6087. },
  6088. MapBase: function MapBase() {
  6089. },
  6090. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6091. this.$this = t0;
  6092. },
  6093. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6094. this.$this = t0;
  6095. },
  6096. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6097. this._box_0 = t0;
  6098. this.result = t1;
  6099. },
  6100. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6101. },
  6102. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6103. this._map = t0;
  6104. this.$ti = t1;
  6105. },
  6106. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6107. var _ = this;
  6108. _._collection$_keys = t0;
  6109. _._map = t1;
  6110. _._collection$_current = null;
  6111. _.$ti = t2;
  6112. },
  6113. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6114. },
  6115. MapView: function MapView() {
  6116. },
  6117. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6118. this._map = t0;
  6119. this.$ti = t1;
  6120. },
  6121. ListQueue: function ListQueue(t0, t1) {
  6122. var _ = this;
  6123. _._table = t0;
  6124. _._modificationCount = _._tail = _._head = 0;
  6125. _.$ti = t1;
  6126. },
  6127. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6128. var _ = this;
  6129. _._queue = t0;
  6130. _._collection$_end = t1;
  6131. _._modificationCount = t2;
  6132. _._collection$_position = t3;
  6133. _._collection$_current = null;
  6134. _.$ti = t4;
  6135. },
  6136. SetBase: function SetBase() {
  6137. },
  6138. _SetBase: function _SetBase() {
  6139. },
  6140. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6141. },
  6142. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6143. this._collection$_source = t0;
  6144. this.$ti = t1;
  6145. },
  6146. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6147. },
  6148. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6149. },
  6150. _parseJson(source, reviver) {
  6151. var e, exception, t1, parsed = null;
  6152. try {
  6153. parsed = JSON.parse(source);
  6154. } catch (exception) {
  6155. e = A.unwrapException(exception);
  6156. t1 = A.FormatException$(String(e), null, null);
  6157. throw A.wrapException(t1);
  6158. }
  6159. t1 = A._convertJsonToDartLazy(parsed);
  6160. return t1;
  6161. },
  6162. _convertJsonToDartLazy(object) {
  6163. var i;
  6164. if (object == null)
  6165. return null;
  6166. if (typeof object != "object")
  6167. return object;
  6168. if (!Array.isArray(object))
  6169. return new A._JsonMap(object, Object.create(null));
  6170. for (i = 0; i < object.length; ++i)
  6171. object[i] = A._convertJsonToDartLazy(object[i]);
  6172. return object;
  6173. },
  6174. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6175. var bytes, t1, i, b,
  6176. $length = end - start;
  6177. if ($length <= 4096)
  6178. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6179. else
  6180. bytes = new Uint8Array($length);
  6181. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6182. b = t1.$index(codeUnits, start + i);
  6183. if ((b & 255) !== b)
  6184. b = 255;
  6185. bytes[i] = b;
  6186. }
  6187. return bytes;
  6188. },
  6189. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6190. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6191. if (decoder == null)
  6192. return null;
  6193. if (0 === start && end === codeUnits.length)
  6194. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6195. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6196. },
  6197. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6198. var t1, exception;
  6199. try {
  6200. t1 = decoder.decode(codeUnits);
  6201. return t1;
  6202. } catch (exception) {
  6203. }
  6204. return null;
  6205. },
  6206. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6207. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6208. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6209. if (firstPadding + paddingCount !== $length)
  6210. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6211. if (paddingCount > 2)
  6212. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6213. },
  6214. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6215. var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
  6216. bits = state >>> 2,
  6217. expectedChars = 3 - (state & 3);
  6218. for (t1 = J.getInterceptor$asx(bytes), t2 = output.$flags | 0, i = start, byteOr = 0; i < end; ++i) {
  6219. byte = t1.$index(bytes, i);
  6220. byteOr = (byteOr | byte) >>> 0;
  6221. bits = (bits << 8 | byte) & 16777215;
  6222. --expectedChars;
  6223. if (expectedChars === 0) {
  6224. outputIndex0 = outputIndex + 1;
  6225. t2 & 2 && A.throwUnsupportedOperation(output);
  6226. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6227. outputIndex = outputIndex0 + 1;
  6228. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6229. outputIndex0 = outputIndex + 1;
  6230. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6231. outputIndex = outputIndex0 + 1;
  6232. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6233. bits = 0;
  6234. expectedChars = 3;
  6235. }
  6236. }
  6237. if (byteOr >= 0 && byteOr <= 255) {
  6238. if (isLast && expectedChars < 3) {
  6239. outputIndex0 = outputIndex + 1;
  6240. outputIndex1 = outputIndex0 + 1;
  6241. if (3 - expectedChars === 1) {
  6242. t2 & 2 && A.throwUnsupportedOperation(output);
  6243. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6244. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6245. output[outputIndex1] = 61;
  6246. output[outputIndex1 + 1] = 61;
  6247. } else {
  6248. t2 & 2 && A.throwUnsupportedOperation(output);
  6249. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6250. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6251. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6252. output[outputIndex1 + 1] = 61;
  6253. }
  6254. return 0;
  6255. }
  6256. return (bits << 2 | 3 - expectedChars) >>> 0;
  6257. }
  6258. for (i = start; i < end;) {
  6259. byte = t1.$index(bytes, i);
  6260. if (byte < 0 || byte > 255)
  6261. break;
  6262. ++i;
  6263. }
  6264. throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + B.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null));
  6265. },
  6266. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6267. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6268. },
  6269. _defaultToEncodable(object) {
  6270. return object.toJson$0();
  6271. },
  6272. _JsonStringStringifier$(_sink, _toEncodable) {
  6273. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6274. },
  6275. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6276. var t1,
  6277. output = new A.StringBuffer(""),
  6278. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6279. stringifier.writeObject$1(object);
  6280. t1 = output._contents;
  6281. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6282. },
  6283. _Utf8Decoder_errorDescription(state) {
  6284. switch (state) {
  6285. case 65:
  6286. return "Missing extension byte";
  6287. case 67:
  6288. return "Unexpected extension byte";
  6289. case 69:
  6290. return "Invalid UTF-8 byte";
  6291. case 71:
  6292. return "Overlong encoding";
  6293. case 73:
  6294. return "Out of unicode range";
  6295. case 75:
  6296. return "Encoded surrogate";
  6297. case 77:
  6298. return "Unfinished UTF-8 octet sequence";
  6299. default:
  6300. return "";
  6301. }
  6302. },
  6303. _JsonMap: function _JsonMap(t0, t1) {
  6304. this._original = t0;
  6305. this._processed = t1;
  6306. this._data = null;
  6307. },
  6308. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6309. this.$this = t0;
  6310. },
  6311. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6312. this.$this = t0;
  6313. },
  6314. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6315. this._convert$_parent = t0;
  6316. },
  6317. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6318. },
  6319. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6320. },
  6321. AsciiCodec: function AsciiCodec() {
  6322. },
  6323. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6324. },
  6325. AsciiEncoder: function AsciiEncoder(t0) {
  6326. this._subsetMask = t0;
  6327. },
  6328. Base64Codec: function Base64Codec() {
  6329. },
  6330. Base64Encoder: function Base64Encoder() {
  6331. },
  6332. _Base64Encoder: function _Base64Encoder(t0) {
  6333. this._convert$_state = 0;
  6334. this._alphabet = t0;
  6335. },
  6336. _Base64EncoderSink: function _Base64EncoderSink() {
  6337. },
  6338. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6339. this._sink = t0;
  6340. this._encoder = t1;
  6341. },
  6342. ByteConversionSink: function ByteConversionSink() {
  6343. },
  6344. Codec: function Codec() {
  6345. },
  6346. Converter: function Converter() {
  6347. },
  6348. Encoding: function Encoding() {
  6349. },
  6350. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6351. this.unsupportedObject = t0;
  6352. this.cause = t1;
  6353. },
  6354. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6355. this.unsupportedObject = t0;
  6356. this.cause = t1;
  6357. },
  6358. JsonCodec: function JsonCodec() {
  6359. },
  6360. JsonEncoder: function JsonEncoder(t0) {
  6361. this._toEncodable = t0;
  6362. },
  6363. JsonDecoder: function JsonDecoder(t0) {
  6364. this._reviver = t0;
  6365. },
  6366. _JsonStringifier: function _JsonStringifier() {
  6367. },
  6368. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6369. this._box_0 = t0;
  6370. this.keyValueList = t1;
  6371. },
  6372. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6373. this._sink = t0;
  6374. this._seen = t1;
  6375. this._toEncodable = t2;
  6376. },
  6377. StringConversionSink: function StringConversionSink() {
  6378. },
  6379. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6380. this._stringSink = t0;
  6381. },
  6382. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6383. this._convert$_callback = t0;
  6384. this._stringSink = t1;
  6385. },
  6386. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6387. this._decoder = t0;
  6388. this._sink = t1;
  6389. this._stringSink = t2;
  6390. },
  6391. Utf8Codec: function Utf8Codec() {
  6392. },
  6393. Utf8Encoder: function Utf8Encoder() {
  6394. },
  6395. _Utf8Encoder: function _Utf8Encoder(t0) {
  6396. this._bufferIndex = 0;
  6397. this._buffer = t0;
  6398. },
  6399. Utf8Decoder: function Utf8Decoder(t0) {
  6400. this._allowMalformed = t0;
  6401. },
  6402. _Utf8Decoder: function _Utf8Decoder(t0) {
  6403. this.allowMalformed = t0;
  6404. this._convert$_state = 16;
  6405. this._charOrIndex = 0;
  6406. },
  6407. identityHashCode(object) {
  6408. return A.objectHashCode(object);
  6409. },
  6410. Function_apply($function, positionalArguments) {
  6411. return A.Primitives_applyFunction($function, positionalArguments, null);
  6412. },
  6413. Expando$() {
  6414. return new A.Expando(new WeakMap());
  6415. },
  6416. Expando__checkType(object) {
  6417. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6418. A.Expando__badExpandoKey(object);
  6419. },
  6420. Expando__badExpandoKey(object) {
  6421. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6422. },
  6423. int_parse(source, radix) {
  6424. var value = A.Primitives_parseInt(source, radix);
  6425. if (value != null)
  6426. return value;
  6427. throw A.wrapException(A.FormatException$(source, null, null));
  6428. },
  6429. double_parse(source) {
  6430. var value = A.Primitives_parseDouble(source);
  6431. if (value != null)
  6432. return value;
  6433. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6434. },
  6435. Error__throw(error, stackTrace) {
  6436. error = A.initializeExceptionWrapper(error, new Error());
  6437. error.stack = stackTrace.toString$0(0);
  6438. throw error;
  6439. },
  6440. List_List$filled($length, fill, growable, $E) {
  6441. var i,
  6442. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6443. if ($length !== 0 && fill != null)
  6444. for (i = 0; i < result.length; ++i)
  6445. result[i] = fill;
  6446. return result;
  6447. },
  6448. List_List$from(elements, growable, $E) {
  6449. var t1,
  6450. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6451. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6452. list.push(t1.get$current(t1));
  6453. if (growable)
  6454. return list;
  6455. list.$flags = 1;
  6456. return list;
  6457. },
  6458. List_List$of(elements, growable, $E) {
  6459. var t1;
  6460. if (growable)
  6461. t1 = A.List_List$_of(elements, $E);
  6462. else {
  6463. t1 = A.List_List$_of(elements, $E);
  6464. t1.$flags = 1;
  6465. t1 = t1;
  6466. }
  6467. return t1;
  6468. },
  6469. List_List$_of(elements, $E) {
  6470. var list, t1;
  6471. if (Array.isArray(elements))
  6472. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6473. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6474. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6475. list.push(t1.get$current(t1));
  6476. return list;
  6477. },
  6478. List_List$unmodifiable(elements, $E) {
  6479. var result = A.List_List$from(elements, false, $E);
  6480. result.$flags = 3;
  6481. return result;
  6482. },
  6483. String_String$fromCharCodes(charCodes, start, end) {
  6484. var t1, t2, maxLength, array, len;
  6485. A.RangeError_checkNotNegative(start, "start");
  6486. t1 = end == null;
  6487. t2 = !t1;
  6488. if (t2) {
  6489. maxLength = end - start;
  6490. if (maxLength < 0)
  6491. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6492. if (maxLength === 0)
  6493. return "";
  6494. }
  6495. if (Array.isArray(charCodes)) {
  6496. array = charCodes;
  6497. len = array.length;
  6498. if (t1)
  6499. end = len;
  6500. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6501. }
  6502. if (type$.NativeUint8List._is(charCodes))
  6503. return A.String__stringFromUint8List(charCodes, start, end);
  6504. if (t2)
  6505. charCodes = J.take$1$ax(charCodes, end);
  6506. if (start > 0)
  6507. charCodes = J.skip$1$ax(charCodes, start);
  6508. t1 = A.List_List$_of(charCodes, type$.int);
  6509. return A.Primitives_stringFromCharCodes(t1);
  6510. },
  6511. String_String$fromCharCode(charCode) {
  6512. return A.Primitives_stringFromCharCode(charCode);
  6513. },
  6514. String__stringFromUint8List(charCodes, start, endOrNull) {
  6515. var len = charCodes.length;
  6516. if (start >= len)
  6517. return "";
  6518. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6519. },
  6520. RegExp_RegExp(source, multiLine) {
  6521. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, ""));
  6522. },
  6523. identical(a, b) {
  6524. return a == null ? b == null : a === b;
  6525. },
  6526. StringBuffer__writeAll(string, objects, separator) {
  6527. var iterator = J.get$iterator$ax(objects);
  6528. if (!iterator.moveNext$0())
  6529. return string;
  6530. if (separator.length === 0) {
  6531. do
  6532. string += A.S(iterator.get$current(iterator));
  6533. while (iterator.moveNext$0());
  6534. } else {
  6535. string += A.S(iterator.get$current(iterator));
  6536. while (iterator.moveNext$0())
  6537. string = string + separator + A.S(iterator.get$current(iterator));
  6538. }
  6539. return string;
  6540. },
  6541. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6542. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6543. },
  6544. Uri_base() {
  6545. var cachedUri, uri,
  6546. current = A.Primitives_currentUri();
  6547. if (current == null)
  6548. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6549. cachedUri = $.Uri__cachedBaseUri;
  6550. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6551. return cachedUri;
  6552. uri = A.Uri_parse(current);
  6553. $.Uri__cachedBaseUri = uri;
  6554. $.Uri__cachedBaseString = current;
  6555. return uri;
  6556. },
  6557. _Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {
  6558. var t1, bytes, i, t2, byte,
  6559. _s16_ = "0123456789ABCDEF";
  6560. if (encoding === B.C_Utf8Codec) {
  6561. t1 = $.$get$_Uri__needsNoEncoding();
  6562. t1 = t1._nativeRegExp.test(text);
  6563. } else
  6564. t1 = false;
  6565. if (t1)
  6566. return text;
  6567. bytes = B.C_Utf8Encoder.convert$1(text);
  6568. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6569. byte = bytes[i];
  6570. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)
  6571. t2 += A.Primitives_stringFromCharCode(byte);
  6572. else
  6573. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6574. }
  6575. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6576. },
  6577. StackTrace_current() {
  6578. return A.getTraceFromException(new Error());
  6579. },
  6580. DateTime__fourDigits(n) {
  6581. var absN = Math.abs(n),
  6582. sign = n < 0 ? "-" : "";
  6583. if (absN >= 1000)
  6584. return "" + n;
  6585. if (absN >= 100)
  6586. return sign + "0" + absN;
  6587. if (absN >= 10)
  6588. return sign + "00" + absN;
  6589. return sign + "000" + absN;
  6590. },
  6591. DateTime__threeDigits(n) {
  6592. if (n >= 100)
  6593. return "" + n;
  6594. if (n >= 10)
  6595. return "0" + n;
  6596. return "00" + n;
  6597. },
  6598. DateTime__twoDigits(n) {
  6599. if (n >= 10)
  6600. return "" + n;
  6601. return "0" + n;
  6602. },
  6603. Duration$(microseconds, milliseconds) {
  6604. return new A.Duration(microseconds + 1000 * milliseconds);
  6605. },
  6606. EnumByName_byName(_this, $name) {
  6607. var _i, value;
  6608. for (_i = 0; _i < 4; ++_i) {
  6609. value = _this[_i];
  6610. if (value._name === $name)
  6611. return value;
  6612. }
  6613. throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name"));
  6614. },
  6615. Error_safeToString(object) {
  6616. if (typeof object == "number" || A._isBool(object) || object == null)
  6617. return J.toString$0$(object);
  6618. if (typeof object == "string")
  6619. return JSON.stringify(object);
  6620. return A.Primitives_safeToString(object);
  6621. },
  6622. Error_throwWithStackTrace(error, stackTrace) {
  6623. A.checkNotNullable(error, "error", type$.Object);
  6624. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6625. A.Error__throw(error, stackTrace);
  6626. },
  6627. AssertionError$(message) {
  6628. return new A.AssertionError(message);
  6629. },
  6630. ArgumentError$(message, $name) {
  6631. return new A.ArgumentError(false, null, $name, message);
  6632. },
  6633. ArgumentError$value(value, $name, message) {
  6634. return new A.ArgumentError(true, value, $name, message);
  6635. },
  6636. ArgumentError_checkNotNull(argument, $name) {
  6637. return argument;
  6638. },
  6639. RangeError$(message) {
  6640. var _null = null;
  6641. return new A.RangeError(_null, _null, false, _null, _null, message);
  6642. },
  6643. RangeError$value(value, $name, message) {
  6644. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6645. },
  6646. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6647. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6648. },
  6649. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6650. if (value < minValue || value > maxValue)
  6651. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6652. return value;
  6653. },
  6654. RangeError_checkValidRange(start, end, $length) {
  6655. if (0 > start || start > $length)
  6656. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6657. if (end != null) {
  6658. if (start > end || end > $length)
  6659. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6660. return end;
  6661. }
  6662. return $length;
  6663. },
  6664. RangeError_checkNotNegative(value, $name) {
  6665. if (value < 0)
  6666. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6667. return value;
  6668. },
  6669. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6670. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6671. },
  6672. IndexError_check(index, $length, indexable, message, $name) {
  6673. if (0 > index || index >= $length)
  6674. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6675. return index;
  6676. },
  6677. UnsupportedError$(message) {
  6678. return new A.UnsupportedError(message);
  6679. },
  6680. UnimplementedError$(message) {
  6681. return new A.UnimplementedError(message);
  6682. },
  6683. StateError$(message) {
  6684. return new A.StateError(message);
  6685. },
  6686. ConcurrentModificationError$(modifiedObject) {
  6687. return new A.ConcurrentModificationError(modifiedObject);
  6688. },
  6689. FormatException$(message, source, offset) {
  6690. return new A.FormatException(message, source, offset);
  6691. },
  6692. Iterable_Iterable$generate(count, generator, $E) {
  6693. if (count <= 0)
  6694. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6695. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6696. },
  6697. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6698. var parts, t1;
  6699. if (A.isToStringVisiting(iterable)) {
  6700. if (leftDelimiter === "(" && rightDelimiter === ")")
  6701. return "(...)";
  6702. return leftDelimiter + "..." + rightDelimiter;
  6703. }
  6704. parts = A._setArrayType([], type$.JSArray_String);
  6705. $.toStringVisiting.push(iterable);
  6706. try {
  6707. A._iterablePartsToStrings(iterable, parts);
  6708. } finally {
  6709. $.toStringVisiting.pop();
  6710. }
  6711. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6712. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6713. },
  6714. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6715. var buffer, t1;
  6716. if (A.isToStringVisiting(iterable))
  6717. return leftDelimiter + "..." + rightDelimiter;
  6718. buffer = new A.StringBuffer(leftDelimiter);
  6719. $.toStringVisiting.push(iterable);
  6720. try {
  6721. t1 = buffer;
  6722. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6723. } finally {
  6724. $.toStringVisiting.pop();
  6725. }
  6726. buffer._contents += rightDelimiter;
  6727. t1 = buffer._contents;
  6728. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6729. },
  6730. _iterablePartsToStrings(iterable, parts) {
  6731. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6732. it = iterable.get$iterator(iterable),
  6733. $length = 0, count = 0;
  6734. for (;;) {
  6735. if (!($length < 80 || count < 3))
  6736. break;
  6737. if (!it.moveNext$0())
  6738. return;
  6739. next = A.S(it.get$current(it));
  6740. parts.push(next);
  6741. $length += next.length + 2;
  6742. ++count;
  6743. }
  6744. if (!it.moveNext$0()) {
  6745. if (count <= 5)
  6746. return;
  6747. ultimateString = parts.pop();
  6748. penultimateString = parts.pop();
  6749. } else {
  6750. penultimate = it.get$current(it);
  6751. ++count;
  6752. if (!it.moveNext$0()) {
  6753. if (count <= 4) {
  6754. parts.push(A.S(penultimate));
  6755. return;
  6756. }
  6757. ultimateString = A.S(penultimate);
  6758. penultimateString = parts.pop();
  6759. $length += ultimateString.length + 2;
  6760. } else {
  6761. ultimate = it.get$current(it);
  6762. ++count;
  6763. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6764. ultimate0 = it.get$current(it);
  6765. ++count;
  6766. if (count > 100) {
  6767. for (;;) {
  6768. if (!($length > 75 && count > 3))
  6769. break;
  6770. $length -= parts.pop().length + 2;
  6771. --count;
  6772. }
  6773. parts.push("...");
  6774. return;
  6775. }
  6776. }
  6777. penultimateString = A.S(penultimate);
  6778. ultimateString = A.S(ultimate);
  6779. $length += ultimateString.length + penultimateString.length + 4;
  6780. }
  6781. }
  6782. if (count > parts.length + 2) {
  6783. $length += 5;
  6784. elision = "...";
  6785. } else
  6786. elision = null;
  6787. for (;;) {
  6788. if (!($length > 80 && parts.length > 3))
  6789. break;
  6790. $length -= parts.pop().length + 2;
  6791. if (elision == null) {
  6792. $length += 5;
  6793. elision = "...";
  6794. }
  6795. }
  6796. if (elision != null)
  6797. parts.push(elision);
  6798. parts.push(penultimateString);
  6799. parts.push(ultimateString);
  6800. },
  6801. Map_castFrom(source, $K, $V, $K2, $V2) {
  6802. return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1($K2)._bind$1($V2)._eval$1("CastMap<1,2,3,4>"));
  6803. },
  6804. Object_hash(object1, object2, object3, object4) {
  6805. var t1;
  6806. if (B.C_SentinelValue === object3) {
  6807. t1 = J.get$hashCode$(object1);
  6808. object2 = J.get$hashCode$(object2);
  6809. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6810. }
  6811. if (B.C_SentinelValue === object4) {
  6812. t1 = J.get$hashCode$(object1);
  6813. object2 = J.get$hashCode$(object2);
  6814. object3 = J.get$hashCode$(object3);
  6815. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6816. }
  6817. t1 = J.get$hashCode$(object1);
  6818. object2 = J.get$hashCode$(object2);
  6819. object3 = J.get$hashCode$(object3);
  6820. object4 = J.get$hashCode$(object4);
  6821. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6822. return object4;
  6823. },
  6824. Object_hashAll(objects) {
  6825. var t1, _i,
  6826. hash = $.$get$_hashSeed();
  6827. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6828. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6829. return A.SystemHash_finish(hash);
  6830. },
  6831. print(object) {
  6832. var line = A.S(object),
  6833. toZone = $.printToZone;
  6834. if (toZone == null)
  6835. A.printString(line);
  6836. else
  6837. toZone.call$1(line);
  6838. },
  6839. Set_Set$unmodifiable(elements, $E) {
  6840. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6841. },
  6842. Set_castFrom(source, newSet, $S, $T) {
  6843. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6844. },
  6845. _combineSurrogatePair(start, end) {
  6846. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6847. },
  6848. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6849. var encodingName, t1,
  6850. buffer = new A.StringBuffer(""),
  6851. indices = A._setArrayType([-1], type$.JSArray_int);
  6852. if (encoding == null)
  6853. encodingName = null;
  6854. else
  6855. encodingName = "utf-8";
  6856. if (encoding == null)
  6857. encoding = B.C_AsciiCodec;
  6858. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6859. indices.push(buffer._contents.length);
  6860. buffer._contents += ",";
  6861. A.UriData__uriEncodeBytes(256, encoding.encode$1($content), buffer);
  6862. t1 = buffer._contents;
  6863. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6864. },
  6865. Uri_parse(uri) {
  6866. var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null,
  6867. end = uri.length;
  6868. if (end >= 5) {
  6869. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6870. if (delta === 0)
  6871. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6872. else if (delta === 32)
  6873. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6874. }
  6875. indices = A.List_List$filled(8, 0, false, type$.int);
  6876. indices[0] = 0;
  6877. indices[1] = -1;
  6878. indices[2] = -1;
  6879. indices[7] = -1;
  6880. indices[3] = 0;
  6881. indices[4] = 0;
  6882. indices[5] = end;
  6883. indices[6] = end;
  6884. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6885. indices[7] = end;
  6886. schemeEnd = indices[1];
  6887. if (schemeEnd >= 0)
  6888. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6889. indices[7] = schemeEnd;
  6890. hostStart = indices[2] + 1;
  6891. portStart = indices[3];
  6892. pathStart = indices[4];
  6893. queryStart = indices[5];
  6894. fragmentStart = indices[6];
  6895. if (fragmentStart < queryStart)
  6896. queryStart = fragmentStart;
  6897. if (pathStart < hostStart)
  6898. pathStart = queryStart;
  6899. else if (pathStart <= schemeEnd)
  6900. pathStart = schemeEnd + 1;
  6901. if (portStart < hostStart)
  6902. portStart = pathStart;
  6903. isSimple = indices[7] < 0;
  6904. scheme = _null;
  6905. if (isSimple) {
  6906. isSimple = false;
  6907. if (!(hostStart > schemeEnd + 3)) {
  6908. t1 = portStart > 0;
  6909. if (!(t1 && portStart + 1 === pathStart)) {
  6910. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6911. if (hostStart > 0)
  6912. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6913. else
  6914. t2 = false;
  6915. else
  6916. t2 = true;
  6917. if (!t2) {
  6918. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6919. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6920. else
  6921. t2 = true;
  6922. if (!t2)
  6923. if (schemeEnd === 4) {
  6924. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6925. if (hostStart <= 0) {
  6926. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6927. schemeAuth = "file:///";
  6928. delta = 3;
  6929. } else {
  6930. schemeAuth = "file://";
  6931. delta = 2;
  6932. }
  6933. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6934. queryStart += delta;
  6935. fragmentStart += delta;
  6936. end = uri.length;
  6937. hostStart = 7;
  6938. portStart = 7;
  6939. pathStart = 7;
  6940. } else if (pathStart === queryStart) {
  6941. ++fragmentStart;
  6942. queryStart0 = queryStart + 1;
  6943. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6944. ++end;
  6945. queryStart = queryStart0;
  6946. }
  6947. scheme = "file";
  6948. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6949. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6950. fragmentStart -= 3;
  6951. pathStart0 = pathStart - 3;
  6952. queryStart -= 3;
  6953. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6954. end -= 3;
  6955. pathStart = pathStart0;
  6956. }
  6957. scheme = "http";
  6958. }
  6959. } else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6960. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6961. fragmentStart -= 4;
  6962. pathStart0 = pathStart - 4;
  6963. queryStart -= 4;
  6964. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6965. end -= 3;
  6966. pathStart = pathStart0;
  6967. }
  6968. scheme = "https";
  6969. }
  6970. isSimple = !t2;
  6971. }
  6972. }
  6973. }
  6974. }
  6975. if (isSimple)
  6976. return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6977. if (scheme == null)
  6978. if (schemeEnd > 0)
  6979. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6980. else {
  6981. if (schemeEnd === 0)
  6982. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6983. scheme = "";
  6984. }
  6985. port = _null;
  6986. if (hostStart > 0) {
  6987. userInfoStart = schemeEnd + 3;
  6988. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6989. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6990. t1 = portStart + 1;
  6991. if (t1 < pathStart) {
  6992. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6993. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6994. }
  6995. } else {
  6996. host = _null;
  6997. userInfo = "";
  6998. }
  6999. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  7000. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  7001. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  7002. },
  7003. Uri_decodeComponent(encodedComponent) {
  7004. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  7005. },
  7006. Uri__ipv4FormatError(msg, source, position) {
  7007. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, source, position));
  7008. },
  7009. Uri__parseIPv4Address(host, start, end, target, targetOffset) {
  7010. var t1, octetStart, cursor, octetIndex, octetValue, char, digit, octetIndex0,
  7011. _s17_ = "invalid character";
  7012. for (t1 = target.$flags | 0, octetStart = start, cursor = octetStart, octetIndex = 0, octetValue = 0;;) {
  7013. char = cursor >= end ? 0 : host.charCodeAt(cursor);
  7014. digit = char ^ 48;
  7015. if (digit <= 9) {
  7016. if (octetValue !== 0 || cursor === octetStart) {
  7017. octetValue = octetValue * 10 + digit;
  7018. if (octetValue <= 255) {
  7019. ++cursor;
  7020. continue;
  7021. }
  7022. A.Uri__ipv4FormatError("each part must be in the range 0..255", host, octetStart);
  7023. }
  7024. A.Uri__ipv4FormatError("parts must not have leading zeros", host, octetStart);
  7025. }
  7026. if (cursor === octetStart) {
  7027. if (cursor === end)
  7028. break;
  7029. A.Uri__ipv4FormatError(_s17_, host, cursor);
  7030. }
  7031. octetIndex0 = octetIndex + 1;
  7032. t1 & 2 && A.throwUnsupportedOperation(target);
  7033. target[targetOffset + octetIndex] = octetValue;
  7034. if (char === 46) {
  7035. if (octetIndex0 < 4) {
  7036. ++cursor;
  7037. octetIndex = octetIndex0;
  7038. octetStart = cursor;
  7039. octetValue = 0;
  7040. continue;
  7041. }
  7042. break;
  7043. }
  7044. if (cursor === end) {
  7045. if (octetIndex0 === 4)
  7046. return;
  7047. break;
  7048. }
  7049. A.Uri__ipv4FormatError(_s17_, host, cursor);
  7050. octetIndex = octetIndex0;
  7051. }
  7052. A.Uri__ipv4FormatError("IPv4 address should contain exactly 4 parts", host, cursor);
  7053. },
  7054. Uri__validateIPvAddress(host, start, end) {
  7055. var error;
  7056. if (start === end)
  7057. throw A.wrapException(A.FormatException$("Empty IP address", host, start));
  7058. if (host.charCodeAt(start) === 118) {
  7059. error = A.Uri__validateIPvFutureAddress(host, start, end);
  7060. if (error != null)
  7061. throw A.wrapException(error);
  7062. return false;
  7063. }
  7064. A.Uri_parseIPv6Address(host, start, end);
  7065. return true;
  7066. },
  7067. Uri__validateIPvFutureAddress(host, start, end) {
  7068. var cursor, cursor0, char, ucChar,
  7069. _s38_ = "Missing hex-digit in IPvFuture address";
  7070. ++start;
  7071. for (cursor = start;; cursor = cursor0) {
  7072. if (cursor < end) {
  7073. cursor0 = cursor + 1;
  7074. char = host.charCodeAt(cursor);
  7075. if ((char ^ 48) <= 9)
  7076. continue;
  7077. ucChar = char | 32;
  7078. if (ucChar >= 97 && ucChar <= 102)
  7079. continue;
  7080. if (char === 46) {
  7081. if (cursor0 - 1 === start)
  7082. return new A.FormatException(_s38_, host, cursor0);
  7083. cursor = cursor0;
  7084. break;
  7085. }
  7086. return new A.FormatException("Unexpected character", host, cursor0 - 1);
  7087. }
  7088. if (cursor - 1 === start)
  7089. return new A.FormatException(_s38_, host, cursor);
  7090. return new A.FormatException("Missing '.' in IPvFuture address", host, cursor);
  7091. }
  7092. if (cursor === end)
  7093. return new A.FormatException("Missing address in IPvFuture address, host, cursor", null, null);
  7094. for (;;) {
  7095. if ((string$.x00_____.charCodeAt(host.charCodeAt(cursor)) & 16) !== 0) {
  7096. ++cursor;
  7097. if (cursor < end)
  7098. continue;
  7099. return null;
  7100. }
  7101. return new A.FormatException("Invalid IPvFuture address character", host, cursor);
  7102. }
  7103. },
  7104. Uri_parseIPv6Address(host, start, end) {
  7105. var result, wildcardAt, partCount, cursor, partStart, hexValue, decValue, char, _0_0, decValue0, hexDigit, _1_0, t1, partCount0, partAfterWildcard, partsAfterWildcard, positionAfterWildcard, newPositionAfterWildcard,
  7106. _s39_ = "an address must contain at most 8 parts",
  7107. error = new A.Uri_parseIPv6Address_error(host);
  7108. if (end - start < 2)
  7109. error.call$2("address is too short", null);
  7110. result = new Uint8Array(16);
  7111. wildcardAt = -1;
  7112. partCount = 0;
  7113. if (host.charCodeAt(start) === 58)
  7114. if (host.charCodeAt(start + 1) === 58) {
  7115. cursor = start + 2;
  7116. partStart = cursor;
  7117. wildcardAt = 0;
  7118. partCount = 1;
  7119. } else {
  7120. error.call$2("invalid start colon", start);
  7121. cursor = start;
  7122. partStart = cursor;
  7123. }
  7124. else {
  7125. cursor = start;
  7126. partStart = cursor;
  7127. }
  7128. for (hexValue = 0, decValue = true;;) {
  7129. char = cursor >= end ? 0 : host.charCodeAt(cursor);
  7130. $label0$0: {
  7131. _0_0 = char ^ 48;
  7132. decValue0 = false;
  7133. if (_0_0 <= 9)
  7134. hexDigit = _0_0;
  7135. else {
  7136. _1_0 = char | 32;
  7137. if (_1_0 >= 97 && _1_0 <= 102)
  7138. hexDigit = _1_0 - 87;
  7139. else
  7140. break $label0$0;
  7141. decValue = decValue0;
  7142. }
  7143. if (cursor < partStart + 4) {
  7144. hexValue = hexValue * 16 + hexDigit;
  7145. ++cursor;
  7146. continue;
  7147. }
  7148. error.call$2("an IPv6 part can contain a maximum of 4 hex digits", partStart);
  7149. }
  7150. if (cursor > partStart) {
  7151. if (char === 46) {
  7152. if (decValue) {
  7153. if (partCount <= 6) {
  7154. A.Uri__parseIPv4Address(host, partStart, end, result, partCount * 2);
  7155. partCount += 2;
  7156. cursor = end;
  7157. break;
  7158. }
  7159. error.call$2(_s39_, partStart);
  7160. }
  7161. break;
  7162. }
  7163. t1 = partCount * 2;
  7164. result[t1] = B.JSInt_methods._shrOtherPositive$1(hexValue, 8);
  7165. result[t1 + 1] = hexValue & 255;
  7166. ++partCount;
  7167. if (char === 58) {
  7168. if (partCount < 8) {
  7169. ++cursor;
  7170. partStart = cursor;
  7171. hexValue = 0;
  7172. decValue = true;
  7173. continue;
  7174. }
  7175. error.call$2(_s39_, cursor);
  7176. }
  7177. break;
  7178. }
  7179. if (char === 58) {
  7180. if (wildcardAt < 0) {
  7181. partCount0 = partCount + 1;
  7182. ++cursor;
  7183. wildcardAt = partCount;
  7184. partCount = partCount0;
  7185. partStart = cursor;
  7186. continue;
  7187. }
  7188. error.call$2("only one wildcard `::` is allowed", cursor);
  7189. }
  7190. if (wildcardAt !== partCount - 1)
  7191. error.call$2("missing part", cursor);
  7192. break;
  7193. }
  7194. if (cursor < end)
  7195. error.call$2("invalid character", cursor);
  7196. if (partCount < 8) {
  7197. if (wildcardAt < 0)
  7198. error.call$2("an address without a wildcard must contain exactly 8 parts", end);
  7199. partAfterWildcard = wildcardAt + 1;
  7200. partsAfterWildcard = partCount - partAfterWildcard;
  7201. if (partsAfterWildcard > 0) {
  7202. positionAfterWildcard = partAfterWildcard * 2;
  7203. newPositionAfterWildcard = 16 - partsAfterWildcard * 2;
  7204. B.NativeUint8List_methods.setRange$4(result, newPositionAfterWildcard, 16, result, positionAfterWildcard);
  7205. B.NativeUint8List_methods.fillRange$3(result, positionAfterWildcard, newPositionAfterWildcard, 0);
  7206. }
  7207. }
  7208. return result;
  7209. },
  7210. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7211. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7212. },
  7213. _Uri__Uri(host, path, pathSegments, scheme) {
  7214. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7215. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7216. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7217. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7218. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7219. fragment = A._Uri__makeFragment(_null, 0, 0);
  7220. port = A._Uri__makePort(_null, scheme);
  7221. isFile = scheme === "file";
  7222. if (host == null)
  7223. t1 = userInfo.length !== 0 || port != null || isFile;
  7224. else
  7225. t1 = false;
  7226. if (t1)
  7227. host = "";
  7228. t1 = host == null;
  7229. hasAuthority = !t1;
  7230. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7231. t2 = scheme.length === 0;
  7232. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7233. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7234. else
  7235. path = A._Uri__removeDotSegments(path);
  7236. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7237. },
  7238. _Uri__defaultPort(scheme) {
  7239. if (scheme === "http")
  7240. return 80;
  7241. if (scheme === "https")
  7242. return 443;
  7243. return 0;
  7244. },
  7245. _Uri__fail(uri, index, message) {
  7246. throw A.wrapException(A.FormatException$(message, uri, index));
  7247. },
  7248. _Uri__Uri$file(path, windows) {
  7249. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7250. },
  7251. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7252. var t1, _i, segment;
  7253. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7254. segment = segments[_i];
  7255. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7256. t1 = A.UnsupportedError$("Illegal path character " + segment);
  7257. throw A.wrapException(t1);
  7258. }
  7259. }
  7260. },
  7261. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7262. var t1, t2, t3, t4;
  7263. for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  7264. t3 = t1.__internal$_current;
  7265. if (t3 == null)
  7266. t3 = t2._as(t3);
  7267. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7268. if (A.stringContainsUnchecked(t3, t4, 0))
  7269. if (argumentError)
  7270. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7271. else
  7272. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7273. }
  7274. },
  7275. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7276. var t1,
  7277. _s21_ = "Illegal drive letter ";
  7278. if (!(65 <= charCode && charCode <= 90))
  7279. t1 = 97 <= charCode && charCode <= 122;
  7280. else
  7281. t1 = true;
  7282. if (t1)
  7283. return;
  7284. if (argumentError)
  7285. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7286. else
  7287. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7288. },
  7289. _Uri__makeFileUri(path, slashTerminated) {
  7290. var _null = null,
  7291. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7292. if (B.JSString_methods.startsWith$1(path, "/"))
  7293. return A._Uri__Uri(_null, _null, segments, "file");
  7294. else
  7295. return A._Uri__Uri(_null, _null, segments, _null);
  7296. },
  7297. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7298. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7299. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7300. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7301. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7302. else {
  7303. path = B.JSString_methods.substring$1(path, 4);
  7304. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7305. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7306. }
  7307. else
  7308. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7309. t1 = path.length;
  7310. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7311. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7312. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7313. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7314. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7315. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7316. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7317. }
  7318. if (B.JSString_methods.startsWith$1(path, _s1_))
  7319. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7320. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7321. t1 = pathStart < 0;
  7322. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7323. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7324. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7325. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7326. } else {
  7327. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7328. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7329. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7330. }
  7331. else {
  7332. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7333. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7334. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7335. }
  7336. },
  7337. _Uri__makePort(port, scheme) {
  7338. if (port != null && port === A._Uri__defaultPort(scheme))
  7339. return null;
  7340. return port;
  7341. },
  7342. _Uri__makeHost(host, start, end, strictIPv6) {
  7343. var index, t1, zoneID, index0, zoneIDstart, isIPv6, hostChars, i;
  7344. if (host == null)
  7345. return null;
  7346. if (start === end)
  7347. return "";
  7348. if (host.charCodeAt(start) === 91) {
  7349. index = end - 1;
  7350. if (host.charCodeAt(index) !== 93)
  7351. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7352. t1 = start + 1;
  7353. zoneID = "";
  7354. if (host.charCodeAt(t1) !== 118) {
  7355. index0 = A._Uri__checkZoneID(host, t1, index);
  7356. if (index0 < index) {
  7357. zoneIDstart = index0 + 1;
  7358. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index0 + 3 : zoneIDstart, index, "%25");
  7359. }
  7360. index = index0;
  7361. }
  7362. isIPv6 = A.Uri__validateIPvAddress(host, t1, index);
  7363. hostChars = B.JSString_methods.substring$2(host, t1, index);
  7364. return "[" + (isIPv6 ? hostChars.toLowerCase() : hostChars) + zoneID + "]";
  7365. }
  7366. for (i = start; i < end; ++i)
  7367. if (host.charCodeAt(i) === 58) {
  7368. index = B.JSString_methods.indexOf$2(host, "%", start);
  7369. index = index >= start && index < end ? index : end;
  7370. if (index < end) {
  7371. zoneIDstart = index + 1;
  7372. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7373. } else
  7374. zoneID = "";
  7375. A.Uri_parseIPv6Address(host, start, index);
  7376. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7377. }
  7378. return A._Uri__normalizeRegName(host, start, end);
  7379. },
  7380. _Uri__checkZoneID(host, start, end) {
  7381. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7382. return index >= start && index < end ? index : end;
  7383. },
  7384. _Uri__normalizeZoneID(host, start, end, prefix) {
  7385. var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
  7386. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7387. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7388. char = host.charCodeAt(index);
  7389. if (char === 37) {
  7390. replacement = A._Uri__normalizeEscape(host, index, true);
  7391. t1 = replacement == null;
  7392. if (t1 && isNormalized) {
  7393. index += 3;
  7394. continue;
  7395. }
  7396. if (buffer == null)
  7397. buffer = new A.StringBuffer("");
  7398. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7399. if (t1)
  7400. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7401. else if (replacement === "%")
  7402. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7403. buffer._contents = t2 + replacement;
  7404. index += 3;
  7405. sectionStart = index;
  7406. isNormalized = true;
  7407. } else if (char < 127 && (string$.x00_____.charCodeAt(char) & 1) !== 0) {
  7408. if (isNormalized && 65 <= char && 90 >= char) {
  7409. if (buffer == null)
  7410. buffer = new A.StringBuffer("");
  7411. if (sectionStart < index) {
  7412. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7413. sectionStart = index;
  7414. }
  7415. isNormalized = false;
  7416. }
  7417. ++index;
  7418. } else {
  7419. sourceLength = 1;
  7420. if ((char & 64512) === 55296 && index + 1 < end) {
  7421. tail = host.charCodeAt(index + 1);
  7422. if ((tail & 64512) === 56320) {
  7423. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7424. sourceLength = 2;
  7425. }
  7426. }
  7427. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7428. if (buffer == null) {
  7429. buffer = new A.StringBuffer("");
  7430. t1 = buffer;
  7431. } else
  7432. t1 = buffer;
  7433. t1._contents += slice;
  7434. t2 = A._Uri__escapeChar(char);
  7435. t1._contents += t2;
  7436. index += sourceLength;
  7437. sectionStart = index;
  7438. }
  7439. }
  7440. if (buffer == null)
  7441. return B.JSString_methods.substring$2(host, start, end);
  7442. if (sectionStart < end) {
  7443. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7444. buffer._contents += slice;
  7445. }
  7446. t1 = buffer._contents;
  7447. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7448. },
  7449. _Uri__normalizeRegName(host, start, end) {
  7450. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail,
  7451. _s128_ = string$.x00_____;
  7452. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7453. char = host.charCodeAt(index);
  7454. if (char === 37) {
  7455. replacement = A._Uri__normalizeEscape(host, index, true);
  7456. t1 = replacement == null;
  7457. if (t1 && isNormalized) {
  7458. index += 3;
  7459. continue;
  7460. }
  7461. if (buffer == null)
  7462. buffer = new A.StringBuffer("");
  7463. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7464. if (!isNormalized)
  7465. slice = slice.toLowerCase();
  7466. t2 = buffer._contents += slice;
  7467. sourceLength = 3;
  7468. if (t1)
  7469. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7470. else if (replacement === "%") {
  7471. replacement = "%25";
  7472. sourceLength = 1;
  7473. }
  7474. buffer._contents = t2 + replacement;
  7475. index += sourceLength;
  7476. sectionStart = index;
  7477. isNormalized = true;
  7478. } else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {
  7479. if (isNormalized && 65 <= char && 90 >= char) {
  7480. if (buffer == null)
  7481. buffer = new A.StringBuffer("");
  7482. if (sectionStart < index) {
  7483. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7484. sectionStart = index;
  7485. }
  7486. isNormalized = false;
  7487. }
  7488. ++index;
  7489. } else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)
  7490. A._Uri__fail(host, index, "Invalid character");
  7491. else {
  7492. sourceLength = 1;
  7493. if ((char & 64512) === 55296 && index + 1 < end) {
  7494. tail = host.charCodeAt(index + 1);
  7495. if ((tail & 64512) === 56320) {
  7496. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7497. sourceLength = 2;
  7498. }
  7499. }
  7500. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7501. if (!isNormalized)
  7502. slice = slice.toLowerCase();
  7503. if (buffer == null) {
  7504. buffer = new A.StringBuffer("");
  7505. t1 = buffer;
  7506. } else
  7507. t1 = buffer;
  7508. t1._contents += slice;
  7509. t2 = A._Uri__escapeChar(char);
  7510. t1._contents += t2;
  7511. index += sourceLength;
  7512. sectionStart = index;
  7513. }
  7514. }
  7515. if (buffer == null)
  7516. return B.JSString_methods.substring$2(host, start, end);
  7517. if (sectionStart < end) {
  7518. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7519. if (!isNormalized)
  7520. slice = slice.toLowerCase();
  7521. buffer._contents += slice;
  7522. }
  7523. t1 = buffer._contents;
  7524. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7525. },
  7526. _Uri__makeScheme(scheme, start, end) {
  7527. var i, containsUpperCase, codeUnit;
  7528. if (start === end)
  7529. return "";
  7530. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7531. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7532. for (i = start, containsUpperCase = false; i < end; ++i) {
  7533. codeUnit = scheme.charCodeAt(i);
  7534. if (!(codeUnit < 128 && (string$.x00_____.charCodeAt(codeUnit) & 8) !== 0))
  7535. A._Uri__fail(scheme, i, "Illegal scheme character");
  7536. if (65 <= codeUnit && codeUnit <= 90)
  7537. containsUpperCase = true;
  7538. }
  7539. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7540. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7541. },
  7542. _Uri__canonicalizeScheme(scheme) {
  7543. if (scheme === "http")
  7544. return "http";
  7545. if (scheme === "file")
  7546. return "file";
  7547. if (scheme === "https")
  7548. return "https";
  7549. if (scheme === "package")
  7550. return "package";
  7551. return scheme;
  7552. },
  7553. _Uri__makeUserInfo(userInfo, start, end) {
  7554. if (userInfo == null)
  7555. return "";
  7556. return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);
  7557. },
  7558. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7559. var result,
  7560. isFile = scheme === "file",
  7561. ensureLeadingSlash = isFile || hasAuthority;
  7562. if (path == null) {
  7563. if (pathSegments == null)
  7564. return isFile ? "/" : "";
  7565. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7566. } else if (pathSegments != null)
  7567. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7568. else
  7569. result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);
  7570. if (result.length === 0) {
  7571. if (isFile)
  7572. return "/";
  7573. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7574. result = "/" + result;
  7575. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7576. },
  7577. _Uri__normalizePath(path, scheme, hasAuthority) {
  7578. var t1 = scheme.length === 0;
  7579. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7580. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7581. return A._Uri__removeDotSegments(path);
  7582. },
  7583. _Uri__makeQuery(query, start, end, queryParameters) {
  7584. if (query != null)
  7585. return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);
  7586. return null;
  7587. },
  7588. _Uri__makeFragment(fragment, start, end) {
  7589. if (fragment == null)
  7590. return null;
  7591. return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);
  7592. },
  7593. _Uri__normalizeEscape(source, index, lowerCase) {
  7594. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7595. t1 = index + 2;
  7596. if (t1 >= source.length)
  7597. return "%";
  7598. firstDigit = source.charCodeAt(index + 1);
  7599. secondDigit = source.charCodeAt(t1);
  7600. firstDigitValue = A.hexDigitValue(firstDigit);
  7601. secondDigitValue = A.hexDigitValue(secondDigit);
  7602. if (firstDigitValue < 0 || secondDigitValue < 0)
  7603. return "%";
  7604. value = firstDigitValue * 16 + secondDigitValue;
  7605. if (value < 127 && (string$.x00_____.charCodeAt(value) & 1) !== 0)
  7606. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7607. if (firstDigit >= 97 || secondDigit >= 97)
  7608. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7609. return null;
  7610. },
  7611. _Uri__escapeChar(char) {
  7612. var codeUnits, flag, encodedBytes, index, byte,
  7613. _s16_ = "0123456789ABCDEF";
  7614. if (char <= 127) {
  7615. codeUnits = new Uint8Array(3);
  7616. codeUnits[0] = 37;
  7617. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7618. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7619. } else {
  7620. if (char > 2047)
  7621. if (char > 65535) {
  7622. flag = 240;
  7623. encodedBytes = 4;
  7624. } else {
  7625. flag = 224;
  7626. encodedBytes = 3;
  7627. }
  7628. else {
  7629. flag = 192;
  7630. encodedBytes = 2;
  7631. }
  7632. codeUnits = new Uint8Array(3 * encodedBytes);
  7633. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7634. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7635. codeUnits[index] = 37;
  7636. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7637. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7638. index += 3;
  7639. }
  7640. }
  7641. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7642. },
  7643. _Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7644. var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);
  7645. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7646. },
  7647. _Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7648. var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, _null = null,
  7649. _s128_ = string$.x00_____;
  7650. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7651. char = component.charCodeAt(index);
  7652. if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)
  7653. ++index;
  7654. else {
  7655. sourceLength = 1;
  7656. if (char === 37) {
  7657. replacement = A._Uri__normalizeEscape(component, index, false);
  7658. if (replacement == null) {
  7659. index += 3;
  7660. continue;
  7661. }
  7662. if ("%" === replacement)
  7663. replacement = "%25";
  7664. else
  7665. sourceLength = 3;
  7666. } else if (char === 92 && replaceBackslash)
  7667. replacement = "/";
  7668. else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {
  7669. A._Uri__fail(component, index, "Invalid character");
  7670. sourceLength = _null;
  7671. replacement = sourceLength;
  7672. } else {
  7673. if ((char & 64512) === 55296) {
  7674. t2 = index + 1;
  7675. if (t2 < end) {
  7676. tail = component.charCodeAt(t2);
  7677. if ((tail & 64512) === 56320) {
  7678. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7679. sourceLength = 2;
  7680. }
  7681. }
  7682. }
  7683. replacement = A._Uri__escapeChar(char);
  7684. }
  7685. if (buffer == null) {
  7686. buffer = new A.StringBuffer("");
  7687. t2 = buffer;
  7688. } else
  7689. t2 = buffer;
  7690. t2._contents = (t2._contents += B.JSString_methods.substring$2(component, sectionStart, index)) + replacement;
  7691. index += sourceLength;
  7692. sectionStart = index;
  7693. }
  7694. }
  7695. if (buffer == null)
  7696. return _null;
  7697. if (sectionStart < end) {
  7698. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7699. buffer._contents += t1;
  7700. }
  7701. t1 = buffer._contents;
  7702. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7703. },
  7704. _Uri__mayContainDotSegments(path) {
  7705. if (B.JSString_methods.startsWith$1(path, "."))
  7706. return true;
  7707. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7708. },
  7709. _Uri__removeDotSegments(path) {
  7710. var output, t1, t2, appendSlash, _i, segment;
  7711. if (!A._Uri__mayContainDotSegments(path))
  7712. return path;
  7713. output = A._setArrayType([], type$.JSArray_String);
  7714. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7715. segment = t1[_i];
  7716. if (segment === "..") {
  7717. if (output.length !== 0) {
  7718. output.pop();
  7719. if (output.length === 0)
  7720. output.push("");
  7721. }
  7722. appendSlash = true;
  7723. } else {
  7724. appendSlash = "." === segment;
  7725. if (!appendSlash)
  7726. output.push(segment);
  7727. }
  7728. }
  7729. if (appendSlash)
  7730. output.push("");
  7731. return B.JSArray_methods.join$1(output, "/");
  7732. },
  7733. _Uri__normalizeRelativePath(path, allowScheme) {
  7734. var output, t1, t2, appendSlash, _i, segment;
  7735. if (!A._Uri__mayContainDotSegments(path))
  7736. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7737. output = A._setArrayType([], type$.JSArray_String);
  7738. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7739. segment = t1[_i];
  7740. if (".." === segment) {
  7741. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..")
  7742. output.pop();
  7743. else
  7744. output.push("..");
  7745. appendSlash = true;
  7746. } else {
  7747. appendSlash = "." === segment;
  7748. if (!appendSlash)
  7749. output.push(segment.length === 0 && output.length === 0 ? "./" : segment);
  7750. }
  7751. }
  7752. if (output.length === 0)
  7753. return "./";
  7754. if (appendSlash)
  7755. output.push("");
  7756. if (!allowScheme)
  7757. output[0] = A._Uri__escapeScheme(output[0]);
  7758. return B.JSArray_methods.join$1(output, "/");
  7759. },
  7760. _Uri__escapeScheme(path) {
  7761. var i, char,
  7762. t1 = path.length;
  7763. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7764. for (i = 1; i < t1; ++i) {
  7765. char = path.charCodeAt(i);
  7766. if (char === 58)
  7767. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7768. if (char > 127 || (string$.x00_____.charCodeAt(char) & 8) === 0)
  7769. break;
  7770. }
  7771. return path;
  7772. },
  7773. _Uri__packageNameEnd(uri, path) {
  7774. if (uri.isScheme$1("package") && uri._host == null)
  7775. return A._skipPackageNameChars(path, 0, path.length);
  7776. return -1;
  7777. },
  7778. _Uri__toWindowsFilePath(uri) {
  7779. var t2, hasDriveLetter, host,
  7780. segments = uri.get$pathSegments(),
  7781. t1 = segments.length;
  7782. if (t1 > 0) {
  7783. t2 = segments[0];
  7784. hasDriveLetter = t2.length === 2 && t2.charCodeAt(1) === 58;
  7785. } else
  7786. hasDriveLetter = false;
  7787. if (hasDriveLetter) {
  7788. A._Uri__checkWindowsDriveLetter(segments[0].charCodeAt(0), false);
  7789. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7790. } else
  7791. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7792. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : "";
  7793. if (uri.get$hasAuthority()) {
  7794. host = uri.get$host();
  7795. if (host.length !== 0)
  7796. t2 = t2 + "\\" + host + "\\";
  7797. }
  7798. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7799. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7800. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7801. },
  7802. _Uri__hexCharPairToByte(s, pos) {
  7803. var byte, i, charCode;
  7804. for (byte = 0, i = 0; i < 2; ++i) {
  7805. charCode = s.charCodeAt(pos + i);
  7806. if (48 <= charCode && charCode <= 57)
  7807. byte = byte * 16 + charCode - 48;
  7808. else {
  7809. charCode |= 32;
  7810. if (97 <= charCode && charCode <= 102)
  7811. byte = byte * 16 + charCode - 87;
  7812. else
  7813. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7814. }
  7815. }
  7816. return byte;
  7817. },
  7818. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7819. var simple, codeUnit, t1, bytes,
  7820. i = start;
  7821. for (;;) {
  7822. if (!(i < end)) {
  7823. simple = true;
  7824. break;
  7825. }
  7826. codeUnit = text.charCodeAt(i);
  7827. if (codeUnit <= 127)
  7828. t1 = codeUnit === 37;
  7829. else
  7830. t1 = true;
  7831. if (t1) {
  7832. simple = false;
  7833. break;
  7834. }
  7835. ++i;
  7836. }
  7837. if (simple)
  7838. if (B.C_Utf8Codec === encoding)
  7839. return B.JSString_methods.substring$2(text, start, end);
  7840. else
  7841. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7842. else {
  7843. bytes = A._setArrayType([], type$.JSArray_int);
  7844. for (t1 = text.length, i = start; i < end; ++i) {
  7845. codeUnit = text.charCodeAt(i);
  7846. if (codeUnit > 127)
  7847. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7848. if (codeUnit === 37) {
  7849. if (i + 3 > t1)
  7850. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7851. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7852. i += 2;
  7853. } else
  7854. bytes.push(codeUnit);
  7855. }
  7856. }
  7857. return B.Utf8Decoder_false.convert$1(bytes);
  7858. },
  7859. _Uri__isAlphabeticCharacter(codeUnit) {
  7860. var lowerCase = codeUnit | 32;
  7861. return 97 <= lowerCase && lowerCase <= 122;
  7862. },
  7863. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7864. var t1, slashIndex;
  7865. if (mimeType != null)
  7866. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7867. else
  7868. t1 = true;
  7869. if (t1)
  7870. mimeType = "";
  7871. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7872. t1 = buffer._contents += mimeType;
  7873. else {
  7874. slashIndex = A.UriData__validateMimeType(mimeType);
  7875. if (slashIndex < 0)
  7876. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7877. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7878. buffer._contents = (buffer._contents += t1) + "/";
  7879. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7880. t1 = buffer._contents += t1;
  7881. }
  7882. if (charsetName != null) {
  7883. indices.push(t1.length);
  7884. indices.push(buffer._contents.length + 8);
  7885. buffer._contents += ";charset=";
  7886. t1 = A._Uri__uriEncode(512, charsetName, B.C_Utf8Codec, false);
  7887. buffer._contents += t1;
  7888. }
  7889. },
  7890. UriData__validateMimeType(mimeType) {
  7891. var t1, slashIndex, i;
  7892. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7893. if (mimeType.charCodeAt(i) !== 47)
  7894. continue;
  7895. if (slashIndex < 0) {
  7896. slashIndex = i;
  7897. continue;
  7898. }
  7899. return -1;
  7900. }
  7901. return slashIndex;
  7902. },
  7903. UriData__parse(text, start, sourceUri) {
  7904. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7905. _s17_ = "Invalid MIME type",
  7906. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7907. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7908. char = text.charCodeAt(i);
  7909. if (char === 44 || char === 59)
  7910. break;
  7911. if (char === 47) {
  7912. if (slashIndex < 0) {
  7913. slashIndex = i;
  7914. continue;
  7915. }
  7916. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7917. }
  7918. }
  7919. if (slashIndex < 0 && i > start)
  7920. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7921. while (char !== 44) {
  7922. indices.push(i);
  7923. ++i;
  7924. for (equalsIndex = -1; i < t1; ++i) {
  7925. char = text.charCodeAt(i);
  7926. if (char === 61) {
  7927. if (equalsIndex < 0)
  7928. equalsIndex = i;
  7929. } else if (char === 59 || char === 44)
  7930. break;
  7931. }
  7932. if (equalsIndex >= 0)
  7933. indices.push(equalsIndex);
  7934. else {
  7935. lastSeparator = B.JSArray_methods.get$last(indices);
  7936. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7937. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7938. break;
  7939. }
  7940. }
  7941. indices.push(i);
  7942. t2 = i + 1;
  7943. if ((indices.length & 1) === 1)
  7944. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7945. else {
  7946. data = A._Uri__normalize(text, t2, t1, 256, true, false);
  7947. if (data != null)
  7948. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7949. }
  7950. return new A.UriData(text, indices, sourceUri);
  7951. },
  7952. UriData__uriEncodeBytes(canonicalMask, bytes, buffer) {
  7953. var t1, byteOr, i, byte, t2,
  7954. _s16_ = "0123456789ABCDEF";
  7955. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7956. byte = bytes[i];
  7957. byteOr |= byte;
  7958. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0) {
  7959. t2 = A.Primitives_stringFromCharCode(byte);
  7960. buffer._contents += t2;
  7961. } else {
  7962. t2 = A.Primitives_stringFromCharCode(37);
  7963. buffer._contents += t2;
  7964. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7965. buffer._contents += t2;
  7966. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7967. buffer._contents += t2;
  7968. }
  7969. }
  7970. if ((byteOr & 4294967040) !== 0)
  7971. for (i = 0; i < t1; ++i) {
  7972. byte = bytes[i];
  7973. if (byte > 255)
  7974. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7975. }
  7976. },
  7977. _scan(uri, start, end, state, indices) {
  7978. var i, char, transition;
  7979. for (i = start; i < end; ++i) {
  7980. char = uri.charCodeAt(i) ^ 96;
  7981. if (char > 95)
  7982. char = 31;
  7983. transition = '\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe3\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0e\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\n\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\xeb\xeb\x8b\xeb\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x83\xeb\xeb\x8b\xeb\x8b\xeb\xcd\x8b\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x92\x83\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x8b\xeb\x8b\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xebD\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12D\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe8\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x05\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x10\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\f\xec\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\xec\f\xec\f\xec\xcd\f\xec\f\f\f\f\f\f\f\f\f\xec\f\f\f\f\f\f\f\f\f\f\xec\f\xec\f\xec\f\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\r\xed\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\xed\r\xed\r\xed\xed\r\xed\r\r\r\r\r\r\r\r\r\xed\r\r\r\r\r\r\r\r\r\r\xed\r\xed\r\xed\r\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0f\xea\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe9\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\t\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x11\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xe9\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\t\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x13\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\xf5\x15\x15\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5'.charCodeAt(state * 96 + char);
  7984. state = transition & 31;
  7985. indices[transition >>> 5] = i;
  7986. }
  7987. return state;
  7988. },
  7989. _SimpleUri__packageNameEnd(uri) {
  7990. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7991. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7992. return -1;
  7993. },
  7994. _skipPackageNameChars(source, start, end) {
  7995. var i, dots, char;
  7996. for (i = start, dots = 0; i < end; ++i) {
  7997. char = source.charCodeAt(i);
  7998. if (char === 47)
  7999. return dots !== 0 ? i : -1;
  8000. if (char === 37 || char === 58)
  8001. return -1;
  8002. dots |= char ^ 46;
  8003. }
  8004. return -1;
  8005. },
  8006. _caseInsensitiveCompareStart(prefix, string, start) {
  8007. var t1, result, i, stringChar, delta, lowerChar;
  8008. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  8009. stringChar = string.charCodeAt(start + i);
  8010. delta = prefix.charCodeAt(i) ^ stringChar;
  8011. if (delta !== 0) {
  8012. if (delta === 32) {
  8013. lowerChar = stringChar | delta;
  8014. if (97 <= lowerChar && lowerChar <= 122) {
  8015. result = 32;
  8016. continue;
  8017. }
  8018. }
  8019. return -1;
  8020. }
  8021. }
  8022. return result;
  8023. },
  8024. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  8025. this._box_0 = t0;
  8026. this.sb = t1;
  8027. },
  8028. DateTime: function DateTime(t0, t1, t2) {
  8029. this._value = t0;
  8030. this._microsecond = t1;
  8031. this.isUtc = t2;
  8032. },
  8033. Duration: function Duration(t0) {
  8034. this._duration = t0;
  8035. },
  8036. _Enum: function _Enum() {
  8037. },
  8038. Error: function Error() {
  8039. },
  8040. AssertionError: function AssertionError(t0) {
  8041. this.message = t0;
  8042. },
  8043. TypeError: function TypeError() {
  8044. },
  8045. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  8046. var _ = this;
  8047. _._hasValue = t0;
  8048. _.invalidValue = t1;
  8049. _.name = t2;
  8050. _.message = t3;
  8051. },
  8052. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  8053. var _ = this;
  8054. _.start = t0;
  8055. _.end = t1;
  8056. _._hasValue = t2;
  8057. _.invalidValue = t3;
  8058. _.name = t4;
  8059. _.message = t5;
  8060. },
  8061. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  8062. var _ = this;
  8063. _.length = t0;
  8064. _._hasValue = t1;
  8065. _.invalidValue = t2;
  8066. _.name = t3;
  8067. _.message = t4;
  8068. },
  8069. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  8070. var _ = this;
  8071. _._core$_receiver = t0;
  8072. _._memberName = t1;
  8073. _._core$_arguments = t2;
  8074. _._namedArguments = t3;
  8075. },
  8076. UnsupportedError: function UnsupportedError(t0) {
  8077. this.message = t0;
  8078. },
  8079. UnimplementedError: function UnimplementedError(t0) {
  8080. this.message = t0;
  8081. },
  8082. StateError: function StateError(t0) {
  8083. this.message = t0;
  8084. },
  8085. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8086. this.modifiedObject = t0;
  8087. },
  8088. OutOfMemoryError: function OutOfMemoryError() {
  8089. },
  8090. StackOverflowError: function StackOverflowError() {
  8091. },
  8092. _Exception: function _Exception(t0) {
  8093. this.message = t0;
  8094. },
  8095. FormatException: function FormatException(t0, t1, t2) {
  8096. this.message = t0;
  8097. this.source = t1;
  8098. this.offset = t2;
  8099. },
  8100. Iterable: function Iterable() {
  8101. },
  8102. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8103. this.length = t0;
  8104. this._generator = t1;
  8105. this.$ti = t2;
  8106. },
  8107. MapEntry: function MapEntry(t0, t1, t2) {
  8108. this.key = t0;
  8109. this.value = t1;
  8110. this.$ti = t2;
  8111. },
  8112. Null: function Null() {
  8113. },
  8114. Object: function Object() {
  8115. },
  8116. _StringStackTrace: function _StringStackTrace(t0) {
  8117. this._stackTrace = t0;
  8118. },
  8119. Runes: function Runes(t0) {
  8120. this.string = t0;
  8121. },
  8122. RuneIterator: function RuneIterator(t0) {
  8123. var _ = this;
  8124. _.string = t0;
  8125. _._nextPosition = _._position = 0;
  8126. _._currentCodePoint = -1;
  8127. },
  8128. StringBuffer: function StringBuffer(t0) {
  8129. this._contents = t0;
  8130. },
  8131. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8132. this.host = t0;
  8133. },
  8134. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8135. var _ = this;
  8136. _.scheme = t0;
  8137. _._userInfo = t1;
  8138. _._host = t2;
  8139. _._port = t3;
  8140. _.path = t4;
  8141. _._query = t5;
  8142. _._fragment = t6;
  8143. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8144. },
  8145. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8146. },
  8147. UriData: function UriData(t0, t1, t2) {
  8148. this._text = t0;
  8149. this._separatorIndices = t1;
  8150. this._uriCache = t2;
  8151. },
  8152. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8153. var _ = this;
  8154. _._uri = t0;
  8155. _._schemeEnd = t1;
  8156. _._hostStart = t2;
  8157. _._portStart = t3;
  8158. _._pathStart = t4;
  8159. _._queryStart = t5;
  8160. _._fragmentStart = t6;
  8161. _._schemeCache = t7;
  8162. _._hashCodeCache = null;
  8163. },
  8164. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8165. var _ = this;
  8166. _.scheme = t0;
  8167. _._userInfo = t1;
  8168. _._host = t2;
  8169. _._port = t3;
  8170. _.path = t4;
  8171. _._query = t5;
  8172. _._fragment = t6;
  8173. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8174. },
  8175. Expando: function Expando(t0) {
  8176. this._jsWeakMap = t0;
  8177. },
  8178. NullRejectionException: function NullRejectionException(t0) {
  8179. this.isUndefined = t0;
  8180. },
  8181. _convertDartFunctionFast(f) {
  8182. var ret,
  8183. existing = f.$dart_jsFunction;
  8184. if (existing != null)
  8185. return existing;
  8186. ret = function(_call, f) {
  8187. return function() {
  8188. return _call(f, Array.prototype.slice.apply(arguments));
  8189. };
  8190. }(A._callDartFunctionFast, f);
  8191. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8192. f.$dart_jsFunction = ret;
  8193. return ret;
  8194. },
  8195. _convertDartFunctionFastCaptureThis(f) {
  8196. var ret,
  8197. existing = f._$dart_jsFunctionCaptureThis;
  8198. if (existing != null)
  8199. return existing;
  8200. ret = function(_call, f) {
  8201. return function() {
  8202. return _call(f, this, Array.prototype.slice.apply(arguments));
  8203. };
  8204. }(A._callDartFunctionFastCaptureThis, f);
  8205. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8206. f._$dart_jsFunctionCaptureThis = ret;
  8207. return ret;
  8208. },
  8209. _callDartFunctionFast(callback, $arguments) {
  8210. return A.Function_apply(callback, $arguments);
  8211. },
  8212. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8213. var t1 = [$self];
  8214. B.JSArray_methods.addAll$1(t1, $arguments);
  8215. return A.Function_apply(callback, t1);
  8216. },
  8217. allowInterop(f) {
  8218. if (typeof f == "function")
  8219. return f;
  8220. else
  8221. return A._convertDartFunctionFast(f);
  8222. },
  8223. allowInteropCaptureThis(f) {
  8224. if (typeof f == "function")
  8225. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8226. else
  8227. return A._convertDartFunctionFastCaptureThis(f);
  8228. },
  8229. _callDartFunctionFast2(callback, arg1, arg2, $length) {
  8230. if ($length >= 2)
  8231. return callback.call$2(arg1, arg2);
  8232. if ($length === 1)
  8233. return callback.call$1(arg1);
  8234. return callback.call$0();
  8235. },
  8236. _noJsifyRequired(o) {
  8237. return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o);
  8238. },
  8239. jsify(object) {
  8240. if (A._noJsifyRequired(object))
  8241. return object;
  8242. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8243. },
  8244. _callMethodUnchecked0(o, method) {
  8245. return o[method]();
  8246. },
  8247. callConstructor(constr, $arguments) {
  8248. var args, factoryFunction;
  8249. if ($arguments instanceof Array)
  8250. switch ($arguments.length) {
  8251. case 0:
  8252. return new constr();
  8253. case 1:
  8254. return new constr($arguments[0]);
  8255. case 2:
  8256. return new constr($arguments[0], $arguments[1]);
  8257. case 3:
  8258. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8259. case 4:
  8260. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8261. }
  8262. args = [null];
  8263. B.JSArray_methods.addAll$1(args, $arguments);
  8264. factoryFunction = constr.bind.apply(constr, args);
  8265. String(factoryFunction);
  8266. return new factoryFunction();
  8267. },
  8268. promiseToFuture(jsPromise, $T) {
  8269. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8270. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8271. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));
  8272. return t1;
  8273. },
  8274. jsify__convert: function jsify__convert(t0) {
  8275. this._convertedObjects = t0;
  8276. },
  8277. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8278. this.completer = t0;
  8279. },
  8280. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8281. this.completer = t0;
  8282. },
  8283. max(a, b) {
  8284. return Math.max(a, b);
  8285. },
  8286. pow(x, exponent) {
  8287. return Math.pow(x, exponent);
  8288. },
  8289. Random_Random() {
  8290. return B.C__JSRandom;
  8291. },
  8292. _JSRandom: function _JSRandom() {
  8293. },
  8294. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8295. var _ = this;
  8296. _._arg_parser$_options = t0;
  8297. _._aliases = t1;
  8298. _.options = t2;
  8299. _.commands = t3;
  8300. _._optionsAndSeparators = t4;
  8301. _.allowTrailingOptions = t5;
  8302. _.usageLineLength = t6;
  8303. },
  8304. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8305. this.$this = t0;
  8306. },
  8307. ArgParserException$(message, commands, argumentName, source, offset) {
  8308. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), argumentName, message, source, offset);
  8309. },
  8310. ArgParserException: function ArgParserException(t0, t1, t2, t3, t4) {
  8311. var _ = this;
  8312. _.commands = t0;
  8313. _.argumentName = t1;
  8314. _.message = t2;
  8315. _.source = t3;
  8316. _.offset = t4;
  8317. },
  8318. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8319. var _ = this;
  8320. _._parser = t0;
  8321. _._parsed = t1;
  8322. _.name = t2;
  8323. _.rest = t3;
  8324. },
  8325. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
  8326. var _ = this;
  8327. _.name = t0;
  8328. _.abbr = t1;
  8329. _.help = t2;
  8330. _.valueHelp = t3;
  8331. _.allowed = t4;
  8332. _.allowedHelp = t5;
  8333. _.defaultsTo = t6;
  8334. _.negatable = t7;
  8335. _.hideNegatedUsage = t8;
  8336. _.callback = t9;
  8337. _.type = t10;
  8338. _.splitCommas = t11;
  8339. _.mandatory = t12;
  8340. _.hide = t13;
  8341. },
  8342. OptionType: function OptionType(t0) {
  8343. this.name = t0;
  8344. },
  8345. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8346. var t1 = A._setArrayType([], type$.JSArray_String);
  8347. if (rest != null)
  8348. B.JSArray_methods.addAll$1(t1, rest);
  8349. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8350. },
  8351. _isLetterOrDigit(codeUnit) {
  8352. var t1 = true;
  8353. if (!(codeUnit >= 65 && codeUnit <= 90))
  8354. if (!(codeUnit >= 97 && codeUnit <= 122))
  8355. t1 = codeUnit >= 48 && codeUnit <= 57;
  8356. return t1;
  8357. },
  8358. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8359. var _ = this;
  8360. _._commandName = t0;
  8361. _._parser$_parent = t1;
  8362. _._grammar = t2;
  8363. _._args = t3;
  8364. _._parser$_rest = t4;
  8365. _._results = t5;
  8366. },
  8367. Parser_parse_closure: function Parser_parse_closure(t0) {
  8368. this.$this = t0;
  8369. },
  8370. Parser__setOption_closure: function Parser__setOption_closure() {
  8371. },
  8372. _Usage: function _Usage(t0, t1, t2) {
  8373. var _ = this;
  8374. _._usage$_optionsAndSeparators = t0;
  8375. _._usage$_buffer = t1;
  8376. _._currentColumn = 0;
  8377. _.___Usage__columnWidths_FI = $;
  8378. _._newlinesNeeded = 0;
  8379. _.lineLength = t2;
  8380. },
  8381. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8382. },
  8383. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8384. this.option = t0;
  8385. },
  8386. FutureGroup: function FutureGroup(t0, t1, t2) {
  8387. var _ = this;
  8388. _._future_group$_pending = 0;
  8389. _._future_group$_closed = false;
  8390. _._future_group$_completer = t0;
  8391. _._future_group$_values = t1;
  8392. _.$ti = t2;
  8393. },
  8394. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8395. this.$this = t0;
  8396. this.index = t1;
  8397. },
  8398. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8399. this.$this = t0;
  8400. },
  8401. ErrorResult: function ErrorResult(t0, t1) {
  8402. this.error = t0;
  8403. this.stackTrace = t1;
  8404. },
  8405. ValueResult: function ValueResult(t0, t1) {
  8406. this.value = t0;
  8407. this.$ti = t1;
  8408. },
  8409. StreamCompleter: function StreamCompleter(t0, t1) {
  8410. this._stream_completer$_stream = t0;
  8411. this.$ti = t1;
  8412. },
  8413. _CompleterStream: function _CompleterStream(t0) {
  8414. this._sourceStream = this._stream_completer$_controller = null;
  8415. this.$ti = t0;
  8416. },
  8417. StreamGroup: function StreamGroup(t0, t1, t2) {
  8418. var _ = this;
  8419. _.__StreamGroup__controller_A = $;
  8420. _._closed = false;
  8421. _._stream_group$_state = t0;
  8422. _._subscriptions = t1;
  8423. _.$ti = t2;
  8424. },
  8425. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8426. },
  8427. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8428. this.$this = t0;
  8429. this.stream = t1;
  8430. },
  8431. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8432. },
  8433. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8434. this.$this = t0;
  8435. },
  8436. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8437. this.$this = t0;
  8438. this.stream = t1;
  8439. },
  8440. _StreamGroupState: function _StreamGroupState(t0) {
  8441. this.name = t0;
  8442. },
  8443. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8444. var _ = this;
  8445. _._stream_queue$_source = t0;
  8446. _._stream_queue$_subscription = null;
  8447. _._isDone = false;
  8448. _._eventsReceived = 0;
  8449. _._eventQueue = t1;
  8450. _._requestQueue = t2;
  8451. _.$ti = t3;
  8452. },
  8453. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8454. this.$this = t0;
  8455. },
  8456. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8457. this.$this = t0;
  8458. },
  8459. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8460. this.$this = t0;
  8461. },
  8462. _NextRequest: function _NextRequest(t0, t1) {
  8463. this._completer = t0;
  8464. this.$ti = t1;
  8465. },
  8466. isNodeJs() {
  8467. var t1 = self.process;
  8468. if (t1 == null)
  8469. t1 = null;
  8470. else {
  8471. t1 = J.get$release$x(t1);
  8472. t1 = t1 == null ? null : J.get$name$x(t1);
  8473. }
  8474. return J.$eq$(t1, "node");
  8475. },
  8476. isBrowser() {
  8477. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8478. },
  8479. wrapJSExceptions(callback) {
  8480. var error, error0, error1, error2, t1, exception;
  8481. if (!$.$get$_isStrictMode())
  8482. return callback.call$0();
  8483. try {
  8484. t1 = callback.call$0();
  8485. return t1;
  8486. } catch (exception) {
  8487. t1 = A.unwrapException(exception);
  8488. if (typeof t1 == "string") {
  8489. error = t1;
  8490. throw A.wrapException(error);
  8491. } else if (A._isBool(t1)) {
  8492. error0 = t1;
  8493. throw A.wrapException(error0);
  8494. } else if (typeof t1 == "number") {
  8495. error1 = t1;
  8496. throw A.wrapException(error1);
  8497. } else {
  8498. error2 = t1;
  8499. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8500. throw A.wrapException(A._callMethodUnchecked0(error2, "toString"));
  8501. throw exception;
  8502. }
  8503. }
  8504. },
  8505. _isStrictMode_closure: function _isStrictMode_closure() {
  8506. },
  8507. Repl: function Repl(t0, t1, t2, t3) {
  8508. var _ = this;
  8509. _.prompt = t0;
  8510. _.continuation = t1;
  8511. _.validator = t2;
  8512. _.__Repl__adapter_A = $;
  8513. _.history = t3;
  8514. },
  8515. alwaysValid_closure: function alwaysValid_closure() {
  8516. },
  8517. ReplAdapter: function ReplAdapter(t0) {
  8518. this.repl = t0;
  8519. this.rl = null;
  8520. },
  8521. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8522. var _ = this;
  8523. _._box_0 = t0;
  8524. _.$this = t1;
  8525. _.rl = t2;
  8526. _.runController = t3;
  8527. },
  8528. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8529. this.lineController = t0;
  8530. },
  8531. Stdin: function Stdin() {
  8532. },
  8533. Stdout: function Stdout() {
  8534. },
  8535. ReadlineModule: function ReadlineModule() {
  8536. },
  8537. ReadlineOptions: function ReadlineOptions() {
  8538. },
  8539. ReadlineInterface: function ReadlineInterface() {
  8540. },
  8541. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8542. this.$ti = t0;
  8543. },
  8544. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8545. },
  8546. DefaultEquality: function DefaultEquality() {
  8547. },
  8548. IterableEquality: function IterableEquality() {
  8549. },
  8550. ListEquality: function ListEquality() {
  8551. },
  8552. _MapEntry: function _MapEntry(t0, t1, t2) {
  8553. this.equality = t0;
  8554. this.key = t1;
  8555. this.value = t2;
  8556. },
  8557. MapEquality: function MapEquality(t0) {
  8558. this.$ti = t0;
  8559. },
  8560. QueueList$(initialCapacity, $E) {
  8561. return new A.QueueList(A.List_List$filled(A.QueueList__computeInitialCapacity(initialCapacity), null, false, $E._eval$1("0?")), 0, 0, $E._eval$1("QueueList<0>"));
  8562. },
  8563. QueueList_QueueList$from(source, $E) {
  8564. var $length, queue, t1;
  8565. if (type$.List_dynamic._is(source)) {
  8566. $length = J.get$length$asx(source);
  8567. queue = A.QueueList$($length + 1, $E);
  8568. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8569. queue._queue_list$_tail = $length;
  8570. return queue;
  8571. } else {
  8572. t1 = A.QueueList$(null, $E);
  8573. t1.addAll$1(0, source);
  8574. return t1;
  8575. }
  8576. },
  8577. QueueList__computeInitialCapacity(initialCapacity) {
  8578. if (initialCapacity == null || initialCapacity < 8)
  8579. return 8;
  8580. ++initialCapacity;
  8581. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8582. return initialCapacity;
  8583. return A.QueueList__nextPowerOf2(initialCapacity);
  8584. },
  8585. QueueList__nextPowerOf2(number) {
  8586. var nextNumber;
  8587. number = (number << 1 >>> 0) - 1;
  8588. for (;; number = nextNumber) {
  8589. nextNumber = (number & number - 1) >>> 0;
  8590. if (nextNumber === 0)
  8591. return number;
  8592. }
  8593. },
  8594. QueueList: function QueueList(t0, t1, t2, t3) {
  8595. var _ = this;
  8596. _._queue_list$_table = t0;
  8597. _._queue_list$_head = t1;
  8598. _._queue_list$_tail = t2;
  8599. _.$ti = t3;
  8600. },
  8601. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8602. var _ = this;
  8603. _._queue_list$_delegate = t0;
  8604. _._queue_list$_table = t1;
  8605. _._queue_list$_head = t2;
  8606. _._queue_list$_tail = t3;
  8607. _.$ti = t4;
  8608. },
  8609. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8610. },
  8611. UnionSet: function UnionSet(t0, t1) {
  8612. this._sets = t0;
  8613. this.$ti = t1;
  8614. },
  8615. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8616. this.$this = t0;
  8617. },
  8618. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8619. this.$this = t0;
  8620. this.element = t1;
  8621. },
  8622. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8623. },
  8624. UnmodifiableSetMixin__throw() {
  8625. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8626. },
  8627. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8628. this._base = t0;
  8629. this.$ti = t1;
  8630. },
  8631. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8632. },
  8633. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8634. },
  8635. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8636. },
  8637. DelegatingSet: function DelegatingSet(t0, t1) {
  8638. this._base = t0;
  8639. this.$ti = t1;
  8640. },
  8641. MapKeySet: function MapKeySet(t0, t1) {
  8642. this._baseMap = t0;
  8643. this.$ti = t1;
  8644. },
  8645. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8646. this.$this = t0;
  8647. this.other = t1;
  8648. },
  8649. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8650. },
  8651. BufferModule: function BufferModule() {
  8652. },
  8653. BufferConstants: function BufferConstants() {
  8654. },
  8655. Buffer: function Buffer() {
  8656. },
  8657. ConsoleModule: function ConsoleModule() {
  8658. },
  8659. Console: function Console() {
  8660. },
  8661. EventEmitter: function EventEmitter() {
  8662. },
  8663. fs() {
  8664. var t1 = $._fs;
  8665. return t1 == null ? $._fs = self.fs : t1;
  8666. },
  8667. FS: function FS() {
  8668. },
  8669. FSConstants: function FSConstants() {
  8670. },
  8671. Realpath: function Realpath() {
  8672. },
  8673. RealpathSync: function RealpathSync() {
  8674. },
  8675. FSWatcher: function FSWatcher() {
  8676. },
  8677. ReadStream: function ReadStream() {
  8678. },
  8679. ReadStreamOptions: function ReadStreamOptions() {
  8680. },
  8681. WriteStream: function WriteStream() {
  8682. },
  8683. WriteStreamOptions: function WriteStreamOptions() {
  8684. },
  8685. FileOptions: function FileOptions() {
  8686. },
  8687. StatOptions: function StatOptions() {
  8688. },
  8689. MkdirOptions: function MkdirOptions() {
  8690. },
  8691. RmdirOptions: function RmdirOptions() {
  8692. },
  8693. WatchOptions: function WatchOptions() {
  8694. },
  8695. WatchFileOptions: function WatchFileOptions() {
  8696. },
  8697. Stats: function Stats() {
  8698. },
  8699. Promise: function Promise() {
  8700. },
  8701. Date: function Date() {
  8702. },
  8703. JsError: function JsError() {
  8704. },
  8705. Atomics: function Atomics() {
  8706. },
  8707. Modules: function Modules() {
  8708. },
  8709. Module: function Module() {
  8710. },
  8711. Net: function Net() {
  8712. },
  8713. Socket: function Socket() {
  8714. },
  8715. NetAddress: function NetAddress() {
  8716. },
  8717. NetServer: function NetServer() {
  8718. },
  8719. NodeJsError: function NodeJsError() {
  8720. },
  8721. JsAssertionError: function JsAssertionError() {
  8722. },
  8723. JsRangeError: function JsRangeError() {
  8724. },
  8725. JsReferenceError: function JsReferenceError() {
  8726. },
  8727. JsSyntaxError: function JsSyntaxError() {
  8728. },
  8729. JsTypeError: function JsTypeError() {
  8730. },
  8731. JsSystemError: function JsSystemError() {
  8732. },
  8733. Process: function Process() {
  8734. },
  8735. CPUUsage: function CPUUsage() {
  8736. },
  8737. Release: function Release() {
  8738. },
  8739. StreamModule: function StreamModule() {
  8740. },
  8741. Readable: function Readable() {
  8742. },
  8743. Writable: function Writable() {
  8744. },
  8745. Duplex: function Duplex() {
  8746. },
  8747. Transform: function Transform() {
  8748. },
  8749. WritableOptions: function WritableOptions() {
  8750. },
  8751. ReadableOptions: function ReadableOptions() {
  8752. },
  8753. Immediate: function Immediate() {
  8754. },
  8755. Timeout: function Timeout() {
  8756. },
  8757. TTY: function TTY() {
  8758. },
  8759. TTYReadStream: function TTYReadStream() {
  8760. },
  8761. TTYWriteStream: function TTYWriteStream() {
  8762. },
  8763. jsify0(dartObject) {
  8764. if (A._isBasicType(dartObject))
  8765. return dartObject;
  8766. return A.jsify(dartObject);
  8767. },
  8768. _isBasicType(value) {
  8769. return false;
  8770. },
  8771. promiseToFuture0(promise, $T) {
  8772. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8773. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8774. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure1(completer)), A.allowInterop(new A.promiseToFuture_closure2(completer)));
  8775. return t1;
  8776. },
  8777. futureToPromise(future, $T) {
  8778. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8779. },
  8780. Util: function Util() {
  8781. },
  8782. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8783. this.completer = t0;
  8784. },
  8785. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8786. this.completer = t0;
  8787. },
  8788. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8789. this.future = t0;
  8790. this.T = t1;
  8791. },
  8792. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8793. this.resolve = t0;
  8794. this.T = t1;
  8795. },
  8796. Context_Context(style) {
  8797. return new A.Context(style, ".");
  8798. },
  8799. _parseUri(uri) {
  8800. if (typeof uri == "string")
  8801. return A.Uri_parse(uri);
  8802. if (type$.Uri._is(uri))
  8803. return uri;
  8804. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8805. },
  8806. _validateArgList(method, args) {
  8807. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8808. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8809. if (args[i] == null || args[i - 1] != null)
  8810. continue;
  8811. for (; numArgs >= 1; numArgs = numArgs0) {
  8812. numArgs0 = numArgs - 1;
  8813. if (args[numArgs0] != null)
  8814. break;
  8815. }
  8816. message = new A.StringBuffer("");
  8817. t1 = method + "(";
  8818. message._contents = t1;
  8819. t2 = A._arrayInstanceType(args);
  8820. t3 = t2._eval$1("SubListIterable<1>");
  8821. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8822. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8823. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8824. message._contents = t3;
  8825. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8826. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8827. }
  8828. },
  8829. Context: function Context(t0, t1) {
  8830. this.style = t0;
  8831. this._context$_current = t1;
  8832. },
  8833. Context_joinAll_closure: function Context_joinAll_closure() {
  8834. },
  8835. Context_split_closure: function Context_split_closure() {
  8836. },
  8837. _validateArgList_closure: function _validateArgList_closure() {
  8838. },
  8839. _PathDirection: function _PathDirection(t0) {
  8840. this.name = t0;
  8841. },
  8842. _PathRelation: function _PathRelation(t0) {
  8843. this.name = t0;
  8844. },
  8845. InternalStyle: function InternalStyle() {
  8846. },
  8847. ParsedPath_ParsedPath$parse(path, style) {
  8848. var t1, parts, separators, start, i,
  8849. root = style.getRoot$1(path),
  8850. isRootRelative = style.isRootRelative$1(path);
  8851. if (root != null)
  8852. path = B.JSString_methods.substring$1(path, root.length);
  8853. t1 = type$.JSArray_String;
  8854. parts = A._setArrayType([], t1);
  8855. separators = A._setArrayType([], t1);
  8856. t1 = path.length;
  8857. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8858. separators.push(path[0]);
  8859. start = 1;
  8860. } else {
  8861. separators.push("");
  8862. start = 0;
  8863. }
  8864. for (i = start; i < t1; ++i)
  8865. if (style.isSeparator$1(path.charCodeAt(i))) {
  8866. parts.push(B.JSString_methods.substring$2(path, start, i));
  8867. separators.push(path[i]);
  8868. start = i + 1;
  8869. }
  8870. if (start < t1) {
  8871. parts.push(B.JSString_methods.substring$1(path, start));
  8872. separators.push("");
  8873. }
  8874. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8875. },
  8876. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8877. var _ = this;
  8878. _.style = t0;
  8879. _.root = t1;
  8880. _.isRootRelative = t2;
  8881. _.parts = t3;
  8882. _.separators = t4;
  8883. },
  8884. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8885. },
  8886. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8887. },
  8888. PathException$(message) {
  8889. return new A.PathException(message);
  8890. },
  8891. PathException: function PathException(t0) {
  8892. this.message = t0;
  8893. },
  8894. PathMap__create(context, $V) {
  8895. var t1 = {};
  8896. t1.context = context;
  8897. t1.context = $.$get$context();
  8898. return A.LinkedHashMap_LinkedHashMap(new A.PathMap__create_closure(t1), new A.PathMap__create_closure0(t1), new A.PathMap__create_closure1(), type$.nullable_String, $V);
  8899. },
  8900. PathMap: function PathMap(t0, t1) {
  8901. this._map = t0;
  8902. this.$ti = t1;
  8903. },
  8904. PathMap__create_closure: function PathMap__create_closure(t0) {
  8905. this._box_0 = t0;
  8906. },
  8907. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8908. this._box_0 = t0;
  8909. },
  8910. PathMap__create_closure1: function PathMap__create_closure1() {
  8911. },
  8912. Style__getPlatformStyle() {
  8913. if (A.Uri_base().get$scheme() !== "file")
  8914. return $.$get$Style_url();
  8915. var t1 = A.Uri_base();
  8916. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8917. return $.$get$Style_url();
  8918. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8919. return $.$get$Style_windows();
  8920. return $.$get$Style_posix();
  8921. },
  8922. Style: function Style() {
  8923. },
  8924. PosixStyle: function PosixStyle(t0, t1, t2) {
  8925. this.separatorPattern = t0;
  8926. this.needsSeparatorPattern = t1;
  8927. this.rootPattern = t2;
  8928. },
  8929. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8930. var _ = this;
  8931. _.separatorPattern = t0;
  8932. _.needsSeparatorPattern = t1;
  8933. _.rootPattern = t2;
  8934. _.relativeRootPattern = t3;
  8935. },
  8936. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8937. var _ = this;
  8938. _.separatorPattern = t0;
  8939. _.needsSeparatorPattern = t1;
  8940. _.rootPattern = t2;
  8941. _.relativeRootPattern = t3;
  8942. },
  8943. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8944. },
  8945. Version$_(major, minor, patch, preRelease, build, _text) {
  8946. var t1 = preRelease == null || preRelease.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8947. t2 = build == null || build.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8948. if (major < 0)
  8949. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8950. if (minor < 0)
  8951. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8952. if (patch < 0)
  8953. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8954. return new A.Version(major, minor, patch, t1, t2, _text);
  8955. },
  8956. Version_Version(major, minor, patch, pre) {
  8957. var text = "" + major + "." + minor + "." + patch;
  8958. if (pre != null)
  8959. text += "-" + pre;
  8960. return A.Version$_(major, minor, patch, pre, null, text);
  8961. },
  8962. Version___parse_tearOff(text) {
  8963. return A.Version_Version$parse(text);
  8964. },
  8965. Version_Version$parse(text) {
  8966. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8967. _s17_ = 'Could not parse "',
  8968. match = $.$get$completeVersion().firstMatch$1(text);
  8969. if (match == null)
  8970. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8971. try {
  8972. t1 = match._match[1];
  8973. t1.toString;
  8974. major = A.int_parse(t1, _null);
  8975. t1 = match._match[2];
  8976. t1.toString;
  8977. minor = A.int_parse(t1, _null);
  8978. t1 = match._match[3];
  8979. t1.toString;
  8980. patch = A.int_parse(t1, _null);
  8981. preRelease = match._match[5];
  8982. build = match._match[8];
  8983. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8984. return t1;
  8985. } catch (exception) {
  8986. if (type$.FormatException._is(A.unwrapException(exception)))
  8987. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8988. else
  8989. throw exception;
  8990. }
  8991. },
  8992. Version__splitParts(text) {
  8993. var t1 = type$.MappedListIterable_String_Object;
  8994. t1 = A.List_List$_of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), t1._eval$1("ListIterable.E"));
  8995. return t1;
  8996. },
  8997. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8998. var _ = this;
  8999. _.major = t0;
  9000. _.minor = t1;
  9001. _.patch = t2;
  9002. _.preRelease = t3;
  9003. _.build = t4;
  9004. _._version$_text = t5;
  9005. },
  9006. Version__splitParts_closure: function Version__splitParts_closure() {
  9007. },
  9008. VersionRange_VersionRange(includeMax, max) {
  9009. return new A.VersionRange(null, max, false, true);
  9010. },
  9011. VersionRange: function VersionRange(t0, t1, t2, t3) {
  9012. var _ = this;
  9013. _.min = t0;
  9014. _.max = t1;
  9015. _.includeMin = t2;
  9016. _.includeMax = t3;
  9017. },
  9018. CssMediaQuery$type(type, conditions, modifier) {
  9019. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  9020. },
  9021. CssMediaQuery$condition(conditions, conjunction) {
  9022. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  9023. if (t1.length > 1 && conjunction == null)
  9024. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  9025. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  9026. },
  9027. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  9028. var _ = this;
  9029. _.modifier = t0;
  9030. _.type = t1;
  9031. _.conjunction = t2;
  9032. _.conditions = t3;
  9033. },
  9034. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0, t1) {
  9035. this.index = t0;
  9036. this._name = t1;
  9037. },
  9038. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  9039. this.query = t0;
  9040. },
  9041. ModifiableCssAtRule$($name, span, childless, value) {
  9042. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9043. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9044. },
  9045. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  9046. var _ = this;
  9047. _.name = t0;
  9048. _.value = t1;
  9049. _.isChildless = t2;
  9050. _.span = t3;
  9051. _.children = t4;
  9052. _._children = t5;
  9053. _._indexInParent = _._parent = null;
  9054. _.isGroupEnd = false;
  9055. },
  9056. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  9057. var _ = this;
  9058. _.text = t0;
  9059. _.span = t1;
  9060. _._indexInParent = _._parent = null;
  9061. _.isGroupEnd = false;
  9062. },
  9063. ModifiableCssDeclaration$($name, value, span, parsedAsSassScript, valueSpanForMap) {
  9064. var t2,
  9065. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  9066. if (!parsedAsSassScript) {
  9067. t2 = value.value;
  9068. if (!(t2 instanceof A.SassString))
  9069. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  9070. }
  9071. return new A.ModifiableCssDeclaration($name, value, parsedAsSassScript, t1, span);
  9072. },
  9073. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  9074. var _ = this;
  9075. _.name = t0;
  9076. _.value = t1;
  9077. _.parsedAsSassScript = t2;
  9078. _.valueSpanForMap = t3;
  9079. _.span = t4;
  9080. _._indexInParent = _._parent = null;
  9081. _.isGroupEnd = false;
  9082. },
  9083. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9084. var _ = this;
  9085. _.url = t0;
  9086. _.modifiers = t1;
  9087. _.span = t2;
  9088. _._indexInParent = _._parent = null;
  9089. _.isGroupEnd = false;
  9090. },
  9091. ModifiableCssKeyframeBlock$(selector, span) {
  9092. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9093. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9094. },
  9095. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9096. var _ = this;
  9097. _.selector = t0;
  9098. _.span = t1;
  9099. _.children = t2;
  9100. _._children = t3;
  9101. _._indexInParent = _._parent = null;
  9102. _.isGroupEnd = false;
  9103. },
  9104. ModifiableCssMediaRule$(queries, span) {
  9105. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9106. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9107. if (J.get$isEmpty$asx(queries))
  9108. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9109. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9110. },
  9111. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9112. var _ = this;
  9113. _.queries = t0;
  9114. _.span = t1;
  9115. _.children = t2;
  9116. _._children = t3;
  9117. _._indexInParent = _._parent = null;
  9118. _.isGroupEnd = false;
  9119. },
  9120. ModifiableCssNode: function ModifiableCssNode() {
  9121. },
  9122. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9123. },
  9124. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9125. },
  9126. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  9127. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9128. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9129. },
  9130. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  9131. var _ = this;
  9132. _._style_rule$_selector = t0;
  9133. _.originalSelector = t1;
  9134. _.span = t2;
  9135. _.fromPlainCss = t3;
  9136. _.children = t4;
  9137. _._children = t5;
  9138. _._indexInParent = _._parent = null;
  9139. _.isGroupEnd = false;
  9140. },
  9141. ModifiableCssStylesheet$(span) {
  9142. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9143. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9144. },
  9145. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9146. var _ = this;
  9147. _.span = t0;
  9148. _.children = t1;
  9149. _._children = t2;
  9150. _._indexInParent = _._parent = null;
  9151. _.isGroupEnd = false;
  9152. },
  9153. ModifiableCssSupportsRule$(condition, span) {
  9154. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9155. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9156. },
  9157. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9158. var _ = this;
  9159. _.condition = t0;
  9160. _.span = t1;
  9161. _.children = t2;
  9162. _._children = t3;
  9163. _._indexInParent = _._parent = null;
  9164. _.isGroupEnd = false;
  9165. },
  9166. CssNode: function CssNode() {
  9167. },
  9168. CssParentNode: function CssParentNode() {
  9169. },
  9170. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9171. this.includeBogus = t0;
  9172. this.includeComments = t1;
  9173. },
  9174. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9175. },
  9176. CssStylesheet: function CssStylesheet(t0, t1) {
  9177. this.children = t0;
  9178. this.span = t1;
  9179. },
  9180. CssValue: function CssValue(t0, t1, t2) {
  9181. this.value = t0;
  9182. this.span = t1;
  9183. this.$ti = t2;
  9184. },
  9185. _FakeAstNode: function _FakeAstNode(t0) {
  9186. this._callback = t0;
  9187. },
  9188. ArgumentList$empty(span) {
  9189. return new A.ArgumentList(B.List_empty9, B.Map_empty4, null, null, span);
  9190. },
  9191. ArgumentList: function ArgumentList(t0, t1, t2, t3, t4) {
  9192. var _ = this;
  9193. _.positional = t0;
  9194. _.named = t1;
  9195. _.rest = t2;
  9196. _.keywordRest = t3;
  9197. _.span = t4;
  9198. },
  9199. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9200. var _ = this;
  9201. _.include = t0;
  9202. _.names = t1;
  9203. _._all = t2;
  9204. _._at_root_query$_rule = t3;
  9205. },
  9206. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9207. var _ = this;
  9208. _.name = t0;
  9209. _.expression = t1;
  9210. _.isGuarded = t2;
  9211. _.span = t3;
  9212. },
  9213. Expression: function Expression() {
  9214. },
  9215. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9216. var _ = this;
  9217. _.operator = t0;
  9218. _.left = t1;
  9219. _.right = t2;
  9220. _.allowsSlash = t3;
  9221. },
  9222. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4, t5) {
  9223. var _ = this;
  9224. _.name = t0;
  9225. _.operator = t1;
  9226. _.precedence = t2;
  9227. _.isAssociative = t3;
  9228. _.index = t4;
  9229. _._name = t5;
  9230. },
  9231. BooleanExpression: function BooleanExpression(t0, t1) {
  9232. this.value = t0;
  9233. this.span = t1;
  9234. },
  9235. ColorExpression: function ColorExpression(t0, t1) {
  9236. this.value = t0;
  9237. this.span = t1;
  9238. },
  9239. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9240. var _ = this;
  9241. _.namespace = t0;
  9242. _.name = t1;
  9243. _.originalName = t2;
  9244. _.$arguments = t3;
  9245. _.span = t4;
  9246. },
  9247. IfExpression: function IfExpression(t0, t1) {
  9248. this.$arguments = t0;
  9249. this.span = t1;
  9250. },
  9251. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9252. this.name = t0;
  9253. this.$arguments = t1;
  9254. this.span = t2;
  9255. },
  9256. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9257. var _ = this;
  9258. _.contents = t0;
  9259. _.separator = t1;
  9260. _.hasBrackets = t2;
  9261. _.span = t3;
  9262. },
  9263. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9264. this.$this = t0;
  9265. },
  9266. MapExpression: function MapExpression(t0, t1) {
  9267. this.pairs = t0;
  9268. this.span = t1;
  9269. },
  9270. NullExpression: function NullExpression(t0) {
  9271. this.span = t0;
  9272. },
  9273. NumberExpression: function NumberExpression(t0, t1, t2) {
  9274. this.value = t0;
  9275. this.unit = t1;
  9276. this.span = t2;
  9277. },
  9278. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9279. this.expression = t0;
  9280. this.span = t1;
  9281. },
  9282. SelectorExpression: function SelectorExpression(t0) {
  9283. this.span = t0;
  9284. },
  9285. StringExpression_quoteText(text) {
  9286. var quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9287. buffer = new A.StringBuffer(""),
  9288. t1 = A.Primitives_stringFromCharCode(quote);
  9289. buffer._contents = t1;
  9290. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9291. t1 = buffer._contents += t1;
  9292. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9293. },
  9294. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9295. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  9296. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9297. _1_0 = text.charCodeAt(i);
  9298. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9299. buffer.writeCharCode$1(92);
  9300. buffer.writeCharCode$1(97);
  9301. if (i !== t2) {
  9302. _0_0 = text.charCodeAt(i + 1);
  9303. t3 = true;
  9304. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9305. if (!(_0_0 >= 48 && _0_0 <= 57))
  9306. if (!(_0_0 >= 97 && _0_0 <= 102))
  9307. t3 = _0_0 >= 65 && _0_0 <= 70;
  9308. if (t3)
  9309. buffer.writeCharCode$1(32);
  9310. }
  9311. continue;
  9312. }
  9313. t3 = 92 === _1_0;
  9314. if (t3)
  9315. t4 = _1_0;
  9316. else
  9317. t4 = null;
  9318. if (!t3) {
  9319. t3 = false;
  9320. t5 = _1_0 === quote;
  9321. if (t5)
  9322. t4 = _1_0;
  9323. if (!t5)
  9324. if (35 === _1_0)
  9325. if ($static)
  9326. if (i < t2) {
  9327. t3 = text.charCodeAt(i + 1) === 123;
  9328. if (t3)
  9329. t4 = _1_0;
  9330. t0 = t4;
  9331. t4 = t3;
  9332. t3 = t0;
  9333. } else {
  9334. t0 = t4;
  9335. t4 = t3;
  9336. t3 = t0;
  9337. }
  9338. else {
  9339. t0 = t4;
  9340. t4 = t3;
  9341. t3 = t0;
  9342. }
  9343. else {
  9344. t0 = t4;
  9345. t4 = t3;
  9346. t3 = t0;
  9347. }
  9348. else {
  9349. t3 = t4;
  9350. t4 = true;
  9351. }
  9352. } else {
  9353. t3 = t4;
  9354. t4 = true;
  9355. }
  9356. if (t4) {
  9357. buffer.writeCharCode$1(92);
  9358. buffer.writeCharCode$1(t3);
  9359. continue;
  9360. }
  9361. buffer.writeCharCode$1(_1_0);
  9362. }
  9363. },
  9364. StringExpression__bestQuote(strings) {
  9365. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9366. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  9367. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9368. t5 = t4.__internal$_current;
  9369. if (t5 == null)
  9370. t5 = t2._as(t5);
  9371. if (t5 === 39)
  9372. return 34;
  9373. if (t5 === 34)
  9374. containsDoubleQuote = true;
  9375. }
  9376. return containsDoubleQuote ? 39 : 34;
  9377. },
  9378. StringExpression: function StringExpression(t0, t1) {
  9379. this.text = t0;
  9380. this.hasQuotes = t1;
  9381. },
  9382. SupportsExpression: function SupportsExpression(t0) {
  9383. this.condition = t0;
  9384. },
  9385. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9386. this.operator = t0;
  9387. this.operand = t1;
  9388. this.span = t2;
  9389. },
  9390. UnaryOperator: function UnaryOperator(t0, t1, t2, t3) {
  9391. var _ = this;
  9392. _.name = t0;
  9393. _.operator = t1;
  9394. _.index = t2;
  9395. _._name = t3;
  9396. },
  9397. ValueExpression: function ValueExpression(t0, t1) {
  9398. this.value = t0;
  9399. this.span = t1;
  9400. },
  9401. VariableExpression: function VariableExpression(t0, t1, t2) {
  9402. this.namespace = t0;
  9403. this.name = t1;
  9404. this.span = t2;
  9405. },
  9406. DynamicImport: function DynamicImport(t0, t1) {
  9407. this.urlString = t0;
  9408. this.span = t1;
  9409. },
  9410. StaticImport: function StaticImport(t0, t1, t2) {
  9411. this.url = t0;
  9412. this.modifiers = t1;
  9413. this.span = t2;
  9414. },
  9415. Interpolation$(contents, spans, span) {
  9416. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  9417. t1.Interpolation$3(contents, spans, span);
  9418. return t1;
  9419. },
  9420. Interpolation: function Interpolation(t0, t1, t2) {
  9421. this.contents = t0;
  9422. this.spans = t1;
  9423. this.span = t2;
  9424. },
  9425. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9426. },
  9427. Parameter: function Parameter(t0, t1, t2) {
  9428. this.name = t0;
  9429. this.defaultValue = t1;
  9430. this.span = t2;
  9431. },
  9432. ParameterList_ParameterList$parse(contents, url) {
  9433. return A.ScssParser$(contents, false, url).parseParameterList$0();
  9434. },
  9435. ParameterList: function ParameterList(t0, t1, t2) {
  9436. this.parameters = t0;
  9437. this.restParameter = t1;
  9438. this.span = t2;
  9439. },
  9440. ParameterList_verify_closure: function ParameterList_verify_closure() {
  9441. },
  9442. ParameterList_verify_closure0: function ParameterList_verify_closure0() {
  9443. },
  9444. Statement: function Statement() {
  9445. },
  9446. AtRootRule$(children, span, query) {
  9447. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9448. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9449. return new A.AtRootRule(query, span, t1, t2);
  9450. },
  9451. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9452. var _ = this;
  9453. _.query = t0;
  9454. _.span = t1;
  9455. _.children = t2;
  9456. _.hasDeclarations = t3;
  9457. },
  9458. AtRule$($name, span, children, value) {
  9459. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9460. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9461. return new A.AtRule($name, value, span, t1, t2 === true);
  9462. },
  9463. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9464. var _ = this;
  9465. _.name = t0;
  9466. _.value = t1;
  9467. _.span = t2;
  9468. _.children = t3;
  9469. _.hasDeclarations = t4;
  9470. },
  9471. CallableDeclaration: function CallableDeclaration() {
  9472. },
  9473. ContentBlock$(parameters, children, span) {
  9474. var _s8_ = "@content",
  9475. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9476. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9477. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9478. return new A.ContentBlock(t1, _s8_, parameters, span, t2, t3);
  9479. },
  9480. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9481. var _ = this;
  9482. _.name = t0;
  9483. _.originalName = t1;
  9484. _.parameters = t2;
  9485. _.span = t3;
  9486. _.children = t4;
  9487. _.hasDeclarations = t5;
  9488. },
  9489. ContentRule: function ContentRule(t0, t1) {
  9490. this.$arguments = t0;
  9491. this.span = t1;
  9492. },
  9493. DebugRule: function DebugRule(t0, t1) {
  9494. this.expression = t0;
  9495. this.span = t1;
  9496. },
  9497. Declaration$($name, value, span) {
  9498. return new A.Declaration($name, value, span, true, null, false);
  9499. },
  9500. Declaration$notSassScript($name, value, span) {
  9501. return new A.Declaration($name, value, span, false, null, false);
  9502. },
  9503. Declaration$nested($name, children, span, value) {
  9504. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9505. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9506. return new A.Declaration($name, value, span, true, t1, t2);
  9507. },
  9508. Declaration: function Declaration(t0, t1, t2, t3, t4, t5) {
  9509. var _ = this;
  9510. _.name = t0;
  9511. _.value = t1;
  9512. _.span = t2;
  9513. _.parsedAsSassScript = t3;
  9514. _.children = t4;
  9515. _.hasDeclarations = t5;
  9516. },
  9517. EachRule$(variables, list, children, span) {
  9518. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9519. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9520. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9521. return new A.EachRule(t1, list, span, t2, t3);
  9522. },
  9523. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9524. var _ = this;
  9525. _.variables = t0;
  9526. _.list = t1;
  9527. _.span = t2;
  9528. _.children = t3;
  9529. _.hasDeclarations = t4;
  9530. },
  9531. EachRule_toString_closure: function EachRule_toString_closure() {
  9532. },
  9533. ErrorRule: function ErrorRule(t0, t1) {
  9534. this.expression = t0;
  9535. this.span = t1;
  9536. },
  9537. ExtendRule: function ExtendRule(t0, t1, t2) {
  9538. this.selector = t0;
  9539. this.isOptional = t1;
  9540. this.span = t2;
  9541. },
  9542. ForRule$(variable, from, to, children, span, exclusive) {
  9543. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9544. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9545. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9546. },
  9547. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9548. var _ = this;
  9549. _.variable = t0;
  9550. _.from = t1;
  9551. _.to = t2;
  9552. _.isExclusive = t3;
  9553. _.span = t4;
  9554. _.children = t5;
  9555. _.hasDeclarations = t6;
  9556. },
  9557. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9558. var _ = this;
  9559. _.url = t0;
  9560. _.shownMixinsAndFunctions = t1;
  9561. _.shownVariables = t2;
  9562. _.hiddenMixinsAndFunctions = t3;
  9563. _.hiddenVariables = t4;
  9564. _.prefix = t5;
  9565. _.configuration = t6;
  9566. _.span = t7;
  9567. },
  9568. FunctionRule$($name, parameters, children, span, comment) {
  9569. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9570. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9571. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9572. return new A.FunctionRule(t1, $name, parameters, span, t2, t3);
  9573. },
  9574. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9575. var _ = this;
  9576. _.name = t0;
  9577. _.originalName = t1;
  9578. _.parameters = t2;
  9579. _.span = t3;
  9580. _.children = t4;
  9581. _.hasDeclarations = t5;
  9582. },
  9583. IfClause$(expression, children) {
  9584. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9585. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9586. },
  9587. ElseClause$(children) {
  9588. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9589. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9590. },
  9591. IfRule: function IfRule(t0, t1, t2) {
  9592. this.clauses = t0;
  9593. this.lastClause = t1;
  9594. this.span = t2;
  9595. },
  9596. IfRule_toString_closure: function IfRule_toString_closure() {
  9597. },
  9598. IfRuleClause: function IfRuleClause() {
  9599. },
  9600. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9601. },
  9602. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9603. },
  9604. IfClause: function IfClause(t0, t1, t2) {
  9605. this.expression = t0;
  9606. this.children = t1;
  9607. this.hasDeclarations = t2;
  9608. },
  9609. ElseClause: function ElseClause(t0, t1) {
  9610. this.children = t0;
  9611. this.hasDeclarations = t1;
  9612. },
  9613. ImportRule: function ImportRule(t0, t1) {
  9614. this.imports = t0;
  9615. this.span = t1;
  9616. },
  9617. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9618. var _ = this;
  9619. _.namespace = t0;
  9620. _.name = t1;
  9621. _.originalName = t2;
  9622. _.$arguments = t3;
  9623. _.content = t4;
  9624. _.span = t5;
  9625. },
  9626. LoudComment: function LoudComment(t0) {
  9627. this.text = t0;
  9628. },
  9629. MediaRule$(query, children, span) {
  9630. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9631. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9632. return new A.MediaRule(query, span, t1, t2);
  9633. },
  9634. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9635. var _ = this;
  9636. _.query = t0;
  9637. _.span = t1;
  9638. _.children = t2;
  9639. _.hasDeclarations = t3;
  9640. },
  9641. MixinRule$($name, parameters, children, span, comment) {
  9642. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9643. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9644. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9645. return new A.MixinRule(t1, $name, parameters, span, t2, t3);
  9646. },
  9647. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9648. var _ = this;
  9649. _.__MixinRule_hasContent_FI = $;
  9650. _.name = t0;
  9651. _.originalName = t1;
  9652. _.parameters = t2;
  9653. _.span = t3;
  9654. _.children = t4;
  9655. _.hasDeclarations = t5;
  9656. },
  9657. _HasContentVisitor: function _HasContentVisitor() {
  9658. },
  9659. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9660. },
  9661. ParentStatement: function ParentStatement() {
  9662. },
  9663. ParentStatement_closure: function ParentStatement_closure() {
  9664. },
  9665. ParentStatement__closure: function ParentStatement__closure() {
  9666. },
  9667. ReturnRule: function ReturnRule(t0, t1) {
  9668. this.expression = t0;
  9669. this.span = t1;
  9670. },
  9671. SilentComment: function SilentComment(t0, t1) {
  9672. this.text = t0;
  9673. this.span = t1;
  9674. },
  9675. StyleRule$(selector, children, span) {
  9676. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9677. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9678. return new A.StyleRule(selector, null, span, t1, t2);
  9679. },
  9680. StyleRule: function StyleRule(t0, t1, t2, t3, t4) {
  9681. var _ = this;
  9682. _.selector = t0;
  9683. _.parsedSelector = t1;
  9684. _.span = t2;
  9685. _.children = t3;
  9686. _.hasDeclarations = t4;
  9687. },
  9688. Stylesheet$(children, span) {
  9689. var t1 = A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),
  9690. t2 = A._setArrayType([], type$.JSArray_UseRule),
  9691. t3 = A._setArrayType([], type$.JSArray_ForwardRule),
  9692. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9693. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9694. t2 = new A.Stylesheet(span, false, t2, t3, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), B.Map_empty6, t4, t5);
  9695. t2.Stylesheet$internal$5$globalVariables$plainCss(children, span, t1, null, false);
  9696. return t2;
  9697. },
  9698. Stylesheet$internal(children, span, parseTimeWarnings, globalVariables, plainCss) {
  9699. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9700. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9701. t3 = globalVariables == null ? B.Map_empty6 : A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  9702. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9703. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9704. t1 = new A.Stylesheet(span, plainCss, t1, t2, new A.UnmodifiableListView(parseTimeWarnings, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), t3, t4, t5);
  9705. t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
  9706. return t1;
  9707. },
  9708. Stylesheet_Stylesheet$parse(contents, syntax, url) {
  9709. var error, stackTrace, url0, t1, exception, t2,
  9710. parseSelectors = false;
  9711. try {
  9712. switch (syntax.index) {
  9713. case 1:
  9714. t1 = new A.SassParser(parseSelectors, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
  9715. return t1;
  9716. case 0:
  9717. t1 = A.ScssParser$(contents, parseSelectors, url).parse$0(0);
  9718. return t1;
  9719. case 2:
  9720. t1 = new A.CssParser(parseSelectors, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
  9721. return t1;
  9722. }
  9723. } catch (exception) {
  9724. t1 = A.unwrapException(exception);
  9725. if (t1 instanceof A.SassException) {
  9726. error = t1;
  9727. stackTrace = A.getTraceFromException(exception);
  9728. t1 = error;
  9729. t2 = J.getInterceptor$z(t1);
  9730. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9731. url0 = t1.get$sourceUrl(t1);
  9732. if (url0 == null || url0.toString$0(0) === "stdin")
  9733. throw exception;
  9734. t1 = type$.Uri;
  9735. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9736. } else
  9737. throw exception;
  9738. }
  9739. },
  9740. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5, t6, t7) {
  9741. var _ = this;
  9742. _.span = t0;
  9743. _.plainCss = t1;
  9744. _._uses = t2;
  9745. _._forwards = t3;
  9746. _.parseTimeWarnings = t4;
  9747. _.globalVariables = t5;
  9748. _.children = t6;
  9749. _.hasDeclarations = t7;
  9750. },
  9751. SupportsRule$(condition, children, span) {
  9752. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9753. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9754. return new A.SupportsRule(condition, span, t1, t2);
  9755. },
  9756. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9757. var _ = this;
  9758. _.condition = t0;
  9759. _.span = t1;
  9760. _.children = t2;
  9761. _.hasDeclarations = t3;
  9762. },
  9763. UseRule: function UseRule(t0, t1, t2, t3) {
  9764. var _ = this;
  9765. _.url = t0;
  9766. _.namespace = t1;
  9767. _.configuration = t2;
  9768. _.span = t3;
  9769. },
  9770. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9771. if (namespace != null && global)
  9772. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9773. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9774. },
  9775. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9776. var _ = this;
  9777. _.namespace = t0;
  9778. _.name = t1;
  9779. _.expression = t2;
  9780. _.isGuarded = t3;
  9781. _.isGlobal = t4;
  9782. _.span = t5;
  9783. },
  9784. WarnRule: function WarnRule(t0, t1) {
  9785. this.expression = t0;
  9786. this.span = t1;
  9787. },
  9788. WhileRule$(condition, children, span) {
  9789. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9790. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9791. return new A.WhileRule(condition, span, t1, t2);
  9792. },
  9793. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9794. var _ = this;
  9795. _.condition = t0;
  9796. _.span = t1;
  9797. _.children = t2;
  9798. _.hasDeclarations = t3;
  9799. },
  9800. SupportsAnything: function SupportsAnything(t0, t1) {
  9801. this.contents = t0;
  9802. this.span = t1;
  9803. },
  9804. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9805. this.name = t0;
  9806. this.value = t1;
  9807. this.span = t2;
  9808. },
  9809. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9810. this.name = t0;
  9811. this.$arguments = t1;
  9812. this.span = t2;
  9813. },
  9814. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9815. this.expression = t0;
  9816. this.span = t1;
  9817. },
  9818. SupportsNegation: function SupportsNegation(t0, t1) {
  9819. this.condition = t0;
  9820. this.span = t1;
  9821. },
  9822. SupportsOperation$(left, right, operator, span) {
  9823. var lowerOperator = operator.toLowerCase();
  9824. if (lowerOperator !== "and" && lowerOperator !== "or")
  9825. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9826. return new A.SupportsOperation(left, right, operator, span);
  9827. },
  9828. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9829. var _ = this;
  9830. _.left = t0;
  9831. _.right = t1;
  9832. _.operator = t2;
  9833. _.span = t3;
  9834. },
  9835. Selector: function Selector() {
  9836. },
  9837. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9838. this.includeBogus = t0;
  9839. },
  9840. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9841. this.includeLeadingCombinator = t0;
  9842. },
  9843. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9844. this.$this = t0;
  9845. },
  9846. _IsUselessVisitor: function _IsUselessVisitor() {
  9847. },
  9848. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9849. this.$this = t0;
  9850. },
  9851. _ContainsParentSelectorVisitor: function _ContainsParentSelectorVisitor() {
  9852. },
  9853. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor() {
  9854. },
  9855. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9856. },
  9857. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9858. },
  9859. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9860. },
  9861. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9862. var _ = this;
  9863. _.name = t0;
  9864. _.op = t1;
  9865. _.value = t2;
  9866. _.modifier = t3;
  9867. _.span = t4;
  9868. },
  9869. AttributeOperator: function AttributeOperator(t0, t1, t2) {
  9870. this._attribute$_text = t0;
  9871. this.index = t1;
  9872. this._name = t2;
  9873. },
  9874. ClassSelector: function ClassSelector(t0, t1) {
  9875. this.name = t0;
  9876. this.span = t1;
  9877. },
  9878. Combinator: function Combinator(t0, t1, t2) {
  9879. this._combinator$_text = t0;
  9880. this.index = t1;
  9881. this._name = t2;
  9882. },
  9883. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9884. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9885. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9886. if (t1.length === 0 && t2.length === 0)
  9887. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9888. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9889. },
  9890. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9891. var _ = this;
  9892. _.leadingCombinators = t0;
  9893. _.components = t1;
  9894. _.lineBreak = t2;
  9895. _.__ComplexSelector_specificity_FI = $;
  9896. _.span = t3;
  9897. },
  9898. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9899. },
  9900. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9901. this.selector = t0;
  9902. this.combinators = t1;
  9903. this.span = t2;
  9904. },
  9905. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9906. },
  9907. CompoundSelector$(components, span) {
  9908. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9909. if (t1.length === 0)
  9910. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9911. return new A.CompoundSelector(t1, span);
  9912. },
  9913. CompoundSelector: function CompoundSelector(t0, t1) {
  9914. var _ = this;
  9915. _.components = t0;
  9916. _.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
  9917. _.span = t1;
  9918. },
  9919. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9920. },
  9921. CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
  9922. },
  9923. IDSelector: function IDSelector(t0, t1) {
  9924. this.name = t0;
  9925. this.span = t1;
  9926. },
  9927. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9928. this.$this = t0;
  9929. },
  9930. SelectorList$(components, span) {
  9931. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9932. if (t1.length === 0)
  9933. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9934. return new A.SelectorList(t1, span);
  9935. },
  9936. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, plainCss) {
  9937. return new A.SelectorParser(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  9938. },
  9939. SelectorList: function SelectorList(t0, t1) {
  9940. this.components = t0;
  9941. this.span = t1;
  9942. },
  9943. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9944. },
  9945. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9946. var _ = this;
  9947. _.$this = t0;
  9948. _.preserveParentSelectors = t1;
  9949. _.implicitParent = t2;
  9950. _.parent = t3;
  9951. },
  9952. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9953. this.complex = t0;
  9954. },
  9955. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9956. this.complex = t0;
  9957. },
  9958. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9959. },
  9960. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9961. this.parent = t0;
  9962. },
  9963. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9964. this.parentSelector = t0;
  9965. this.resolvedSimples = t1;
  9966. this.component = t2;
  9967. },
  9968. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9969. this.combinators = t0;
  9970. },
  9971. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9972. },
  9973. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9974. },
  9975. ParentSelector: function ParentSelector(t0, t1) {
  9976. this.suffix = t0;
  9977. this.span = t1;
  9978. },
  9979. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9980. this.name = t0;
  9981. this.span = t1;
  9982. },
  9983. PseudoSelector$($name, span, argument, element, selector) {
  9984. var t1 = !element,
  9985. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9986. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9987. },
  9988. PseudoSelector__isFakePseudoElement($name) {
  9989. switch ($name.charCodeAt(0)) {
  9990. case 97:
  9991. case 65:
  9992. return A.equalsIgnoreCase($name, "after");
  9993. case 98:
  9994. case 66:
  9995. return A.equalsIgnoreCase($name, "before");
  9996. case 102:
  9997. case 70:
  9998. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9999. default:
  10000. return false;
  10001. }
  10002. },
  10003. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  10004. var _ = this;
  10005. _.name = t0;
  10006. _.normalizedName = t1;
  10007. _.isClass = t2;
  10008. _.isSyntacticClass = t3;
  10009. _.argument = t4;
  10010. _.selector = t5;
  10011. _.__PseudoSelector_specificity_FI = $;
  10012. _.span = t6;
  10013. },
  10014. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  10015. this.$this = t0;
  10016. },
  10017. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  10018. },
  10019. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  10020. },
  10021. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  10022. },
  10023. QualifiedName: function QualifiedName(t0, t1) {
  10024. this.name = t0;
  10025. this.namespace = t1;
  10026. },
  10027. SimpleSelector: function SimpleSelector() {
  10028. },
  10029. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  10030. this.$this = t0;
  10031. },
  10032. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  10033. this.$this = t0;
  10034. },
  10035. TypeSelector: function TypeSelector(t0, t1) {
  10036. this.name = t0;
  10037. this.span = t1;
  10038. },
  10039. UniversalSelector: function UniversalSelector(t0, t1) {
  10040. this.namespace = t0;
  10041. this.span = t1;
  10042. },
  10043. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10044. var $async$goto = 0,
  10045. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10046. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  10047. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10048. if ($async$errorCode === 1)
  10049. return A._asyncRethrow($async$result, $async$completer);
  10050. for (;;)
  10051. switch ($async$goto) {
  10052. case 0:
  10053. // Function start
  10054. t1 = type$.Deprecation;
  10055. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10056. t2.addAll$1(0, silenceDeprecations);
  10057. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10058. t3.addAll$1(0, fatalDeprecations);
  10059. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10060. t4.addAll$1(0, futureDeprecations);
  10061. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10062. logger.validate$0();
  10063. t1 = syntax === A.Syntax_forPath(path);
  10064. $async$goto = t1 ? 3 : 5;
  10065. break;
  10066. case 3:
  10067. // then
  10068. t1 = $.$get$FilesystemImporter_cwd();
  10069. t2 = A.isNodeJs() ? self.process : null;
  10070. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  10071. t2 = A.isNodeJs() ? self.process : null;
  10072. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  10073. } else
  10074. t2 = true;
  10075. if (t2) {
  10076. t2 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10077. t3 = $.$get$context();
  10078. t2 = A._realCasePath(t3.normalize$1(t2));
  10079. } else {
  10080. t2 = $.$get$context();
  10081. t3 = t2.canonicalize$1(0, path);
  10082. t0 = t3;
  10083. t3 = t2;
  10084. t2 = t0;
  10085. }
  10086. $async$goto = 6;
  10087. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10088. case 6:
  10089. // returning from await.
  10090. t3 = $async$result;
  10091. t3.toString;
  10092. stylesheet = t3;
  10093. // goto join
  10094. $async$goto = 4;
  10095. break;
  10096. case 5:
  10097. // else
  10098. t1 = A.readFile(path);
  10099. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
  10100. case 4:
  10101. // join
  10102. $async$goto = 7;
  10103. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10104. case 7:
  10105. // returning from await.
  10106. result = $async$result;
  10107. logger.summarize$1$js(false);
  10108. $async$returnValue = result;
  10109. // goto return
  10110. $async$goto = 1;
  10111. break;
  10112. case 1:
  10113. // return
  10114. return A._asyncReturn($async$returnValue, $async$completer);
  10115. }
  10116. });
  10117. return A._asyncStartSync($async$compileAsync, $async$completer);
  10118. },
  10119. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10120. var $async$goto = 0,
  10121. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10122. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  10123. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10124. if ($async$errorCode === 1)
  10125. return A._asyncRethrow($async$result, $async$completer);
  10126. for (;;)
  10127. switch ($async$goto) {
  10128. case 0:
  10129. // Function start
  10130. t1 = type$.Deprecation;
  10131. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10132. t2.addAll$1(0, silenceDeprecations);
  10133. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10134. t3.addAll$1(0, fatalDeprecations);
  10135. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10136. t4.addAll$1(0, futureDeprecations);
  10137. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10138. logger.validate$0();
  10139. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
  10140. t1 = stylesheet.span;
  10141. _0_0 = t1.get$sourceUrl(t1);
  10142. if (type$.Uri._is(_0_0))
  10143. t2 = "" === _0_0.get$scheme();
  10144. else
  10145. t2 = false;
  10146. if (t2)
  10147. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_r8S, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
  10148. $async$goto = 3;
  10149. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10150. case 3:
  10151. // returning from await.
  10152. result = $async$result;
  10153. logger.summarize$1$js(false);
  10154. $async$returnValue = result;
  10155. // goto return
  10156. $async$goto = 1;
  10157. break;
  10158. case 1:
  10159. // return
  10160. return A._asyncReturn($async$returnValue, $async$completer);
  10161. }
  10162. });
  10163. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10164. },
  10165. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10166. var $async$goto = 0,
  10167. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10168. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10169. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10170. if ($async$errorCode === 1)
  10171. return A._asyncRethrow($async$result, $async$completer);
  10172. for (;;)
  10173. switch ($async$goto) {
  10174. case 0:
  10175. // Function start
  10176. $async$temp1 = A;
  10177. $async$goto = 3;
  10178. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10179. case 3:
  10180. // returning from await.
  10181. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true);
  10182. resultSourceMap = serializeResult._1;
  10183. if (resultSourceMap != null)
  10184. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10185. $async$returnValue = new A.CompileResult(serializeResult);
  10186. // goto return
  10187. $async$goto = 1;
  10188. break;
  10189. case 1:
  10190. // return
  10191. return A._asyncReturn($async$returnValue, $async$completer);
  10192. }
  10193. });
  10194. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10195. },
  10196. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10197. this.stylesheet = t0;
  10198. this.importCache = t1;
  10199. },
  10200. AsyncEnvironment$() {
  10201. var t1 = type$.String,
  10202. t2 = type$.Module_AsyncCallable,
  10203. t3 = type$.AstNode,
  10204. t4 = type$.int,
  10205. t5 = type$.AsyncCallable,
  10206. t6 = type$.JSArray_Map_String_AsyncCallable;
  10207. return new A.AsyncEnvironment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  10208. },
  10209. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  10210. var t1 = type$.String,
  10211. t2 = type$.int;
  10212. return new A.AsyncEnvironment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content, _configurableVariables);
  10213. },
  10214. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10215. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10216. if (forwarded == null)
  10217. forwarded = B.Set_empty3;
  10218. t1 = type$.dynamic;
  10219. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10220. for (t2 = type$.Module_AsyncCallable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10221. t6 = t4.get$current(t4);
  10222. module = t6._0;
  10223. result = A.List_List$from(t6._1, false, t5);
  10224. result.$flags = 3;
  10225. t1.$indexSet(0, module, result);
  10226. }
  10227. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10228. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10229. t3 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure5(), type$.Map_String_Value), type$.Value);
  10230. t4 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure6(), type$.Map_String_AstNode), type$.AstNode);
  10231. t5 = type$.Map_String_AsyncCallable;
  10232. t6 = type$.AsyncCallable;
  10233. t7 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t5), t6);
  10234. t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t5), t6);
  10235. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  10236. return A._EnvironmentModule$_0(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
  10237. },
  10238. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10239. var modulesByVariable, t1, t2, t3, t4, t5;
  10240. if (forwarded.get$isEmpty(forwarded))
  10241. return B.Map_empty8;
  10242. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10243. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10244. t2 = t1.get$current(t1);
  10245. if (t2 instanceof A._EnvironmentModule0) {
  10246. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10247. t4 = t3.get$current(t3);
  10248. t5 = t4.get$variables();
  10249. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10250. }
  10251. t3 = B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables);
  10252. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10253. } else {
  10254. t3 = t2.get$variables();
  10255. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10256. }
  10257. }
  10258. return modulesByVariable;
  10259. },
  10260. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10261. var t1, t2, t3;
  10262. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10263. if (otherMaps.get$isEmpty(otherMaps))
  10264. return localMap;
  10265. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10266. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10267. t3 = t2.get$current(t2);
  10268. if (t3.get$isNotEmpty(t3))
  10269. t1.push(t3);
  10270. }
  10271. t1.push(localMap);
  10272. if (t1.length === 1)
  10273. return localMap;
  10274. return A.MergedMapView$(t1, type$.String, $V);
  10275. },
  10276. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10277. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10278. },
  10279. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  10280. var _ = this;
  10281. _._async_environment$_modules = t0;
  10282. _._async_environment$_namespaceNodes = t1;
  10283. _._async_environment$_globalModules = t2;
  10284. _._async_environment$_importedModules = t3;
  10285. _._async_environment$_forwardedModules = t4;
  10286. _._async_environment$_nestedForwardedModules = t5;
  10287. _._async_environment$_allModules = t6;
  10288. _._async_environment$_variables = t7;
  10289. _._async_environment$_variableNodes = t8;
  10290. _._async_environment$_variableIndices = t9;
  10291. _._async_environment$_functions = t10;
  10292. _._async_environment$_functionIndices = t11;
  10293. _._async_environment$_mixins = t12;
  10294. _._async_environment$_mixinIndices = t13;
  10295. _._async_environment$_content = t14;
  10296. _._async_environment$_configurableVariables = t15;
  10297. _._async_environment$_inMixin = false;
  10298. _._async_environment$_inSemiGlobalScope = true;
  10299. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10300. },
  10301. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10302. this.name = t0;
  10303. },
  10304. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10305. this.$this = t0;
  10306. this.name = t1;
  10307. },
  10308. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10309. this.name = t0;
  10310. },
  10311. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10312. this.$this = t0;
  10313. this.name = t1;
  10314. },
  10315. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10316. this.name = t0;
  10317. },
  10318. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10319. this.name = t0;
  10320. },
  10321. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10322. },
  10323. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10324. },
  10325. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10326. var _ = this;
  10327. _.upstream = t0;
  10328. _.variables = t1;
  10329. _.variableNodes = t2;
  10330. _.functions = t3;
  10331. _.mixins = t4;
  10332. _.extensionStore = t5;
  10333. _.css = t6;
  10334. _.preModuleComments = t7;
  10335. _.transitivelyContainsCss = t8;
  10336. _.transitivelyContainsExtensions = t9;
  10337. _._async_environment$_environment = t10;
  10338. _._async_environment$_modulesByVariable = t11;
  10339. },
  10340. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10341. },
  10342. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10343. },
  10344. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10345. },
  10346. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10347. },
  10348. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10349. },
  10350. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10351. },
  10352. _EnvironmentModule_couldHaveBeenConfigured_closure0: function _EnvironmentModule_couldHaveBeenConfigured_closure0(t0) {
  10353. this.variables = t0;
  10354. },
  10355. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10356. var t1, t2, t3, t4, _i, path, _null = null,
  10357. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10358. if (A.isBrowser()) {
  10359. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10360. B.JSArray_methods.addAll$1(t1, importers);
  10361. return t1;
  10362. }
  10363. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10364. B.JSArray_methods.addAll$1(t1, importers);
  10365. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10366. t3 = t2.get$current(t2);
  10367. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10368. }
  10369. if (sassPath != null) {
  10370. t2 = A.isNodeJs() ? self.process : _null;
  10371. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10372. t4 = t3.length;
  10373. _i = 0;
  10374. for (; _i < t4; ++_i) {
  10375. path = t3[_i];
  10376. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10377. }
  10378. }
  10379. return t1;
  10380. },
  10381. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10382. var _ = this;
  10383. _._async_import_cache$_importers = t0;
  10384. _._async_import_cache$_canonicalizeCache = t1;
  10385. _._async_import_cache$_perImporterCanonicalizeCache = t2;
  10386. _._async_import_cache$_nonCanonicalRelativeUrls = t3;
  10387. _._async_import_cache$_importCache = t4;
  10388. _._async_import_cache$_resultsCache = t5;
  10389. _._async_import_cache$_loadTimes = t6;
  10390. },
  10391. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10392. var _ = this;
  10393. _.$this = t0;
  10394. _.baseImporter = t1;
  10395. _.resolvedUrl = t2;
  10396. _.baseUrl = t3;
  10397. _.forImport = t4;
  10398. _.key = t5;
  10399. _.url = t6;
  10400. },
  10401. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10402. this.importer = t0;
  10403. this.url = t1;
  10404. },
  10405. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3) {
  10406. var _ = this;
  10407. _.$this = t0;
  10408. _.importer = t1;
  10409. _.canonicalUrl = t2;
  10410. _.originalUrl = t3;
  10411. },
  10412. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10413. this.canonicalUrl = t0;
  10414. },
  10415. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10416. },
  10417. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10418. },
  10419. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10420. this.canonicalUrl = t0;
  10421. },
  10422. AsyncBuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10423. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10424. },
  10425. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10426. var _ = this;
  10427. _.name = t0;
  10428. _._parameters = t1;
  10429. _._async_built_in$_callback = t2;
  10430. _.acceptsContent = t3;
  10431. },
  10432. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10433. this.callback = t0;
  10434. },
  10435. AsyncBuiltInCallable_withDeprecationWarning_closure: function AsyncBuiltInCallable_withDeprecationWarning_closure(t0, t1, t2) {
  10436. this.$this = t0;
  10437. this.module = t1;
  10438. this.newName = t2;
  10439. },
  10440. BuiltInCallable$function($name, parameters, callback, url) {
  10441. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@function " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value), false);
  10442. },
  10443. BuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10444. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), new A.BuiltInCallable$mixin_closure(callback))], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value), acceptsContent);
  10445. },
  10446. BuiltInCallable$overloadedFunction($name, overloads) {
  10447. var t2, t3, t4, t5, t6, t7, args, callback,
  10448. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  10449. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs(overloads, t2, type$.Value_Function_List_Value), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.FileSpan, t6 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span; t3.moveNext$0();) {
  10450. t7 = t3.get$current(t3);
  10451. args = t7._0;
  10452. callback = t7._1;
  10453. t1.push(new A._Record_2(new A.ScssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), A._setArrayType([], t6), A.SpanScanner$(t4 + args + ") {", null), null).parseParameterList$0(), callback));
  10454. }
  10455. return new A.BuiltInCallable($name, t1, false);
  10456. },
  10457. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10458. this.name = t0;
  10459. this._overloads = t1;
  10460. this.acceptsContent = t2;
  10461. },
  10462. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10463. this.callback = t0;
  10464. },
  10465. BuiltInCallable_withDeprecationWarning_closure: function BuiltInCallable_withDeprecationWarning_closure(t0, t1, t2, t3) {
  10466. var _ = this;
  10467. _._box_0 = t0;
  10468. _.$this = t1;
  10469. _.module = t2;
  10470. _.newName = t3;
  10471. },
  10472. PlainCssCallable: function PlainCssCallable(t0) {
  10473. this.name = t0;
  10474. },
  10475. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10476. var _ = this;
  10477. _.declaration = t0;
  10478. _.environment = t1;
  10479. _.inDependency = t2;
  10480. _.$ti = t3;
  10481. },
  10482. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10483. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet)._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true),
  10484. resultSourceMap = serializeResult._1;
  10485. if (resultSourceMap != null)
  10486. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10487. return new A.CompileResult(serializeResult);
  10488. },
  10489. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10490. this.stylesheet = t0;
  10491. this.importCache = t1;
  10492. },
  10493. CompileResult: function CompileResult(t0) {
  10494. this._serialize = t0;
  10495. },
  10496. Configuration: function Configuration(t0, t1) {
  10497. this._configuration$_values = t0;
  10498. this.__originalConfiguration = t1;
  10499. },
  10500. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10501. this.nodeWithSpan = t0;
  10502. this._configuration$_values = t1;
  10503. this.__originalConfiguration = t2;
  10504. },
  10505. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10506. this.value = t0;
  10507. this.configurationSpan = t1;
  10508. this.assignmentNode = t2;
  10509. },
  10510. Deprecation_fromId(id) {
  10511. return A.IterableExtension_firstWhereOrNull(B.List_1RF, new A.Deprecation_fromId_closure(id));
  10512. },
  10513. Deprecation_forVersion(version) {
  10514. var t2, _i, deprecation, $self, t3,
  10515. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10516. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 28; ++_i) {
  10517. deprecation = B.List_1RF[_i];
  10518. $self = deprecation._deprecatedIn;
  10519. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10520. t3 = t3 == null ? null : t2.call$1(t3);
  10521. if (t3 == null ? false : t3) {
  10522. $self = deprecation._obsoleteIn;
  10523. if ($self == null)
  10524. t3 = null;
  10525. else
  10526. t3 = A.Version___parse_tearOff($self);
  10527. t3 = t3 == null;
  10528. } else
  10529. t3 = false;
  10530. if (t3)
  10531. t1.add$1(0, deprecation);
  10532. }
  10533. return t1;
  10534. },
  10535. Deprecation: function Deprecation(t0, t1, t2, t3, t4) {
  10536. var _ = this;
  10537. _.id = t0;
  10538. _._deprecatedIn = t1;
  10539. _._obsoleteIn = t2;
  10540. _.index = t3;
  10541. _._name = t4;
  10542. },
  10543. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10544. this.id = t0;
  10545. },
  10546. Environment$() {
  10547. var t1 = type$.String,
  10548. t2 = type$.Module_Callable,
  10549. t3 = type$.AstNode,
  10550. t4 = type$.int,
  10551. t5 = type$.Callable,
  10552. t6 = type$.JSArray_Map_String_Callable;
  10553. return new A.Environment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  10554. },
  10555. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  10556. var t1 = type$.String,
  10557. t2 = type$.int;
  10558. return new A.Environment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content, _configurableVariables);
  10559. },
  10560. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10561. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10562. if (forwarded == null)
  10563. forwarded = B.Set_empty0;
  10564. t1 = type$.dynamic;
  10565. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10566. for (t2 = type$.Module_Callable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10567. t6 = t4.get$current(t4);
  10568. module = t6._0;
  10569. result = A.List_List$from(t6._1, false, t5);
  10570. result.$flags = 3;
  10571. t1.$indexSet(0, module, result);
  10572. }
  10573. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10574. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10575. t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
  10576. t4 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
  10577. t5 = type$.Map_String_Callable;
  10578. t6 = type$.Callable;
  10579. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10580. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10581. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  10582. return A._EnvironmentModule$_(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
  10583. },
  10584. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10585. var modulesByVariable, t1, t2, t3, t4, t5;
  10586. if (forwarded.get$isEmpty(forwarded))
  10587. return B.Map_empty0;
  10588. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10589. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10590. t2 = t1.get$current(t1);
  10591. if (t2 instanceof A._EnvironmentModule) {
  10592. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10593. t4 = t3.get$current(t3);
  10594. t5 = t4.get$variables();
  10595. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10596. }
  10597. t3 = B.JSArray_methods.get$first(t2._environment$_environment._variables);
  10598. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10599. } else {
  10600. t3 = t2.get$variables();
  10601. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10602. }
  10603. }
  10604. return modulesByVariable;
  10605. },
  10606. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10607. var t1, t2, t3;
  10608. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10609. if (otherMaps.get$isEmpty(otherMaps))
  10610. return localMap;
  10611. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10612. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10613. t3 = t2.get$current(t2);
  10614. if (t3.get$isNotEmpty(t3))
  10615. t1.push(t3);
  10616. }
  10617. t1.push(localMap);
  10618. if (t1.length === 1)
  10619. return localMap;
  10620. return A.MergedMapView$(t1, type$.String, $V);
  10621. },
  10622. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10623. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10624. },
  10625. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  10626. var _ = this;
  10627. _._environment$_modules = t0;
  10628. _._namespaceNodes = t1;
  10629. _._globalModules = t2;
  10630. _._importedModules = t3;
  10631. _._forwardedModules = t4;
  10632. _._nestedForwardedModules = t5;
  10633. _._allModules = t6;
  10634. _._variables = t7;
  10635. _._variableNodes = t8;
  10636. _._variableIndices = t9;
  10637. _._functions = t10;
  10638. _._functionIndices = t11;
  10639. _._mixins = t12;
  10640. _._mixinIndices = t13;
  10641. _._content = t14;
  10642. _._configurableVariables = t15;
  10643. _._inMixin = false;
  10644. _._inSemiGlobalScope = true;
  10645. _._lastVariableIndex = _._lastVariableName = null;
  10646. },
  10647. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10648. this.name = t0;
  10649. },
  10650. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10651. this.$this = t0;
  10652. this.name = t1;
  10653. },
  10654. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10655. this.name = t0;
  10656. },
  10657. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10658. this.$this = t0;
  10659. this.name = t1;
  10660. },
  10661. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10662. this.name = t0;
  10663. },
  10664. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10665. this.name = t0;
  10666. },
  10667. Environment_toModule_closure: function Environment_toModule_closure() {
  10668. },
  10669. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10670. },
  10671. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10672. var _ = this;
  10673. _.upstream = t0;
  10674. _.variables = t1;
  10675. _.variableNodes = t2;
  10676. _.functions = t3;
  10677. _.mixins = t4;
  10678. _.extensionStore = t5;
  10679. _.css = t6;
  10680. _.preModuleComments = t7;
  10681. _.transitivelyContainsCss = t8;
  10682. _.transitivelyContainsExtensions = t9;
  10683. _._environment$_environment = t10;
  10684. _._modulesByVariable = t11;
  10685. },
  10686. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10687. },
  10688. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10689. },
  10690. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10691. },
  10692. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10693. },
  10694. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10695. },
  10696. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10697. },
  10698. _EnvironmentModule_couldHaveBeenConfigured_closure: function _EnvironmentModule_couldHaveBeenConfigured_closure(t0) {
  10699. this.variables = t0;
  10700. },
  10701. SassException$(message, span, loadedUrls) {
  10702. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10703. },
  10704. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10705. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10706. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10707. },
  10708. SassRuntimeException$(message, span, trace, loadedUrls) {
  10709. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10710. },
  10711. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10712. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10713. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10714. },
  10715. SassFormatException$(message, span, loadedUrls) {
  10716. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10717. },
  10718. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10719. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10720. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10721. },
  10722. SassScriptException$(message, argumentName) {
  10723. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10724. },
  10725. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10726. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10727. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10728. },
  10729. SassException: function SassException(t0, t1, t2) {
  10730. this.loadedUrls = t0;
  10731. this._span_exception$_message = t1;
  10732. this._span = t2;
  10733. },
  10734. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10735. var _ = this;
  10736. _.primaryLabel = t0;
  10737. _.secondarySpans = t1;
  10738. _.loadedUrls = t2;
  10739. _._span_exception$_message = t3;
  10740. _._span = t4;
  10741. },
  10742. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10743. var _ = this;
  10744. _.trace = t0;
  10745. _.loadedUrls = t1;
  10746. _._span_exception$_message = t2;
  10747. _._span = t3;
  10748. },
  10749. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10750. var _ = this;
  10751. _.trace = t0;
  10752. _.primaryLabel = t1;
  10753. _.secondarySpans = t2;
  10754. _.loadedUrls = t3;
  10755. _._span_exception$_message = t4;
  10756. _._span = t5;
  10757. },
  10758. SassFormatException: function SassFormatException(t0, t1, t2) {
  10759. this.loadedUrls = t0;
  10760. this._span_exception$_message = t1;
  10761. this._span = t2;
  10762. },
  10763. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10764. var _ = this;
  10765. _.primaryLabel = t0;
  10766. _.secondarySpans = t1;
  10767. _.loadedUrls = t2;
  10768. _._span_exception$_message = t3;
  10769. _._span = t4;
  10770. },
  10771. SassScriptException: function SassScriptException(t0) {
  10772. this.message = t0;
  10773. },
  10774. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10775. this.primaryLabel = t0;
  10776. this.secondarySpans = t1;
  10777. this.message = t2;
  10778. },
  10779. compileStylesheet(options, graph, source, destination, ifModified) {
  10780. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10781. },
  10782. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10783. var $async$goto = 0,
  10784. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10785. $async$returnValue, $async$handler = 2, $async$errorStack = [], error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10786. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10787. if ($async$errorCode === 1) {
  10788. $async$errorStack.push($async$result);
  10789. $async$goto = $async$handler;
  10790. }
  10791. for (;;)
  10792. switch ($async$goto) {
  10793. case 0:
  10794. // Function start
  10795. $async$handler = 4;
  10796. $async$goto = 7;
  10797. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10798. case 7:
  10799. // returning from await.
  10800. $async$handler = 2;
  10801. // goto after finally
  10802. $async$goto = 6;
  10803. break;
  10804. case 4:
  10805. // catch
  10806. $async$handler = 3;
  10807. $async$exception = $async$errorStack.pop();
  10808. t1 = A.unwrapException($async$exception);
  10809. if (t1 instanceof A.SassException) {
  10810. error = t1;
  10811. stackTrace = A.getTraceFromException($async$exception);
  10812. if (destination != null && !options.get$emitErrorCss())
  10813. A._tryDelete(destination);
  10814. message = J.toString$1$color$(error, options.get$color());
  10815. if (A._asBool(options._options.$index(0, "trace"))) {
  10816. t1 = A.getTrace(error);
  10817. if (t1 == null)
  10818. t1 = stackTrace;
  10819. } else
  10820. t1 = null;
  10821. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10822. // goto return
  10823. $async$goto = 1;
  10824. break;
  10825. } else if (t1 instanceof A.FileSystemException) {
  10826. error0 = t1;
  10827. stackTrace0 = A.getTraceFromException($async$exception);
  10828. path = error0.path;
  10829. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10830. if (A._asBool(options._options.$index(0, "trace"))) {
  10831. t1 = A.getTrace(error0);
  10832. if (t1 == null)
  10833. t1 = stackTrace0;
  10834. } else
  10835. t1 = null;
  10836. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10837. // goto return
  10838. $async$goto = 1;
  10839. break;
  10840. } else
  10841. throw $async$exception;
  10842. // goto after finally
  10843. $async$goto = 6;
  10844. break;
  10845. case 3:
  10846. // uncaught
  10847. // goto rethrow
  10848. $async$goto = 2;
  10849. break;
  10850. case 6:
  10851. // after finally
  10852. $async$returnValue = null;
  10853. // goto return
  10854. $async$goto = 1;
  10855. break;
  10856. case 1:
  10857. // return
  10858. return A._asyncReturn($async$returnValue, $async$completer);
  10859. case 2:
  10860. // rethrow
  10861. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10862. }
  10863. });
  10864. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10865. },
  10866. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10867. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10868. },
  10869. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10870. var $async$goto = 0,
  10871. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10872. $async$returnValue, $async$handler = 2, $async$errorStack = [], syntax, result, importCache, error, t1, exception, t2, t3, t4, t5, t6, t7, t8, t9, t10, result0, t11, t12, t13, t14, logger, stylesheet, _0_0, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  10873. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10874. if ($async$errorCode === 1) {
  10875. $async$errorStack.push($async$result);
  10876. $async$goto = $async$handler;
  10877. }
  10878. for (;;)
  10879. switch ($async$goto) {
  10880. case 0:
  10881. // Function start
  10882. importer = $.$get$FilesystemImporter_cwd();
  10883. if (ifModified)
  10884. try {
  10885. t1 = false;
  10886. if (source != null)
  10887. if (destination != null) {
  10888. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10889. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10890. }
  10891. if (t1) {
  10892. // goto return
  10893. $async$goto = 1;
  10894. break;
  10895. }
  10896. } catch (exception) {
  10897. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10898. throw exception;
  10899. }
  10900. syntax = null;
  10901. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10902. syntax = B.Syntax_Sass_1_sass;
  10903. else if (source != null)
  10904. syntax = A.Syntax_forPath(source);
  10905. else
  10906. syntax = B.Syntax_SCSS_0_scss;
  10907. result = null;
  10908. $async$handler = 4;
  10909. t1 = options._options;
  10910. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10911. break;
  10912. case 7:
  10913. // then
  10914. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10915. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10916. t4 = type$.Uri;
  10917. importCache = new A.AsyncImportCache(A.AsyncImportCache__toImporters(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path")), null), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  10918. $async$goto = source == null ? 10 : 12;
  10919. break;
  10920. case 10:
  10921. // then
  10922. $async$goto = 13;
  10923. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10924. case 13:
  10925. // returning from await.
  10926. t2 = $async$result;
  10927. t3 = syntax;
  10928. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10929. t5 = $.$get$FilesystemImporter_cwd();
  10930. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10931. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10932. t8 = A._asBool(t1.$index(0, "verbose"));
  10933. t9 = options.get$emitSourceMap();
  10934. t1 = A._asBool(t1.$index(0, "charset"));
  10935. t10 = options.get$silenceDeprecations(0);
  10936. $async$goto = 14;
  10937. return A._asyncAwait(A.compileStringAsync(t2, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t5, t4, t7, t10, t9, t6, t3, t8), $async$_compileStylesheetWithoutErrorHandling);
  10938. case 14:
  10939. // returning from await.
  10940. result0 = $async$result;
  10941. // goto join
  10942. $async$goto = 11;
  10943. break;
  10944. case 12:
  10945. // else
  10946. t2 = syntax;
  10947. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10948. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10949. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10950. t6 = A._asBool(t1.$index(0, "verbose"));
  10951. t7 = options.get$emitSourceMap();
  10952. t1 = A._asBool(t1.$index(0, "charset"));
  10953. t8 = options.get$silenceDeprecations(0);
  10954. $async$goto = 15;
  10955. return A._asyncAwait(A.compileAsync(source, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t3, t5, t8, t7, t4, t2, t6), $async$_compileStylesheetWithoutErrorHandling);
  10956. case 15:
  10957. // returning from await.
  10958. result0 = $async$result;
  10959. case 11:
  10960. // join
  10961. result = result0;
  10962. // goto join
  10963. $async$goto = 8;
  10964. break;
  10965. case 9:
  10966. // else
  10967. graph.reloadAllModified$0();
  10968. $async$goto = source == null ? 16 : 18;
  10969. break;
  10970. case 16:
  10971. // then
  10972. $async$goto = 19;
  10973. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10974. case 19:
  10975. // returning from await.
  10976. t2 = $async$result;
  10977. t3 = syntax;
  10978. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10979. t5 = $.$get$FilesystemImporter_cwd();
  10980. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10981. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10982. t8 = A._asBool(t1.$index(0, "verbose"));
  10983. t9 = options.get$emitSourceMap();
  10984. t1 = A._asBool(t1.$index(0, "charset"));
  10985. t10 = options.get$silenceDeprecations(0);
  10986. t11 = options.get$fatalDeprecations(0);
  10987. t12 = options.get$futureDeprecations(0);
  10988. t13 = type$.Deprecation;
  10989. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10990. t14.addAll$1(0, t10);
  10991. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10992. t10.addAll$1(0, t11);
  10993. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10994. t11.addAll$1(0, t12);
  10995. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10996. logger.validate$0();
  10997. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_0_scss : t3, null);
  10998. t2 = stylesheet.span;
  10999. _0_0 = t2.get$sourceUrl(t2);
  11000. if (type$.Uri._is(_0_0))
  11001. t3 = "" === _0_0.get$scheme();
  11002. else
  11003. t3 = false;
  11004. if (t3)
  11005. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_r8S, "Passing a relative `url` argument (" + A.S(t2.get$sourceUrl(t2)) + string$.x29x20to_cm, null, null);
  11006. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  11007. logger.summarize$1$js(false);
  11008. // goto join
  11009. $async$goto = 17;
  11010. break;
  11011. case 18:
  11012. // else
  11013. t2 = syntax;
  11014. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  11015. importCache = graph.importCache;
  11016. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  11017. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  11018. t6 = A._asBool(t1.$index(0, "verbose"));
  11019. t7 = options.get$emitSourceMap();
  11020. t1 = A._asBool(t1.$index(0, "charset"));
  11021. t8 = options.get$silenceDeprecations(0);
  11022. t9 = options.get$fatalDeprecations(0);
  11023. t10 = options.get$futureDeprecations(0);
  11024. t11 = type$.Deprecation;
  11025. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11026. t12.addAll$1(0, t8);
  11027. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11028. t8.addAll$1(0, t9);
  11029. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11030. t9.addAll$1(0, t10);
  11031. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  11032. logger.validate$0();
  11033. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  11034. if (t3) {
  11035. t2 = $.$get$FilesystemImporter_cwd();
  11036. t3 = A.isNodeJs() ? self.process : null;
  11037. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  11038. t3 = A.isNodeJs() ? self.process : null;
  11039. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  11040. } else
  11041. t3 = true;
  11042. if (t3) {
  11043. t3 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  11044. t6 = $.$get$context();
  11045. t3 = A._realCasePath(t6.normalize$1(t3));
  11046. } else {
  11047. t3 = $.$get$context();
  11048. t6 = t3.canonicalize$1(0, source);
  11049. t0 = t6;
  11050. t6 = t3;
  11051. t3 = t0;
  11052. }
  11053. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  11054. t6.toString;
  11055. stylesheet = t6;
  11056. } else {
  11057. t3 = A.readFile(source);
  11058. if (t2 == null)
  11059. t2 = A.Syntax_forPath(source);
  11060. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
  11061. }
  11062. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  11063. logger.summarize$1$js(false);
  11064. case 17:
  11065. // join
  11066. result = result0;
  11067. case 8:
  11068. // join
  11069. $async$handler = 2;
  11070. // goto after finally
  11071. $async$goto = 6;
  11072. break;
  11073. case 4:
  11074. // catch
  11075. $async$handler = 3;
  11076. $async$exception = $async$errorStack.pop();
  11077. t1 = A.unwrapException($async$exception);
  11078. if (t1 instanceof A.SassException) {
  11079. error = t1;
  11080. if (options.get$emitErrorCss())
  11081. if (destination == null)
  11082. A.print(error.toCssString$0());
  11083. else {
  11084. A.ensureDir($.$get$context().dirname$1(destination));
  11085. A.writeFile(destination, error.toCssString$0() + "\n");
  11086. }
  11087. throw $async$exception;
  11088. } else
  11089. throw $async$exception;
  11090. // goto after finally
  11091. $async$goto = 6;
  11092. break;
  11093. case 3:
  11094. // uncaught
  11095. // goto rethrow
  11096. $async$goto = 2;
  11097. break;
  11098. case 6:
  11099. // after finally
  11100. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  11101. if (destination == null) {
  11102. if (css.length !== 0)
  11103. A.print(css);
  11104. } else {
  11105. A.ensureDir($.$get$context().dirname$1(destination));
  11106. A.writeFile(destination, css + "\n");
  11107. }
  11108. t1 = options._options;
  11109. if (!A._asBool(t1.$index(0, "quiet")))
  11110. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  11111. else
  11112. t1 = true;
  11113. if (t1) {
  11114. // goto return
  11115. $async$goto = 1;
  11116. break;
  11117. }
  11118. buffer = new A.StringBuffer("");
  11119. if (source == null)
  11120. sourceName = "stdin";
  11121. else {
  11122. t1 = $.$get$context();
  11123. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11124. }
  11125. destination.toString;
  11126. t1 = $.$get$context();
  11127. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11128. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  11129. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11130. t1 = options.get$color() ? buffer._contents = "\x1b[90m" : "";
  11131. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11132. if (options.get$color())
  11133. t1 = buffer._contents = t1 + "\x1b[32m";
  11134. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11135. buffer._contents = t1;
  11136. if (options.get$color())
  11137. buffer._contents = t1 + "\x1b[0m";
  11138. t1 = A.isNodeJs() ? self.process : null;
  11139. if (t1 != null) {
  11140. t1 = J.get$stdout$x(t1);
  11141. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11142. } else {
  11143. t1 = self.console;
  11144. J.log$1$x(t1, buffer);
  11145. }
  11146. case 1:
  11147. // return
  11148. return A._asyncReturn($async$returnValue, $async$completer);
  11149. case 2:
  11150. // rethrow
  11151. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11152. }
  11153. });
  11154. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11155. },
  11156. _writeSourceMap(options, sourceMap, destination) {
  11157. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11158. if (sourceMap == null)
  11159. return "";
  11160. if (destination != null) {
  11161. t1 = $.$get$context();
  11162. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11163. }
  11164. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11165. t1 = options._options;
  11166. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11167. if (A._asBool(t1.$index(0, "embed-source-map")))
  11168. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11169. else {
  11170. destination.toString;
  11171. sourceMapPath = destination + ".map";
  11172. t2 = $.$get$context();
  11173. A.ensureDir(t2.dirname$1(sourceMapPath));
  11174. A.writeFile(sourceMapPath, sourceMapText);
  11175. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11176. }
  11177. t2 = url.toString$0(0);
  11178. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11179. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11180. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11181. },
  11182. _tryDelete(path) {
  11183. var exception;
  11184. try {
  11185. A.deleteFile(path);
  11186. } catch (exception) {
  11187. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11188. throw exception;
  11189. }
  11190. },
  11191. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11192. return new A._Record_3(exitCode, error, stackTrace != null ? B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)) : null);
  11193. },
  11194. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11195. this.options = t0;
  11196. this.destination = t1;
  11197. },
  11198. ExecutableOptions__separator(text) {
  11199. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11200. t2 = B.JSString_methods.$mul(t1, 3),
  11201. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11202. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11203. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11204. },
  11205. ExecutableOptions__fail(message) {
  11206. return A.throwExpression(A.UsageException$(message));
  11207. },
  11208. ExecutableOptions_ExecutableOptions$parse(args) {
  11209. var options, error, t1, t2, exception;
  11210. try {
  11211. t1 = $.$get$ExecutableOptions__parser();
  11212. t2 = A.ListQueue$(type$.String);
  11213. t2.addAll$1(0, args);
  11214. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11215. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11216. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11217. options = new A.ExecutableOptions(t2);
  11218. if (A._asBool(options._options.$index(0, "help")))
  11219. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11220. return options;
  11221. } catch (exception) {
  11222. t1 = A.unwrapException(exception);
  11223. if (type$.FormatException._is(t1)) {
  11224. error = t1;
  11225. A.ExecutableOptions__fail(J.get$message$x(error));
  11226. } else
  11227. throw exception;
  11228. }
  11229. },
  11230. UsageException$(message) {
  11231. return new A.UsageException(message);
  11232. },
  11233. ExecutableOptions: function ExecutableOptions(t0) {
  11234. var _ = this;
  11235. _._options = t0;
  11236. _.__ExecutableOptions_interactive_FI = $;
  11237. _._sourcesToDestinations = null;
  11238. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11239. _._fatalDeprecations = null;
  11240. },
  11241. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11242. },
  11243. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11244. this.$this = t0;
  11245. },
  11246. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11247. },
  11248. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11249. this.$this = t0;
  11250. },
  11251. UsageException: function UsageException(t0) {
  11252. this.message = t0;
  11253. },
  11254. repl(options) {
  11255. return A.repl$body(options);
  11256. },
  11257. repl$body(options) {
  11258. var $async$goto = 0,
  11259. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11260. $async$handler = 1, $async$errorStack = [], $async$next = [], repl, trackingLogger, warn, evaluator, line, node, warnings, _1_0, node0, warnings0, _2_0, node1, warnings1, _3_0, error, stackTrace, logger, t4, t5, t6, t7, t8, t9, line0, toZone, exception, t1, t2, t3, repl0;
  11261. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11262. if ($async$errorCode === 1) {
  11263. $async$errorStack.push($async$result);
  11264. $async$goto = $async$handler;
  11265. }
  11266. for (;;)
  11267. switch ($async$goto) {
  11268. case 0:
  11269. // Function start
  11270. t1 = A._setArrayType([], type$.JSArray_String);
  11271. t2 = B.JSString_methods.$mul(" ", 3);
  11272. t3 = $.$get$alwaysValid();
  11273. repl0 = new A.Repl(">> ", t2, t3, t1);
  11274. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  11275. repl = repl0;
  11276. t1 = options._options;
  11277. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  11278. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), trackingLogger, options.get$silenceDeprecations(0), options.get$fatalDeprecations(0), options.get$futureDeprecations(0), !A._asBool(t1.$index(0, "verbose")));
  11279. logger.validate$0();
  11280. warn = new A.repl_warn(logger);
  11281. t2 = $.$get$FilesystemImporter_cwd();
  11282. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path"))), logger, null, false, false), t2);
  11283. t2 = repl.__Repl__adapter_A;
  11284. t2 === $ && A.throwUnnamedLateFieldNI();
  11285. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  11286. $async$handler = 2;
  11287. t1 = type$.String, t3 = type$.FileSpan, t4 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span, t5 = type$.Expression;
  11288. case 5:
  11289. // for condition
  11290. $async$goto = 7;
  11291. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  11292. case 7:
  11293. // returning from await.
  11294. if (!$async$result) {
  11295. // goto after for
  11296. $async$goto = 6;
  11297. break;
  11298. }
  11299. line = t2.get$current(0);
  11300. if (J.trim$0$s(line).length === 0) {
  11301. // goto for condition
  11302. $async$goto = 5;
  11303. break;
  11304. }
  11305. try {
  11306. if (J.startsWith$1$s(line, "@")) {
  11307. node = null;
  11308. warnings = null;
  11309. _1_0 = new A.ScssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseUseRule$0();
  11310. node = _1_0._0;
  11311. warnings = _1_0._1;
  11312. J.forEach$1$ax(warnings, warn);
  11313. t6 = evaluator;
  11314. t7 = node;
  11315. t6._visitor.runStatement$2(t6._importer, t7);
  11316. // goto for condition
  11317. $async$goto = 5;
  11318. break;
  11319. }
  11320. if (new A.Parser(A.SpanScanner$(line, null), null)._isVariableDeclarationLike$0()) {
  11321. node0 = null;
  11322. warnings0 = null;
  11323. _2_0 = new A.ScssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseVariableDeclaration$0();
  11324. node0 = _2_0._0;
  11325. warnings0 = _2_0._1;
  11326. J.forEach$1$ax(warnings0, warn);
  11327. t6 = evaluator;
  11328. t7 = node0;
  11329. t6._visitor.runStatement$2(t6._importer, t7);
  11330. t7 = evaluator;
  11331. t6 = node0.name;
  11332. t8 = node0.span;
  11333. t9 = node0.namespace;
  11334. line0 = t7._visitor.runExpression$2(t7._importer, new A.VariableExpression(t9, t6, t8)).toString$0(0);
  11335. toZone = $.printToZone;
  11336. if (toZone == null)
  11337. A.printString(line0);
  11338. else
  11339. toZone.call$1(line0);
  11340. } else {
  11341. node1 = null;
  11342. warnings1 = null;
  11343. t6 = A._setArrayType([], t4);
  11344. t7 = new A.ScssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), t6, A.SpanScanner$(line, null), null);
  11345. _3_0 = new A._Record_2(t7._parseSingleProduction$1$1(t7.get$_expression(), t5), t6);
  11346. node1 = _3_0._0;
  11347. warnings1 = _3_0._1;
  11348. J.forEach$1$ax(warnings1, warn);
  11349. t6 = evaluator;
  11350. t7 = node1;
  11351. line0 = t6._visitor.runExpression$2(t6._importer, t7).toString$0(0);
  11352. toZone = $.printToZone;
  11353. if (toZone == null)
  11354. A.printString(line0);
  11355. else
  11356. toZone.call$1(line0);
  11357. }
  11358. } catch (exception) {
  11359. t6 = A.unwrapException(exception);
  11360. if (t6 instanceof A.SassException) {
  11361. error = t6;
  11362. stackTrace = A.getTraceFromException(exception);
  11363. t6 = error;
  11364. t7 = typeof t6 != "string";
  11365. if (!t7 || typeof t6 == "number" || A._isBool(t6))
  11366. t6 = null;
  11367. else {
  11368. t8 = $.$get$_traces();
  11369. if (A._isBool(t6) || typeof t6 == "number" || !t7 || t6 instanceof A._Record)
  11370. A.Expando__badExpandoKey(t6);
  11371. t6 = t8._jsWeakMap.get(t6);
  11372. }
  11373. if (t6 == null)
  11374. t6 = stackTrace;
  11375. A._logError(error, t6, line, repl, options, trackingLogger);
  11376. } else
  11377. throw exception;
  11378. }
  11379. // goto for condition
  11380. $async$goto = 5;
  11381. break;
  11382. case 6:
  11383. // after for
  11384. $async$next.push(4);
  11385. // goto finally
  11386. $async$goto = 3;
  11387. break;
  11388. case 2:
  11389. // uncaught
  11390. $async$next = [1];
  11391. case 3:
  11392. // finally
  11393. $async$handler = 1;
  11394. $async$goto = 8;
  11395. return A._asyncAwait(t2.cancel$0(), $async$repl);
  11396. case 8:
  11397. // returning from await.
  11398. // goto the next finally handler
  11399. $async$goto = $async$next.pop();
  11400. break;
  11401. case 4:
  11402. // after finally
  11403. // implicit return
  11404. return A._asyncReturn(null, $async$completer);
  11405. case 1:
  11406. // rethrow
  11407. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11408. }
  11409. });
  11410. return A._asyncStartSync($async$repl, $async$completer);
  11411. },
  11412. _logError(error, stackTrace, line, repl, options, logger) {
  11413. var t2, spacesBeforeError, t3,
  11414. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11415. if (t1.get$sourceUrl(t1) == null)
  11416. if (!A._asBool(options._options.$index(0, "quiet")))
  11417. t1 = logger._emittedDebug || logger._emittedWarning;
  11418. else
  11419. t1 = false;
  11420. else
  11421. t1 = true;
  11422. if (t1) {
  11423. A.print(error.toString$1$color(0, options.get$color()));
  11424. return;
  11425. }
  11426. t1 = options.get$color() ? "\x1b[31m" : "";
  11427. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11428. t2 = t2.get$start(t2);
  11429. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  11430. if (options.get$color()) {
  11431. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11432. t2 = t2.get$start(t2);
  11433. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  11434. } else
  11435. t2 = false;
  11436. if (t2)
  11437. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  11438. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  11439. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11440. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  11441. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  11442. t1 += "Error: " + error._span_exception$_message + "\n";
  11443. if (A._asBool(options._options.$index(0, "trace")))
  11444. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  11445. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  11446. },
  11447. repl_warn: function repl_warn(t0) {
  11448. this.logger = t0;
  11449. },
  11450. watch(options, graph) {
  11451. var $async$goto = 0,
  11452. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11453. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t7, t8, t0;
  11454. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11455. if ($async$errorCode === 1)
  11456. return A._asyncRethrow($async$result, $async$completer);
  11457. for (;;)
  11458. switch ($async$goto) {
  11459. case 0:
  11460. // Function start
  11461. options._ensureSources$0();
  11462. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11463. t1 === $ && A.throwUnnamedLateFieldNI();
  11464. t2 = type$.String;
  11465. t1 = t1.cast$2$0(0, t2, t2);
  11466. t1 = A.List_List$_of(t1.get$keys(t1), t2);
  11467. for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t3 = t3.get$keys(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  11468. t4 = t3.get$current(t3);
  11469. t1.push($.$get$context().dirname$1(t4));
  11470. }
  11471. t3 = options._options;
  11472. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11473. t4 = A._asBool(t3.$index(0, "poll"));
  11474. t5 = type$.Stream_WatchEvent;
  11475. t6 = A.PathMap__create(null, t5);
  11476. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11477. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11478. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11479. $async$goto = 3;
  11480. return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t1, new A.watch_closure(dirWatcher), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<~>>")), false, type$.void), $async$watch);
  11481. case 3:
  11482. // returning from await.
  11483. options._ensureSources$0();
  11484. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11485. for (t1 = sourcesToDestinations.get$keys(sourcesToDestinations), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  11486. t4 = t1.get$current(t1);
  11487. t6 = $.$get$FilesystemImporter_cwd();
  11488. t7 = self.process;
  11489. if (t7 == null)
  11490. t7 = null;
  11491. else {
  11492. t7 = J.get$release$x(t7);
  11493. t7 = t7 == null ? null : J.get$name$x(t7);
  11494. }
  11495. t7 = J.$eq$(t7, "node") ? self.process : null;
  11496. if (!J.$eq$(t7 == null ? null : J.get$platform$x(t7), "win32")) {
  11497. t7 = self.process;
  11498. if (t7 == null)
  11499. t7 = null;
  11500. else {
  11501. t7 = J.get$release$x(t7);
  11502. t7 = t7 == null ? null : J.get$name$x(t7);
  11503. }
  11504. t7 = J.$eq$(t7, "node") ? self.process : null;
  11505. t7 = J.$eq$(t7 == null ? null : J.get$platform$x(t7), "darwin");
  11506. } else
  11507. t7 = true;
  11508. if (t7) {
  11509. t7 = $.$get$context();
  11510. t8 = A._realCasePath(t7.normalize$1(t7.absolute$15(t4, null, null, null, null, null, null, null, null, null, null, null, null, null, null)));
  11511. t0 = t8;
  11512. t8 = t7;
  11513. t7 = t0;
  11514. } else {
  11515. t7 = $.$get$context();
  11516. t8 = t7.canonicalize$1(0, t4);
  11517. t0 = t8;
  11518. t8 = t7;
  11519. t7 = t0;
  11520. }
  11521. graph.addCanonical$4$recanonicalize(t6, t8.toUri$1(t7), t8.toUri$1(t4), false);
  11522. }
  11523. $async$goto = 4;
  11524. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11525. case 4:
  11526. // returning from await.
  11527. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11528. t1 = t5.__StreamGroup__controller_A;
  11529. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11530. // goto return
  11531. $async$goto = 1;
  11532. break;
  11533. }
  11534. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11535. $async$goto = 5;
  11536. return A._asyncAwait(new A._Watcher(options, graph, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)).watch$1(0, dirWatcher), $async$watch);
  11537. case 5:
  11538. // returning from await.
  11539. case 1:
  11540. // return
  11541. return A._asyncReturn($async$returnValue, $async$completer);
  11542. }
  11543. });
  11544. return A._asyncStartSync($async$watch, $async$completer);
  11545. },
  11546. watch_closure: function watch_closure(t0) {
  11547. this.dirWatcher = t0;
  11548. },
  11549. _Watcher: function _Watcher(t0, t1, t2) {
  11550. this._watch$_options = t0;
  11551. this._graph = t1;
  11552. this._toRecompile = t2;
  11553. },
  11554. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11555. },
  11556. EmptyExtensionStore: function EmptyExtensionStore() {
  11557. },
  11558. Extension: function Extension(t0, t1, t2, t3, t4) {
  11559. var _ = this;
  11560. _.extender = t0;
  11561. _.target = t1;
  11562. _.mediaContext = t2;
  11563. _.isOptional = t3;
  11564. _.span = t4;
  11565. },
  11566. Extender: function Extender(t0, t1) {
  11567. this.selector = t0;
  11568. this.isOriginal = t1;
  11569. this._extension = null;
  11570. },
  11571. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11572. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11573. extender = A.ExtensionStore$_mode(mode);
  11574. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11575. extender._originals.addAll$1(0, selector.components);
  11576. for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = type$.SimpleSelector, t8 = type$.Map_ComplexSelector_Extension, _i = 0; _i < t2; ++_i) {
  11577. complex = t1[_i];
  11578. compound = complex.get$singleCompound();
  11579. if (compound == null)
  11580. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  11581. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11582. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11583. simple = t10[_i0];
  11584. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11585. for (_i1 = 0; _i1 < t4; ++_i1) {
  11586. complex = t3[_i1];
  11587. complex.get$specificity();
  11588. t13 = new A.Extender(complex, false);
  11589. t14 = new A.Extension(t13, simple, null, true, span);
  11590. t13._extension = t14;
  11591. t12.$indexSet(0, complex, t14);
  11592. }
  11593. t9.$indexSet(0, simple, t12);
  11594. }
  11595. selector = extender._extendList$2(selector, t9);
  11596. }
  11597. return selector;
  11598. },
  11599. ExtensionStore$() {
  11600. var t1 = type$.SimpleSelector;
  11601. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_0_normal);
  11602. },
  11603. ExtensionStore$_mode(_mode) {
  11604. var t1 = type$.SimpleSelector;
  11605. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  11606. },
  11607. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11608. var _ = this;
  11609. _._selectors = t0;
  11610. _._extensions = t1;
  11611. _._extensionsByExtender = t2;
  11612. _._mediaContexts = t3;
  11613. _._sourceSpecificity = t4;
  11614. _._originals = t5;
  11615. _._mode = t6;
  11616. },
  11617. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11618. },
  11619. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11620. },
  11621. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11622. },
  11623. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11624. },
  11625. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11626. this.complex = t0;
  11627. },
  11628. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11629. },
  11630. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11631. },
  11632. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11633. },
  11634. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11635. this._box_0 = t0;
  11636. this.$this = t1;
  11637. this.complex = t2;
  11638. },
  11639. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11640. this._box_0 = t0;
  11641. this.$this = t1;
  11642. this.complex = t2;
  11643. },
  11644. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11645. },
  11646. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11647. },
  11648. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11649. this.original = t0;
  11650. },
  11651. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11652. this.$this = t0;
  11653. this.extensions = t1;
  11654. this.targetsUsed = t2;
  11655. },
  11656. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11657. this.$this = t0;
  11658. this.withoutPseudo = t1;
  11659. },
  11660. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11661. },
  11662. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11663. },
  11664. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11665. },
  11666. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11667. },
  11668. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11669. this.pseudo = t0;
  11670. },
  11671. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11672. this.pseudo = t0;
  11673. this.selector = t1;
  11674. },
  11675. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11676. this._box_0 = t0;
  11677. this.complex1 = t1;
  11678. },
  11679. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11680. this._box_0 = t0;
  11681. this.complex1 = t1;
  11682. },
  11683. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3, t4) {
  11684. var _ = this;
  11685. _.$this = t0;
  11686. _.newSelectors = t1;
  11687. _.newBoxes = t2;
  11688. _.oldToNewSelectors = t3;
  11689. _.newMediaContexts = t4;
  11690. },
  11691. ExtensionStore_clone__closure: function ExtensionStore_clone__closure(t0) {
  11692. this.selector = t0;
  11693. },
  11694. unifyComplex(complexes, span) {
  11695. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  11696. t1 = J.getInterceptor$asx(complexes);
  11697. if (t1.get$length(complexes) === 1)
  11698. return complexes;
  11699. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11700. t3 = t2.get$current(t2);
  11701. if (t3.accept$1(B.C__IsUselessVisitor))
  11702. return _null;
  11703. t4 = t3.components;
  11704. _0_6_isSet = t4.length === 1;
  11705. if (_0_6_isSet) {
  11706. _0_6 = t3.leadingCombinators;
  11707. t5 = _0_6.length === 1;
  11708. } else {
  11709. _0_6 = _null;
  11710. t5 = false;
  11711. }
  11712. if (t5) {
  11713. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11714. if (leadingCombinator == null)
  11715. leadingCombinator = newLeadingCombinator;
  11716. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11717. return _null;
  11718. }
  11719. base = B.JSArray_methods.get$last(t4);
  11720. _1_1 = base.combinators;
  11721. if (_1_1.length === 1) {
  11722. newTrailingCombinator = _1_1[0];
  11723. if (trailingCombinator != null)
  11724. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11725. else
  11726. t3 = false;
  11727. if (t3)
  11728. return _null;
  11729. trailingCombinator = newTrailingCombinator;
  11730. }
  11731. unifiedBase0 = base.selector;
  11732. if (unifiedBase == null)
  11733. unifiedBase = unifiedBase0;
  11734. else {
  11735. unifiedBase = A.unifyCompound(unifiedBase, unifiedBase0);
  11736. if (unifiedBase == null)
  11737. return _null;
  11738. }
  11739. }
  11740. t2 = type$.JSArray_ComplexSelector;
  11741. t3 = A._setArrayType([], t2);
  11742. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11743. t5 = t4.get$current(t4);
  11744. t6 = t5.components;
  11745. t7 = t6.length;
  11746. if (t7 > 1) {
  11747. t8 = t5.leadingCombinators;
  11748. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11749. }
  11750. }
  11751. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11752. unifiedBase.toString;
  11753. t5 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11754. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(unifiedBase, A.List_List$unmodifiable(t5, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, t1.any$1(complexes, new A.unifyComplex_closure()));
  11755. if (t3.length === 0)
  11756. t1 = A._setArrayType([base], t2);
  11757. else {
  11758. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t3), type$.ComplexSelector);
  11759. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11760. }
  11761. return A.weave(t1, span, false);
  11762. },
  11763. unifyCompound(compound1, compound2) {
  11764. var t1, t2, pseudoElementFound, _i, simple, unified,
  11765. result = compound1.components,
  11766. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector);
  11767. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  11768. simple = t1[_i];
  11769. if (pseudoElementFound && simple instanceof A.PseudoSelector) {
  11770. unified = simple.unify$1(pseudoResult);
  11771. if (unified == null)
  11772. return null;
  11773. pseudoResult = unified;
  11774. } else {
  11775. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector && !simple.isClass);
  11776. unified = simple.unify$1(result);
  11777. if (unified == null)
  11778. return null;
  11779. result = unified;
  11780. }
  11781. }
  11782. t1 = A.List_List$_of(result, type$.SimpleSelector);
  11783. B.JSArray_methods.addAll$1(t1, pseudoResult);
  11784. return A.CompoundSelector$(t1, compound1.span);
  11785. },
  11786. unifyUniversalAndElement(selector1, selector2) {
  11787. var namespace, $name, t1,
  11788. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11789. namespace1 = _0_0._0,
  11790. name1 = _0_0._1,
  11791. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11792. namespace2 = _1_0._0,
  11793. name2 = _1_0._1;
  11794. if (namespace1 == namespace2 || namespace2 === "*")
  11795. namespace = namespace1;
  11796. else {
  11797. if (namespace1 !== "*")
  11798. return null;
  11799. namespace = namespace2;
  11800. }
  11801. if (name1 == name2 || name2 == null)
  11802. $name = name1;
  11803. else {
  11804. if (!(name1 == null || name1 === "*"))
  11805. return null;
  11806. $name = name2;
  11807. }
  11808. t1 = selector1.span;
  11809. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11810. },
  11811. _namespaceAndName(selector, $name) {
  11812. var t1, _0_4;
  11813. $label0$0: {
  11814. if (selector instanceof A.UniversalSelector) {
  11815. t1 = new A._Record_2(selector.namespace, null);
  11816. break $label0$0;
  11817. }
  11818. if (selector instanceof A.TypeSelector) {
  11819. _0_4 = selector.name;
  11820. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11821. break $label0$0;
  11822. }
  11823. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11824. }
  11825. return t1;
  11826. },
  11827. weave(complexes, span, forceLineBreak) {
  11828. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11829. t1 = J.getInterceptor$asx(complexes);
  11830. if (t1.get$length(complexes) === 1) {
  11831. complex = t1.$index(complexes, 0);
  11832. if (!forceLineBreak || complex.lineBreak)
  11833. return complexes;
  11834. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11835. }
  11836. t2 = type$.JSArray_ComplexSelector;
  11837. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11838. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  11839. t5 = t1.__internal$_current;
  11840. if (t5 == null)
  11841. t5 = t3._as(t5);
  11842. t6 = t5.components;
  11843. if (t6.length === 1) {
  11844. for (i = 0; i < prefixes.length; ++i)
  11845. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11846. continue;
  11847. }
  11848. t7 = A._setArrayType([], t2);
  11849. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11850. t9 = A._weaveParents(prefixes[_i], t5, span);
  11851. if (t9 == null)
  11852. t9 = B.List_empty1;
  11853. t10 = t9.length;
  11854. _i0 = 0;
  11855. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11856. parentPrefix = t9[_i0];
  11857. t11 = B.JSArray_methods.get$last(t6);
  11858. t12 = A.List_List$_of(parentPrefix.components, t4);
  11859. t12.push(t11);
  11860. t11 = parentPrefix.lineBreak || forceLineBreak;
  11861. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11862. }
  11863. }
  11864. prefixes = t7;
  11865. }
  11866. return prefixes;
  11867. },
  11868. _weaveParents(prefix, base, span) {
  11869. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish2, t2, rootish1, _0_30, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11870. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11871. if (leadingCombinators == null)
  11872. return _null;
  11873. t1 = type$.ComplexSelectorComponent;
  11874. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11875. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11876. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11877. if (trailingCombinators == null)
  11878. return _null;
  11879. $label0$0: {
  11880. _0_1 = A._firstIfRootish(queue1);
  11881. _0_3 = A._firstIfRootish(queue2);
  11882. _0_3_isSet = _0_1 != null;
  11883. rootish2 = _null;
  11884. t2 = false;
  11885. if (_0_3_isSet) {
  11886. t2 = _0_3 != null;
  11887. if (t2)
  11888. rootish2 = _0_3;
  11889. rootish1 = _0_1;
  11890. _0_30 = _0_3;
  11891. } else {
  11892. rootish1 = _null;
  11893. _0_30 = rootish1;
  11894. }
  11895. if (t2) {
  11896. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11897. if (rootish == null)
  11898. return _null;
  11899. t1 = rootish1.combinators;
  11900. t2 = rootish1.span;
  11901. t3 = type$.CssValue_Combinator;
  11902. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11903. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11904. break $label0$0;
  11905. }
  11906. t2 = _null;
  11907. t3 = false;
  11908. if (_0_1 != null) {
  11909. if (_0_3_isSet)
  11910. t2 = _0_30;
  11911. else {
  11912. t2 = _0_3;
  11913. _0_30 = t2;
  11914. _0_3_isSet = true;
  11915. }
  11916. t2 = t2 == null;
  11917. t3 = t2 ? _0_1 : _null;
  11918. t0 = t3;
  11919. t3 = t2;
  11920. t2 = t0;
  11921. }
  11922. if (!t3)
  11923. if (_0_1 == null) {
  11924. if (_0_3_isSet)
  11925. t3 = _0_30;
  11926. else {
  11927. t3 = _0_3;
  11928. _0_30 = t3;
  11929. _0_3_isSet = true;
  11930. }
  11931. t3 = t3 != null;
  11932. if (t3) {
  11933. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11934. if (rootish_case_1 == null)
  11935. rootish_case_1 = t1._as(rootish_case_1);
  11936. t1 = rootish_case_1;
  11937. } else
  11938. t1 = t2;
  11939. t2 = t3;
  11940. } else {
  11941. t1 = t2;
  11942. t2 = false;
  11943. }
  11944. else {
  11945. t1 = t2;
  11946. t2 = true;
  11947. }
  11948. if (t2) {
  11949. queue1.addFirst$1(t1);
  11950. queue2.addFirst$1(t1);
  11951. }
  11952. }
  11953. groups1 = A._groupSelectors(queue1);
  11954. groups2 = A._groupSelectors(queue2);
  11955. t1 = type$.List_ComplexSelectorComponent;
  11956. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11957. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11958. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent, t4 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  11959. group = lcs[_i];
  11960. t5 = A._setArrayType([], t3);
  11961. for (t6 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  11962. chunk = t6[_i0];
  11963. t8 = A._setArrayType([], t4);
  11964. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11965. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11966. t5.push(t8);
  11967. }
  11968. choices.push(t5);
  11969. choices.push(A._setArrayType([group], t3));
  11970. groups1.removeFirst$0();
  11971. groups2.removeFirst$0();
  11972. }
  11973. t2 = A._setArrayType([], t3);
  11974. for (t1 = A._chunks(groups1, groups2, new A._weaveParents_closure1(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  11975. chunk = t1[_i];
  11976. t5 = A._setArrayType([], t4);
  11977. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11978. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11979. t2.push(t5);
  11980. }
  11981. choices.push(t2);
  11982. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11983. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11984. for (t2 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure2(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  11985. t6 = t2.get$current(t2);
  11986. t7 = A._setArrayType([], t4);
  11987. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11988. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11989. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11990. }
  11991. return t1;
  11992. },
  11993. _firstIfRootish(queue) {
  11994. var first, t1, t2, _i, simple, t3;
  11995. if (queue.get$length(0) >= 1) {
  11996. first = queue.$index(0, 0);
  11997. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11998. simple = t1[_i];
  11999. t3 = false;
  12000. if (simple instanceof A.PseudoSelector)
  12001. if (simple.isClass)
  12002. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  12003. if (t3) {
  12004. queue.removeFirst$0();
  12005. return first;
  12006. }
  12007. }
  12008. }
  12009. return null;
  12010. },
  12011. _mergeLeadingCombinators(combinators1, combinators2) {
  12012. var t1, _0_7, t2, _0_11_isSet, _0_11, combinators, _null = null;
  12013. $label0$0: {
  12014. t1 = _null;
  12015. _0_7 = _null;
  12016. _0_7 = combinators1.length;
  12017. t2 = _0_7;
  12018. t2 = t2 > 1;
  12019. _0_11_isSet = !t2;
  12020. _0_11 = _null;
  12021. if (_0_11_isSet) {
  12022. _0_11 = combinators2.length;
  12023. t2 = _0_11;
  12024. t2 = t2 > 1;
  12025. } else
  12026. t2 = true;
  12027. if (t2)
  12028. break $label0$0;
  12029. t2 = _0_7 <= 0;
  12030. if (t2)
  12031. combinators = combinators2;
  12032. else
  12033. combinators = t1;
  12034. t1 = t2;
  12035. if (!t1) {
  12036. t1 = false;
  12037. if (_0_11_isSet)
  12038. t1 = _0_11;
  12039. else {
  12040. _0_11 = combinators2.length;
  12041. t1 = _0_11;
  12042. }
  12043. t1 = t1 <= 0;
  12044. combinators = combinators1;
  12045. } else
  12046. t1 = true;
  12047. if (t1) {
  12048. t1 = combinators;
  12049. break $label0$0;
  12050. }
  12051. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  12052. break $label0$0;
  12053. }
  12054. return t1;
  12055. },
  12056. _mergeTrailingCombinators(components1, components2, span, result) {
  12057. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_5, _4_4, _4_5_isSet, _4_4_isSet, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_6_isSet, _4_7, _4_7_isSet, followingComponents, nextComponents, _4_9_isSet, _4_10_isSet, _4_10, next, following, _3_0, _4_4_isSet0, siblingComponents_case_0, siblingComponents_case_1, t6, combinator2, unified, t7, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  12058. if (result == null)
  12059. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  12060. $label0$0: {
  12061. _0_1 = components1.get$length(0);
  12062. if (_0_1 >= 1) {
  12063. t1 = components1.$index(0, _0_1 - 1).combinators;
  12064. break $label0$0;
  12065. }
  12066. t1 = B.List_empty0;
  12067. break $label0$0;
  12068. }
  12069. $label1$1: {
  12070. _1_1 = components2.get$length(0);
  12071. if (_1_1 >= 1) {
  12072. t2 = components2.$index(0, _1_1 - 1).combinators;
  12073. break $label1$1;
  12074. }
  12075. t2 = B.List_empty0;
  12076. break $label1$1;
  12077. }
  12078. t3 = t1.length;
  12079. if (t3 === 0 && t2.length === 0)
  12080. return result;
  12081. if (t3 > 1 || t2.length > 1)
  12082. return _null;
  12083. $label2$2: {
  12084. t3 = A.IterableExtension_get_firstOrNull(t1);
  12085. t3 = t3 == null ? _null : t3.value;
  12086. t2 = A.IterableExtension_get_firstOrNull(t2);
  12087. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  12088. _4_1 = t2[0];
  12089. _4_3 = B.Combinator_98W === _4_1;
  12090. t3 = _4_3;
  12091. _4_5 = _null;
  12092. _4_4 = _null;
  12093. if (t3) {
  12094. _4_4 = t2[1];
  12095. _4_5 = B.Combinator_98W === _4_4;
  12096. t3 = _4_5;
  12097. _4_5_isSet = true;
  12098. _4_4_isSet = true;
  12099. } else {
  12100. _4_5_isSet = false;
  12101. _4_4_isSet = false;
  12102. t3 = false;
  12103. }
  12104. if (t3) {
  12105. component1 = components1.removeLast$0(0);
  12106. component2 = components2.removeLast$0(0);
  12107. t2 = component1.selector;
  12108. t3 = component2.selector;
  12109. if (A.compoundIsSuperselector(t2, t3, _null))
  12110. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12111. else {
  12112. t4 = type$.JSArray_ComplexSelectorComponent;
  12113. t5 = type$.JSArray_List_ComplexSelectorComponent;
  12114. if (A.compoundIsSuperselector(t3, t2, _null))
  12115. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  12116. else {
  12117. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  12118. _2_0 = A.unifyCompound(t2, t3);
  12119. if (_2_0 != null)
  12120. choices.push(A._setArrayType([new A.ComplexSelectorComponent(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t4));
  12121. result.addFirst$1(choices);
  12122. }
  12123. }
  12124. break $label2$2;
  12125. }
  12126. _4_9 = _null;
  12127. _4_6 = _null;
  12128. _4_6_isSet = false;
  12129. _4_7 = _null;
  12130. _4_7_isSet = false;
  12131. followingComponents = _null;
  12132. nextComponents = _null;
  12133. t3 = false;
  12134. if (_4_3) {
  12135. if (_4_4_isSet)
  12136. t4 = _4_4;
  12137. else {
  12138. _4_4 = t2[1];
  12139. t4 = _4_4;
  12140. _4_4_isSet = true;
  12141. }
  12142. _4_9 = B.Combinator_sHB === t4;
  12143. t4 = _4_9;
  12144. if (t4) {
  12145. _4_6 = t2[2];
  12146. _4_7 = t2[3];
  12147. nextComponents = _4_7;
  12148. followingComponents = _4_6;
  12149. _4_6_isSet = true;
  12150. _4_7_isSet = true;
  12151. t3 = true;
  12152. }
  12153. _4_9_isSet = true;
  12154. } else
  12155. _4_9_isSet = false;
  12156. _4_10_isSet = !t3;
  12157. _4_10 = _null;
  12158. t3 = true;
  12159. if (_4_10_isSet) {
  12160. _4_10 = B.Combinator_sHB === _4_1;
  12161. t4 = _4_10;
  12162. if (t4) {
  12163. if (_4_5_isSet)
  12164. t4 = _4_5;
  12165. else {
  12166. if (_4_4_isSet)
  12167. t4 = _4_4;
  12168. else {
  12169. _4_4 = t2[1];
  12170. t4 = _4_4;
  12171. _4_4_isSet = true;
  12172. }
  12173. _4_5 = B.Combinator_98W === t4;
  12174. t4 = _4_5;
  12175. _4_5_isSet = true;
  12176. }
  12177. if (t4) {
  12178. if (_4_6_isSet)
  12179. nextComponents = _4_6;
  12180. else {
  12181. _4_6 = t2[2];
  12182. nextComponents = _4_6;
  12183. _4_6_isSet = true;
  12184. }
  12185. if (_4_7_isSet)
  12186. followingComponents = _4_7;
  12187. else {
  12188. _4_7 = t2[3];
  12189. followingComponents = _4_7;
  12190. _4_7_isSet = true;
  12191. }
  12192. } else
  12193. t3 = false;
  12194. } else
  12195. t3 = false;
  12196. }
  12197. if (t3) {
  12198. next = nextComponents.removeLast$0(0);
  12199. following = followingComponents.removeLast$0(0);
  12200. t1 = following.selector;
  12201. t2 = next.selector;
  12202. t3 = type$.JSArray_ComplexSelectorComponent;
  12203. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12204. if (A.compoundIsSuperselector(t1, t2, _null))
  12205. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12206. else {
  12207. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12208. _3_0 = A.unifyCompound(t1, t2);
  12209. if (_3_0 != null)
  12210. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12211. result.addFirst$1(t4);
  12212. }
  12213. break $label2$2;
  12214. }
  12215. t3 = _null;
  12216. t4 = false;
  12217. if (B.Combinator_iUF === _4_1) {
  12218. _4_4_isSet0 = true;
  12219. if (_4_9_isSet)
  12220. t5 = _4_9;
  12221. else {
  12222. if (_4_4_isSet)
  12223. t5 = _4_4;
  12224. else {
  12225. _4_4 = t2[1];
  12226. t5 = _4_4;
  12227. _4_4_isSet = _4_4_isSet0;
  12228. }
  12229. _4_9 = B.Combinator_sHB === t5;
  12230. t5 = _4_9;
  12231. }
  12232. if (!t5)
  12233. if (_4_5_isSet)
  12234. t5 = _4_5;
  12235. else {
  12236. if (_4_4_isSet)
  12237. t5 = _4_4;
  12238. else {
  12239. _4_4 = t2[1];
  12240. t5 = _4_4;
  12241. _4_4_isSet = _4_4_isSet0;
  12242. }
  12243. _4_5 = B.Combinator_98W === t5;
  12244. t5 = _4_5;
  12245. }
  12246. else
  12247. t5 = true;
  12248. if (t5) {
  12249. if (_4_7_isSet)
  12250. siblingComponents_case_0 = _4_7;
  12251. else {
  12252. _4_7 = t2[3];
  12253. siblingComponents_case_0 = _4_7;
  12254. _4_7_isSet = true;
  12255. }
  12256. t3 = siblingComponents_case_0;
  12257. t4 = true;
  12258. }
  12259. }
  12260. if (!t4) {
  12261. if (_4_10_isSet)
  12262. t4 = _4_10;
  12263. else {
  12264. _4_10 = B.Combinator_sHB === _4_1;
  12265. t4 = _4_10;
  12266. }
  12267. if (!t4)
  12268. t4 = _4_3;
  12269. else
  12270. t4 = true;
  12271. if (t4) {
  12272. if (_4_4_isSet)
  12273. t4 = _4_4;
  12274. else {
  12275. _4_4 = t2[1];
  12276. t4 = _4_4;
  12277. _4_4_isSet = true;
  12278. }
  12279. t4 = B.Combinator_iUF === t4;
  12280. if (t4) {
  12281. if (_4_6_isSet)
  12282. siblingComponents_case_1 = _4_6;
  12283. else {
  12284. _4_6 = t2[2];
  12285. siblingComponents_case_1 = _4_6;
  12286. _4_6_isSet = true;
  12287. }
  12288. t3 = siblingComponents_case_1;
  12289. }
  12290. } else
  12291. t4 = false;
  12292. } else
  12293. t4 = true;
  12294. if (t4) {
  12295. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12296. break $label2$2;
  12297. }
  12298. t3 = _4_1 == null;
  12299. t4 = !t3;
  12300. t5 = false;
  12301. if (t4) {
  12302. _4_4_isSet0 = true;
  12303. if (_4_4_isSet)
  12304. t6 = _4_4;
  12305. else {
  12306. _4_4 = t2[1];
  12307. t6 = _4_4;
  12308. _4_4_isSet = _4_4_isSet0;
  12309. }
  12310. if (t6 != null) {
  12311. if (_4_4_isSet)
  12312. combinator2 = _4_4;
  12313. else {
  12314. _4_4 = t2[1];
  12315. combinator2 = _4_4;
  12316. _4_4_isSet = _4_4_isSet0;
  12317. }
  12318. t5 = _4_1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12319. }
  12320. }
  12321. if (t5) {
  12322. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12323. if (unified == null)
  12324. return _null;
  12325. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12326. break $label2$2;
  12327. }
  12328. t1 = _null;
  12329. t5 = _null;
  12330. t6 = _null;
  12331. t7 = false;
  12332. if (t4) {
  12333. if (_4_4_isSet)
  12334. t4 = _4_4;
  12335. else {
  12336. _4_4 = t2[1];
  12337. t4 = _4_4;
  12338. _4_4_isSet = true;
  12339. }
  12340. t4 = t4 == null;
  12341. if (t4) {
  12342. if (_4_6_isSet)
  12343. combinatorComponents_case_0 = _4_6;
  12344. else {
  12345. _4_6 = t2[2];
  12346. combinatorComponents_case_0 = _4_6;
  12347. _4_6_isSet = true;
  12348. }
  12349. if (_4_7_isSet)
  12350. descendantComponents_case_0 = _4_7;
  12351. else {
  12352. _4_7 = t2[3];
  12353. descendantComponents_case_0 = _4_7;
  12354. _4_7_isSet = true;
  12355. }
  12356. t1 = descendantComponents_case_0;
  12357. t6 = t1;
  12358. t1 = _4_1;
  12359. t5 = combinatorComponents_case_0;
  12360. }
  12361. t0 = t6;
  12362. t6 = t4;
  12363. t4 = t5;
  12364. t5 = t0;
  12365. } else {
  12366. t4 = t5;
  12367. t5 = t6;
  12368. t6 = t7;
  12369. }
  12370. if (!t6)
  12371. if (t3) {
  12372. if (_4_4_isSet)
  12373. t3 = _4_4;
  12374. else {
  12375. _4_4 = t2[1];
  12376. t3 = _4_4;
  12377. _4_4_isSet = true;
  12378. }
  12379. t3 = t3 != null;
  12380. if (t3) {
  12381. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12382. if (combinator_case_1 == null)
  12383. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12384. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12385. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12386. t1 = combinatorComponents_case_1;
  12387. t2 = descendantComponents_case_1;
  12388. t4 = t2;
  12389. t2 = t1;
  12390. t1 = combinator_case_1;
  12391. } else {
  12392. t2 = t4;
  12393. t4 = t5;
  12394. }
  12395. t0 = t4;
  12396. t4 = t3;
  12397. t3 = t0;
  12398. } else {
  12399. t3 = t5;
  12400. t2 = t4;
  12401. t4 = false;
  12402. }
  12403. else {
  12404. t3 = t5;
  12405. t2 = t4;
  12406. t4 = true;
  12407. }
  12408. if (t4) {
  12409. if (t1 === B.Combinator_iUF) {
  12410. t1 = A.IterableExtension_get_lastOrNull(t3);
  12411. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12412. t1 = t1 === true;
  12413. } else
  12414. t1 = false;
  12415. if (t1)
  12416. t3.removeLast$0(0);
  12417. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12418. break $label2$2;
  12419. }
  12420. return _null;
  12421. }
  12422. return A._mergeTrailingCombinators(components1, components2, span, result);
  12423. },
  12424. _mustUnify(complex1, complex2) {
  12425. var t2, t3, t4,
  12426. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12427. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12428. for (t3 = B.JSArray_methods.get$iterator(t2.get$current(t2).selector.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
  12429. t1.add$1(0, t3.get$current(0));
  12430. if (t1._collection$_length === 0)
  12431. return false;
  12432. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12433. },
  12434. _isUnique(simple) {
  12435. var t1;
  12436. if (!(simple instanceof A.IDSelector))
  12437. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12438. else
  12439. t1 = true;
  12440. return t1;
  12441. },
  12442. _chunks(queue1, queue2, done, $T) {
  12443. var chunk2, _0_4, _0_7, _0_5, _0_7_isSet, _0_5_isSet, chunk, t2, _null = null,
  12444. t1 = $T._eval$1("JSArray<0>"),
  12445. chunk1 = A._setArrayType([], t1);
  12446. while (!done.call$1(queue1))
  12447. chunk1.push(queue1.removeFirst$0());
  12448. chunk2 = A._setArrayType([], t1);
  12449. while (!done.call$1(queue2))
  12450. chunk2.push(queue2.removeFirst$0());
  12451. $label0$0: {
  12452. _0_4 = chunk1.length <= 0;
  12453. t1 = _0_4;
  12454. _0_7 = _null;
  12455. if (t1) {
  12456. _0_7 = chunk2.length <= 0;
  12457. t1 = _0_7;
  12458. _0_5 = chunk2;
  12459. _0_7_isSet = true;
  12460. _0_5_isSet = true;
  12461. } else {
  12462. _0_5 = _null;
  12463. _0_7_isSet = false;
  12464. _0_5_isSet = false;
  12465. t1 = false;
  12466. }
  12467. if (t1) {
  12468. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12469. break $label0$0;
  12470. }
  12471. if (_0_4) {
  12472. if (_0_5_isSet)
  12473. chunk = _0_5;
  12474. else {
  12475. chunk = chunk2;
  12476. _0_5 = chunk;
  12477. _0_5_isSet = true;
  12478. }
  12479. t1 = true;
  12480. } else {
  12481. chunk = _null;
  12482. t1 = false;
  12483. }
  12484. if (!t1) {
  12485. if (_0_7_isSet)
  12486. t1 = _0_7;
  12487. else {
  12488. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  12489. t1 = _0_7;
  12490. }
  12491. chunk = chunk1;
  12492. } else
  12493. t1 = true;
  12494. if (t1) {
  12495. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12496. break $label0$0;
  12497. }
  12498. t1 = A.List_List$_of(chunk1, $T);
  12499. B.JSArray_methods.addAll$1(t1, chunk2);
  12500. t2 = A.List_List$_of(chunk2, $T);
  12501. B.JSArray_methods.addAll$1(t2, chunk1);
  12502. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12503. break $label0$0;
  12504. }
  12505. return t1;
  12506. },
  12507. paths(choices, $T) {
  12508. return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure($T));
  12509. },
  12510. _groupSelectors(complex) {
  12511. var t2, t3, t4,
  12512. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12513. t1 = type$.JSArray_ComplexSelectorComponent,
  12514. group = A._setArrayType([], t1);
  12515. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  12516. t4 = t3.__internal$_current;
  12517. if (t4 == null)
  12518. t4 = t2._as(t4);
  12519. group.push(t4);
  12520. if (t4.combinators.length === 0) {
  12521. groups._queue_list$_add$1(group);
  12522. group = A._setArrayType([], t1);
  12523. }
  12524. }
  12525. if (group.length !== 0)
  12526. groups._queue_list$_add$1(group);
  12527. return groups;
  12528. },
  12529. listIsSuperselector(list1, list2) {
  12530. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12531. },
  12532. _complexIsParentSuperselector(complex1, complex2) {
  12533. var t1, base, t2;
  12534. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12535. return false;
  12536. t1 = $.$get$bogusSpan();
  12537. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>", t1)], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1);
  12538. t1 = type$.ComplexSelectorComponent;
  12539. t2 = A.List_List$_of(complex1, t1);
  12540. t2.push(base);
  12541. t1 = A.List_List$_of(complex2, t1);
  12542. t1.push(base);
  12543. return A.complexIsSuperselector(t2, t1);
  12544. },
  12545. complexIsSuperselector(complex1, complex2) {
  12546. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12547. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12548. return false;
  12549. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12550. return false;
  12551. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0;; previousCombinator = combinator1) {
  12552. remaining1 = complex1.length - i1;
  12553. remaining2 = complex2.length - i2;
  12554. if (remaining1 === 0 || remaining2 === 0)
  12555. return false;
  12556. if (remaining1 > remaining2)
  12557. return false;
  12558. component1 = complex1[i1];
  12559. t3 = component1.combinators;
  12560. if (t3.length > 1)
  12561. return false;
  12562. if (remaining1 === 1)
  12563. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12564. return false;
  12565. else {
  12566. t1 = component1.selector;
  12567. t2 = B.JSArray_methods.get$last(complex2);
  12568. t3 = t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null;
  12569. return A.compoundIsSuperselector(t1, t2.selector, t3);
  12570. }
  12571. for (t4 = component1.selector, endOfSubselector = i2;;) {
  12572. component2 = complex2[endOfSubselector];
  12573. if (component2.combinators.length > 1)
  12574. return false;
  12575. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  12576. if (A.compoundIsSuperselector(t4, component2.selector, t5))
  12577. break;
  12578. ++endOfSubselector;
  12579. if (endOfSubselector === complex2.length - 1)
  12580. return false;
  12581. }
  12582. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12583. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12584. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12585. return false;
  12586. component2 = complex2[endOfSubselector];
  12587. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12588. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12589. return false;
  12590. ++i1;
  12591. i2 = endOfSubselector + 1;
  12592. if (complex1.length - i1 === 1) {
  12593. t3 = combinator1 == null;
  12594. if ((t3 ? _null : combinator1.value) === B.Combinator_98W) {
  12595. t3 = complex2.length - 1;
  12596. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12597. t4.SubListIterable$3(complex2, 0, t3, t2);
  12598. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12599. return false;
  12600. } else if (!t3)
  12601. if (complex2.length - i2 > 1)
  12602. return false;
  12603. }
  12604. }
  12605. },
  12606. _compatibleWithPreviousCombinator(previous, parents) {
  12607. if (parents.get$isEmpty(parents))
  12608. return true;
  12609. if (previous == null)
  12610. return true;
  12611. if (previous.value !== B.Combinator_98W)
  12612. return false;
  12613. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12614. },
  12615. _isSupercombinator(combinator1, combinator2) {
  12616. var t2, t3,
  12617. t1 = true;
  12618. if (!J.$eq$(combinator1, combinator2)) {
  12619. t2 = combinator1 == null;
  12620. if (t2)
  12621. t3 = (combinator2 == null ? null : combinator2.value) === B.Combinator_iUF;
  12622. else
  12623. t3 = false;
  12624. if (!t3)
  12625. if ((t2 ? null : combinator1.value) === B.Combinator_98W)
  12626. t1 = (combinator2 == null ? null : combinator2.value) === B.Combinator_sHB;
  12627. else
  12628. t1 = false;
  12629. }
  12630. return t1;
  12631. },
  12632. compoundIsSuperselector(compound1, compound2, parents) {
  12633. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, pseudo1, t3, t4, t5, _i, simple1, _null = null;
  12634. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12635. t1 = compound1.components;
  12636. if (t1.length > compound2.components.length)
  12637. return false;
  12638. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12639. }
  12640. _0_1 = A._findPseudoElementIndexed(compound1);
  12641. _0_5 = A._findPseudoElementIndexed(compound2);
  12642. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12643. _0_5_isSet = t1._is(_0_1);
  12644. _0_50 = _null;
  12645. index1 = _null;
  12646. pseudo2 = _null;
  12647. index2 = _null;
  12648. t2 = false;
  12649. if (_0_5_isSet) {
  12650. pseudo1 = _0_1._0;
  12651. index1 = _0_1._1;
  12652. t1 = t1._is(_0_5);
  12653. if (t1) {
  12654. pseudo2 = _0_5._0;
  12655. index2 = _0_5._1;
  12656. }
  12657. _0_50 = _0_5;
  12658. } else {
  12659. t1 = t2;
  12660. pseudo1 = _null;
  12661. }
  12662. if (t1) {
  12663. if (pseudo1.isSuperselector$1(pseudo2)) {
  12664. t1 = compound1.components;
  12665. t2 = type$.int;
  12666. t3 = A._arrayInstanceType(t1)._precomputed1;
  12667. t4 = compound2.components;
  12668. t5 = A._arrayInstanceType(t4)._precomputed1;
  12669. t1 = A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  12670. } else
  12671. t1 = false;
  12672. return t1;
  12673. }
  12674. if (_0_1 == null)
  12675. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12676. else
  12677. t1 = true;
  12678. if (t1)
  12679. return false;
  12680. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12681. simple1 = t1[_i];
  12682. if (simple1 instanceof A.PseudoSelector)
  12683. t4 = simple1.selector != null;
  12684. else
  12685. t4 = false;
  12686. if (t4) {
  12687. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12688. return false;
  12689. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12690. return false;
  12691. }
  12692. return true;
  12693. },
  12694. _findPseudoElementIndexed(compound) {
  12695. var t1, t2, i, simple;
  12696. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12697. simple = t1[i];
  12698. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12699. return new A._Record_2(simple, i);
  12700. }
  12701. return null;
  12702. },
  12703. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12704. var t1;
  12705. if (compound1.get$length(0) === 0)
  12706. return true;
  12707. if (compound2.get$length(0) === 0)
  12708. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12709. t1 = $.$get$bogusSpan();
  12710. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12711. },
  12712. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12713. var selector1 = pseudo1.selector;
  12714. if (selector1 == null)
  12715. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12716. switch (pseudo1.normalizedName) {
  12717. case "is":
  12718. case "matches":
  12719. case "any":
  12720. case "where":
  12721. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure(selector1)) || B.JSArray_methods.any$1(selector1.components, new A._selectorPseudoIsSuperselector_closure0(parents, compound2));
  12722. case "has":
  12723. case "host":
  12724. case "host-context":
  12725. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12726. case "slotted":
  12727. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12728. case "not":
  12729. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12730. case "current":
  12731. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12732. case "nth-child":
  12733. case "nth-last-child":
  12734. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12735. default:
  12736. throw A.wrapException("unreachable");
  12737. }
  12738. },
  12739. _selectorPseudoArgs(compound, $name, isClass) {
  12740. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12741. return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure0(), t1._eval$1("MappedIterable<Iterable.E,SelectorList?>")), type$.NonNullsIterable_SelectorList);
  12742. },
  12743. unifyComplex_closure: function unifyComplex_closure() {
  12744. },
  12745. _weaveParents_closure: function _weaveParents_closure(t0) {
  12746. this.span = t0;
  12747. },
  12748. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12749. this.group = t0;
  12750. },
  12751. _weaveParents_closure1: function _weaveParents_closure1() {
  12752. },
  12753. _weaveParents_closure2: function _weaveParents_closure2() {
  12754. },
  12755. _mustUnify_closure: function _mustUnify_closure(t0) {
  12756. this.uniqueSelectors = t0;
  12757. },
  12758. _mustUnify__closure: function _mustUnify__closure(t0) {
  12759. this.uniqueSelectors = t0;
  12760. },
  12761. paths_closure: function paths_closure(t0) {
  12762. this.T = t0;
  12763. },
  12764. paths__closure: function paths__closure(t0, t1) {
  12765. this.paths = t0;
  12766. this.T = t1;
  12767. },
  12768. paths___closure: function paths___closure(t0, t1) {
  12769. this.option = t0;
  12770. this.T = t1;
  12771. },
  12772. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12773. this.list1 = t0;
  12774. },
  12775. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12776. this.complex1 = t0;
  12777. },
  12778. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12779. },
  12780. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12781. this.combinator1 = t0;
  12782. },
  12783. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12784. },
  12785. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12786. this.compound2 = t0;
  12787. },
  12788. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12789. this.selector1 = t0;
  12790. },
  12791. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12792. this.parents = t0;
  12793. this.compound2 = t1;
  12794. },
  12795. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12796. this.selector1 = t0;
  12797. },
  12798. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12799. this.selector1 = t0;
  12800. },
  12801. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12802. this.compound2 = t0;
  12803. this.pseudo1 = t1;
  12804. },
  12805. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12806. this.complex = t0;
  12807. this.pseudo1 = t1;
  12808. },
  12809. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12810. this.simple2 = t0;
  12811. },
  12812. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12813. this.simple2 = t0;
  12814. },
  12815. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12816. this.selector1 = t0;
  12817. },
  12818. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12819. this.pseudo1 = t0;
  12820. this.selector1 = t1;
  12821. },
  12822. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12823. this.isClass = t0;
  12824. this.name = t1;
  12825. },
  12826. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12827. },
  12828. MergedExtension_merge(left, right) {
  12829. var t2, t3, t4,
  12830. t1 = left.extender.selector;
  12831. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12832. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12833. t2 = left.mediaContext;
  12834. t3 = t2 == null;
  12835. if (!t3) {
  12836. t4 = right.mediaContext;
  12837. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12838. } else
  12839. t4 = false;
  12840. if (t4)
  12841. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12842. if (right.isOptional && right.mediaContext == null)
  12843. return left;
  12844. if (left.isOptional && t3)
  12845. return right;
  12846. if (t3)
  12847. t2 = right.mediaContext;
  12848. t1.get$specificity();
  12849. t1 = new A.Extender(t1, false);
  12850. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12851. },
  12852. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12853. var _ = this;
  12854. _.left = t0;
  12855. _.right = t1;
  12856. _.extender = t2;
  12857. _.target = t3;
  12858. _.mediaContext = t4;
  12859. _.isOptional = t5;
  12860. _.span = t6;
  12861. },
  12862. ExtendMode: function ExtendMode(t0, t1, t2) {
  12863. this.name = t0;
  12864. this.index = t1;
  12865. this._name = t2;
  12866. },
  12867. globalFunctions_closure: function globalFunctions_closure() {
  12868. },
  12869. _invert($arguments, global) {
  12870. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  12871. t1 = J.getInterceptor$asx($arguments),
  12872. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  12873. if (!(t1.$index($arguments, 0) instanceof A.SassNumber))
  12874. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  12875. else
  12876. t2 = true;
  12877. if (t2) {
  12878. if (weightNumber._number$_value !== 100 || !weightNumber.hasUnit$1("%"))
  12879. throw A.wrapException(string$.Only_oa);
  12880. return A._functionString("invert", t1.take$1($arguments, 1));
  12881. }
  12882. color = t1.$index($arguments, 0).assertColor$1("color");
  12883. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull)) {
  12884. t1 = color._space;
  12885. if (!t1.get$isLegacyInternal())
  12886. throw A.wrapException(A.SassScriptException$(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  12887. A._checkPercent(weightNumber, _s6_);
  12888. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  12889. channel2 = B.LinearChannel_vJ3;
  12890. return A._mixLegacy(A.SassColor_SassColor$rgbInternal(A._invertChannel(rgb, B.LinearChannel_qXC, rgb.channel0OrNull), A._invertChannel(rgb, B.LinearChannel_Z5r, rgb.channel1OrNull), A._invertChannel(rgb, channel2, rgb.channel2OrNull), color.alphaOrNull, null), color, weightNumber).toSpace$1(t1);
  12891. }
  12892. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  12893. t1.assertUnquoted$1(_s5_);
  12894. space = A.ColorSpace_fromName(t1._string$_text, _s5_);
  12895. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  12896. if (A.fuzzyEquals(weight, 0))
  12897. return color;
  12898. inSpace = color.toSpace$1(space);
  12899. $label0$0: {
  12900. if (B.HwbColorSpace_guQ === space) {
  12901. t1 = A._invertChannel(inSpace, space._channels[0], inSpace.channel0OrNull);
  12902. t2 = inSpace.alphaOrNull;
  12903. if (t2 == null)
  12904. t2 = 0;
  12905. t2 = A.SassColor_SassColor$hwb(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  12906. t1 = t2;
  12907. break $label0$0;
  12908. }
  12909. if (B.HslColorSpace_JQ2 === space || B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  12910. t1 = space._channels;
  12911. t2 = A._invertChannel(inSpace, t1[0], inSpace.channel0OrNull);
  12912. t1 = A._invertChannel(inSpace, t1[2], inSpace.channel2OrNull);
  12913. t3 = inSpace.alphaOrNull;
  12914. if (t3 == null)
  12915. t3 = 0;
  12916. t3 = A.SassColor_SassColor$forSpaceInternal(space, t2, inSpace.channel1OrNull, t1, t3);
  12917. t1 = t3;
  12918. break $label0$0;
  12919. }
  12920. _1_9 = space._channels;
  12921. channel0 = _1_9[0];
  12922. channel1 = _1_9[1];
  12923. channel2 = _1_9[2];
  12924. t1 = A._invertChannel(inSpace, channel0, inSpace.channel0OrNull);
  12925. t2 = A._invertChannel(inSpace, channel1, inSpace.channel1OrNull);
  12926. t3 = A._invertChannel(inSpace, channel2, inSpace.channel2OrNull);
  12927. t4 = inSpace.alphaOrNull;
  12928. t1 = A.SassColor_SassColor$forSpaceInternal(space, t1, t2, t3, t4 == null ? 0 : t4);
  12929. break $label0$0;
  12930. }
  12931. return A.fuzzyEquals(weight, 1) ? t1.toSpace$2$legacyMissing(color._space, false) : color.interpolate$4$legacyMissing$weight(t1, A.InterpolationMethod$(space, null), false, 1 - weight);
  12932. },
  12933. _invertChannel(color, channel, value) {
  12934. var _0_2_isSet, _0_2, t1;
  12935. if (value == null)
  12936. A._missingChannelError(color, channel.name);
  12937. $label0$0: {
  12938. _0_2_isSet = channel instanceof A.LinearChannel;
  12939. _0_2 = null;
  12940. if (_0_2_isSet) {
  12941. _0_2 = channel.min;
  12942. t1 = _0_2;
  12943. t1 = t1 < 0;
  12944. } else
  12945. t1 = false;
  12946. if (t1) {
  12947. t1 = -value;
  12948. break $label0$0;
  12949. }
  12950. if (_0_2_isSet)
  12951. t1 = 0 === _0_2;
  12952. else
  12953. t1 = false;
  12954. if (t1) {
  12955. t1 = channel.max - value;
  12956. break $label0$0;
  12957. }
  12958. if (channel.isPolarAngle) {
  12959. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  12960. break $label0$0;
  12961. }
  12962. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  12963. }
  12964. return t1;
  12965. },
  12966. _grayscale(colorArg) {
  12967. var hsl, t2, oklch,
  12968. color = colorArg.assertColor$1("color"),
  12969. t1 = color._space;
  12970. if (t1.get$isLegacyInternal()) {
  12971. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  12972. t2 = hsl.alphaOrNull;
  12973. if (t2 == null)
  12974. t2 = 0;
  12975. return A.SassColor_SassColor$hsl(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  12976. } else {
  12977. oklch = color.toSpace$1(B.OklchColorSpace_9Gj);
  12978. t2 = oklch.alphaOrNull;
  12979. if (t2 == null)
  12980. t2 = 0;
  12981. return A.SassColor_SassColor$forSpaceInternal(B.OklchColorSpace_9Gj, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  12982. }
  12983. },
  12984. _updateComponents($arguments, adjust, change, scale) {
  12985. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  12986. t1 = J.getInterceptor$asx($arguments),
  12987. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12988. if (argumentList._list$_contents.length !== 0)
  12989. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12990. argumentList._wereKeywordsAccessed = true;
  12991. t2 = type$.String;
  12992. t3 = type$.Value;
  12993. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, t2, t3);
  12994. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  12995. t1 = keywords.remove$1(0, _s5_);
  12996. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  12997. if (spaceKeyword == null)
  12998. spaceKeyword = _null;
  12999. else
  13000. spaceKeyword.assertUnquoted$1(_s5_);
  13001. alphaArg = keywords.remove$1(0, "alpha");
  13002. t1 = spaceKeyword == null;
  13003. if (t1 && originalColor._space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  13004. t1 = A.NullableExtension_andThen(A._sniffLegacyColorSpace(keywords), new A._updateComponents_closure(originalColor));
  13005. color = t1 == null ? originalColor : t1;
  13006. } else
  13007. color = A._colorInSpace(originalColor, t1 ? B.C__SassNull : spaceKeyword, true);
  13008. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value);
  13009. t1 = color._space;
  13010. channelInfo = t1._channels;
  13011. for (t2 = A.MapExtensions_get_pairs(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  13012. t3 = {};
  13013. t4 = t2.get$current(t2);
  13014. t3.name = null;
  13015. t3.name = t4._0;
  13016. value = t4._1;
  13017. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure0(t3));
  13018. if (channelIndex === -1)
  13019. throw A.wrapException(A.SassScriptException$("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  13020. channelArgs[channelIndex] = value;
  13021. }
  13022. if (change)
  13023. result = A._changeColor(color, channelArgs, alphaArg);
  13024. else {
  13025. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber);
  13026. for (i = 0; i < 3; ++i) {
  13027. t3 = channelArgs[i];
  13028. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  13029. }
  13030. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  13031. result = scale ? A.SassColor_SassColor$forSpaceInternal(t1, A._scaleChannel(color, channelInfo[0], color.channel0OrNull, t2[0]), A._scaleChannel(color, channelInfo[1], color.channel1OrNull, t2[1]), A._scaleChannel(color, channelInfo[2], color.channel2OrNull, t2[2]), A._scaleChannel(color, B.LinearChannel_XL8, color.alphaOrNull, alphaNumber)) : A._adjustColor(color, t2, alphaNumber);
  13032. }
  13033. return result.toSpace$2$legacyMissing(originalColor._space, false);
  13034. },
  13035. _changeColor(color, channelArgs, alphaArg) {
  13036. var t4, _s5_ = "alpha",
  13037. t1 = A._channelForChange(channelArgs[0], color, 0),
  13038. t2 = A._channelForChange(channelArgs[1], color, 1),
  13039. t3 = A._channelForChange(channelArgs[2], color, 2);
  13040. $label0$0: {
  13041. if (alphaArg == null) {
  13042. t4 = color.alphaOrNull;
  13043. if (t4 == null)
  13044. t4 = 0;
  13045. break $label0$0;
  13046. }
  13047. t4 = A._isNone(alphaArg);
  13048. if (t4) {
  13049. t4 = null;
  13050. break $label0$0;
  13051. }
  13052. t4 = alphaArg instanceof A.SassNumber;
  13053. if (t4 && !alphaArg.get$hasUnits()) {
  13054. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  13055. break $label0$0;
  13056. }
  13057. if (t4 && alphaArg.hasUnit$1("%")) {
  13058. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  13059. break $label0$0;
  13060. }
  13061. if (t4) {
  13062. t4 = new A._changeColor_closure(alphaArg).call$0();
  13063. break $label0$0;
  13064. }
  13065. t4 = A.throwExpression(A.SassScriptException$(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  13066. }
  13067. return A._colorFromChannels(color._space, t1, t2, t3, t4, false, false);
  13068. },
  13069. _channelForChange(channelArg, color, channel) {
  13070. var _0_0, t1, t2;
  13071. if (channelArg == null) {
  13072. _0_0 = color.get$channelsOrNull()[channel];
  13073. $label0$0: {
  13074. if (_0_0 != null) {
  13075. t1 = color._space;
  13076. t2 = A.SassNumber_SassNumber(_0_0, (t1 === B.HslColorSpace_JQ2 || t1 === B.HwbColorSpace_guQ) && channel > 0 ? "%" : null);
  13077. t1 = t2;
  13078. break $label0$0;
  13079. }
  13080. t1 = null;
  13081. break $label0$0;
  13082. }
  13083. return t1;
  13084. }
  13085. if (A._isNone(channelArg))
  13086. return null;
  13087. if (channelArg instanceof A.SassNumber)
  13088. return channelArg;
  13089. throw A.wrapException(A.SassScriptException$(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._space._channels[channel].name));
  13090. },
  13091. _scaleChannel(color, channel, oldValue, factorArg) {
  13092. var t1, factor;
  13093. if (factorArg == null)
  13094. return oldValue;
  13095. if (!(channel instanceof A.LinearChannel))
  13096. throw A.wrapException(A.SassScriptException$("Channel isn't scalable.", channel.name));
  13097. if (oldValue == null)
  13098. A._missingChannelError(color, channel.name);
  13099. t1 = channel.name;
  13100. factorArg.assertUnit$2("%", t1);
  13101. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  13102. $label0$0: {
  13103. if (0 === factor) {
  13104. t1 = oldValue;
  13105. break $label0$0;
  13106. }
  13107. if (factor > 0) {
  13108. t1 = channel.max;
  13109. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  13110. break $label0$0;
  13111. }
  13112. t1 = channel.min;
  13113. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  13114. break $label0$0;
  13115. }
  13116. return t1;
  13117. },
  13118. _adjustColor(color, channelArgs, alphaArg) {
  13119. var t1 = color._space,
  13120. t2 = t1._channels;
  13121. return A.SassColor_SassColor$forSpaceInternal(t1, A._adjustChannel(color, t2[0], color.channel0OrNull, channelArgs[0]), A._adjustChannel(color, t2[1], color.channel1OrNull, channelArgs[1]), A._adjustChannel(color, t2[2], color.channel2OrNull, channelArgs[2]), A.NullableExtension_andThen(A._adjustChannel(color, B.LinearChannel_XL8, color.alphaOrNull, alphaArg), new A._adjustColor_closure()));
  13122. },
  13123. _adjustChannel(color, channel, oldValue, adjustmentArg) {
  13124. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  13125. if (adjustmentArg == null)
  13126. return oldValue;
  13127. if (oldValue == null)
  13128. A._missingChannelError(color, channel.name);
  13129. $label0$0: {
  13130. _0_1 = color._space;
  13131. _0_3 = B.HslColorSpace_JQ2 === _0_1;
  13132. t1 = _0_3;
  13133. if (!t1)
  13134. _0_6_isSet = B.HwbColorSpace_guQ === _0_1;
  13135. else
  13136. _0_6_isSet = true;
  13137. if (_0_6_isSet) {
  13138. t1 = channel.isPolarAngle;
  13139. _0_6 = channel;
  13140. } else {
  13141. _0_6 = _null;
  13142. t1 = false;
  13143. }
  13144. if (t1) {
  13145. adjustmentArg = A.SassNumber_SassNumber(A._angleValue(adjustmentArg, "hue"), _null);
  13146. break $label0$0;
  13147. }
  13148. t1 = false;
  13149. if (_0_3) {
  13150. _0_6_isSet0 = true;
  13151. if (_0_6_isSet)
  13152. t2 = _0_6;
  13153. else {
  13154. t2 = channel;
  13155. _0_6_isSet = _0_6_isSet0;
  13156. _0_6 = t2;
  13157. }
  13158. if (t2 instanceof A.LinearChannel) {
  13159. if (_0_6_isSet)
  13160. t1 = _0_6;
  13161. else {
  13162. t1 = channel;
  13163. _0_6_isSet = _0_6_isSet0;
  13164. _0_6 = t1;
  13165. }
  13166. _0_11 = type$.LinearChannel._as(t1).name;
  13167. t1 = _0_11;
  13168. if ("saturation" !== t1)
  13169. t1 = "lightness" === _0_11;
  13170. else
  13171. t1 = true;
  13172. }
  13173. }
  13174. if (t1) {
  13175. A._checkPercent(adjustmentArg, channel.name);
  13176. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, "%");
  13177. break $label0$0;
  13178. }
  13179. if (B.LinearChannel_XL8 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  13180. A.warnForDeprecation("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_7TE);
  13181. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, _null);
  13182. }
  13183. }
  13184. t1 = A._channelFromValue(channel, adjustmentArg, false);
  13185. t1.toString;
  13186. result = oldValue + t1;
  13187. $label1$1: {
  13188. t1 = channel instanceof A.LinearChannel;
  13189. min = _null;
  13190. t2 = false;
  13191. if (t1)
  13192. if (channel.lowerClamped) {
  13193. min = channel.min;
  13194. t2 = result < min;
  13195. }
  13196. if (t2) {
  13197. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  13198. break $label1$1;
  13199. }
  13200. max = _null;
  13201. t2 = false;
  13202. if (t1)
  13203. if (channel.upperClamped) {
  13204. max = channel.max;
  13205. t1 = result > max;
  13206. } else
  13207. t1 = t2;
  13208. else
  13209. t1 = t2;
  13210. if (t1) {
  13211. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  13212. break $label1$1;
  13213. }
  13214. t1 = result;
  13215. break $label1$1;
  13216. }
  13217. return t1;
  13218. },
  13219. _sniffLegacyColorSpace(keywords) {
  13220. var t1, t2;
  13221. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  13222. t2 = t1.__js_helper$_current;
  13223. if ("red" === t2 || "green" === t2 || "blue" === t2)
  13224. return B.RgbColorSpace_i0P;
  13225. if ("saturation" === t2 || "lightness" === t2)
  13226. return B.HslColorSpace_JQ2;
  13227. if ("whiteness" === t2 || "blackness" === t2)
  13228. return B.HwbColorSpace_guQ;
  13229. }
  13230. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ2 : null;
  13231. },
  13232. _functionString($name, $arguments) {
  13233. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  13234. },
  13235. _removedColorFunction($name, argument, negative) {
  13236. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  13237. },
  13238. _rgb($name, $arguments) {
  13239. var t3, t4,
  13240. t1 = J.getInterceptor$asx($arguments),
  13241. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13242. t2 = true;
  13243. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13244. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13245. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13246. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13247. t2 = t2 === true;
  13248. }
  13249. if (t2)
  13250. return A._functionString($name, $arguments);
  13251. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  13252. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  13253. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  13254. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  13255. return A._colorFromChannels(B.RgbColorSpace_i0P, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  13256. },
  13257. _rgbTwoArg($name, $arguments) {
  13258. var t2, color,
  13259. t1 = J.getInterceptor$asx($arguments),
  13260. first = t1.$index($arguments, 0),
  13261. second = t1.$index($arguments, 1);
  13262. if (!first.get$isVar())
  13263. t2 = !(first instanceof A.SassColor) && second.get$isVar();
  13264. else
  13265. t2 = true;
  13266. if (t2)
  13267. return A._functionString($name, $arguments);
  13268. color = first.assertColor$1("color");
  13269. if (!color._space.get$isLegacyInternal())
  13270. throw A.wrapException(A.SassScriptException$("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  13271. color.assertLegacy$1("color");
  13272. color = color.toSpace$1(B.RgbColorSpace_i0P);
  13273. if (second.get$isSpecialNumber())
  13274. return A._functionString($name, A._setArrayType([A.SassNumber_SassNumber(color.channel$1(0, "red"), null), A.SassNumber_SassNumber(color.channel$1(0, "green"), null), A.SassNumber_SassNumber(color.channel$1(0, "blue"), null), t1.$index($arguments, 1)], type$.JSArray_Value));
  13275. t1 = A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  13276. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13277. },
  13278. _hsl($name, $arguments) {
  13279. var t3, t4,
  13280. t1 = J.getInterceptor$asx($arguments),
  13281. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13282. t2 = true;
  13283. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13284. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13285. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13286. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13287. t2 = t2 === true;
  13288. }
  13289. if (t2)
  13290. return A._functionString($name, $arguments);
  13291. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  13292. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  13293. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  13294. t4 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  13295. return A._colorFromChannels(B.HslColorSpace_JQ2, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  13296. },
  13297. _angleValue(angleValue, $name) {
  13298. var angle = angleValue.assertNumber$1($name);
  13299. if (angle.compatibleWithUnit$1("deg"))
  13300. return angle.coerceValueToUnit$1("deg");
  13301. A.warnForDeprecation("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d_ + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_7TE);
  13302. return angle._number$_value;
  13303. },
  13304. _checkPercent(number, $name) {
  13305. if (number.hasUnit$1("%"))
  13306. return;
  13307. A.warnForDeprecation("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d_ + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3af, B.Deprecation_7TE);
  13308. },
  13309. _percentageOrUnitless(number, max, $name) {
  13310. var value;
  13311. if (!number.get$hasUnits())
  13312. value = number._number$_value;
  13313. else if (number.hasUnit$1("%"))
  13314. value = max * number._number$_value / 100;
  13315. else
  13316. throw A.wrapException(A.SassScriptException$("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  13317. return value;
  13318. },
  13319. _mixLegacy(color1, color2, weight) {
  13320. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  13321. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P),
  13322. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P),
  13323. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  13324. normalizedWeight = weightScale * 2 - 1,
  13325. t1 = color1.alphaOrNull;
  13326. if (t1 == null)
  13327. t1 = 0;
  13328. t2 = color2.alphaOrNull;
  13329. alphaDistance = t1 - (t2 == null ? 0 : t2);
  13330. t1 = normalizedWeight * alphaDistance;
  13331. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  13332. weight2 = 1 - weight1;
  13333. t1 = rgb1.channel0OrNull;
  13334. if (t1 == null)
  13335. t1 = 0;
  13336. t2 = rgb2.channel0OrNull;
  13337. if (t2 == null)
  13338. t2 = 0;
  13339. t3 = rgb1.channel1OrNull;
  13340. if (t3 == null)
  13341. t3 = 0;
  13342. t4 = rgb2.channel1OrNull;
  13343. if (t4 == null)
  13344. t4 = 0;
  13345. t5 = rgb1.channel2OrNull;
  13346. if (t5 == null)
  13347. t5 = 0;
  13348. t6 = rgb2.channel2OrNull;
  13349. if (t6 == null)
  13350. t6 = 0;
  13351. t7 = rgb1.alphaOrNull;
  13352. if (t7 == null)
  13353. t7 = 0;
  13354. t8 = rgb2.alphaOrNull;
  13355. if (t8 == null)
  13356. t8 = 0;
  13357. return A.SassColor_SassColor$rgbInternal(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  13358. },
  13359. _opacify($name, $arguments) {
  13360. var result,
  13361. t1 = J.getInterceptor$asx($arguments),
  13362. color = t1.$index($arguments, 0).assertColor$1("color"),
  13363. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13364. if (!color._space.get$isLegacyInternal())
  13365. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13366. t1 = color.alphaOrNull;
  13367. if (t1 == null)
  13368. t1 = 0;
  13369. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13370. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13371. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_zUK);
  13372. return result;
  13373. },
  13374. _transparentize($name, $arguments) {
  13375. var result,
  13376. t1 = J.getInterceptor$asx($arguments),
  13377. color = t1.$index($arguments, 0).assertColor$1("color"),
  13378. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13379. if (!color._space.get$isLegacyInternal())
  13380. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13381. t1 = color.alphaOrNull;
  13382. if (t1 == null)
  13383. t1 = 0;
  13384. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13385. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13386. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_zUK);
  13387. return result;
  13388. },
  13389. _colorInSpace(colorUntyped, spaceUntyped, legacyMissing) {
  13390. var t1, _s5_ = "space",
  13391. color = colorUntyped.assertColor$1("color");
  13392. if (spaceUntyped.$eq(0, B.C__SassNull))
  13393. return color;
  13394. t1 = spaceUntyped.assertString$1(_s5_);
  13395. t1.assertUnquoted$1(_s5_);
  13396. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName(t1._string$_text, _s5_), legacyMissing);
  13397. },
  13398. _parseChannels(functionName, input, $name, space) {
  13399. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, t1, t2, _2_6, _2_6_isSet, channels, first, rest, componentList, spaceName, i, channel, channelName, t3, t4, _null = null;
  13400. if (input.get$isVar())
  13401. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13402. parsedSlash = A._parseSlashChannels(input, $name);
  13403. if (parsedSlash == null)
  13404. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13405. components = parsedSlash._0;
  13406. alphaValue = parsedSlash._1;
  13407. $label0$0: {
  13408. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  13409. _2_1 = _2_0.length;
  13410. if (_2_1 <= 0)
  13411. throw A.wrapException(A.SassScriptException$("Color component list may not be empty.", $name));
  13412. _2_5 = _2_1 >= 1;
  13413. t1 = _2_5;
  13414. t2 = false;
  13415. if (t1) {
  13416. _2_6 = _2_0[0];
  13417. if (_2_6 instanceof A.SassString) {
  13418. type$.SassString._as(_2_6);
  13419. t1 = !_2_6._hasQuotes && _2_6._string$_text.toLowerCase() === "from";
  13420. } else
  13421. t1 = t2;
  13422. _2_6_isSet = true;
  13423. } else {
  13424. t1 = t2;
  13425. _2_6 = _null;
  13426. _2_6_isSet = false;
  13427. }
  13428. if (t1)
  13429. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13430. t1 = components.get$isVar();
  13431. if (t1) {
  13432. channels = A._setArrayType([components], type$.JSArray_Value);
  13433. break $label0$0;
  13434. }
  13435. channels = _null;
  13436. if (_2_5) {
  13437. first = _2_6_isSet ? _2_6 : _2_0[0];
  13438. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  13439. componentList = _2_0;
  13440. t1 = true;
  13441. } else {
  13442. componentList = channels;
  13443. rest = componentList;
  13444. first = _null;
  13445. t1 = false;
  13446. }
  13447. if (t1) {
  13448. if (space == null) {
  13449. spaceName = first.assertString$1($name);
  13450. spaceName.assertUnquoted$1($name);
  13451. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName(spaceName._string$_text, $name);
  13452. if (B.RgbColorSpace_i0P === space || B.HslColorSpace_JQ2 === space || B.HwbColorSpace_guQ === space || B.LabColorSpace_2nT === space || B.LchColorSpace_Bpv === space || B.OklabColorSpace_540 === space || B.OklchColorSpace_9Gj === space)
  13453. throw A.wrapException(A.SassScriptException$(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  13454. channels = rest;
  13455. } else
  13456. channels = componentList;
  13457. for (i = 0; i < channels.length; ++i) {
  13458. channel = channels[i];
  13459. t1 = false;
  13460. if (!channel.get$isSpecialNumber())
  13461. if (!(channel instanceof A.SassNumber))
  13462. t1 = !(channel instanceof A.SassString && !channel._hasQuotes && channel._string$_text.toLowerCase() === "none");
  13463. if (t1) {
  13464. t1 = _null;
  13465. if (space == null)
  13466. channelName = t1;
  13467. else {
  13468. t2 = space._channels;
  13469. t2 = i < 3 ? t2[i] : _null;
  13470. if (!(t2 == null))
  13471. t1 = new A._parseChannels_closure().call$1(t2.name);
  13472. channelName = t1;
  13473. }
  13474. if (channelName == null)
  13475. channelName = "channel " + (i + 1);
  13476. throw A.wrapException(A.SassScriptException$("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  13477. }
  13478. }
  13479. break $label0$0;
  13480. }
  13481. throw A.wrapException("unreachable");
  13482. }
  13483. t1 = alphaValue == null;
  13484. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  13485. if (t2 === true) {
  13486. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13487. t1 = A.List_List$_of(channels, type$.Value);
  13488. alphaValue.toString;
  13489. t1.push(alphaValue);
  13490. t1 = A._functionString(functionName, t1);
  13491. } else
  13492. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13493. return t1;
  13494. }
  13495. $label1$1: {
  13496. if (t1) {
  13497. t2 = 1;
  13498. break $label1$1;
  13499. }
  13500. if (alphaValue instanceof A.SassString && !alphaValue._hasQuotes && "none" === alphaValue._string$_text) {
  13501. t2 = _null;
  13502. break $label1$1;
  13503. }
  13504. t2 = A._percentageOrUnitless(alphaValue.assertNumber$1($name), 1, "alpha");
  13505. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  13506. break $label1$1;
  13507. }
  13508. if (space == null)
  13509. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13510. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure0())) {
  13511. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13512. t2 = A.List_List$_of(channels, type$.Value);
  13513. if (!t1)
  13514. t2.push(alphaValue);
  13515. t1 = A._functionString(functionName, t2);
  13516. } else
  13517. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13518. return t1;
  13519. }
  13520. if (channels.length !== 3)
  13521. throw A.wrapException(A.SassScriptException$("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  13522. t1 = channels[0];
  13523. t1 = t1 instanceof A.SassNumber ? t1 : _null;
  13524. t3 = channels[1];
  13525. t3 = t3 instanceof A.SassNumber ? t3 : _null;
  13526. t4 = channels[2];
  13527. t4 = t4 instanceof A.SassNumber ? t4 : _null;
  13528. return A._colorFromChannels(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P);
  13529. },
  13530. _parseSlashChannels(input, $name) {
  13531. var _1_1, alphaValue, t1, components, _1_7, _1_8, _1_9, initial, t2, _1_8_isSet, _1_9_isSet, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet0, t3, _null = null,
  13532. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  13533. $label0$0: {
  13534. _1_1 = _1_0.length;
  13535. alphaValue = _null;
  13536. t1 = false;
  13537. if (_1_1 === 2) {
  13538. components = _1_0[0];
  13539. alphaValue = _1_0[1];
  13540. t1 = input.get$separator(input) === B.ListSeparator_Lul;
  13541. } else
  13542. components = _null;
  13543. if (t1) {
  13544. t1 = new A._Record_2(components, alphaValue);
  13545. break $label0$0;
  13546. }
  13547. t1 = input.get$separator(input);
  13548. if (t1 === B.ListSeparator_Lul) {
  13549. t1 = _1_0.length;
  13550. A.throwExpression(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", $name));
  13551. }
  13552. _1_7 = _1_1 >= 1;
  13553. t1 = _1_7;
  13554. _1_8 = _null;
  13555. _1_9 = _null;
  13556. initial = _null;
  13557. t2 = false;
  13558. if (t1) {
  13559. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13560. initial = _1_8;
  13561. _1_9 = _1_0[_1_1 - 1];
  13562. t1 = _1_9;
  13563. if (t1 instanceof A.SassString) {
  13564. type$.SassString._as(_1_9);
  13565. t1 = !_1_9._hasQuotes;
  13566. } else
  13567. t1 = t2;
  13568. _1_8_isSet = true;
  13569. _1_9_isSet = true;
  13570. } else {
  13571. t1 = t2;
  13572. _1_8_isSet = false;
  13573. _1_9_isSet = false;
  13574. }
  13575. if (t1) {
  13576. if (_1_9_isSet)
  13577. t1 = _1_9;
  13578. else {
  13579. _1_9 = _1_0[_1_1 - 1];
  13580. t1 = _1_9;
  13581. }
  13582. _0_0 = type$.SassString._as(t1)._string$_text.split("/");
  13583. $label1$1: {
  13584. _0_1 = _0_0.length;
  13585. if (_0_1 === 1) {
  13586. t1 = new A._Record_2(input, _null);
  13587. break $label1$1;
  13588. }
  13589. if (_0_1 === 2) {
  13590. channel3 = _0_0[0];
  13591. alpha = _0_0[1];
  13592. t1 = A.List_List$_of(initial, type$.Value);
  13593. t1.push(A._parseNumberOrString(channel3));
  13594. t1 = new A._Record_2(A.SassList$(t1, B.ListSeparator_SrV, false), A._parseNumberOrString(alpha));
  13595. break $label1$1;
  13596. }
  13597. t1 = _null;
  13598. break $label1$1;
  13599. }
  13600. break $label0$0;
  13601. }
  13602. _1_16 = _null;
  13603. _1_16_isSet = false;
  13604. t1 = false;
  13605. if (_1_7) {
  13606. _1_9_isSet0 = true;
  13607. if (_1_8_isSet)
  13608. initial = _1_8;
  13609. else {
  13610. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13611. initial = _1_8;
  13612. }
  13613. if (_1_9_isSet)
  13614. t2 = _1_9;
  13615. else {
  13616. _1_9 = _1_0[_1_1 - 1];
  13617. t2 = _1_9;
  13618. _1_9_isSet = _1_9_isSet0;
  13619. }
  13620. _1_16_isSet = t2 instanceof A.SassNumber;
  13621. if (_1_16_isSet) {
  13622. if (_1_9_isSet)
  13623. t1 = _1_9;
  13624. else {
  13625. _1_9 = _1_0[_1_1 - 1];
  13626. t1 = _1_9;
  13627. _1_9_isSet = _1_9_isSet0;
  13628. }
  13629. _1_16 = type$.SassNumber._as(t1).asSlash;
  13630. t1 = _1_16;
  13631. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  13632. }
  13633. } else
  13634. initial = _null;
  13635. if (t1) {
  13636. if (_1_16_isSet)
  13637. t1 = _1_16;
  13638. else {
  13639. if (_1_9_isSet)
  13640. t1 = _1_9;
  13641. else {
  13642. _1_9 = _1_0[_1_1 - 1];
  13643. t1 = _1_9;
  13644. _1_9_isSet = true;
  13645. }
  13646. _1_16 = type$.SassNumber._as(t1).asSlash;
  13647. t1 = _1_16;
  13648. _1_16_isSet = true;
  13649. }
  13650. if (t1 == null)
  13651. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  13652. if (_1_16_isSet)
  13653. t2 = _1_16;
  13654. else {
  13655. if (_1_9_isSet)
  13656. t2 = _1_9;
  13657. else {
  13658. _1_9 = _1_0[_1_1 - 1];
  13659. t2 = _1_9;
  13660. }
  13661. _1_16 = type$.SassNumber._as(t2).asSlash;
  13662. t2 = _1_16;
  13663. }
  13664. if (t2 == null)
  13665. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  13666. t3 = A.List_List$_of(initial, type$.Value);
  13667. t3.push(t1._0);
  13668. t1 = new A._Record_2(A.SassList$(t3, B.ListSeparator_SrV, false), t2._1);
  13669. break $label0$0;
  13670. }
  13671. t1 = new A._Record_2(input, _null);
  13672. break $label0$0;
  13673. }
  13674. return t1;
  13675. },
  13676. _parseNumberOrString(text) {
  13677. var t1, expression, exception;
  13678. try {
  13679. t1 = A.ScssParser$(text, false, null);
  13680. expression = t1._parseSingleProduction$1$1(t1.get$_number(), type$.NumberExpression);
  13681. t1 = A.SassNumber_SassNumber(expression.value, expression.unit);
  13682. return t1;
  13683. } catch (exception) {
  13684. if (type$.SassFormatException._is(A.unwrapException(exception)))
  13685. return new A.SassString(text, false);
  13686. else
  13687. throw exception;
  13688. }
  13689. },
  13690. _colorFromChannels(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  13691. var t1, t2, whiteness, blackness, t3;
  13692. switch (space) {
  13693. case B.HslColorSpace_JQ2:
  13694. if (channel1 != null)
  13695. A._checkPercent(channel1, "saturation");
  13696. if (channel2 != null)
  13697. A._checkPercent(channel2, "lightness");
  13698. t1 = space._channels;
  13699. return A.SassColor_SassColor$hsl(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure()), A._channelFromValue(t1[1], A._forcePercent(channel1), clamp), A._channelFromValue(t1[2], A._forcePercent(channel2), clamp), alpha);
  13700. case B.HwbColorSpace_guQ:
  13701. t1 = channel1 == null;
  13702. if (!t1)
  13703. channel1.assertUnit$2("%", "whiteness");
  13704. t2 = channel2 == null;
  13705. if (!t2)
  13706. channel2.assertUnit$2("%", "blackness");
  13707. whiteness = t1 ? null : channel1._number$_value;
  13708. blackness = t2 ? null : channel2._number$_value;
  13709. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  13710. t1 = whiteness + blackness;
  13711. whiteness = whiteness / t1 * 100;
  13712. blackness = blackness / t1 * 100;
  13713. }
  13714. return A.SassColor_SassColor$hwb(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure0()), whiteness, blackness, alpha);
  13715. case B.RgbColorSpace_i0P:
  13716. t1 = space._channels;
  13717. t2 = A._channelFromValue(t1[0], channel0, clamp);
  13718. t3 = A._channelFromValue(t1[1], channel1, clamp);
  13719. t1 = A._channelFromValue(t1[2], channel2, clamp);
  13720. return A.SassColor_SassColor$rgbInternal(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum : null);
  13721. default:
  13722. t1 = space._channels;
  13723. return A.SassColor_SassColor$forSpaceInternal(space, A._channelFromValue(t1[0], channel0, clamp), A._channelFromValue(t1[1], channel1, clamp), A._channelFromValue(t1[2], channel2, clamp), alpha);
  13724. }
  13725. },
  13726. _forcePercent(number) {
  13727. var t1, _0_3;
  13728. $label0$0: {
  13729. if (number == null) {
  13730. t1 = null;
  13731. break $label0$0;
  13732. }
  13733. _0_3 = number.get$numeratorUnits(number);
  13734. if (_0_3.length === 1)
  13735. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  13736. else
  13737. t1 = false;
  13738. if (t1) {
  13739. t1 = number;
  13740. break $label0$0;
  13741. }
  13742. t1 = A.SassNumber_SassNumber(number._number$_value, "%");
  13743. break $label0$0;
  13744. }
  13745. return t1;
  13746. },
  13747. _channelFromValue(channel, value, clamp) {
  13748. return A.NullableExtension_andThen(value, new A._channelFromValue_closure(channel, clamp));
  13749. },
  13750. _isNone(value) {
  13751. return value instanceof A.SassString && !value._hasQuotes && value._string$_text.toLowerCase() === "none";
  13752. },
  13753. _channelFunction($name, space, getter, global, unit) {
  13754. return A.BuiltInCallable$function($name, "$color", new A._channelFunction_closure(getter, unit, global, $name, space), "sass:color");
  13755. },
  13756. _suggestScaleAndAdjust(original, adjustment, channelName) {
  13757. var t2, oldValue, newValue, factor, t3, suggestion,
  13758. channel = channelName === "alpha" ? B.LinearChannel_XL8 : type$.LinearChannel._as(B.JSArray_methods.firstWhere$1(B.List_oAL, new A._suggestScaleAndAdjust_closure(channelName))),
  13759. t1 = channel === B.LinearChannel_XL8;
  13760. if (t1) {
  13761. t2 = original.alphaOrNull;
  13762. oldValue = t2 == null ? 0 : t2;
  13763. } else
  13764. oldValue = original.toSpace$1(B.HslColorSpace_JQ2).channel$1(0, channelName);
  13765. newValue = oldValue + adjustment;
  13766. if (adjustment !== 0) {
  13767. factor = A._Cell$();
  13768. t2 = channel.max;
  13769. if (newValue > t2)
  13770. factor.__late_helper$_value = 1;
  13771. else {
  13772. t3 = channel.min;
  13773. if (newValue < t3)
  13774. factor.__late_helper$_value = -1;
  13775. else if (adjustment > 0)
  13776. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  13777. else
  13778. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  13779. }
  13780. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.serializeValue(A.SassNumber_SassNumber(factor._readLocal$0() * 100, "%"), false, true) + ")\n");
  13781. } else
  13782. suggestion = "Suggestion:\n\n";
  13783. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.serializeValue(A.SassNumber_SassNumber(adjustment, t1 ? null : "%"), false, true) + ")");
  13784. },
  13785. _missingChannelError(color, channel) {
  13786. return A.throwExpression(A.SassScriptException$(string$.Becaus + color.toCssString$0() + ").", channel));
  13787. },
  13788. _channelName(value) {
  13789. var t1 = value.assertString$1("channel");
  13790. t1.assertQuoted$1("channel");
  13791. return t1._string$_text;
  13792. },
  13793. _function5($name, $arguments, callback) {
  13794. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13795. },
  13796. global_closure0: function global_closure0() {
  13797. },
  13798. global_closure1: function global_closure1() {
  13799. },
  13800. global_closure2: function global_closure2() {
  13801. },
  13802. global_closure3: function global_closure3() {
  13803. },
  13804. global_closure4: function global_closure4() {
  13805. },
  13806. global_closure5: function global_closure5() {
  13807. },
  13808. global_closure6: function global_closure6() {
  13809. },
  13810. global_closure7: function global_closure7() {
  13811. },
  13812. global_closure8: function global_closure8() {
  13813. },
  13814. global_closure9: function global_closure9() {
  13815. },
  13816. global_closure10: function global_closure10() {
  13817. },
  13818. global_closure11: function global_closure11() {
  13819. },
  13820. global_closure12: function global_closure12() {
  13821. },
  13822. global_closure13: function global_closure13() {
  13823. },
  13824. global_closure14: function global_closure14() {
  13825. },
  13826. global_closure15: function global_closure15() {
  13827. },
  13828. global_closure16: function global_closure16() {
  13829. },
  13830. global_closure17: function global_closure17() {
  13831. },
  13832. global_closure18: function global_closure18() {
  13833. },
  13834. global_closure19: function global_closure19() {
  13835. },
  13836. global_closure20: function global_closure20() {
  13837. },
  13838. global_closure21: function global_closure21() {
  13839. },
  13840. global_closure22: function global_closure22() {
  13841. },
  13842. global_closure23: function global_closure23() {
  13843. },
  13844. global_closure24: function global_closure24() {
  13845. },
  13846. global_closure25: function global_closure25() {
  13847. },
  13848. global_closure26: function global_closure26() {
  13849. },
  13850. global_closure27: function global_closure27() {
  13851. },
  13852. global_closure28: function global_closure28() {
  13853. },
  13854. global_closure29: function global_closure29() {
  13855. },
  13856. global_closure30: function global_closure30() {
  13857. },
  13858. global_closure31: function global_closure31() {
  13859. },
  13860. global_closure32: function global_closure32() {
  13861. },
  13862. global_closure33: function global_closure33() {
  13863. },
  13864. global_closure34: function global_closure34() {
  13865. },
  13866. global_closure35: function global_closure35() {
  13867. },
  13868. global__closure: function global__closure() {
  13869. },
  13870. global_closure36: function global_closure36() {
  13871. },
  13872. global_closure37: function global_closure37() {
  13873. },
  13874. global_closure38: function global_closure38() {
  13875. },
  13876. global_closure39: function global_closure39() {
  13877. },
  13878. global_closure40: function global_closure40() {
  13879. },
  13880. global_closure41: function global_closure41() {
  13881. },
  13882. global_closure42: function global_closure42() {
  13883. },
  13884. module_closure1: function module_closure1() {
  13885. },
  13886. module_closure2: function module_closure2() {
  13887. },
  13888. module_closure3: function module_closure3() {
  13889. },
  13890. module_closure4: function module_closure4() {
  13891. },
  13892. module_closure5: function module_closure5() {
  13893. },
  13894. module_closure6: function module_closure6() {
  13895. },
  13896. module_closure7: function module_closure7() {
  13897. },
  13898. module_closure8: function module_closure8() {
  13899. },
  13900. module_closure9: function module_closure9() {
  13901. },
  13902. module_closure10: function module_closure10() {
  13903. },
  13904. module_closure11: function module_closure11() {
  13905. },
  13906. module_closure12: function module_closure12() {
  13907. },
  13908. module_closure13: function module_closure13() {
  13909. },
  13910. module_closure14: function module_closure14() {
  13911. },
  13912. module__closure2: function module__closure2() {
  13913. },
  13914. module_closure15: function module_closure15() {
  13915. },
  13916. module_closure16: function module_closure16() {
  13917. },
  13918. module_closure17: function module_closure17() {
  13919. },
  13920. module_closure18: function module_closure18() {
  13921. },
  13922. module_closure19: function module_closure19() {
  13923. },
  13924. module_closure20: function module_closure20() {
  13925. },
  13926. module_closure21: function module_closure21() {
  13927. },
  13928. module_closure22: function module_closure22() {
  13929. },
  13930. module__closure1: function module__closure1(t0) {
  13931. this.channelName = t0;
  13932. },
  13933. module_closure23: function module_closure23() {
  13934. },
  13935. module_closure_toXyzNoMissing: function module_closure_toXyzNoMissing() {
  13936. },
  13937. module_closure24: function module_closure24() {
  13938. },
  13939. _mix_closure: function _mix_closure() {
  13940. },
  13941. _complement_closure: function _complement_closure() {
  13942. },
  13943. _adjust_closure: function _adjust_closure() {
  13944. },
  13945. _scale_closure: function _scale_closure() {
  13946. },
  13947. _change_closure: function _change_closure() {
  13948. },
  13949. _ieHexStr_closure: function _ieHexStr_closure() {
  13950. },
  13951. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13952. },
  13953. _updateComponents_closure: function _updateComponents_closure(t0) {
  13954. this.originalColor = t0;
  13955. },
  13956. _updateComponents_closure0: function _updateComponents_closure0(t0) {
  13957. this._box_0 = t0;
  13958. },
  13959. _changeColor_closure: function _changeColor_closure(t0) {
  13960. this.alphaArg = t0;
  13961. },
  13962. _adjustColor_closure: function _adjustColor_closure() {
  13963. },
  13964. _functionString_closure: function _functionString_closure() {
  13965. },
  13966. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13967. this.name = t0;
  13968. this.argument = t1;
  13969. this.negative = t2;
  13970. },
  13971. _rgb_closure: function _rgb_closure() {
  13972. },
  13973. _hsl_closure: function _hsl_closure() {
  13974. },
  13975. _parseChannels_closure: function _parseChannels_closure() {
  13976. },
  13977. _parseChannels_closure0: function _parseChannels_closure0() {
  13978. },
  13979. _colorFromChannels_closure: function _colorFromChannels_closure() {
  13980. },
  13981. _colorFromChannels_closure0: function _colorFromChannels_closure0() {
  13982. },
  13983. _channelFromValue_closure: function _channelFromValue_closure(t0, t1) {
  13984. this.channel = t0;
  13985. this.clamp = t1;
  13986. },
  13987. _channelFunction_closure: function _channelFunction_closure(t0, t1, t2, t3, t4) {
  13988. var _ = this;
  13989. _.getter = t0;
  13990. _.unit = t1;
  13991. _.global = t2;
  13992. _.name = t3;
  13993. _.space = t4;
  13994. },
  13995. _suggestScaleAndAdjust_closure: function _suggestScaleAndAdjust_closure(t0) {
  13996. this.channelName = t0;
  13997. },
  13998. _function4($name, $arguments, callback) {
  13999. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  14000. },
  14001. _length_closure0: function _length_closure0() {
  14002. },
  14003. _nth_closure: function _nth_closure() {
  14004. },
  14005. _setNth_closure: function _setNth_closure() {
  14006. },
  14007. _join_closure: function _join_closure() {
  14008. },
  14009. _append_closure0: function _append_closure0() {
  14010. },
  14011. _zip_closure: function _zip_closure() {
  14012. },
  14013. _zip__closure: function _zip__closure() {
  14014. },
  14015. _zip__closure0: function _zip__closure0(t0) {
  14016. this._box_0 = t0;
  14017. },
  14018. _zip__closure1: function _zip__closure1(t0) {
  14019. this._box_0 = t0;
  14020. },
  14021. _index_closure0: function _index_closure0() {
  14022. },
  14023. _separator_closure: function _separator_closure() {
  14024. },
  14025. _isBracketed_closure: function _isBracketed_closure() {
  14026. },
  14027. _slash_closure: function _slash_closure() {
  14028. },
  14029. _modify(map, keys, modify, addNesting) {
  14030. var keyIterator = J.get$iterator$ax(keys);
  14031. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  14032. },
  14033. _deepMergeImpl(map1, map2) {
  14034. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged,
  14035. t1 = map1._map$_contents;
  14036. if (t1.get$isEmpty(t1))
  14037. return map2;
  14038. t2 = map2._map$_contents;
  14039. if (t2.get$isEmpty(t2))
  14040. return map1;
  14041. t3 = type$.Value;
  14042. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  14043. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  14044. t4 = t1.get$current(t1);
  14045. key = t4._0;
  14046. value = t4._1;
  14047. t4 = result.$index(0, key);
  14048. _1_1 = t4 == null ? null : t4.tryMap$0();
  14049. _1_3 = value.tryMap$0();
  14050. _1_3_isSet = _1_1 != null;
  14051. t4 = false;
  14052. if (_1_3_isSet) {
  14053. t4 = _1_3 != null;
  14054. resultMap = _1_1;
  14055. _1_30 = _1_3;
  14056. } else {
  14057. _1_30 = null;
  14058. resultMap = null;
  14059. }
  14060. if (t4) {
  14061. valueMap = _1_3_isSet ? _1_30 : _1_3;
  14062. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  14063. if (merged === resultMap)
  14064. continue;
  14065. result.$indexSet(0, key, merged);
  14066. } else
  14067. result.$indexSet(0, key, value);
  14068. }
  14069. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  14070. },
  14071. _function3($name, $arguments, callback) {
  14072. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  14073. },
  14074. _get_closure: function _get_closure() {
  14075. },
  14076. _set_closure: function _set_closure() {
  14077. },
  14078. _set__closure0: function _set__closure0(t0) {
  14079. this.$arguments = t0;
  14080. },
  14081. _set_closure0: function _set_closure0() {
  14082. },
  14083. _set__closure: function _set__closure(t0) {
  14084. this._box_0 = t0;
  14085. },
  14086. _merge_closure: function _merge_closure() {
  14087. },
  14088. _merge_closure0: function _merge_closure0() {
  14089. },
  14090. _merge__closure: function _merge__closure(t0) {
  14091. this.map2 = t0;
  14092. },
  14093. _deepMerge_closure: function _deepMerge_closure() {
  14094. },
  14095. _deepRemove_closure: function _deepRemove_closure() {
  14096. },
  14097. _deepRemove__closure: function _deepRemove__closure(t0) {
  14098. this.keys = t0;
  14099. },
  14100. _remove_closure: function _remove_closure() {
  14101. },
  14102. _remove_closure0: function _remove_closure0() {
  14103. },
  14104. _keys_closure: function _keys_closure() {
  14105. },
  14106. _values_closure: function _values_closure() {
  14107. },
  14108. _hasKey_closure: function _hasKey_closure() {
  14109. },
  14110. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  14111. this.keyIterator = t0;
  14112. this.modify = t1;
  14113. this.addNesting = t2;
  14114. },
  14115. _singleArgumentMathFunc($name, mathFunc) {
  14116. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  14117. },
  14118. _numberFunction($name, transform) {
  14119. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  14120. },
  14121. _function2($name, $arguments, callback) {
  14122. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  14123. },
  14124. global_closure: function global_closure() {
  14125. },
  14126. module_closure0: function module_closure0() {
  14127. },
  14128. _ceil_closure: function _ceil_closure() {
  14129. },
  14130. _clamp_closure: function _clamp_closure() {
  14131. },
  14132. _floor_closure: function _floor_closure() {
  14133. },
  14134. _max_closure: function _max_closure() {
  14135. },
  14136. _min_closure: function _min_closure() {
  14137. },
  14138. _round_closure: function _round_closure() {
  14139. },
  14140. _hypot_closure: function _hypot_closure() {
  14141. },
  14142. _hypot__closure: function _hypot__closure() {
  14143. },
  14144. _log_closure: function _log_closure() {
  14145. },
  14146. _pow_closure: function _pow_closure() {
  14147. },
  14148. _atan2_closure: function _atan2_closure() {
  14149. },
  14150. _compatible_closure: function _compatible_closure() {
  14151. },
  14152. _isUnitless_closure: function _isUnitless_closure() {
  14153. },
  14154. _unit_closure: function _unit_closure() {
  14155. },
  14156. _percentage_closure: function _percentage_closure() {
  14157. },
  14158. _randomFunction_closure: function _randomFunction_closure() {
  14159. },
  14160. _div_closure: function _div_closure() {
  14161. },
  14162. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  14163. this.mathFunc = t0;
  14164. },
  14165. _numberFunction_closure: function _numberFunction_closure(t0) {
  14166. this.transform = t0;
  14167. },
  14168. _function($name, $arguments, callback) {
  14169. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  14170. },
  14171. _shared_closure: function _shared_closure() {
  14172. },
  14173. _shared_closure0: function _shared_closure0() {
  14174. },
  14175. _shared_closure1: function _shared_closure1() {
  14176. },
  14177. _shared_closure2: function _shared_closure2() {
  14178. },
  14179. moduleFunctions_closure: function moduleFunctions_closure() {
  14180. },
  14181. moduleFunctions_closure0: function moduleFunctions_closure0() {
  14182. },
  14183. moduleFunctions__closure: function moduleFunctions__closure() {
  14184. },
  14185. moduleFunctions_closure1: function moduleFunctions_closure1() {
  14186. },
  14187. _prependParent(compound) {
  14188. var _0_3, _0_4, t2, t3, rest,
  14189. t1 = A.EvaluationContext_currentOrNull(),
  14190. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  14191. _0_0 = compound.components;
  14192. $label0$0: {
  14193. _0_3 = _0_0.length >= 1;
  14194. if (_0_3) {
  14195. _0_4 = _0_0[0];
  14196. t1 = _0_4 instanceof A.UniversalSelector;
  14197. } else {
  14198. _0_4 = null;
  14199. t1 = false;
  14200. }
  14201. t2 = null;
  14202. if (t1) {
  14203. t1 = t2;
  14204. break $label0$0;
  14205. }
  14206. t1 = false;
  14207. if (_0_3) {
  14208. t3 = _0_4;
  14209. if (t3 instanceof A.TypeSelector) {
  14210. t1 = _0_4;
  14211. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  14212. }
  14213. }
  14214. if (t1) {
  14215. t1 = t2;
  14216. break $label0$0;
  14217. }
  14218. if (_0_3) {
  14219. t1 = _0_4;
  14220. t1 = t1 instanceof A.TypeSelector;
  14221. } else
  14222. t1 = false;
  14223. if (t1) {
  14224. t1 = _0_3 ? _0_4 : _0_0[0];
  14225. type$.TypeSelector._as(t1);
  14226. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  14227. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  14228. B.JSArray_methods.addAll$1(t1, rest);
  14229. t1 = A.CompoundSelector$(t1, span);
  14230. break $label0$0;
  14231. }
  14232. t1 = A._setArrayType([new A.ParentSelector(null, span)], type$.JSArray_SimpleSelector);
  14233. B.JSArray_methods.addAll$1(t1, _0_0);
  14234. t1 = A.CompoundSelector$(t1, span);
  14235. break $label0$0;
  14236. }
  14237. return t1;
  14238. },
  14239. _function1($name, $arguments, callback) {
  14240. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  14241. },
  14242. _nest_closure: function _nest_closure() {
  14243. },
  14244. _nest__closure: function _nest__closure(t0) {
  14245. this._box_0 = t0;
  14246. },
  14247. _nest__closure0: function _nest__closure0() {
  14248. },
  14249. _append_closure: function _append_closure() {
  14250. },
  14251. _append__closure: function _append__closure() {
  14252. },
  14253. _append__closure0: function _append__closure0(t0) {
  14254. this.span = t0;
  14255. },
  14256. _append___closure: function _append___closure(t0, t1) {
  14257. this.parent = t0;
  14258. this.span = t1;
  14259. },
  14260. _extend_closure: function _extend_closure() {
  14261. },
  14262. _replace_closure: function _replace_closure() {
  14263. },
  14264. _unify_closure: function _unify_closure() {
  14265. },
  14266. _isSuperselector_closure: function _isSuperselector_closure() {
  14267. },
  14268. _simpleSelectors_closure: function _simpleSelectors_closure() {
  14269. },
  14270. _simpleSelectors__closure: function _simpleSelectors__closure() {
  14271. },
  14272. _parse_closure: function _parse_closure() {
  14273. },
  14274. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  14275. var result;
  14276. if (index === 0)
  14277. return 0;
  14278. if (index > 0)
  14279. return Math.min(index - 1, lengthInCodepoints);
  14280. result = lengthInCodepoints + index;
  14281. if (result < 0 && !allowNegative)
  14282. return 0;
  14283. return result;
  14284. },
  14285. _function0($name, $arguments, callback) {
  14286. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  14287. },
  14288. module_closure: function module_closure() {
  14289. },
  14290. module__closure: function module__closure(t0) {
  14291. this.string = t0;
  14292. },
  14293. module__closure0: function module__closure0(t0) {
  14294. this.string = t0;
  14295. },
  14296. _unquote_closure: function _unquote_closure() {
  14297. },
  14298. _quote_closure: function _quote_closure() {
  14299. },
  14300. _length_closure: function _length_closure() {
  14301. },
  14302. _insert_closure: function _insert_closure() {
  14303. },
  14304. _index_closure: function _index_closure() {
  14305. },
  14306. _slice_closure: function _slice_closure() {
  14307. },
  14308. _toUpperCase_closure: function _toUpperCase_closure() {
  14309. },
  14310. _toLowerCase_closure: function _toLowerCase_closure() {
  14311. },
  14312. _uniqueId_closure: function _uniqueId_closure() {
  14313. },
  14314. ImportCache$(importers, loadPaths) {
  14315. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  14316. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  14317. t3 = type$.Uri;
  14318. return new A.ImportCache(A.ImportCache__toImporters(importers, loadPaths, null), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  14319. },
  14320. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  14321. var t1, t2, t3, t4, _i, path, _null = null,
  14322. sassPath = A.getEnvironmentVariable("SASS_PATH");
  14323. if (A.isBrowser()) {
  14324. t1 = A._setArrayType([], type$.JSArray_Importer);
  14325. B.JSArray_methods.addAll$1(t1, importers);
  14326. return t1;
  14327. }
  14328. t1 = A._setArrayType([], type$.JSArray_Importer);
  14329. B.JSArray_methods.addAll$1(t1, importers);
  14330. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  14331. t3 = t2.get$current(t2);
  14332. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  14333. }
  14334. if (sassPath != null) {
  14335. t2 = A.isNodeJs() ? self.process : _null;
  14336. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  14337. t4 = t3.length;
  14338. _i = 0;
  14339. for (; _i < t4; ++_i) {
  14340. path = t3[_i];
  14341. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  14342. }
  14343. }
  14344. return t1;
  14345. },
  14346. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  14347. var _ = this;
  14348. _._importers = t0;
  14349. _._canonicalizeCache = t1;
  14350. _._perImporterCanonicalizeCache = t2;
  14351. _._nonCanonicalRelativeUrls = t3;
  14352. _._importCache = t4;
  14353. _._resultsCache = t5;
  14354. _._loadTimes = t6;
  14355. },
  14356. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  14357. var _ = this;
  14358. _.$this = t0;
  14359. _.baseImporter = t1;
  14360. _.resolvedUrl = t2;
  14361. _.baseUrl = t3;
  14362. _.forImport = t4;
  14363. _.key = t5;
  14364. _.url = t6;
  14365. },
  14366. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  14367. this.importer = t0;
  14368. this.url = t1;
  14369. },
  14370. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3) {
  14371. var _ = this;
  14372. _.$this = t0;
  14373. _.importer = t1;
  14374. _.canonicalUrl = t2;
  14375. _.originalUrl = t3;
  14376. },
  14377. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  14378. this.canonicalUrl = t0;
  14379. },
  14380. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  14381. },
  14382. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  14383. },
  14384. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  14385. this.canonicalUrl = t0;
  14386. },
  14387. Importer: function Importer() {
  14388. },
  14389. AsyncImporter: function AsyncImporter() {
  14390. },
  14391. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  14392. this._fromImport = t0;
  14393. this._containingUrl = t1;
  14394. this._wasContainingUrlAccessed = false;
  14395. },
  14396. FilesystemImporter: function FilesystemImporter(t0, t1) {
  14397. this._loadPath = t0;
  14398. this._loadPathDeprecated = t1;
  14399. },
  14400. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  14401. },
  14402. NoOpImporter: function NoOpImporter() {
  14403. },
  14404. NodePackageImporter: function NodePackageImporter() {
  14405. this.__NodePackageImporter__entryPointDirectory_F = $;
  14406. },
  14407. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  14408. },
  14409. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  14410. },
  14411. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  14412. },
  14413. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  14414. this.$this = t0;
  14415. this.exports = t1;
  14416. this.packageRoot = t2;
  14417. },
  14418. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  14419. this.$this = t0;
  14420. this.variant = t1;
  14421. this.packageRoot = t2;
  14422. },
  14423. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  14424. },
  14425. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  14426. },
  14427. ImporterResult: function ImporterResult(t0, t1, t2) {
  14428. this.contents = t0;
  14429. this._sourceMapUrl = t1;
  14430. this.syntax = t2;
  14431. },
  14432. fromImport() {
  14433. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  14434. t1 = t1 == null ? null : t1._fromImport;
  14435. return t1 === true;
  14436. },
  14437. canonicalizeContext() {
  14438. var t1,
  14439. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  14440. $label0$0: {
  14441. if (_0_0 == null)
  14442. A.throwExpression(A.StateError$(string$.canoni));
  14443. if (_0_0 instanceof A.CanonicalizeContext) {
  14444. t1 = _0_0;
  14445. break $label0$0;
  14446. }
  14447. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  14448. }
  14449. return t1;
  14450. },
  14451. resolveImportPath(path) {
  14452. var t1,
  14453. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14454. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  14455. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  14456. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  14457. }
  14458. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  14459. if (t1 == null)
  14460. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  14461. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  14462. },
  14463. _tryPathWithExtensions(path) {
  14464. var result = A._tryPath(path + ".sass");
  14465. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  14466. return result.length !== 0 ? result : A._tryPath(path + ".css");
  14467. },
  14468. _tryPath(path) {
  14469. var t1 = $.$get$context(),
  14470. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  14471. t1 = A._setArrayType([], type$.JSArray_String);
  14472. if (A.fileExists(partial))
  14473. t1.push(partial);
  14474. if (A.fileExists(path))
  14475. t1.push(path);
  14476. return t1;
  14477. },
  14478. _tryPathAsDirectory(path) {
  14479. var t1;
  14480. if (!A.dirExists(path))
  14481. return null;
  14482. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  14483. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  14484. },
  14485. _exactlyOne(paths) {
  14486. var _0_1, t1, path;
  14487. $label0$0: {
  14488. _0_1 = paths.length;
  14489. if (_0_1 <= 0) {
  14490. t1 = null;
  14491. break $label0$0;
  14492. }
  14493. if (_0_1 === 1) {
  14494. path = paths[0];
  14495. t1 = path;
  14496. break $label0$0;
  14497. }
  14498. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  14499. }
  14500. return t1;
  14501. },
  14502. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  14503. this.path = t0;
  14504. this.extension = t1;
  14505. },
  14506. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  14507. this.path = t0;
  14508. },
  14509. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  14510. this.path = t0;
  14511. },
  14512. _exactlyOne_closure: function _exactlyOne_closure() {
  14513. },
  14514. InterpolationBuffer: function InterpolationBuffer(t0, t1, t2) {
  14515. this._interpolation_buffer$_text = t0;
  14516. this._interpolation_buffer$_contents = t1;
  14517. this._spans = t2;
  14518. },
  14519. InterpolationMap$(_interpolation, targetOffsets) {
  14520. var t1 = A.List_List$unmodifiable(targetOffsets, type$.int),
  14521. t2 = _interpolation.contents.length,
  14522. expectedLocations = Math.max(0, t2 - 1);
  14523. if (t1.length !== expectedLocations)
  14524. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + " targetOffsets if the interpolation has " + t2 + " components.", null));
  14525. return new A.InterpolationMap(_interpolation, t1);
  14526. },
  14527. InterpolationMap: function InterpolationMap(t0, t1) {
  14528. this._interpolation = t0;
  14529. this._targetOffsets = t1;
  14530. },
  14531. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  14532. },
  14533. _realCasePath(path) {
  14534. var prefix, _null = null,
  14535. t1 = A.isNodeJs() ? self.process : _null;
  14536. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14537. t1 = A.isNodeJs() ? self.process : _null;
  14538. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  14539. } else
  14540. t1 = true;
  14541. if (!t1)
  14542. return path;
  14543. t1 = A.isNodeJs() ? self.process : _null;
  14544. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14545. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  14546. t1 = prefix.length;
  14547. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  14548. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  14549. }
  14550. return new A._realCasePath_helper().call$1(path);
  14551. },
  14552. _realCasePath_helper: function _realCasePath_helper() {
  14553. },
  14554. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2, t3) {
  14555. var _ = this;
  14556. _.path = t0;
  14557. _.realPath = t1;
  14558. _.helper = t2;
  14559. _.dirname = t3;
  14560. },
  14561. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  14562. this.basename = t0;
  14563. },
  14564. printError(message) {
  14565. var t1 = A.isNodeJs() ? self.process : null;
  14566. if (t1 != null) {
  14567. t1 = J.get$stderr$x(t1);
  14568. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  14569. } else {
  14570. t1 = self.console;
  14571. J.error$1$x(t1, message == null ? "" : message);
  14572. }
  14573. },
  14574. readFile(path) {
  14575. var contents, sourceFile, t1, i;
  14576. if (!A.isNodeJs())
  14577. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  14578. contents = A._asString(A._readFile(path, "utf8"));
  14579. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  14580. return contents;
  14581. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  14582. for (t1 = contents.length, i = 0; i < t1; ++i) {
  14583. if (contents.charCodeAt(i) !== 65533)
  14584. continue;
  14585. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  14586. }
  14587. return contents;
  14588. },
  14589. _readFile(path, encoding) {
  14590. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  14591. },
  14592. writeFile(path, contents) {
  14593. if (!A.isNodeJs())
  14594. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  14595. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  14596. },
  14597. deleteFile(path) {
  14598. if (!A.isNodeJs())
  14599. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  14600. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  14601. },
  14602. readStdin() {
  14603. return A.readStdin$body();
  14604. },
  14605. readStdin$body() {
  14606. var $async$goto = 0,
  14607. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  14608. $async$returnValue, t3, completer, sink, t1, t2;
  14609. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14610. if ($async$errorCode === 1)
  14611. return A._asyncRethrow($async$result, $async$completer);
  14612. for (;;)
  14613. switch ($async$goto) {
  14614. case 0:
  14615. // Function start
  14616. t1 = {};
  14617. t2 = A.isNodeJs() ? self.process : null;
  14618. if (t2 == null)
  14619. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  14620. t3 = new A._Future($.Zone__current, type$._Future_String);
  14621. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  14622. t1.contents = null;
  14623. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  14624. t1 = J.getInterceptor$x(t2);
  14625. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  14626. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  14627. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  14628. $async$returnValue = t3;
  14629. // goto return
  14630. $async$goto = 1;
  14631. break;
  14632. case 1:
  14633. // return
  14634. return A._asyncReturn($async$returnValue, $async$completer);
  14635. }
  14636. });
  14637. return A._asyncStartSync($async$readStdin, $async$completer);
  14638. },
  14639. fileExists(path) {
  14640. if (!A.isNodeJs())
  14641. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  14642. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  14643. },
  14644. dirExists(path) {
  14645. if (!A.isNodeJs())
  14646. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  14647. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  14648. },
  14649. linkExists(path) {
  14650. if (!A.isNodeJs())
  14651. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  14652. return A._systemErrorToFileSystemException(new A.linkExists_closure(path));
  14653. },
  14654. ensureDir(path) {
  14655. if (!A.isNodeJs())
  14656. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  14657. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  14658. },
  14659. listDir(path, recursive) {
  14660. if (!A.isNodeJs())
  14661. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14662. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  14663. },
  14664. realpath(path) {
  14665. if (!A.isNodeJs())
  14666. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14667. return A._systemErrorToFileSystemException(new A.realpath_closure(path));
  14668. },
  14669. modificationTime(path) {
  14670. if (!A.isNodeJs())
  14671. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  14672. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  14673. },
  14674. getEnvironmentVariable($name) {
  14675. var t1 = A.isNodeJs() ? self.process : null,
  14676. env = t1 == null ? null : J.get$env$x(t1);
  14677. if (env == null)
  14678. t1 = null;
  14679. else
  14680. t1 = A._asStringQ(env[$name]);
  14681. return t1;
  14682. },
  14683. _systemErrorToFileSystemException(callback) {
  14684. var error, t1, exception, t2;
  14685. try {
  14686. t1 = callback.call$0();
  14687. return t1;
  14688. } catch (exception) {
  14689. error = A.unwrapException(exception);
  14690. if (!type$.JsSystemError._is(error))
  14691. throw exception;
  14692. t1 = error;
  14693. t2 = J.getInterceptor$x(t1);
  14694. throw A.wrapException(new A.FileSystemException(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
  14695. }
  14696. },
  14697. hasTerminal() {
  14698. var t1 = A.isNodeJs() ? self.process : null;
  14699. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  14700. },
  14701. isWindows() {
  14702. var t1 = A.isNodeJs() ? self.process : null;
  14703. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  14704. },
  14705. watchDir(path, poll) {
  14706. return A.watchDir$body(path, poll);
  14707. },
  14708. watchDir$body(path, poll) {
  14709. var $async$goto = 0,
  14710. $async$completer = A._makeAsyncAwaitCompleter(type$.Stream_WatchEvent),
  14711. $async$returnValue, _0_0, t2, parcel, controller, watcher, t3, t1, $async$temp1, $async$temp2, $async$temp3;
  14712. var $async$watchDir = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14713. if ($async$errorCode === 1)
  14714. return A._asyncRethrow($async$result, $async$completer);
  14715. for (;;)
  14716. switch ($async$goto) {
  14717. case 0:
  14718. // Function start
  14719. t1 = {};
  14720. if (!A.isNodeJs())
  14721. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  14722. t1.controller = null;
  14723. _0_0 = init.G.parcel_watcher;
  14724. if (_0_0 != null) {
  14725. t2 = !poll;
  14726. parcel = _0_0;
  14727. } else {
  14728. parcel = null;
  14729. t2 = false;
  14730. }
  14731. $async$goto = t2 ? 3 : 5;
  14732. break;
  14733. case 3:
  14734. // then
  14735. $async$temp1 = t1;
  14736. $async$temp2 = A;
  14737. $async$temp3 = A;
  14738. $async$goto = 6;
  14739. return A._asyncAwait(A.ParcelWatcher_subscribe(parcel, path, new A.watchDir_closure0(t1)), $async$watchDir);
  14740. case 6:
  14741. // returning from await.
  14742. controller = $async$temp1.controller = $async$temp2.StreamController_StreamController(new $async$temp3.watchDir_closure($async$result), null, null, null, false, type$.WatchEvent);
  14743. $async$returnValue = new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>"));
  14744. // goto return
  14745. $async$goto = 1;
  14746. break;
  14747. // goto join
  14748. $async$goto = 4;
  14749. break;
  14750. case 5:
  14751. // else
  14752. watcher = J.watch$2$x(self.chokidar, path, {usePolling: poll});
  14753. t2 = J.getInterceptor$x(watcher);
  14754. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure1(t1)));
  14755. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure2(t1)));
  14756. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure3(t1)));
  14757. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure4(t1)));
  14758. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  14759. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure5(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  14760. $async$returnValue = t3;
  14761. // goto return
  14762. $async$goto = 1;
  14763. break;
  14764. case 4:
  14765. // join
  14766. case 1:
  14767. // return
  14768. return A._asyncReturn($async$returnValue, $async$completer);
  14769. }
  14770. });
  14771. return A._asyncStartSync($async$watchDir, $async$completer);
  14772. },
  14773. FileSystemException: function FileSystemException(t0, t1) {
  14774. this.message = t0;
  14775. this.path = t1;
  14776. },
  14777. _readFile_closure: function _readFile_closure(t0, t1) {
  14778. this.path = t0;
  14779. this.encoding = t1;
  14780. },
  14781. writeFile_closure: function writeFile_closure(t0, t1) {
  14782. this.path = t0;
  14783. this.contents = t1;
  14784. },
  14785. deleteFile_closure: function deleteFile_closure(t0) {
  14786. this.path = t0;
  14787. },
  14788. readStdin_closure: function readStdin_closure(t0, t1) {
  14789. this._box_0 = t0;
  14790. this.completer = t1;
  14791. },
  14792. readStdin_closure0: function readStdin_closure0(t0) {
  14793. this.sink = t0;
  14794. },
  14795. readStdin_closure1: function readStdin_closure1(t0) {
  14796. this.sink = t0;
  14797. },
  14798. readStdin_closure2: function readStdin_closure2(t0) {
  14799. this.completer = t0;
  14800. },
  14801. fileExists_closure: function fileExists_closure(t0) {
  14802. this.path = t0;
  14803. },
  14804. dirExists_closure: function dirExists_closure(t0) {
  14805. this.path = t0;
  14806. },
  14807. linkExists_closure: function linkExists_closure(t0) {
  14808. this.path = t0;
  14809. },
  14810. ensureDir_closure: function ensureDir_closure(t0) {
  14811. this.path = t0;
  14812. },
  14813. listDir_closure: function listDir_closure(t0, t1) {
  14814. this.recursive = t0;
  14815. this.path = t1;
  14816. },
  14817. listDir__closure: function listDir__closure(t0) {
  14818. this.path = t0;
  14819. },
  14820. listDir__closure0: function listDir__closure0() {
  14821. },
  14822. listDir_closure_list: function listDir_closure_list() {
  14823. },
  14824. listDir__list_closure: function listDir__list_closure(t0, t1) {
  14825. this.parent = t0;
  14826. this.list = t1;
  14827. },
  14828. realpath_closure: function realpath_closure(t0) {
  14829. this.path = t0;
  14830. },
  14831. modificationTime_closure: function modificationTime_closure(t0) {
  14832. this.path = t0;
  14833. },
  14834. watchDir_closure0: function watchDir_closure0(t0) {
  14835. this._box_0 = t0;
  14836. },
  14837. watchDir_closure: function watchDir_closure(t0) {
  14838. this.subscription = t0;
  14839. },
  14840. watchDir_closure1: function watchDir_closure1(t0) {
  14841. this._box_0 = t0;
  14842. },
  14843. watchDir_closure2: function watchDir_closure2(t0) {
  14844. this._box_0 = t0;
  14845. },
  14846. watchDir_closure3: function watchDir_closure3(t0) {
  14847. this._box_0 = t0;
  14848. },
  14849. watchDir_closure4: function watchDir_closure4(t0) {
  14850. this._box_0 = t0;
  14851. },
  14852. watchDir_closure5: function watchDir_closure5(t0, t1, t2) {
  14853. this._box_0 = t0;
  14854. this.watcher = t1;
  14855. this.completer = t2;
  14856. },
  14857. watchDir__closure: function watchDir__closure(t0) {
  14858. this.watcher = t0;
  14859. },
  14860. JSArray0: function JSArray0() {
  14861. },
  14862. Chokidar: function Chokidar() {
  14863. },
  14864. ChokidarOptions: function ChokidarOptions() {
  14865. },
  14866. ChokidarWatcher: function ChokidarWatcher() {
  14867. },
  14868. JSFunction: function JSFunction() {
  14869. },
  14870. ImmutableList: function ImmutableList() {
  14871. },
  14872. ImmutableMap: function ImmutableMap() {
  14873. },
  14874. NodeImporterResult: function NodeImporterResult() {
  14875. },
  14876. RenderContext: function RenderContext() {
  14877. },
  14878. RenderContextOptions: function RenderContextOptions() {
  14879. },
  14880. RenderContextResult: function RenderContextResult() {
  14881. },
  14882. RenderContextResultStats: function RenderContextResultStats() {
  14883. },
  14884. JSModule: function JSModule() {
  14885. },
  14886. JSModuleRequire: function JSModuleRequire() {
  14887. },
  14888. ParcelWatcher_subscribe(_this, path, callback) {
  14889. var result,
  14890. t1 = new A.ParcelWatcher_subscribe_closure(callback);
  14891. if (typeof t1 == "function")
  14892. A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.", null));
  14893. result = function(_call, f) {
  14894. return function(arg1, arg2) {
  14895. return _call(f, arg1, arg2, arguments.length);
  14896. };
  14897. }(A._callDartFunctionFast2, t1);
  14898. result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = t1;
  14899. return A.promiseToFuture(_this.subscribe(path, result), type$.JSObject);
  14900. },
  14901. ParcelWatcher_subscribe_closure: function ParcelWatcher_subscribe_closure(t0) {
  14902. this.callback = t0;
  14903. },
  14904. JSClass: function JSClass() {
  14905. },
  14906. JSUrl: function JSUrl() {
  14907. },
  14908. jsThrow0(error) {
  14909. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14910. },
  14911. _PropertyDescriptor: function _PropertyDescriptor() {
  14912. },
  14913. _RequireMain: function _RequireMain() {
  14914. },
  14915. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14916. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14917. },
  14918. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  14919. },
  14920. _QuietLogger: function _QuietLogger() {
  14921. },
  14922. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14923. var _ = this;
  14924. _._warningCounts = t0;
  14925. _._inner = t1;
  14926. _.silenceDeprecations = t2;
  14927. _.fatalDeprecations = t3;
  14928. _.futureDeprecations = t4;
  14929. _.limitRepetition = t5;
  14930. },
  14931. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14932. },
  14933. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14934. },
  14935. StderrLogger: function StderrLogger(t0) {
  14936. this.color = t0;
  14937. },
  14938. TrackingLogger: function TrackingLogger(t0) {
  14939. this._tracking$_logger = t0;
  14940. this._emittedDebug = this._emittedWarning = false;
  14941. },
  14942. BuiltInModule$($name, functions, mixins, variables, $T) {
  14943. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14944. t2 = A.BuiltInModule__callableMap(functions, $T),
  14945. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14946. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14947. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14948. },
  14949. BuiltInModule__callableMap(callables, $T) {
  14950. var t2, _i, callable,
  14951. t1 = type$.String;
  14952. if (callables == null)
  14953. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14954. else {
  14955. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14956. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14957. callable = callables[_i];
  14958. t1.$indexSet(0, callable.get$name(callable), callable);
  14959. }
  14960. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14961. }
  14962. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14963. },
  14964. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14965. var _ = this;
  14966. _.url = t0;
  14967. _.functions = t1;
  14968. _.mixins = t2;
  14969. _.variables = t3;
  14970. _.$ti = t4;
  14971. },
  14972. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14973. var t2,
  14974. t1 = false;
  14975. if (rule.prefix == null)
  14976. if (rule.shownMixinsAndFunctions == null)
  14977. if (rule.shownVariables == null) {
  14978. t2 = rule.hiddenMixinsAndFunctions;
  14979. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14980. if (t2 === true) {
  14981. t1 = rule.hiddenVariables;
  14982. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14983. t1 = t1 === true;
  14984. }
  14985. }
  14986. if (t1)
  14987. return inner;
  14988. else
  14989. return A.ForwardedModuleView$(inner, rule, $T);
  14990. },
  14991. ForwardedModuleView$(_inner, _rule, $T) {
  14992. var t1 = _rule.prefix,
  14993. t2 = _rule.shownVariables,
  14994. t3 = _rule.hiddenVariables,
  14995. t4 = _rule.shownMixinsAndFunctions,
  14996. t5 = _rule.hiddenMixinsAndFunctions;
  14997. return new A.ForwardedModuleView(_inner, _rule, A.ForwardedModuleView__forwardedMap(_inner.get$variables(), t1, t2, t3, type$.Value), A.ForwardedModuleView__forwardedMap(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode), A.ForwardedModuleView__forwardedMap(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView<0>"));
  14998. },
  14999. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  15000. var t1 = prefix == null,
  15001. t2 = false;
  15002. if (t1)
  15003. if (safelist == null)
  15004. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  15005. if (t2)
  15006. return map;
  15007. if (!t1)
  15008. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  15009. if (safelist != null)
  15010. map = new A.LimitedMapView(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15011. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  15012. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  15013. return map;
  15014. },
  15015. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  15016. var _ = this;
  15017. _._forwarded_view$_inner = t0;
  15018. _._rule = t1;
  15019. _.variables = t2;
  15020. _.variableNodes = t3;
  15021. _.functions = t4;
  15022. _.mixins = t5;
  15023. _.$ti = t6;
  15024. },
  15025. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  15026. return A.ShadowedModuleView__needsBlocklist(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist(inner.get$mixins(), mixins) ? new A.ShadowedModuleView(inner, A.ShadowedModuleView__shadowedMap(inner.get$variables(), variables, type$.Value), A.ShadowedModuleView__shadowedMap(inner.get$variableNodes(), variables, type$.AstNode), A.ShadowedModuleView__shadowedMap(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView<0>")) : null;
  15027. },
  15028. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  15029. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  15030. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  15031. },
  15032. ShadowedModuleView__needsBlocklist(map, blocklist) {
  15033. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  15034. },
  15035. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  15036. var _ = this;
  15037. _._shadowed_view$_inner = t0;
  15038. _.variables = t1;
  15039. _.variableNodes = t2;
  15040. _.functions = t3;
  15041. _.mixins = t4;
  15042. _.$ti = t5;
  15043. },
  15044. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  15045. this.scanner = t0;
  15046. this._interpolationMap = t1;
  15047. },
  15048. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  15049. this.$this = t0;
  15050. },
  15051. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  15052. },
  15053. CssParser: function CssParser(t0, t1, t2, t3, t4) {
  15054. var _ = this;
  15055. _._stylesheet$_parseSelectors = t0;
  15056. _._isUseAllowed = true;
  15057. _._inExpression = _._inParentheses = _._inStyleRule = _._inPlainCssFunction = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15058. _._globalVariables = t1;
  15059. _.warnings = t2;
  15060. _.lastSilentComment = null;
  15061. _.scanner = t3;
  15062. _._interpolationMap = t4;
  15063. },
  15064. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  15065. this.scanner = t0;
  15066. this._interpolationMap = t1;
  15067. },
  15068. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  15069. this.$this = t0;
  15070. },
  15071. MediaQueryParser: function MediaQueryParser(t0, t1) {
  15072. this.scanner = t0;
  15073. this._interpolationMap = t1;
  15074. },
  15075. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  15076. this.$this = t0;
  15077. },
  15078. Parser_isIdentifier(text) {
  15079. var exception;
  15080. try {
  15081. new A.Parser(A.SpanScanner$(text, null), null)._parseIdentifier$0();
  15082. return true;
  15083. } catch (exception) {
  15084. if (type$.SassFormatException._is(A.unwrapException(exception)))
  15085. return false;
  15086. else
  15087. throw exception;
  15088. }
  15089. },
  15090. Parser: function Parser(t0, t1) {
  15091. this.scanner = t0;
  15092. this._interpolationMap = t1;
  15093. },
  15094. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  15095. this.$this = t0;
  15096. },
  15097. Parser_escape_closure: function Parser_escape_closure() {
  15098. },
  15099. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  15100. this.caseSensitive = t0;
  15101. this.char = t1;
  15102. },
  15103. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  15104. this.$this = t0;
  15105. this.span = t1;
  15106. },
  15107. Parser_spanFromPosition_closure: function Parser_spanFromPosition_closure(t0, t1) {
  15108. this.$this = t0;
  15109. this.span = t1;
  15110. },
  15111. SassParser: function SassParser(t0, t1, t2, t3, t4) {
  15112. var _ = this;
  15113. _._currentIndentation = 0;
  15114. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  15115. _._stylesheet$_parseSelectors = t0;
  15116. _._isUseAllowed = true;
  15117. _._inExpression = _._inParentheses = _._inStyleRule = _._inPlainCssFunction = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15118. _._globalVariables = t1;
  15119. _.warnings = t2;
  15120. _.lastSilentComment = null;
  15121. _.scanner = t3;
  15122. _._interpolationMap = t4;
  15123. },
  15124. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  15125. },
  15126. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  15127. this.$this = t0;
  15128. this.child = t1;
  15129. this.children = t2;
  15130. },
  15131. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  15132. },
  15133. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  15134. },
  15135. SassParser__tryTrailingSemicolon_closure: function SassParser__tryTrailingSemicolon_closure() {
  15136. },
  15137. ScssParser$(contents, parseSelectors, url) {
  15138. return new A.ScssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null);
  15139. },
  15140. ScssParser: function ScssParser(t0, t1, t2, t3, t4) {
  15141. var _ = this;
  15142. _._stylesheet$_parseSelectors = t0;
  15143. _._isUseAllowed = true;
  15144. _._inExpression = _._inParentheses = _._inStyleRule = _._inPlainCssFunction = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15145. _._globalVariables = t1;
  15146. _.warnings = t2;
  15147. _.lastSilentComment = null;
  15148. _.scanner = t3;
  15149. _._interpolationMap = t4;
  15150. },
  15151. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  15152. var _ = this;
  15153. _._allowParent = t0;
  15154. _._plainCss = t1;
  15155. _.scanner = t2;
  15156. _._interpolationMap = t3;
  15157. },
  15158. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  15159. this.$this = t0;
  15160. },
  15161. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  15162. this.$this = t0;
  15163. },
  15164. StylesheetParser: function StylesheetParser() {
  15165. },
  15166. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  15167. this.$this = t0;
  15168. },
  15169. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  15170. this.$this = t0;
  15171. },
  15172. StylesheetParser_parseParameterList_closure: function StylesheetParser_parseParameterList_closure(t0) {
  15173. this.$this = t0;
  15174. },
  15175. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  15176. this.$this = t0;
  15177. },
  15178. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  15179. this.$this = t0;
  15180. },
  15181. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  15182. this.$this = t0;
  15183. this.production = t1;
  15184. this.T = t2;
  15185. },
  15186. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  15187. this.$this = t0;
  15188. },
  15189. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  15190. this.$this = t0;
  15191. this.start = t1;
  15192. },
  15193. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  15194. this.declaration = t0;
  15195. },
  15196. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  15197. this.$this = t0;
  15198. },
  15199. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0) {
  15200. this.$this = t0;
  15201. },
  15202. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1() {
  15203. },
  15204. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  15205. this.$this = t0;
  15206. },
  15207. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2) {
  15208. this._box_0 = t0;
  15209. this.$this = t1;
  15210. this.start = t2;
  15211. },
  15212. StylesheetParser__withStyleRuleChildren_closure: function StylesheetParser__withStyleRuleChildren_closure(t0, t1, t2, t3, t4) {
  15213. var _ = this;
  15214. _.$this = t0;
  15215. _.nodeWithSpan = t1;
  15216. _.wasInStyleRule = t2;
  15217. _.create = t3;
  15218. _.T = t4;
  15219. },
  15220. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  15221. this.$this = t0;
  15222. },
  15223. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  15224. this.name = t0;
  15225. this.value = t1;
  15226. },
  15227. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  15228. this.query = t0;
  15229. },
  15230. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  15231. },
  15232. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  15233. var _ = this;
  15234. _.$this = t0;
  15235. _.wasInControlDirective = t1;
  15236. _.variables = t2;
  15237. _.list = t3;
  15238. },
  15239. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  15240. this.name = t0;
  15241. this.parameters = t1;
  15242. this.precedingComment = t2;
  15243. },
  15244. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  15245. this._box_0 = t0;
  15246. this.$this = t1;
  15247. },
  15248. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  15249. var _ = this;
  15250. _._box_0 = t0;
  15251. _.$this = t1;
  15252. _.wasInControlDirective = t2;
  15253. _.variable = t3;
  15254. _.from = t4;
  15255. _.to = t5;
  15256. },
  15257. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  15258. this.$this = t0;
  15259. this.variables = t1;
  15260. this.identifiers = t2;
  15261. },
  15262. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  15263. this.contentParameters_ = t0;
  15264. },
  15265. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  15266. this.query = t0;
  15267. },
  15268. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  15269. var _ = this;
  15270. _.$this = t0;
  15271. _.name = t1;
  15272. _.parameters = t2;
  15273. _.precedingComment = t3;
  15274. },
  15275. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0) {
  15276. this.$this = t0;
  15277. },
  15278. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  15279. var _ = this;
  15280. _._box_0 = t0;
  15281. _.$this = t1;
  15282. _.name = t2;
  15283. _.value = t3;
  15284. },
  15285. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  15286. this.condition = t0;
  15287. },
  15288. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  15289. this.$this = t0;
  15290. this.wasInControlDirective = t1;
  15291. this.condition = t2;
  15292. },
  15293. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  15294. this._box_0 = t0;
  15295. this.name = t1;
  15296. },
  15297. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  15298. this._box_0 = t0;
  15299. this.$this = t1;
  15300. this.start = t2;
  15301. },
  15302. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  15303. this._box_0 = t0;
  15304. this.$this = t1;
  15305. },
  15306. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  15307. this._box_0 = t0;
  15308. this.resolveOneOperation = t1;
  15309. },
  15310. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  15311. var _ = this;
  15312. _._box_0 = t0;
  15313. _.$this = t1;
  15314. _.resetState = t2;
  15315. _.resolveOperations = t3;
  15316. },
  15317. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2, t3) {
  15318. var _ = this;
  15319. _._box_0 = t0;
  15320. _.$this = t1;
  15321. _.resolveOneOperation = t2;
  15322. _.addSingleExpression = t3;
  15323. },
  15324. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  15325. this._box_0 = t0;
  15326. this.$this = t1;
  15327. this.resolveOperations = t2;
  15328. },
  15329. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  15330. this.$this = t0;
  15331. },
  15332. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  15333. },
  15334. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  15335. },
  15336. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  15337. },
  15338. StylesheetParser_interpolatedStringToken_closure: function StylesheetParser_interpolatedStringToken_closure(t0) {
  15339. this.$this = t0;
  15340. },
  15341. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  15342. this.$this = t0;
  15343. this.start = t1;
  15344. },
  15345. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  15346. },
  15347. StylesheetParser__interpolatedDeclarationValue_closure: function StylesheetParser__interpolatedDeclarationValue_closure(t0) {
  15348. this.$this = t0;
  15349. },
  15350. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  15351. this.$this = t0;
  15352. },
  15353. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  15354. this.$this = t0;
  15355. this.start = t1;
  15356. },
  15357. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  15358. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  15359. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  15360. return t1;
  15361. },
  15362. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  15363. this._nodes = t0;
  15364. this.importCache = t1;
  15365. this._transitiveModificationTimes = t2;
  15366. },
  15367. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  15368. this.$this = t0;
  15369. },
  15370. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  15371. this.node = t0;
  15372. this.transitiveModificationTime = t1;
  15373. },
  15374. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  15375. var _ = this;
  15376. _.$this = t0;
  15377. _.url = t1;
  15378. _.baseImporter = t2;
  15379. _.baseUrl = t3;
  15380. },
  15381. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  15382. var _ = this;
  15383. _.$this = t0;
  15384. _.importer = t1;
  15385. _.canonicalUrl = t2;
  15386. _.originalUrl = t3;
  15387. },
  15388. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  15389. this.$this = t0;
  15390. this.node = t1;
  15391. this.canonicalUrl = t2;
  15392. },
  15393. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  15394. var _ = this;
  15395. _.$this = t0;
  15396. _.url = t1;
  15397. _.baseImporter = t2;
  15398. _.baseUrl = t3;
  15399. _.forImport = t4;
  15400. },
  15401. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  15402. this._box_0 = t0;
  15403. this.$this = t1;
  15404. },
  15405. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  15406. var _ = this;
  15407. _._stylesheet = t0;
  15408. _.importer = t1;
  15409. _.canonicalUrl = t2;
  15410. _._upstream = t3;
  15411. _._upstreamImports = t4;
  15412. _._downstream = t5;
  15413. },
  15414. Syntax_forPath(path) {
  15415. var t1,
  15416. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  15417. $label0$0: {
  15418. if (".sass" === _0_0) {
  15419. t1 = B.Syntax_Sass_1_sass;
  15420. break $label0$0;
  15421. }
  15422. if (".css" === _0_0) {
  15423. t1 = B.Syntax_CSS_2_css;
  15424. break $label0$0;
  15425. }
  15426. t1 = B.Syntax_SCSS_0_scss;
  15427. break $label0$0;
  15428. }
  15429. return t1;
  15430. },
  15431. Syntax: function Syntax(t0, t1, t2) {
  15432. this._syntax$_name = t0;
  15433. this.index = t1;
  15434. this._name = t2;
  15435. },
  15436. Box: function Box(t0, t1) {
  15437. this._box$_inner = t0;
  15438. this.$ti = t1;
  15439. },
  15440. ModifiableBox: function ModifiableBox(t0, t1) {
  15441. this.value = t0;
  15442. this.$ti = t1;
  15443. },
  15444. LazyFileSpan: function LazyFileSpan(t0) {
  15445. this._builder = t0;
  15446. this._lazy_file_span$_span = null;
  15447. },
  15448. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  15449. var t2, key,
  15450. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  15451. for (t2 = _map.get$keys(_map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  15452. key = t2.get$current(t2);
  15453. if (!blocklist.contains$1(0, key))
  15454. t1.add$1(0, key);
  15455. }
  15456. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15457. },
  15458. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  15459. this._limited_map_view$_map = t0;
  15460. this._limited_map_view$_keys = t1;
  15461. this.$ti = t2;
  15462. },
  15463. MapExtensions_get_pairs(_this, $K, $V) {
  15464. var t1 = _this.get$entries(_this);
  15465. return t1.map$1$1(t1, new A.MapExtensions_get_pairs_closure($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  15466. },
  15467. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  15468. this.K = t0;
  15469. this.V = t1;
  15470. },
  15471. MergedMapView$(maps, $K, $V) {
  15472. var t1 = $K._eval$1("@<0>")._bind$1($V);
  15473. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  15474. t1.MergedMapView$1(maps, $K, $V);
  15475. return t1;
  15476. },
  15477. MergedMapView: function MergedMapView(t0, t1) {
  15478. this._mapsByKey = t0;
  15479. this.$ti = t1;
  15480. },
  15481. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  15482. this._watchers = t0;
  15483. this._group = t1;
  15484. this._poll = t2;
  15485. },
  15486. MultiSpan: function MultiSpan(t0, t1, t2) {
  15487. this._multi_span$_primary = t0;
  15488. this.primaryLabel = t1;
  15489. this.secondarySpans = t2;
  15490. },
  15491. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  15492. this._no_source_map_buffer$_buffer = t0;
  15493. },
  15494. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  15495. this._prefixed_map_view$_map = t0;
  15496. this._prefix = t1;
  15497. this.$ti = t2;
  15498. },
  15499. _PrefixedKeys: function _PrefixedKeys(t0) {
  15500. this._view = t0;
  15501. },
  15502. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  15503. this.$this = t0;
  15504. },
  15505. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  15506. this._public_member_map_view$_inner = t0;
  15507. this.$ti = t1;
  15508. },
  15509. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  15510. var _ = this;
  15511. _._source_map_buffer$_buffer = t0;
  15512. _._entries = t1;
  15513. _._column = _._line = 0;
  15514. _._inSpan = false;
  15515. },
  15516. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  15517. this._box_0 = t0;
  15518. this.prefixLength = t1;
  15519. },
  15520. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  15521. this._unprefixed_map_view$_map = t0;
  15522. this._unprefixed_map_view$_prefix = t1;
  15523. this.$ti = t2;
  15524. },
  15525. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  15526. this._unprefixed_map_view$_view = t0;
  15527. },
  15528. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  15529. this.$this = t0;
  15530. },
  15531. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  15532. this.$this = t0;
  15533. },
  15534. toSentence(iter, conjunction) {
  15535. if (iter.get$length(iter) === 1)
  15536. return J.toString$0$(iter.get$first(iter));
  15537. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  15538. },
  15539. indent(string, indentation) {
  15540. return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
  15541. },
  15542. pluralize($name, number, plural) {
  15543. if (number === 1)
  15544. return $name;
  15545. if (plural != null)
  15546. return plural;
  15547. return $name + "s";
  15548. },
  15549. trimAscii(string, excludeEscape) {
  15550. var t1,
  15551. start = A._firstNonWhitespace(string);
  15552. if (start == null)
  15553. t1 = "";
  15554. else {
  15555. t1 = A._lastNonWhitespace(string, true);
  15556. t1.toString;
  15557. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  15558. }
  15559. return t1;
  15560. },
  15561. trimAsciiRight(string, excludeEscape) {
  15562. var end = A._lastNonWhitespace(string, excludeEscape);
  15563. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  15564. },
  15565. _firstNonWhitespace(string) {
  15566. var t1, i, t2;
  15567. for (t1 = string.length, i = 0; i < t1; ++i) {
  15568. t2 = string.charCodeAt(i);
  15569. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  15570. return i;
  15571. }
  15572. return null;
  15573. },
  15574. _lastNonWhitespace(string, excludeEscape) {
  15575. var i, i0, codeUnit;
  15576. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  15577. codeUnit = string.charCodeAt(i0);
  15578. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  15579. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  15580. return i0 + 1;
  15581. else
  15582. return i0;
  15583. }
  15584. return null;
  15585. },
  15586. isPublic(member) {
  15587. var start = member.charCodeAt(0);
  15588. return start !== 45 && start !== 95;
  15589. },
  15590. flattenVertically(iterable, $T) {
  15591. var result,
  15592. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  15593. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), t1._eval$1("ListIterable.E"));
  15594. if (queues.length === 1)
  15595. return B.JSArray_methods.get$first(queues);
  15596. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  15597. while (queues.length !== 0) {
  15598. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  15599. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  15600. }
  15601. return result;
  15602. },
  15603. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  15604. var codeUnitIndex, i, codeUnitIndex0;
  15605. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  15606. codeUnitIndex0 = codeUnitIndex + 1;
  15607. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  15608. }
  15609. return codeUnitIndex;
  15610. },
  15611. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  15612. var codepointIndex, i;
  15613. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  15614. ++codepointIndex;
  15615. return codepointIndex;
  15616. },
  15617. frameForSpan(span, member, url) {
  15618. var t2, t3,
  15619. t1 = url == null ? span.get$sourceUrl(span) : url;
  15620. if (t1 == null)
  15621. t1 = $.$get$_noSourceUrl();
  15622. t2 = span.get$start(span);
  15623. t2 = t2.file.getLine$1(t2.offset);
  15624. t3 = span.get$start(span);
  15625. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  15626. },
  15627. declarationName(span) {
  15628. var text = span.get$text();
  15629. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  15630. },
  15631. unvendor($name) {
  15632. var i,
  15633. t1 = $name.length;
  15634. if (t1 < 2)
  15635. return $name;
  15636. if ($name.charCodeAt(0) !== 45)
  15637. return $name;
  15638. if ($name.charCodeAt(1) === 45)
  15639. return $name;
  15640. for (i = 2; i < t1; ++i)
  15641. if ($name.charCodeAt(i) === 45)
  15642. return B.JSString_methods.substring$1($name, i + 1);
  15643. return $name;
  15644. },
  15645. equalsIgnoreCase(string1, string2) {
  15646. var t1, i;
  15647. if (string1 === string2)
  15648. return true;
  15649. if (string1 == null)
  15650. return false;
  15651. t1 = string1.length;
  15652. if (t1 !== string2.length)
  15653. return false;
  15654. for (i = 0; i < t1; ++i)
  15655. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  15656. return false;
  15657. return true;
  15658. },
  15659. startsWithIgnoreCase(string, prefix) {
  15660. var i,
  15661. t1 = prefix.length;
  15662. if (string.length < t1)
  15663. return false;
  15664. for (i = 0; i < t1; ++i)
  15665. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  15666. return false;
  15667. return true;
  15668. },
  15669. mapInPlace(list, $function) {
  15670. var i;
  15671. for (i = 0; i < list.length; ++i)
  15672. list[i] = $function.call$1(list[i]);
  15673. },
  15674. longestCommonSubsequence(list1, list2, select, $T) {
  15675. var t1, _i, selections, i, i0, j, selection, j0,
  15676. _length = list1.get$length(0) + 1,
  15677. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  15678. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  15679. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  15680. _length = list1.get$length(0);
  15681. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  15682. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  15683. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  15684. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  15685. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  15686. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  15687. selections[i][j] = selection;
  15688. t1 = lengths[i0];
  15689. j0 = j + 1;
  15690. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  15691. }
  15692. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  15693. },
  15694. removeFirstWhere(list, test, orElse) {
  15695. var i;
  15696. for (i = 0; i < list.length; ++i) {
  15697. if (!test.call$1(list[i]))
  15698. continue;
  15699. B.JSArray_methods.removeAt$1(list, i);
  15700. return;
  15701. }
  15702. orElse.call$0();
  15703. },
  15704. mapAddAll2(destination, source, $K1, $K2, $V) {
  15705. source.forEach$1(0, new A.mapAddAll2_closure(destination, $K1, $K2, $V));
  15706. },
  15707. setAll(map, keys, value) {
  15708. var t1;
  15709. for (t1 = keys.get$iterator(keys); t1.moveNext$0();)
  15710. map.$indexSet(0, t1.get$current(t1), value);
  15711. },
  15712. rotateSlice(list, start, end) {
  15713. var i, next,
  15714. element = list.$index(0, end - 1);
  15715. for (i = start; i < end; ++i, element = next) {
  15716. next = list.$index(0, i);
  15717. list.$indexSet(0, i, element);
  15718. }
  15719. },
  15720. mapAsync(iterable, callback, $E, $F) {
  15721. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  15722. },
  15723. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  15724. var $async$goto = 0,
  15725. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15726. $async$returnValue, t2, _i, t1, $async$temp1;
  15727. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15728. if ($async$errorCode === 1)
  15729. return A._asyncRethrow($async$result, $async$completer);
  15730. for (;;)
  15731. switch ($async$goto) {
  15732. case 0:
  15733. // Function start
  15734. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  15735. t2 = iterable.length, _i = 0;
  15736. case 3:
  15737. // for condition
  15738. if (!(_i < t2)) {
  15739. // goto after for
  15740. $async$goto = 5;
  15741. break;
  15742. }
  15743. $async$temp1 = t1;
  15744. $async$goto = 6;
  15745. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  15746. case 6:
  15747. // returning from await.
  15748. $async$temp1.push($async$result);
  15749. case 4:
  15750. // for update
  15751. ++_i;
  15752. // goto for condition
  15753. $async$goto = 3;
  15754. break;
  15755. case 5:
  15756. // after for
  15757. $async$returnValue = t1;
  15758. // goto return
  15759. $async$goto = 1;
  15760. break;
  15761. case 1:
  15762. // return
  15763. return A._asyncReturn($async$returnValue, $async$completer);
  15764. }
  15765. });
  15766. return A._asyncStartSync($async$mapAsync, $async$completer);
  15767. },
  15768. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  15769. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  15770. },
  15771. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  15772. var $async$goto = 0,
  15773. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15774. $async$returnValue, t1, value;
  15775. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15776. if ($async$errorCode === 1)
  15777. return A._asyncRethrow($async$result, $async$completer);
  15778. for (;;)
  15779. switch ($async$goto) {
  15780. case 0:
  15781. // Function start
  15782. if (map.containsKey$1(key)) {
  15783. t1 = map.$index(0, key);
  15784. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  15785. // goto return
  15786. $async$goto = 1;
  15787. break;
  15788. }
  15789. $async$goto = 3;
  15790. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  15791. case 3:
  15792. // returning from await.
  15793. value = $async$result;
  15794. map.$indexSet(0, key, value);
  15795. $async$returnValue = value;
  15796. // goto return
  15797. $async$goto = 1;
  15798. break;
  15799. case 1:
  15800. // return
  15801. return A._asyncReturn($async$returnValue, $async$completer);
  15802. }
  15803. });
  15804. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  15805. },
  15806. copyMapOfMap(map, $K1, $K2, $V) {
  15807. var t3, key, child,
  15808. t1 = $K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  15809. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K1, t1);
  15810. for (t1 = A.MapExtensions_get_pairs(map, $K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15811. t3 = t1.get$current(t1);
  15812. key = t3._0;
  15813. child = t3._1;
  15814. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K2, $V);
  15815. t3.addAll$1(0, child);
  15816. t2.$indexSet(0, key, t3);
  15817. }
  15818. return t2;
  15819. },
  15820. copyMapOfList(map, $K, $E) {
  15821. var t3,
  15822. t1 = $E._eval$1("List<0>"),
  15823. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  15824. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15825. t3 = t1.get$current(t1);
  15826. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  15827. }
  15828. return t2;
  15829. },
  15830. consumeEscapedCharacter(scanner) {
  15831. var _1_0, value, i, next, t1;
  15832. scanner.expectChar$1(92);
  15833. _1_0 = scanner.peekChar$0();
  15834. if (_1_0 == null)
  15835. return 65533;
  15836. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  15837. scanner.error$1(0, "Expected escape sequence.");
  15838. if (A.CharacterExtension_get_isHex(_1_0)) {
  15839. for (value = 0, i = 0; i < 6; ++i) {
  15840. next = scanner.peekChar$0();
  15841. if (next != null) {
  15842. t1 = true;
  15843. if (!(next >= 48 && next <= 57))
  15844. if (!(next >= 97 && next <= 102))
  15845. t1 = next >= 65 && next <= 70;
  15846. t1 = !t1;
  15847. } else
  15848. t1 = true;
  15849. if (t1)
  15850. break;
  15851. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  15852. }
  15853. t1 = scanner.peekChar$0();
  15854. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  15855. scanner.readChar$0();
  15856. $label0$1: {
  15857. if (0 !== value)
  15858. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  15859. else
  15860. t1 = true;
  15861. if (t1) {
  15862. t1 = 65533;
  15863. break $label0$1;
  15864. }
  15865. t1 = value;
  15866. break $label0$1;
  15867. }
  15868. return t1;
  15869. }
  15870. return scanner.readChar$0();
  15871. },
  15872. throwWithTrace(error, originalError, trace) {
  15873. var t1 = A.getTrace(originalError);
  15874. A.attachTrace(error, t1 == null ? trace : t1);
  15875. throw A.wrapException(error);
  15876. },
  15877. attachTrace(error, trace) {
  15878. var t1;
  15879. if (trace.toString$0(0).length === 0)
  15880. return;
  15881. t1 = $.$get$_traces();
  15882. A.Expando__checkType(error);
  15883. if (t1._jsWeakMap.get(error) == null)
  15884. t1.$indexSet(0, error, trace);
  15885. },
  15886. getTrace(error) {
  15887. var t1;
  15888. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  15889. t1 = null;
  15890. else {
  15891. t1 = $.$get$_traces();
  15892. A.Expando__checkType(error);
  15893. t1 = t1._jsWeakMap.get(error);
  15894. }
  15895. return t1;
  15896. },
  15897. indent_closure: function indent_closure(t0) {
  15898. this.indentation = t0;
  15899. },
  15900. flattenVertically_closure: function flattenVertically_closure(t0) {
  15901. this.T = t0;
  15902. },
  15903. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15904. this.result = t0;
  15905. this.T = t1;
  15906. },
  15907. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15908. this.selections = t0;
  15909. this.lengths = t1;
  15910. this.T = t2;
  15911. },
  15912. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15913. var _ = this;
  15914. _.destination = t0;
  15915. _.K1 = t1;
  15916. _.K2 = t2;
  15917. _.V = t3;
  15918. },
  15919. SassApiValue_assertSelector(_this, allowParent, $name) {
  15920. var error, stackTrace, t1, exception,
  15921. string = _this._selectorString$1($name);
  15922. try {
  15923. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, false);
  15924. return t1;
  15925. } catch (exception) {
  15926. t1 = A.unwrapException(exception);
  15927. if (type$.SassFormatException._is(t1)) {
  15928. error = t1;
  15929. stackTrace = A.getTraceFromException(exception);
  15930. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15931. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15932. } else
  15933. throw exception;
  15934. }
  15935. },
  15936. SassApiValue_assertCompoundSelector(_this, $name) {
  15937. var error, stackTrace, t1, exception,
  15938. allowParent = false,
  15939. string = _this._selectorString$1($name);
  15940. try {
  15941. t1 = new A.SelectorParser(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  15942. return t1;
  15943. } catch (exception) {
  15944. t1 = A.unwrapException(exception);
  15945. if (type$.SassFormatException._is(t1)) {
  15946. error = t1;
  15947. stackTrace = A.getTraceFromException(exception);
  15948. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15949. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15950. } else
  15951. throw exception;
  15952. }
  15953. },
  15954. Value: function Value() {
  15955. },
  15956. SassArgumentList$(contents, keywords, separator) {
  15957. var t1 = type$.Value;
  15958. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15959. t1.SassList$3$brackets(contents, separator, false);
  15960. return t1;
  15961. },
  15962. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15963. var _ = this;
  15964. _._keywords = t0;
  15965. _._wereKeywordsAccessed = false;
  15966. _._list$_contents = t1;
  15967. _._separator = t2;
  15968. _._hasBrackets = t3;
  15969. },
  15970. SassBoolean: function SassBoolean(t0) {
  15971. this.value = t0;
  15972. },
  15973. SassCalculation_calc(argument) {
  15974. var t1,
  15975. _0_0 = A.SassCalculation__simplify(argument);
  15976. $label0$0: {
  15977. if (_0_0 instanceof A.SassNumber) {
  15978. t1 = _0_0;
  15979. break $label0$0;
  15980. }
  15981. if (_0_0 instanceof A.SassCalculation) {
  15982. t1 = _0_0;
  15983. break $label0$0;
  15984. }
  15985. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15986. break $label0$0;
  15987. }
  15988. return t1;
  15989. },
  15990. SassCalculation_min($arguments) {
  15991. var minimum, _i, arg, t2,
  15992. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15993. t1 = args.length;
  15994. if (t1 === 0)
  15995. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15996. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15997. arg = args[_i];
  15998. if (arg instanceof A.SassNumber)
  15999. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  16000. else
  16001. t2 = true;
  16002. if (t2) {
  16003. minimum = null;
  16004. break;
  16005. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  16006. minimum = arg;
  16007. }
  16008. if (minimum != null)
  16009. return minimum;
  16010. A.SassCalculation__verifyCompatibleNumbers(args);
  16011. return new A.SassCalculation("min", args);
  16012. },
  16013. SassCalculation_max($arguments) {
  16014. var maximum, _i, arg, t2,
  16015. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16016. t1 = args.length;
  16017. if (t1 === 0)
  16018. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  16019. for (maximum = null, _i = 0; _i < t1; ++_i) {
  16020. arg = args[_i];
  16021. if (arg instanceof A.SassNumber)
  16022. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  16023. else
  16024. t2 = true;
  16025. if (t2) {
  16026. maximum = null;
  16027. break;
  16028. } else if (maximum == null || maximum.lessThan$1(arg).value)
  16029. maximum = arg;
  16030. }
  16031. if (maximum != null)
  16032. return maximum;
  16033. A.SassCalculation__verifyCompatibleNumbers(args);
  16034. return new A.SassCalculation("max", args);
  16035. },
  16036. SassCalculation_hypot($arguments) {
  16037. var first, subtotal, i, number, value, t2,
  16038. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16039. t1 = args.length;
  16040. if (t1 === 0)
  16041. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  16042. A.SassCalculation__verifyCompatibleNumbers(args);
  16043. first = B.JSArray_methods.get$first(args);
  16044. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  16045. return new A.SassCalculation("hypot", args);
  16046. for (subtotal = 0, i = 0; i < t1;) {
  16047. number = args[i];
  16048. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  16049. return new A.SassCalculation("hypot", args);
  16050. ++i;
  16051. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  16052. subtotal += value * value;
  16053. }
  16054. t1 = Math.sqrt(subtotal);
  16055. t2 = first.get$numeratorUnits(first);
  16056. return A.SassNumber_SassNumber$withUnits(t1, first.get$denominatorUnits(first), t2);
  16057. },
  16058. SassCalculation_abs(argument) {
  16059. argument = A.SassCalculation__simplify(argument);
  16060. if (!(argument instanceof A.SassNumber))
  16061. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  16062. if (argument.hasUnit$1("%"))
  16063. A.warnForDeprecation(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_Usi);
  16064. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  16065. },
  16066. SassCalculation_exp(argument) {
  16067. argument = A.SassCalculation__simplify(argument);
  16068. if (!(argument instanceof A.SassNumber))
  16069. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  16070. argument.assertNoUnits$0();
  16071. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  16072. },
  16073. SassCalculation_sign(argument) {
  16074. var t1, _0_2, t2, arg;
  16075. argument = A.SassCalculation__simplify(argument);
  16076. $label0$0: {
  16077. t1 = argument instanceof A.SassNumber;
  16078. if (t1) {
  16079. _0_2 = argument._number$_value;
  16080. if (!isNaN(_0_2))
  16081. t2 = 0 === _0_2;
  16082. else
  16083. t2 = true;
  16084. } else
  16085. t2 = false;
  16086. if (t2) {
  16087. t1 = argument;
  16088. break $label0$0;
  16089. }
  16090. if (t1) {
  16091. t1 = !argument.hasUnit$1("%");
  16092. arg = argument;
  16093. } else {
  16094. arg = null;
  16095. t1 = false;
  16096. }
  16097. if (t1) {
  16098. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  16099. break $label0$0;
  16100. }
  16101. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  16102. break $label0$0;
  16103. }
  16104. return t1;
  16105. },
  16106. SassCalculation_clamp(min, value, max) {
  16107. var t1, args;
  16108. if (value == null && max != null)
  16109. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  16110. min = A.SassCalculation__simplify(min);
  16111. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  16112. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  16113. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  16114. if (value.lessThanOrEquals$1(min).value)
  16115. return min;
  16116. if (value.greaterThanOrEquals$1(max).value)
  16117. return max;
  16118. return value;
  16119. }
  16120. t1 = [min];
  16121. if (value != null)
  16122. t1.push(value);
  16123. if (max != null)
  16124. t1.push(max);
  16125. args = A.List_List$unmodifiable(t1, type$.Object);
  16126. A.SassCalculation__verifyCompatibleNumbers(args);
  16127. A.SassCalculation__verifyLength(args, 3);
  16128. return new A.SassCalculation("clamp", args);
  16129. },
  16130. SassCalculation_pow(base, exponent) {
  16131. var t1 = A._setArrayType([base], type$.JSArray_Object);
  16132. if (exponent != null)
  16133. t1.push(exponent);
  16134. A.SassCalculation__verifyLength(t1, 2);
  16135. base = A.SassCalculation__simplify(base);
  16136. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  16137. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  16138. return new A.SassCalculation("pow", t1);
  16139. base.assertNoUnits$0();
  16140. exponent.assertNoUnits$0();
  16141. return A.pow0(base, exponent);
  16142. },
  16143. SassCalculation_log(number, base) {
  16144. var t1, t2;
  16145. number = A.SassCalculation__simplify(number);
  16146. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  16147. t1 = A._setArrayType([number], type$.JSArray_Object);
  16148. t2 = base != null;
  16149. if (t2)
  16150. t1.push(base);
  16151. if (number instanceof A.SassNumber)
  16152. t2 = t2 && !(base instanceof A.SassNumber);
  16153. else
  16154. t2 = true;
  16155. if (t2)
  16156. return new A.SassCalculation("log", t1);
  16157. number.assertNoUnits$0();
  16158. if (base instanceof A.SassNumber) {
  16159. base.assertNoUnits$0();
  16160. return A.log(number, base);
  16161. }
  16162. return A.log(number, null);
  16163. },
  16164. SassCalculation_atan2(y, x) {
  16165. var t1;
  16166. y = A.SassCalculation__simplify(y);
  16167. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  16168. t1 = A._setArrayType([y], type$.JSArray_Object);
  16169. if (x != null)
  16170. t1.push(x);
  16171. A.SassCalculation__verifyLength(t1, 2);
  16172. A.SassCalculation__verifyCompatibleNumbers(t1);
  16173. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  16174. return new A.SassCalculation("atan2", t1);
  16175. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  16176. },
  16177. SassCalculation_rem(dividend, modulus) {
  16178. var t1, result;
  16179. dividend = A.SassCalculation__simplify(dividend);
  16180. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16181. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16182. if (modulus != null)
  16183. t1.push(modulus);
  16184. A.SassCalculation__verifyLength(t1, 2);
  16185. A.SassCalculation__verifyCompatibleNumbers(t1);
  16186. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16187. return new A.SassCalculation("rem", t1);
  16188. result = dividend.modulo$1(modulus);
  16189. t1 = modulus._number$_value;
  16190. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  16191. if (t1 == 1 / 0 || t1 == -1 / 0)
  16192. return dividend;
  16193. if (result._number$_value === 0)
  16194. return result.unaryMinus$0();
  16195. return result.minus$1(modulus);
  16196. }
  16197. return result;
  16198. },
  16199. SassCalculation_mod(dividend, modulus) {
  16200. var t1;
  16201. dividend = A.SassCalculation__simplify(dividend);
  16202. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16203. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16204. if (modulus != null)
  16205. t1.push(modulus);
  16206. A.SassCalculation__verifyLength(t1, 2);
  16207. A.SassCalculation__verifyCompatibleNumbers(t1);
  16208. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16209. return new A.SassCalculation("mod", t1);
  16210. return dividend.modulo$1(modulus);
  16211. },
  16212. SassCalculation_roundInternal(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  16213. var _0_8_isSet, t2, _0_6_isSet, _0_6_isSet0, _0_14_isSet, _0_14, _0_12, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_16_isSet, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  16214. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  16215. _0_6 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  16216. _0_9 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  16217. _0_8 = _null,
  16218. _0_60 = _null,
  16219. _0_10 = _null,
  16220. _0_10_isSet = false,
  16221. _0_90 = _null,
  16222. _0_9_isSet = false,
  16223. number = _null,
  16224. t1 = false;
  16225. if (_0_1 instanceof A.SassNumber) {
  16226. _0_8_isSet = !_0_1.get$hasUnits();
  16227. if (_0_8_isSet) {
  16228. _0_8 = _0_6 == null;
  16229. t2 = _0_8;
  16230. if (t2) {
  16231. _0_10 = _0_9 == null;
  16232. t1 = _0_10;
  16233. _0_90 = _0_9;
  16234. _0_10_isSet = true;
  16235. _0_9_isSet = true;
  16236. }
  16237. _0_60 = _0_6;
  16238. number = _0_1;
  16239. }
  16240. _0_6_isSet = _0_8_isSet;
  16241. } else {
  16242. _0_8_isSet = false;
  16243. _0_6_isSet = false;
  16244. }
  16245. if (t1)
  16246. return A.SassNumber_SassNumber(B.JSNumber_methods.round$0(number._number$_value), _null);
  16247. t1 = false;
  16248. if (_0_1 instanceof A.SassNumber) {
  16249. if (_0_8_isSet)
  16250. t2 = _0_8;
  16251. else {
  16252. if (_0_6_isSet)
  16253. t2 = _0_60;
  16254. else {
  16255. t2 = _0_6;
  16256. _0_60 = t2;
  16257. _0_6_isSet = true;
  16258. }
  16259. _0_8 = t2 == null;
  16260. t2 = _0_8;
  16261. _0_8_isSet = true;
  16262. }
  16263. if (t2) {
  16264. if (_0_10_isSet)
  16265. t1 = _0_10;
  16266. else {
  16267. if (_0_9_isSet)
  16268. t1 = _0_90;
  16269. else {
  16270. t1 = _0_9;
  16271. _0_90 = t1;
  16272. _0_9_isSet = true;
  16273. }
  16274. _0_10 = t1 == null;
  16275. t1 = _0_10;
  16276. _0_10_isSet = true;
  16277. }
  16278. t1 = t1 && inLegacySassFunction != null;
  16279. }
  16280. number = _0_1;
  16281. } else
  16282. number = _null;
  16283. if (t1) {
  16284. warn.call$2(string$.In_fut, B.Deprecation_WW3);
  16285. t1 = B.JSNumber_methods.round$0(number._number$_value);
  16286. t2 = number.get$numeratorUnits(number);
  16287. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  16288. }
  16289. step = _null;
  16290. t1 = false;
  16291. if (_0_1 instanceof A.SassNumber) {
  16292. _0_6_isSet0 = true;
  16293. if (_0_6_isSet)
  16294. t2 = _0_60;
  16295. else {
  16296. t2 = _0_6;
  16297. _0_6_isSet = _0_6_isSet0;
  16298. _0_60 = t2;
  16299. }
  16300. if (t2 instanceof A.SassNumber) {
  16301. if (_0_6_isSet)
  16302. t2 = _0_60;
  16303. else {
  16304. t2 = _0_6;
  16305. _0_6_isSet = _0_6_isSet0;
  16306. _0_60 = t2;
  16307. }
  16308. type$.SassNumber._as(t2);
  16309. if (_0_10_isSet)
  16310. t1 = _0_10;
  16311. else {
  16312. if (_0_9_isSet)
  16313. t1 = _0_90;
  16314. else {
  16315. t1 = _0_9;
  16316. _0_90 = t1;
  16317. _0_9_isSet = true;
  16318. }
  16319. _0_10 = t1 == null;
  16320. t1 = _0_10;
  16321. _0_10_isSet = true;
  16322. }
  16323. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  16324. step = t2;
  16325. }
  16326. number = _0_1;
  16327. } else
  16328. number = _null;
  16329. if (t1) {
  16330. t1 = type$.JSArray_Object;
  16331. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16332. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  16333. }
  16334. step = _null;
  16335. t1 = false;
  16336. if (_0_1 instanceof A.SassNumber) {
  16337. _0_6_isSet0 = true;
  16338. if (_0_6_isSet)
  16339. t2 = _0_60;
  16340. else {
  16341. t2 = _0_6;
  16342. _0_6_isSet = _0_6_isSet0;
  16343. _0_60 = t2;
  16344. }
  16345. if (t2 instanceof A.SassNumber) {
  16346. if (_0_6_isSet)
  16347. t2 = _0_60;
  16348. else {
  16349. t2 = _0_6;
  16350. _0_6_isSet = _0_6_isSet0;
  16351. _0_60 = t2;
  16352. }
  16353. type$.SassNumber._as(t2);
  16354. if (_0_10_isSet)
  16355. t1 = _0_10;
  16356. else {
  16357. if (_0_9_isSet)
  16358. t1 = _0_90;
  16359. else {
  16360. t1 = _0_9;
  16361. _0_90 = t1;
  16362. _0_9_isSet = true;
  16363. }
  16364. _0_10 = t1 == null;
  16365. t1 = _0_10;
  16366. _0_10_isSet = true;
  16367. }
  16368. step = t2;
  16369. }
  16370. number = _0_1;
  16371. } else
  16372. number = _null;
  16373. if (t1) {
  16374. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16375. return A.SassCalculation__roundWithStep("nearest", number, step);
  16376. }
  16377. _0_14_isSet = _0_1 instanceof A.SassString;
  16378. _0_14 = _null;
  16379. _0_12 = _null;
  16380. _0_16 = _null;
  16381. _0_18 = _null;
  16382. _0_18_isSet = false;
  16383. _0_20 = _null;
  16384. _0_20_isSet = false;
  16385. strategy = _null;
  16386. number = _null;
  16387. step = _null;
  16388. t1 = false;
  16389. if (_0_14_isSet) {
  16390. _0_6_isSet0 = true;
  16391. _0_9_isSet0 = true;
  16392. _0_12 = _0_1._string$_text;
  16393. t2 = _0_12;
  16394. _0_14 = "nearest" === t2;
  16395. t2 = _0_14;
  16396. _0_16_isSet = !t2;
  16397. t2 = true;
  16398. if (_0_16_isSet) {
  16399. _0_16 = "up" === _0_12;
  16400. t3 = _0_16;
  16401. _0_18_isSet = !t3;
  16402. if (_0_18_isSet) {
  16403. _0_18 = "down" === _0_12;
  16404. t3 = _0_18;
  16405. _0_20_isSet = !t3;
  16406. if (_0_20_isSet) {
  16407. _0_20 = "to-zero" === _0_12;
  16408. t2 = _0_20;
  16409. }
  16410. }
  16411. }
  16412. if (t2) {
  16413. if (_0_6_isSet)
  16414. t2 = _0_60;
  16415. else {
  16416. t2 = _0_6;
  16417. _0_6_isSet = _0_6_isSet0;
  16418. _0_60 = t2;
  16419. }
  16420. if (t2 instanceof A.SassNumber) {
  16421. if (_0_6_isSet)
  16422. t2 = _0_60;
  16423. else {
  16424. t2 = _0_6;
  16425. _0_6_isSet = _0_6_isSet0;
  16426. _0_60 = t2;
  16427. }
  16428. t3 = type$.SassNumber;
  16429. t3._as(t2);
  16430. if (_0_9_isSet)
  16431. t4 = _0_90;
  16432. else {
  16433. t4 = _0_9;
  16434. _0_9_isSet = _0_9_isSet0;
  16435. _0_90 = t4;
  16436. }
  16437. if (t4 instanceof A.SassNumber) {
  16438. if (_0_9_isSet)
  16439. t1 = _0_90;
  16440. else {
  16441. t1 = _0_9;
  16442. _0_9_isSet = _0_9_isSet0;
  16443. _0_90 = t1;
  16444. }
  16445. t3._as(t1);
  16446. t3 = !t2.hasCompatibleUnits$1(t1);
  16447. step = t1;
  16448. t1 = t3;
  16449. }
  16450. number = t2;
  16451. }
  16452. strategy = _0_1;
  16453. }
  16454. } else
  16455. _0_16_isSet = false;
  16456. if (t1) {
  16457. t1 = type$.JSArray_Object;
  16458. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16459. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  16460. }
  16461. strategy = _null;
  16462. number = _null;
  16463. step = _null;
  16464. t1 = false;
  16465. if (_0_1 instanceof A.SassString) {
  16466. _0_6_isSet0 = true;
  16467. _0_9_isSet0 = true;
  16468. _0_12_isSet = true;
  16469. if (_0_14_isSet) {
  16470. t2 = _0_14;
  16471. _0_12_isSet0 = _0_14_isSet;
  16472. } else {
  16473. _0_12 = _0_1._string$_text;
  16474. t2 = _0_12;
  16475. _0_14 = "nearest" === t2;
  16476. t2 = _0_14;
  16477. _0_12_isSet0 = _0_12_isSet;
  16478. _0_14_isSet = true;
  16479. }
  16480. t3 = true;
  16481. if (!t2) {
  16482. if (_0_16_isSet)
  16483. t2 = _0_16;
  16484. else {
  16485. if (_0_12_isSet0)
  16486. t2 = _0_12;
  16487. else {
  16488. _0_12 = _0_1._string$_text;
  16489. t2 = _0_12;
  16490. _0_12_isSet0 = _0_12_isSet;
  16491. }
  16492. _0_16 = "up" === t2;
  16493. t2 = _0_16;
  16494. _0_16_isSet = true;
  16495. }
  16496. if (!t2) {
  16497. if (_0_18_isSet)
  16498. t2 = _0_18;
  16499. else {
  16500. if (_0_12_isSet0)
  16501. t2 = _0_12;
  16502. else {
  16503. _0_12 = _0_1._string$_text;
  16504. t2 = _0_12;
  16505. _0_12_isSet0 = _0_12_isSet;
  16506. }
  16507. _0_18 = "down" === t2;
  16508. t2 = _0_18;
  16509. _0_18_isSet = true;
  16510. }
  16511. if (!t2)
  16512. if (_0_20_isSet) {
  16513. t2 = _0_20;
  16514. _0_12_isSet = _0_12_isSet0;
  16515. } else {
  16516. if (_0_12_isSet0) {
  16517. t2 = _0_12;
  16518. _0_12_isSet = _0_12_isSet0;
  16519. } else {
  16520. _0_12 = _0_1._string$_text;
  16521. t2 = _0_12;
  16522. }
  16523. _0_20 = "to-zero" === t2;
  16524. t2 = _0_20;
  16525. _0_20_isSet = true;
  16526. }
  16527. else {
  16528. t2 = t3;
  16529. _0_12_isSet = _0_12_isSet0;
  16530. }
  16531. } else {
  16532. t2 = t3;
  16533. _0_12_isSet = _0_12_isSet0;
  16534. }
  16535. } else {
  16536. t2 = t3;
  16537. _0_12_isSet = _0_12_isSet0;
  16538. }
  16539. if (t2) {
  16540. if (_0_6_isSet)
  16541. t2 = _0_60;
  16542. else {
  16543. t2 = _0_6;
  16544. _0_6_isSet = _0_6_isSet0;
  16545. _0_60 = t2;
  16546. }
  16547. if (t2 instanceof A.SassNumber) {
  16548. if (_0_6_isSet)
  16549. t2 = _0_60;
  16550. else {
  16551. t2 = _0_6;
  16552. _0_6_isSet = _0_6_isSet0;
  16553. _0_60 = t2;
  16554. }
  16555. t3 = type$.SassNumber;
  16556. t3._as(t2);
  16557. if (_0_9_isSet)
  16558. t1 = _0_90;
  16559. else {
  16560. t1 = _0_9;
  16561. _0_9_isSet = _0_9_isSet0;
  16562. _0_90 = t1;
  16563. }
  16564. t1 = t1 instanceof A.SassNumber;
  16565. if (t1) {
  16566. if (_0_9_isSet)
  16567. t4 = _0_90;
  16568. else {
  16569. t4 = _0_9;
  16570. _0_9_isSet = _0_9_isSet0;
  16571. _0_90 = t4;
  16572. }
  16573. t3._as(t4);
  16574. step = t4;
  16575. }
  16576. number = t2;
  16577. }
  16578. strategy = _0_1;
  16579. }
  16580. } else
  16581. _0_12_isSet = _0_14_isSet;
  16582. if (t1) {
  16583. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16584. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  16585. }
  16586. strategy = _null;
  16587. rest = _null;
  16588. t1 = false;
  16589. if (_0_1 instanceof A.SassString) {
  16590. _0_6_isSet0 = true;
  16591. _0_12_isSet0 = true;
  16592. if (_0_14_isSet)
  16593. t2 = _0_14;
  16594. else {
  16595. if (_0_12_isSet)
  16596. t2 = _0_12;
  16597. else {
  16598. _0_12 = _0_1._string$_text;
  16599. t2 = _0_12;
  16600. _0_12_isSet = _0_12_isSet0;
  16601. }
  16602. _0_14 = "nearest" === t2;
  16603. t2 = _0_14;
  16604. _0_14_isSet = true;
  16605. }
  16606. t3 = true;
  16607. if (!t2) {
  16608. if (_0_16_isSet)
  16609. t2 = _0_16;
  16610. else {
  16611. if (_0_12_isSet)
  16612. t2 = _0_12;
  16613. else {
  16614. _0_12 = _0_1._string$_text;
  16615. t2 = _0_12;
  16616. _0_12_isSet = _0_12_isSet0;
  16617. }
  16618. _0_16 = "up" === t2;
  16619. t2 = _0_16;
  16620. _0_16_isSet = true;
  16621. }
  16622. if (!t2) {
  16623. if (_0_18_isSet)
  16624. t2 = _0_18;
  16625. else {
  16626. if (_0_12_isSet)
  16627. t2 = _0_12;
  16628. else {
  16629. _0_12 = _0_1._string$_text;
  16630. t2 = _0_12;
  16631. _0_12_isSet = _0_12_isSet0;
  16632. }
  16633. _0_18 = "down" === t2;
  16634. t2 = _0_18;
  16635. _0_18_isSet = true;
  16636. }
  16637. if (!t2)
  16638. if (_0_20_isSet)
  16639. t2 = _0_20;
  16640. else {
  16641. if (_0_12_isSet)
  16642. t2 = _0_12;
  16643. else {
  16644. _0_12 = _0_1._string$_text;
  16645. t2 = _0_12;
  16646. _0_12_isSet = _0_12_isSet0;
  16647. }
  16648. _0_20 = "to-zero" === t2;
  16649. t2 = _0_20;
  16650. _0_20_isSet = true;
  16651. }
  16652. else
  16653. t2 = t3;
  16654. } else
  16655. t2 = t3;
  16656. } else
  16657. t2 = t3;
  16658. if (t2) {
  16659. if (_0_6_isSet)
  16660. t2 = _0_60;
  16661. else {
  16662. t2 = _0_6;
  16663. _0_6_isSet = _0_6_isSet0;
  16664. _0_60 = t2;
  16665. }
  16666. if (t2 instanceof A.SassString) {
  16667. if (_0_6_isSet)
  16668. t2 = _0_60;
  16669. else {
  16670. t2 = _0_6;
  16671. _0_6_isSet = _0_6_isSet0;
  16672. _0_60 = t2;
  16673. }
  16674. type$.SassString._as(t2);
  16675. if (_0_10_isSet)
  16676. t1 = _0_10;
  16677. else {
  16678. if (_0_9_isSet)
  16679. t1 = _0_90;
  16680. else {
  16681. t1 = _0_9;
  16682. _0_90 = t1;
  16683. _0_9_isSet = true;
  16684. }
  16685. _0_10 = t1 == null;
  16686. t1 = _0_10;
  16687. _0_10_isSet = true;
  16688. }
  16689. rest = t2;
  16690. }
  16691. strategy = _0_1;
  16692. }
  16693. }
  16694. if (t1)
  16695. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  16696. t1 = false;
  16697. if (_0_1 instanceof A.SassString) {
  16698. _0_12_isSet0 = true;
  16699. if (_0_14_isSet)
  16700. t2 = _0_14;
  16701. else {
  16702. if (_0_12_isSet)
  16703. t2 = _0_12;
  16704. else {
  16705. _0_12 = _0_1._string$_text;
  16706. t2 = _0_12;
  16707. _0_12_isSet = _0_12_isSet0;
  16708. }
  16709. _0_14 = "nearest" === t2;
  16710. t2 = _0_14;
  16711. _0_14_isSet = true;
  16712. }
  16713. t3 = true;
  16714. if (!t2) {
  16715. if (_0_16_isSet)
  16716. t2 = _0_16;
  16717. else {
  16718. if (_0_12_isSet)
  16719. t2 = _0_12;
  16720. else {
  16721. _0_12 = _0_1._string$_text;
  16722. t2 = _0_12;
  16723. _0_12_isSet = _0_12_isSet0;
  16724. }
  16725. _0_16 = "up" === t2;
  16726. t2 = _0_16;
  16727. _0_16_isSet = true;
  16728. }
  16729. if (!t2) {
  16730. if (_0_18_isSet)
  16731. t2 = _0_18;
  16732. else {
  16733. if (_0_12_isSet)
  16734. t2 = _0_12;
  16735. else {
  16736. _0_12 = _0_1._string$_text;
  16737. t2 = _0_12;
  16738. _0_12_isSet = _0_12_isSet0;
  16739. }
  16740. _0_18 = "down" === t2;
  16741. t2 = _0_18;
  16742. _0_18_isSet = true;
  16743. }
  16744. if (!t2)
  16745. if (_0_20_isSet)
  16746. t2 = _0_20;
  16747. else {
  16748. if (_0_12_isSet)
  16749. t2 = _0_12;
  16750. else {
  16751. _0_12 = _0_1._string$_text;
  16752. t2 = _0_12;
  16753. _0_12_isSet = _0_12_isSet0;
  16754. }
  16755. _0_20 = "to-zero" === t2;
  16756. t2 = _0_20;
  16757. _0_20_isSet = true;
  16758. }
  16759. else
  16760. t2 = t3;
  16761. } else
  16762. t2 = t3;
  16763. } else
  16764. t2 = t3;
  16765. if (t2) {
  16766. if (_0_6_isSet)
  16767. t2 = _0_60;
  16768. else {
  16769. t2 = _0_6;
  16770. _0_60 = t2;
  16771. _0_6_isSet = true;
  16772. }
  16773. if (t2 != null)
  16774. if (_0_10_isSet)
  16775. t1 = _0_10;
  16776. else {
  16777. if (_0_9_isSet)
  16778. t1 = _0_90;
  16779. else {
  16780. t1 = _0_9;
  16781. _0_90 = t1;
  16782. _0_9_isSet = true;
  16783. }
  16784. _0_10 = t1 == null;
  16785. t1 = _0_10;
  16786. _0_10_isSet = true;
  16787. }
  16788. }
  16789. }
  16790. if (t1)
  16791. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  16792. t1 = false;
  16793. if (_0_1 instanceof A.SassString) {
  16794. _0_12_isSet0 = true;
  16795. if (_0_14_isSet)
  16796. t2 = _0_14;
  16797. else {
  16798. if (_0_12_isSet)
  16799. t2 = _0_12;
  16800. else {
  16801. _0_12 = _0_1._string$_text;
  16802. t2 = _0_12;
  16803. _0_12_isSet = _0_12_isSet0;
  16804. }
  16805. _0_14 = "nearest" === t2;
  16806. t2 = _0_14;
  16807. _0_14_isSet = true;
  16808. }
  16809. t3 = true;
  16810. if (!t2) {
  16811. if (_0_16_isSet)
  16812. t2 = _0_16;
  16813. else {
  16814. if (_0_12_isSet)
  16815. t2 = _0_12;
  16816. else {
  16817. _0_12 = _0_1._string$_text;
  16818. t2 = _0_12;
  16819. _0_12_isSet = _0_12_isSet0;
  16820. }
  16821. _0_16 = "up" === t2;
  16822. t2 = _0_16;
  16823. _0_16_isSet = true;
  16824. }
  16825. if (!t2) {
  16826. if (_0_18_isSet)
  16827. t2 = _0_18;
  16828. else {
  16829. if (_0_12_isSet)
  16830. t2 = _0_12;
  16831. else {
  16832. _0_12 = _0_1._string$_text;
  16833. t2 = _0_12;
  16834. _0_12_isSet = _0_12_isSet0;
  16835. }
  16836. _0_18 = "down" === t2;
  16837. t2 = _0_18;
  16838. _0_18_isSet = true;
  16839. }
  16840. if (!t2)
  16841. if (_0_20_isSet)
  16842. t2 = _0_20;
  16843. else {
  16844. if (_0_12_isSet)
  16845. t2 = _0_12;
  16846. else {
  16847. _0_12 = _0_1._string$_text;
  16848. t2 = _0_12;
  16849. _0_12_isSet = _0_12_isSet0;
  16850. }
  16851. _0_20 = "to-zero" === t2;
  16852. t2 = _0_20;
  16853. _0_20_isSet = true;
  16854. }
  16855. else
  16856. t2 = t3;
  16857. } else
  16858. t2 = t3;
  16859. } else
  16860. t2 = t3;
  16861. if (t2) {
  16862. if (_0_8_isSet)
  16863. t2 = _0_8;
  16864. else {
  16865. if (_0_6_isSet)
  16866. t2 = _0_60;
  16867. else {
  16868. t2 = _0_6;
  16869. _0_60 = t2;
  16870. _0_6_isSet = true;
  16871. }
  16872. _0_8 = t2 == null;
  16873. t2 = _0_8;
  16874. _0_8_isSet = true;
  16875. }
  16876. if (t2)
  16877. if (_0_10_isSet)
  16878. t1 = _0_10;
  16879. else {
  16880. if (_0_9_isSet)
  16881. t1 = _0_90;
  16882. else {
  16883. t1 = _0_9;
  16884. _0_90 = t1;
  16885. _0_9_isSet = true;
  16886. }
  16887. _0_10 = t1 == null;
  16888. t1 = _0_10;
  16889. _0_10_isSet = true;
  16890. }
  16891. }
  16892. }
  16893. if (t1)
  16894. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16895. t1 = false;
  16896. if (_0_8_isSet)
  16897. t2 = _0_8;
  16898. else {
  16899. if (_0_6_isSet)
  16900. t2 = _0_60;
  16901. else {
  16902. t2 = _0_6;
  16903. _0_60 = t2;
  16904. _0_6_isSet = true;
  16905. }
  16906. _0_8 = t2 == null;
  16907. t2 = _0_8;
  16908. }
  16909. if (t2)
  16910. if (_0_10_isSet)
  16911. t1 = _0_10;
  16912. else {
  16913. if (_0_9_isSet)
  16914. t1 = _0_90;
  16915. else {
  16916. t1 = _0_9;
  16917. _0_90 = t1;
  16918. _0_9_isSet = true;
  16919. }
  16920. _0_10 = t1 == null;
  16921. t1 = _0_10;
  16922. _0_10_isSet = true;
  16923. }
  16924. if (t1)
  16925. return new A.SassCalculation(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  16926. step = _null;
  16927. t1 = false;
  16928. _0_6_isSet0 = true;
  16929. if (_0_6_isSet)
  16930. t2 = _0_60;
  16931. else {
  16932. t2 = _0_6;
  16933. _0_6_isSet = _0_6_isSet0;
  16934. _0_60 = t2;
  16935. }
  16936. if (t2 != null) {
  16937. if (_0_6_isSet)
  16938. step = _0_60;
  16939. else {
  16940. step = _0_6;
  16941. _0_6_isSet = _0_6_isSet0;
  16942. _0_60 = step;
  16943. }
  16944. if (step == null)
  16945. step = A._asObject(step);
  16946. if (_0_10_isSet)
  16947. t1 = _0_10;
  16948. else {
  16949. if (_0_9_isSet)
  16950. t1 = _0_90;
  16951. else {
  16952. t1 = _0_9;
  16953. _0_90 = t1;
  16954. _0_9_isSet = true;
  16955. }
  16956. _0_10 = t1 == null;
  16957. t1 = _0_10;
  16958. }
  16959. }
  16960. if (t1)
  16961. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16962. if (_0_1 instanceof A.SassString) {
  16963. t1 = true;
  16964. if (_0_14_isSet)
  16965. t2 = _0_14;
  16966. else {
  16967. if (_0_12_isSet)
  16968. t2 = _0_12;
  16969. else {
  16970. _0_12 = _0_1._string$_text;
  16971. t2 = _0_12;
  16972. _0_12_isSet = true;
  16973. }
  16974. _0_14 = "nearest" === t2;
  16975. t2 = _0_14;
  16976. }
  16977. if (!t2) {
  16978. if (_0_16_isSet)
  16979. t2 = _0_16;
  16980. else {
  16981. if (_0_12_isSet)
  16982. t2 = _0_12;
  16983. else {
  16984. _0_12 = _0_1._string$_text;
  16985. t2 = _0_12;
  16986. _0_12_isSet = true;
  16987. }
  16988. _0_16 = "up" === t2;
  16989. t2 = _0_16;
  16990. }
  16991. if (!t2) {
  16992. if (_0_18_isSet)
  16993. t2 = _0_18;
  16994. else {
  16995. if (_0_12_isSet)
  16996. t2 = _0_12;
  16997. else {
  16998. _0_12 = _0_1._string$_text;
  16999. t2 = _0_12;
  17000. _0_12_isSet = true;
  17001. }
  17002. _0_18 = "down" === t2;
  17003. t2 = _0_18;
  17004. }
  17005. if (!t2)
  17006. if (_0_20_isSet)
  17007. t1 = _0_20;
  17008. else {
  17009. if (_0_12_isSet)
  17010. t1 = _0_12;
  17011. else {
  17012. _0_12 = _0_1._string$_text;
  17013. t1 = _0_12;
  17014. }
  17015. _0_20 = "to-zero" === t1;
  17016. t1 = _0_20;
  17017. }
  17018. }
  17019. }
  17020. } else
  17021. t1 = false;
  17022. if (!t1)
  17023. if (_0_1 instanceof A.SassString)
  17024. t1 = _0_1.get$isVar();
  17025. else
  17026. t1 = false;
  17027. else
  17028. t1 = true;
  17029. number = _null;
  17030. step = _null;
  17031. t2 = false;
  17032. if (t1) {
  17033. _0_6_isSet0 = true;
  17034. _0_9_isSet0 = true;
  17035. type$.SassString._as(_0_1);
  17036. if (_0_6_isSet)
  17037. t1 = _0_60;
  17038. else {
  17039. t1 = _0_6;
  17040. _0_6_isSet = _0_6_isSet0;
  17041. _0_60 = t1;
  17042. }
  17043. if (t1 != null) {
  17044. if (_0_6_isSet)
  17045. number = _0_60;
  17046. else {
  17047. number = _0_6;
  17048. _0_6_isSet = _0_6_isSet0;
  17049. _0_60 = number;
  17050. }
  17051. if (number == null)
  17052. number = A._asObject(number);
  17053. if (_0_9_isSet)
  17054. t1 = _0_90;
  17055. else {
  17056. t1 = _0_9;
  17057. _0_9_isSet = _0_9_isSet0;
  17058. _0_90 = t1;
  17059. }
  17060. t1 = t1 != null;
  17061. if (t1) {
  17062. if (_0_9_isSet)
  17063. step = _0_90;
  17064. else {
  17065. step = _0_9;
  17066. _0_9_isSet = _0_9_isSet0;
  17067. _0_90 = step;
  17068. }
  17069. if (step == null)
  17070. step = A._asObject(step);
  17071. }
  17072. } else
  17073. t1 = t2;
  17074. strategy = _0_1;
  17075. } else {
  17076. t1 = t2;
  17077. strategy = _null;
  17078. }
  17079. if (t1)
  17080. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  17081. t1 = false;
  17082. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  17083. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  17084. if (t1)
  17085. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  17086. t1 = A.SassScriptException$("Invalid parameters.", _null);
  17087. throw A.wrapException(t1);
  17088. },
  17089. SassCalculation_calcSize(basis, value) {
  17090. var t1 = type$.JSArray_Object,
  17091. t2 = A._setArrayType([basis], t1);
  17092. if (value != null)
  17093. t2.push(value);
  17094. A.SassCalculation__verifyLength(t2, 2);
  17095. basis = A.SassCalculation__simplify(basis);
  17096. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  17097. t1 = A._setArrayType([basis], t1);
  17098. if (value != null)
  17099. t1.push(value);
  17100. return new A.SassCalculation("calc-size", t1);
  17101. },
  17102. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify, warn) {
  17103. var compatible, t1;
  17104. if (!simplify)
  17105. return new A.CalculationOperation(operator, left, right);
  17106. left = A.SassCalculation__simplify(left);
  17107. right = A.SassCalculation__simplify(right);
  17108. if (B.CalculationOperator_dpX === operator || B.CalculationOperator_KrC === operator) {
  17109. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  17110. compatible = left.hasCompatibleUnits$1(right);
  17111. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  17112. warn.call$2("In future versions of Sass, " + inLegacySassFunction + "() will be interpreted as the CSS " + inLegacySassFunction + string$.x28__cal + inLegacySassFunction + string$.x28__ins, B.Deprecation_WW3);
  17113. compatible = true;
  17114. }
  17115. if (compatible)
  17116. return operator === B.CalculationOperator_dpX ? left.plus$1(right) : left.minus$1(right);
  17117. }
  17118. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  17119. if (right instanceof A.SassNumber) {
  17120. t1 = right._number$_value;
  17121. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  17122. } else
  17123. t1 = false;
  17124. if (t1) {
  17125. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  17126. operator = operator === B.CalculationOperator_dpX ? B.CalculationOperator_KrC : B.CalculationOperator_dpX;
  17127. }
  17128. return new A.CalculationOperation(operator, left, right);
  17129. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  17130. return operator === B.CalculationOperator_LPB ? left.times$1(right) : left.dividedBy$1(right);
  17131. else
  17132. return new A.CalculationOperation(operator, left, right);
  17133. },
  17134. SassCalculation__roundWithStep(strategy, number, step) {
  17135. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9, _0_9_isSet, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  17136. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  17137. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  17138. _0_2 = number._number$_value;
  17139. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  17140. t1 = step._number$_value;
  17141. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  17142. } else
  17143. t1 = false;
  17144. if (!t1) {
  17145. t1 = step._number$_value;
  17146. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  17147. } else
  17148. t1 = true;
  17149. if (t1) {
  17150. t1 = number.get$numeratorUnits(number);
  17151. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17152. }
  17153. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  17154. return number;
  17155. t1 = step._number$_value;
  17156. if (t1 == 1 / 0 || t1 == -1 / 0) {
  17157. $label0$0: {
  17158. if (0 === _0_2) {
  17159. t1 = number;
  17160. break $label0$0;
  17161. }
  17162. _0_6 = "nearest" === strategy;
  17163. t1 = _0_6;
  17164. _0_8_isSet = !t1;
  17165. _0_8 = _null;
  17166. if (_0_8_isSet) {
  17167. _0_8 = "to-zero" === strategy;
  17168. t1 = _0_8;
  17169. } else
  17170. t1 = true;
  17171. _0_9 = _null;
  17172. if (t1) {
  17173. _0_9 = _0_2 > 0;
  17174. t1 = _0_9;
  17175. _0_9_isSet = true;
  17176. } else {
  17177. _0_9_isSet = false;
  17178. t1 = false;
  17179. }
  17180. if (t1) {
  17181. t1 = number.get$numeratorUnits(number);
  17182. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17183. break $label0$0;
  17184. }
  17185. if (!_0_6)
  17186. if (_0_8_isSet)
  17187. t1 = _0_8;
  17188. else {
  17189. _0_8 = "to-zero" === strategy;
  17190. t1 = _0_8;
  17191. }
  17192. else
  17193. t1 = true;
  17194. if (t1) {
  17195. t1 = number.get$numeratorUnits(number);
  17196. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17197. break $label0$0;
  17198. }
  17199. _0_11 = "up" === strategy;
  17200. t1 = _0_11;
  17201. if (t1)
  17202. if (_0_9_isSet)
  17203. t1 = _0_9;
  17204. else {
  17205. _0_9 = _0_2 > 0;
  17206. t1 = _0_9;
  17207. }
  17208. else
  17209. t1 = false;
  17210. if (t1) {
  17211. t1 = number.get$numeratorUnits(number);
  17212. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  17213. break $label0$0;
  17214. }
  17215. if (_0_11) {
  17216. t1 = number.get$numeratorUnits(number);
  17217. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17218. break $label0$0;
  17219. }
  17220. _0_13 = "down" === strategy;
  17221. t1 = _0_13;
  17222. if (t1)
  17223. t1 = _0_2 < 0;
  17224. else
  17225. t1 = false;
  17226. if (t1) {
  17227. t1 = number.get$numeratorUnits(number);
  17228. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  17229. break $label0$0;
  17230. }
  17231. if (_0_13) {
  17232. t1 = number.get$numeratorUnits(number);
  17233. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17234. break $label0$0;
  17235. }
  17236. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  17237. }
  17238. return t1;
  17239. }
  17240. stepWithNumberUnit = step.convertValueToMatch$1(number);
  17241. $label1$1: {
  17242. if ("nearest" === strategy) {
  17243. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  17244. t2 = number.get$numeratorUnits(number);
  17245. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17246. t1 = t2;
  17247. break $label1$1;
  17248. }
  17249. if ("up" === strategy) {
  17250. t2 = _0_2 / stepWithNumberUnit;
  17251. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  17252. t2 = number.get$numeratorUnits(number);
  17253. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17254. t1 = t2;
  17255. break $label1$1;
  17256. }
  17257. if ("down" === strategy) {
  17258. t2 = _0_2 / stepWithNumberUnit;
  17259. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  17260. t2 = number.get$numeratorUnits(number);
  17261. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17262. t1 = t2;
  17263. break $label1$1;
  17264. }
  17265. if ("to-zero" === strategy) {
  17266. t1 = _0_2 / stepWithNumberUnit;
  17267. if (_0_2 < 0) {
  17268. t1 = B.JSNumber_methods.ceil$0(t1);
  17269. t2 = number.get$numeratorUnits(number);
  17270. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17271. t1 = t2;
  17272. } else {
  17273. t1 = B.JSNumber_methods.floor$0(t1);
  17274. t2 = number.get$numeratorUnits(number);
  17275. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17276. t1 = t2;
  17277. }
  17278. break $label1$1;
  17279. }
  17280. t1 = number.get$numeratorUnits(number);
  17281. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17282. break $label1$1;
  17283. }
  17284. return t1;
  17285. },
  17286. SassCalculation__simplify(arg) {
  17287. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, t3, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  17288. _s32_ = " can't be used in a calculation.";
  17289. $label0$0: {
  17290. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  17291. t1 = arg;
  17292. break $label0$0;
  17293. }
  17294. t1 = arg instanceof A.SassString;
  17295. t2 = _null;
  17296. if (t1 && !arg._hasQuotes) {
  17297. t1 = arg;
  17298. break $label0$0;
  17299. }
  17300. if (t1)
  17301. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  17302. _0_11_isSet = arg instanceof A.SassCalculation;
  17303. _0_15 = _null;
  17304. _0_12 = _null;
  17305. _0_16_isSet = false;
  17306. text = _null;
  17307. t1 = false;
  17308. if (_0_11_isSet) {
  17309. _0_11 = "calc" === arg.name;
  17310. if (_0_11) {
  17311. _0_12 = arg.$arguments;
  17312. _0_15 = _0_12.length === 1;
  17313. t3 = _0_15;
  17314. if (t3) {
  17315. _0_16 = _0_12[0];
  17316. t2 = _0_16;
  17317. if (t2 instanceof A.SassString) {
  17318. type$.SassString._as(_0_16);
  17319. if (!_0_16._hasQuotes) {
  17320. text = _0_16._string$_text;
  17321. t1 = A.SassCalculation__needsParentheses(text);
  17322. }
  17323. }
  17324. _0_16_isSet = true;
  17325. } else
  17326. _0_16 = t2;
  17327. } else
  17328. _0_16 = t2;
  17329. _0_12_isSet = _0_11;
  17330. _0_15_isSet = _0_12_isSet;
  17331. } else {
  17332. _0_16 = t2;
  17333. _0_11 = _null;
  17334. _0_15_isSet = false;
  17335. _0_12_isSet = false;
  17336. }
  17337. if (t1) {
  17338. t1 = new A.SassString("(" + A.S(text) + ")", false);
  17339. break $label0$0;
  17340. }
  17341. t1 = false;
  17342. if (_0_11_isSet)
  17343. if (_0_11)
  17344. if (_0_15_isSet)
  17345. t1 = _0_15;
  17346. else {
  17347. if (_0_12_isSet)
  17348. t1 = _0_12;
  17349. else {
  17350. _0_12 = arg.$arguments;
  17351. t1 = _0_12;
  17352. _0_12_isSet = true;
  17353. }
  17354. _0_15 = t1.length === 1;
  17355. t1 = _0_15;
  17356. }
  17357. if (t1) {
  17358. if (_0_16_isSet)
  17359. value = _0_16;
  17360. else {
  17361. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  17362. value = _0_16;
  17363. }
  17364. t1 = value;
  17365. break $label0$0;
  17366. }
  17367. if (_0_11_isSet) {
  17368. t1 = arg;
  17369. break $label0$0;
  17370. }
  17371. if (arg instanceof A.Value)
  17372. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  17373. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  17374. }
  17375. return t1;
  17376. },
  17377. SassCalculation__needsParentheses(text) {
  17378. var t1, couldBeVar, second, third, fourth, i, t2,
  17379. first = text.charCodeAt(0);
  17380. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  17381. return true;
  17382. t1 = text.length;
  17383. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  17384. if (t1 < 2)
  17385. return false;
  17386. second = text.charCodeAt(1);
  17387. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  17388. return true;
  17389. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  17390. if (t1 < 3)
  17391. return false;
  17392. third = text.charCodeAt(2);
  17393. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  17394. return true;
  17395. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  17396. if (t1 < 4)
  17397. return false;
  17398. fourth = text.charCodeAt(3);
  17399. if (couldBeVar && fourth === 40)
  17400. return true;
  17401. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  17402. return true;
  17403. for (i = 4; i < t1; ++i) {
  17404. t2 = text.charCodeAt(i);
  17405. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  17406. return true;
  17407. }
  17408. return false;
  17409. },
  17410. SassCalculation__verifyCompatibleNumbers(args) {
  17411. var t1, _i, t2, arg, i, number1, j, number2;
  17412. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17413. arg = args[_i];
  17414. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  17415. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17416. }
  17417. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17418. number1 = args[i];
  17419. if (!(number1 instanceof A.SassNumber))
  17420. continue;
  17421. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17422. number2 = args[j];
  17423. if (!(number2 instanceof A.SassNumber))
  17424. continue;
  17425. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17426. continue;
  17427. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17428. }
  17429. }
  17430. },
  17431. SassCalculation__verifyLength(args, expectedLength) {
  17432. var t1;
  17433. if (args.length === expectedLength)
  17434. return;
  17435. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  17436. return;
  17437. t1 = args.length;
  17438. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  17439. },
  17440. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  17441. argument = A.SassCalculation__simplify(argument);
  17442. if (!(argument instanceof A.SassNumber))
  17443. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  17444. if (forbidUnits)
  17445. argument.assertNoUnits$0();
  17446. return mathFunc.call$1(argument);
  17447. },
  17448. SassCalculation: function SassCalculation(t0, t1) {
  17449. this.name = t0;
  17450. this.$arguments = t1;
  17451. },
  17452. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  17453. },
  17454. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  17455. this._operator = t0;
  17456. this._left = t1;
  17457. this._right = t2;
  17458. },
  17459. CalculationOperator: function CalculationOperator(t0, t1, t2, t3, t4) {
  17460. var _ = this;
  17461. _.name = t0;
  17462. _.operator = t1;
  17463. _.precedence = t2;
  17464. _.index = t3;
  17465. _._name = t4;
  17466. },
  17467. SassColor_SassColor$rgb(red, green, blue, alpha) {
  17468. return A.SassColor_SassColor$rgbInternal(red, green, blue, alpha, null);
  17469. },
  17470. SassColor_SassColor$rgbInternal(red, green, blue, alpha, format) {
  17471. var _null = null,
  17472. t1 = red == null ? _null : red,
  17473. t2 = green == null ? _null : green,
  17474. t3 = blue == null ? _null : blue;
  17475. return A.SassColor$_forSpace(B.RgbColorSpace_i0P, t1, t2, t3, alpha == null ? _null : alpha, format);
  17476. },
  17477. SassColor_SassColor$hsl(hue, saturation, lightness, alpha) {
  17478. var _null = null,
  17479. t1 = hue == null ? _null : hue,
  17480. t2 = saturation == null ? _null : saturation,
  17481. t3 = lightness == null ? _null : lightness;
  17482. return A.SassColor_SassColor$forSpaceInternal(B.HslColorSpace_JQ2, t1, t2, t3, alpha == null ? _null : alpha);
  17483. },
  17484. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  17485. var _null = null,
  17486. t1 = hue == null ? _null : hue,
  17487. t2 = whiteness == null ? _null : whiteness,
  17488. t3 = blackness == null ? _null : blackness;
  17489. return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
  17490. },
  17491. SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
  17492. var t1, t2, _null = null;
  17493. $label0$0: {
  17494. if (B.HslColorSpace_JQ2 === space) {
  17495. t1 = channel1 == null;
  17496. t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
  17497. t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  17498. t1 = t2;
  17499. break $label0$0;
  17500. }
  17501. if (B.HwbColorSpace_guQ === space) {
  17502. t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
  17503. break $label0$0;
  17504. }
  17505. if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  17506. t1 = channel1 == null;
  17507. t2 = t1 ? _null : Math.abs(channel1);
  17508. t2 = A.SassColor$_forSpace(space, channel0, t2, A.SassColor__normalizeHue(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), alpha, _null);
  17509. t1 = t2;
  17510. break $label0$0;
  17511. }
  17512. t1 = A.SassColor$_forSpace(space, channel0, channel1, channel2, alpha, _null);
  17513. break $label0$0;
  17514. }
  17515. return t1;
  17516. },
  17517. SassColor$_forSpace(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  17518. return new A.SassColor(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen(alpha, new A.SassColor$_forSpace_closure()));
  17519. },
  17520. SassColor__normalizeHue(hue, invert) {
  17521. var t1, t2;
  17522. if (hue == null)
  17523. return hue;
  17524. t1 = B.JSNumber_methods.$mod(hue, 360);
  17525. t2 = invert ? 180 : 0;
  17526. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  17527. },
  17528. SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
  17529. var _ = this;
  17530. _._space = t0;
  17531. _.channel0OrNull = t1;
  17532. _.channel1OrNull = t2;
  17533. _.channel2OrNull = t3;
  17534. _.format = t4;
  17535. _.alphaOrNull = t5;
  17536. },
  17537. SassColor$_forSpace_closure: function SassColor$_forSpace_closure() {
  17538. },
  17539. _ColorFormatEnum: function _ColorFormatEnum() {
  17540. },
  17541. SpanColorFormat: function SpanColorFormat(t0) {
  17542. this._color$_span = t0;
  17543. },
  17544. ColorChannel: function ColorChannel(t0, t1, t2) {
  17545. this.name = t0;
  17546. this.isPolarAngle = t1;
  17547. this.associatedUnit = t2;
  17548. },
  17549. LinearChannel: function LinearChannel(t0, t1, t2, t3, t4, t5, t6, t7) {
  17550. var _ = this;
  17551. _.min = t0;
  17552. _.max = t1;
  17553. _.requiresPercent = t2;
  17554. _.lowerClamped = t3;
  17555. _.upperClamped = t4;
  17556. _.name = t5;
  17557. _.isPolarAngle = t6;
  17558. _.associatedUnit = t7;
  17559. },
  17560. GamutMapMethod_GamutMapMethod$fromName($name) {
  17561. var t1;
  17562. $label0$0: {
  17563. if ("clip" === $name) {
  17564. t1 = B.ClipGamutMap_clip;
  17565. break $label0$0;
  17566. }
  17567. if ("local-minde" === $name) {
  17568. t1 = B.LocalMindeGamutMap_A2x;
  17569. break $label0$0;
  17570. }
  17571. t1 = A.throwExpression(A.SassScriptException$('Unknown gamut map method "' + $name + '".', null));
  17572. }
  17573. return t1;
  17574. },
  17575. GamutMapMethod: function GamutMapMethod() {
  17576. },
  17577. ClipGamutMap: function ClipGamutMap(t0) {
  17578. this.name = t0;
  17579. },
  17580. LocalMindeGamutMap: function LocalMindeGamutMap(t0) {
  17581. this.name = t0;
  17582. },
  17583. InterpolationMethod$(space, hue) {
  17584. var t1;
  17585. if (space.get$isPolarInternal())
  17586. t1 = hue == null ? B.HueInterpolationMethod_0 : hue;
  17587. else
  17588. t1 = null;
  17589. if (!space.get$isPolarInternal() && hue != null)
  17590. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  17591. return new A.InterpolationMethod(space, t1);
  17592. },
  17593. InterpolationMethod_InterpolationMethod$fromValue(value, $name) {
  17594. var t1, space, hueMethod,
  17595. list = value.assertCommonListStyle$2$allowSlash($name, false);
  17596. if (list.length === 0)
  17597. throw A.wrapException(A.SassScriptException$(string$.Expecta, $name));
  17598. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  17599. t1.assertUnquoted$1($name);
  17600. space = A.ColorSpace_fromName(t1._string$_text, $name);
  17601. if (list.length === 1)
  17602. return A.InterpolationMethod$(space, null);
  17603. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(list[1], $name);
  17604. if (list.length === 2)
  17605. throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  17606. else {
  17607. t1 = list[2].assertString$1($name);
  17608. t1.assertUnquoted$1($name);
  17609. if (t1._string$_text.toLowerCase() !== "hue")
  17610. throw A.wrapException(A.SassScriptException$(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  17611. else if (list.length > 3)
  17612. throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  17613. else if (!space.get$isPolarInternal())
  17614. throw A.wrapException(A.SassScriptException$('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  17615. }
  17616. return A.InterpolationMethod$(space, hueMethod);
  17617. },
  17618. HueInterpolationMethod_HueInterpolationMethod$_fromValue(value, $name) {
  17619. var _0_0,
  17620. t1 = value.assertString$1($name);
  17621. t1.assertUnquoted$0();
  17622. _0_0 = t1._string$_text.toLowerCase();
  17623. $label0$0: {
  17624. if ("shorter" === _0_0) {
  17625. t1 = B.HueInterpolationMethod_0;
  17626. break $label0$0;
  17627. }
  17628. if ("longer" === _0_0) {
  17629. t1 = B.HueInterpolationMethod_1;
  17630. break $label0$0;
  17631. }
  17632. if ("increasing" === _0_0) {
  17633. t1 = B.HueInterpolationMethod_2;
  17634. break $label0$0;
  17635. }
  17636. if ("decreasing" === _0_0) {
  17637. t1 = B.HueInterpolationMethod_3;
  17638. break $label0$0;
  17639. }
  17640. t1 = A.throwExpression(A.SassScriptException$("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  17641. }
  17642. return t1;
  17643. },
  17644. InterpolationMethod: function InterpolationMethod(t0, t1) {
  17645. this.space = t0;
  17646. this.hue = t1;
  17647. },
  17648. HueInterpolationMethod: function HueInterpolationMethod(t0, t1) {
  17649. this.index = t0;
  17650. this._name = t1;
  17651. },
  17652. ColorSpace_fromName($name, argumentName) {
  17653. var t1,
  17654. _0_0 = $name.toLowerCase();
  17655. $label0$0: {
  17656. if ("rgb" === _0_0) {
  17657. t1 = B.RgbColorSpace_i0P;
  17658. break $label0$0;
  17659. }
  17660. if ("hwb" === _0_0) {
  17661. t1 = B.HwbColorSpace_guQ;
  17662. break $label0$0;
  17663. }
  17664. if ("hsl" === _0_0) {
  17665. t1 = B.HslColorSpace_JQ2;
  17666. break $label0$0;
  17667. }
  17668. if ("srgb" === _0_0) {
  17669. t1 = B.SrgbColorSpace_thf;
  17670. break $label0$0;
  17671. }
  17672. if ("srgb-linear" === _0_0) {
  17673. t1 = B.SrgbLinearColorSpace_kUj;
  17674. break $label0$0;
  17675. }
  17676. if ("display-p3" === _0_0) {
  17677. t1 = B.DisplayP3ColorSpace_MmT;
  17678. break $label0$0;
  17679. }
  17680. if ("a98-rgb" === _0_0) {
  17681. t1 = B.A98RgbColorSpace_lf2;
  17682. break $label0$0;
  17683. }
  17684. if ("prophoto-rgb" === _0_0) {
  17685. t1 = B.ProphotoRgbColorSpace_BDz;
  17686. break $label0$0;
  17687. }
  17688. if ("rec2020" === _0_0) {
  17689. t1 = B.Rec2020ColorSpace_6oo;
  17690. break $label0$0;
  17691. }
  17692. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  17693. t1 = B.XyzD65ColorSpace_WiJ;
  17694. break $label0$0;
  17695. }
  17696. if ("xyz-d50" === _0_0) {
  17697. t1 = B.XyzD50ColorSpace_2OB;
  17698. break $label0$0;
  17699. }
  17700. if ("lab" === _0_0) {
  17701. t1 = B.LabColorSpace_2nT;
  17702. break $label0$0;
  17703. }
  17704. if ("lch" === _0_0) {
  17705. t1 = B.LchColorSpace_Bpv;
  17706. break $label0$0;
  17707. }
  17708. if ("oklab" === _0_0) {
  17709. t1 = B.OklabColorSpace_540;
  17710. break $label0$0;
  17711. }
  17712. if ("oklch" === _0_0) {
  17713. t1 = B.OklchColorSpace_9Gj;
  17714. break $label0$0;
  17715. }
  17716. t1 = A.throwExpression(A.SassScriptException$('Unknown color space "' + $name + '".', argumentName));
  17717. }
  17718. return t1;
  17719. },
  17720. ColorSpace: function ColorSpace() {
  17721. },
  17722. A98RgbColorSpace: function A98RgbColorSpace(t0, t1) {
  17723. this.name = t0;
  17724. this._channels = t1;
  17725. },
  17726. DisplayP3ColorSpace: function DisplayP3ColorSpace(t0, t1) {
  17727. this.name = t0;
  17728. this._channels = t1;
  17729. },
  17730. HslColorSpace: function HslColorSpace(t0, t1) {
  17731. this.name = t0;
  17732. this._channels = t1;
  17733. },
  17734. HwbColorSpace: function HwbColorSpace(t0, t1) {
  17735. this.name = t0;
  17736. this._channels = t1;
  17737. },
  17738. HwbColorSpace_convert_toRgb: function HwbColorSpace_convert_toRgb(t0, t1) {
  17739. this._box_0 = t0;
  17740. this.factor = t1;
  17741. },
  17742. LabColorSpace: function LabColorSpace(t0, t1) {
  17743. this.name = t0;
  17744. this._channels = t1;
  17745. },
  17746. LchColorSpace: function LchColorSpace(t0, t1) {
  17747. this.name = t0;
  17748. this._channels = t1;
  17749. },
  17750. LmsColorSpace: function LmsColorSpace(t0, t1) {
  17751. this.name = t0;
  17752. this._channels = t1;
  17753. },
  17754. OklabColorSpace: function OklabColorSpace(t0, t1) {
  17755. this.name = t0;
  17756. this._channels = t1;
  17757. },
  17758. OklchColorSpace: function OklchColorSpace(t0, t1) {
  17759. this.name = t0;
  17760. this._channels = t1;
  17761. },
  17762. ProphotoRgbColorSpace: function ProphotoRgbColorSpace(t0, t1) {
  17763. this.name = t0;
  17764. this._channels = t1;
  17765. },
  17766. Rec2020ColorSpace: function Rec2020ColorSpace(t0, t1) {
  17767. this.name = t0;
  17768. this._channels = t1;
  17769. },
  17770. RgbColorSpace: function RgbColorSpace(t0, t1) {
  17771. this.name = t0;
  17772. this._channels = t1;
  17773. },
  17774. SrgbColorSpace: function SrgbColorSpace(t0, t1) {
  17775. this.name = t0;
  17776. this._channels = t1;
  17777. },
  17778. SrgbLinearColorSpace: function SrgbLinearColorSpace(t0, t1) {
  17779. this.name = t0;
  17780. this._channels = t1;
  17781. },
  17782. XyzD50ColorSpace: function XyzD50ColorSpace(t0, t1) {
  17783. this.name = t0;
  17784. this._channels = t1;
  17785. },
  17786. XyzD65ColorSpace: function XyzD65ColorSpace(t0, t1) {
  17787. this.name = t0;
  17788. this._channels = t1;
  17789. },
  17790. SassFunction: function SassFunction(t0, t1) {
  17791. this.callable = t0;
  17792. this._function$_compileContext = t1;
  17793. },
  17794. SassList$(contents, _separator, brackets) {
  17795. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  17796. t1.SassList$3$brackets(contents, _separator, brackets);
  17797. return t1;
  17798. },
  17799. SassList: function SassList(t0, t1, t2) {
  17800. this._list$_contents = t0;
  17801. this._separator = t1;
  17802. this._hasBrackets = t2;
  17803. },
  17804. SassList_isBlank_closure: function SassList_isBlank_closure() {
  17805. },
  17806. ListSeparator: function ListSeparator(t0, t1, t2, t3) {
  17807. var _ = this;
  17808. _._list$_name = t0;
  17809. _.separator = t1;
  17810. _.index = t2;
  17811. _._name = t3;
  17812. },
  17813. SassMap: function SassMap(t0) {
  17814. this._map$_contents = t0;
  17815. },
  17816. SassMixin: function SassMixin(t0, t1) {
  17817. this.callable = t0;
  17818. this._mixin$_compileContext = t1;
  17819. },
  17820. _SassNull: function _SassNull() {
  17821. },
  17822. conversionFactor(unit1, unit2) {
  17823. var _0_0;
  17824. if (unit1 === unit2)
  17825. return 1;
  17826. _0_0 = B.Map_NtHoP.$index(0, unit1);
  17827. if (_0_0 != null)
  17828. return _0_0.$index(0, unit2);
  17829. return null;
  17830. },
  17831. SassNumber_SassNumber(value, unit) {
  17832. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  17833. },
  17834. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  17835. var t1, _0_8, _0_10, _0_10_isSet, _0_7, _0_8_isSet, _0_7_isSet, unit, _0_7_isSet0, t2, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  17836. _0_6 = _null,
  17837. _0_4 = _null;
  17838. _0_4 = numeratorUnits.length;
  17839. t1 = _0_4;
  17840. _0_6 = t1 <= 0;
  17841. t1 = _0_6;
  17842. _0_8 = _null;
  17843. _0_10 = _null;
  17844. if (t1) {
  17845. _0_8 = denominatorUnits == null;
  17846. t1 = _0_8;
  17847. _0_10_isSet = !t1;
  17848. if (_0_10_isSet) {
  17849. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  17850. t1 = _0_10;
  17851. } else
  17852. t1 = true;
  17853. _0_7 = denominatorUnits;
  17854. _0_8_isSet = true;
  17855. _0_7_isSet = true;
  17856. } else {
  17857. _0_7 = _null;
  17858. _0_8_isSet = false;
  17859. _0_7_isSet = false;
  17860. _0_10_isSet = false;
  17861. t1 = false;
  17862. }
  17863. if (t1)
  17864. return new A.UnitlessSassNumber(value, _null);
  17865. unit = _null;
  17866. t1 = false;
  17867. _0_7_isSet0 = true;
  17868. t2 = _0_4;
  17869. if (t2 === 1) {
  17870. unit = numeratorUnits[0];
  17871. if (_0_8_isSet)
  17872. t1 = _0_8;
  17873. else {
  17874. if (_0_7_isSet)
  17875. t1 = _0_7;
  17876. else {
  17877. t1 = denominatorUnits;
  17878. _0_7_isSet = _0_7_isSet0;
  17879. _0_7 = t1;
  17880. }
  17881. _0_8 = t1 == null;
  17882. t1 = _0_8;
  17883. _0_8_isSet = true;
  17884. }
  17885. if (!t1)
  17886. if (_0_10_isSet)
  17887. t1 = _0_10;
  17888. else {
  17889. if (_0_7_isSet)
  17890. t1 = _0_7;
  17891. else {
  17892. t1 = denominatorUnits;
  17893. _0_7_isSet = _0_7_isSet0;
  17894. _0_7 = t1;
  17895. }
  17896. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17897. t1 = _0_10;
  17898. _0_10_isSet = true;
  17899. }
  17900. else
  17901. t1 = true;
  17902. }
  17903. if (t1)
  17904. return new A.SingleUnitSassNumber(unit, value, _null);
  17905. t1 = false;
  17906. _0_7_isSet0 = true;
  17907. if (_0_8_isSet)
  17908. t1 = _0_8;
  17909. else {
  17910. if (_0_7_isSet)
  17911. t1 = _0_7;
  17912. else {
  17913. t1 = denominatorUnits;
  17914. _0_7_isSet = _0_7_isSet0;
  17915. _0_7 = t1;
  17916. }
  17917. _0_8 = t1 == null;
  17918. t1 = _0_8;
  17919. }
  17920. if (!t1)
  17921. if (_0_10_isSet)
  17922. t1 = _0_10;
  17923. else {
  17924. if (_0_7_isSet)
  17925. t1 = _0_7;
  17926. else {
  17927. t1 = denominatorUnits;
  17928. _0_7_isSet = _0_7_isSet0;
  17929. _0_7 = t1;
  17930. }
  17931. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17932. t1 = _0_10;
  17933. }
  17934. else
  17935. t1 = true;
  17936. numerators = numeratorUnits;
  17937. if (t1)
  17938. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17939. t1 = _0_6;
  17940. denominators = _null;
  17941. if (t1) {
  17942. if (_0_7_isSet)
  17943. t1 = _0_7;
  17944. else {
  17945. t1 = denominatorUnits;
  17946. _0_7 = t1;
  17947. _0_7_isSet = true;
  17948. }
  17949. t1 = t1 != null;
  17950. if (t1) {
  17951. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17952. if (denominators == null)
  17953. denominators = type$.List_String._as(denominators);
  17954. }
  17955. } else
  17956. t1 = false;
  17957. if (t1)
  17958. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17959. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17960. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17961. denominators = A._setArrayType([], type$.JSArray_String);
  17962. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17963. denominator = unsimplifiedDenominators[_i];
  17964. i = 0;
  17965. for (;;) {
  17966. if (!(i < numerators.length)) {
  17967. simplifiedAway = false;
  17968. break;
  17969. }
  17970. c$0: {
  17971. factor = A.conversionFactor(denominator, numerators[i]);
  17972. if (factor == null)
  17973. break c$0;
  17974. valueDouble *= factor;
  17975. B.JSArray_methods.removeAt$1(numerators, i);
  17976. simplifiedAway = true;
  17977. break;
  17978. }
  17979. ++i;
  17980. }
  17981. if (!simplifiedAway)
  17982. denominators.push(denominator);
  17983. }
  17984. $label0$1: {
  17985. _1_2 = numerators.length;
  17986. t1 = _1_2;
  17987. _1_7_isSet = t1 <= 0;
  17988. if (_1_7_isSet) {
  17989. _1_7 = denominators.length <= 0;
  17990. t1 = _1_7;
  17991. } else {
  17992. _1_7 = _null;
  17993. t1 = false;
  17994. }
  17995. if (t1) {
  17996. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17997. break $label0$1;
  17998. }
  17999. t1 = false;
  18000. if (_1_2 === 1) {
  18001. unit = numerators[0];
  18002. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  18003. } else
  18004. unit = _null;
  18005. if (t1) {
  18006. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  18007. break $label0$1;
  18008. }
  18009. t1 = type$.String;
  18010. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  18011. break $label0$1;
  18012. }
  18013. return t1;
  18014. },
  18015. SassNumber: function SassNumber() {
  18016. },
  18017. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  18018. var _ = this;
  18019. _.$this = t0;
  18020. _.other = t1;
  18021. _.otherName = t2;
  18022. _.otherHasUnits = t3;
  18023. _.name = t4;
  18024. _.newNumerators = t5;
  18025. _.newDenominators = t6;
  18026. },
  18027. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  18028. this._box_0 = t0;
  18029. this.newNumerator = t1;
  18030. },
  18031. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  18032. this.compatibilityException = t0;
  18033. },
  18034. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  18035. this._box_0 = t0;
  18036. this.newDenominator = t1;
  18037. },
  18038. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  18039. this.compatibilityException = t0;
  18040. },
  18041. SassNumber_plus_closure: function SassNumber_plus_closure() {
  18042. },
  18043. SassNumber_minus_closure: function SassNumber_minus_closure() {
  18044. },
  18045. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  18046. this._box_0 = t0;
  18047. this.numerator = t1;
  18048. },
  18049. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  18050. this.newNumerators = t0;
  18051. this.numerator = t1;
  18052. },
  18053. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  18054. this._box_0 = t0;
  18055. this.numerator = t1;
  18056. },
  18057. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  18058. this.newNumerators = t0;
  18059. this.numerator = t1;
  18060. },
  18061. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  18062. this.units2 = t0;
  18063. },
  18064. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  18065. },
  18066. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  18067. this.$this = t0;
  18068. },
  18069. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  18070. },
  18071. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  18072. },
  18073. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  18074. var _ = this;
  18075. _._numeratorUnits = t0;
  18076. _._denominatorUnits = t1;
  18077. _._number$_value = t2;
  18078. _.hashCache = null;
  18079. _.asSlash = t3;
  18080. },
  18081. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  18082. var _ = this;
  18083. _._unit = t0;
  18084. _._number$_value = t1;
  18085. _.hashCache = null;
  18086. _.asSlash = t2;
  18087. },
  18088. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  18089. this.$this = t0;
  18090. this.unit = t1;
  18091. },
  18092. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  18093. this.$this = t0;
  18094. },
  18095. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  18096. this._box_0 = t0;
  18097. this.$this = t1;
  18098. },
  18099. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  18100. this._box_0 = t0;
  18101. this.$this = t1;
  18102. },
  18103. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  18104. this._number$_value = t0;
  18105. this.hashCache = null;
  18106. this.asSlash = t1;
  18107. },
  18108. SassString$(_text, quotes) {
  18109. return new A.SassString(_text, quotes);
  18110. },
  18111. SassString: function SassString(t0, t1) {
  18112. var _ = this;
  18113. _._string$_text = t0;
  18114. _._hasQuotes = t1;
  18115. _.__SassString__sassLength_FI = $;
  18116. _._hashCache = null;
  18117. },
  18118. AnySelectorVisitor: function AnySelectorVisitor() {
  18119. },
  18120. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  18121. this.$this = t0;
  18122. },
  18123. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  18124. this.$this = t0;
  18125. },
  18126. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18127. var t1 = type$.Uri,
  18128. t2 = type$.Module_AsyncCallable,
  18129. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18130. t1 = new A._EvaluateVisitor0(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  18131. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18132. return t1;
  18133. },
  18134. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  18135. var _ = this;
  18136. _._async_evaluate$_importCache = t0;
  18137. _._async_evaluate$_nodeImporter = t1;
  18138. _._async_evaluate$_builtInFunctions = t2;
  18139. _._async_evaluate$_builtInModules = t3;
  18140. _._async_evaluate$_modules = t4;
  18141. _._async_evaluate$_moduleConfigurations = t5;
  18142. _._async_evaluate$_moduleNodes = t6;
  18143. _._async_evaluate$_logger = t7;
  18144. _._async_evaluate$_warningsEmitted = t8;
  18145. _._async_evaluate$_quietDeps = t9;
  18146. _._async_evaluate$_sourceMap = t10;
  18147. _._async_evaluate$_compileContext = t11;
  18148. _._async_evaluate$_environment = t12;
  18149. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  18150. _._async_evaluate$_member = "root stylesheet";
  18151. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
  18152. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  18153. _._async_evaluate$_loadedUrls = t13;
  18154. _._async_evaluate$_activeModules = t14;
  18155. _._async_evaluate$_stack = t15;
  18156. _._async_evaluate$_importer = null;
  18157. _._async_evaluate$_inDependency = false;
  18158. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  18159. _._async_evaluate$_configuration = t16;
  18160. },
  18161. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  18162. this.$this = t0;
  18163. },
  18164. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  18165. this.$this = t0;
  18166. },
  18167. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  18168. this.$this = t0;
  18169. },
  18170. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  18171. this.$this = t0;
  18172. },
  18173. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  18174. this.$this = t0;
  18175. },
  18176. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  18177. this.$this = t0;
  18178. },
  18179. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  18180. this.$this = t0;
  18181. },
  18182. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18183. this.$this = t0;
  18184. },
  18185. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18186. this.$this = t0;
  18187. },
  18188. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  18189. this.$this = t0;
  18190. this.name = t1;
  18191. this.module = t2;
  18192. },
  18193. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18194. this.$this = t0;
  18195. },
  18196. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18197. this.$this = t0;
  18198. this.name = t1;
  18199. this.module = t2;
  18200. },
  18201. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18202. this.$this = t0;
  18203. },
  18204. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18205. this.$this = t0;
  18206. },
  18207. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2, t3) {
  18208. var _ = this;
  18209. _._box_0 = t0;
  18210. _.values = t1;
  18211. _.span = t2;
  18212. _.callableNode = t3;
  18213. },
  18214. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  18215. this.$this = t0;
  18216. },
  18217. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18218. this.$this = t0;
  18219. },
  18220. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  18221. this.$this = t0;
  18222. this.node = t1;
  18223. this.importer = t2;
  18224. },
  18225. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  18226. this.$this = t0;
  18227. this.importer = t1;
  18228. this.node = t2;
  18229. },
  18230. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  18231. this._box_0 = t0;
  18232. this.callback = t1;
  18233. },
  18234. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18235. var _ = this;
  18236. _.$this = t0;
  18237. _.url = t1;
  18238. _.nodeWithSpan = t2;
  18239. _.baseUrl = t3;
  18240. _.namesInErrors = t4;
  18241. _.configuration = t5;
  18242. _.callback = t6;
  18243. },
  18244. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18245. this.$this = t0;
  18246. this.message = t1;
  18247. },
  18248. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  18249. this._box_1 = t0;
  18250. this.callback = t1;
  18251. this.firstLoad = t2;
  18252. },
  18253. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18254. var _ = this;
  18255. _.$this = t0;
  18256. _.importer = t1;
  18257. _.stylesheet = t2;
  18258. _.extensionStore = t3;
  18259. _.configuration = t4;
  18260. _.css = t5;
  18261. _.preModuleComments = t6;
  18262. },
  18263. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  18264. },
  18265. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  18266. this.selectors = t0;
  18267. },
  18268. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  18269. var _ = this;
  18270. _.$this = t0;
  18271. _.seen = t1;
  18272. _.clone = t2;
  18273. _.css = t3;
  18274. _.imports = t4;
  18275. _.sorted = t5;
  18276. },
  18277. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  18278. this.originalSelectors = t0;
  18279. },
  18280. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  18281. },
  18282. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  18283. this.$this = t0;
  18284. this.node = t1;
  18285. },
  18286. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  18287. this.$this = t0;
  18288. this.node = t1;
  18289. },
  18290. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  18291. this.$this = t0;
  18292. this.newParent = t1;
  18293. this.node = t2;
  18294. },
  18295. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  18296. this.$this = t0;
  18297. this.innerScope = t1;
  18298. },
  18299. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  18300. this.$this = t0;
  18301. this.innerScope = t1;
  18302. },
  18303. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  18304. this.innerScope = t0;
  18305. this.callback = t1;
  18306. },
  18307. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  18308. this.$this = t0;
  18309. this.innerScope = t1;
  18310. },
  18311. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  18312. },
  18313. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  18314. this.$this = t0;
  18315. this.innerScope = t1;
  18316. },
  18317. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  18318. this.$this = t0;
  18319. this.content = t1;
  18320. },
  18321. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  18322. this._box_0 = t0;
  18323. this.$this = t1;
  18324. },
  18325. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  18326. this._box_0 = t0;
  18327. this.$this = t1;
  18328. this.nodeWithSpan = t2;
  18329. },
  18330. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  18331. this._box_1 = t0;
  18332. this.$this = t1;
  18333. this.nodeWithSpan = t2;
  18334. },
  18335. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  18336. var _ = this;
  18337. _.$this = t0;
  18338. _.list = t1;
  18339. _.setVariables = t2;
  18340. _.node = t3;
  18341. },
  18342. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  18343. this.$this = t0;
  18344. this.setVariables = t1;
  18345. this.node = t2;
  18346. },
  18347. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  18348. this.$this = t0;
  18349. },
  18350. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  18351. this.$this = t0;
  18352. },
  18353. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  18354. this.$this = t0;
  18355. this.name = t1;
  18356. this.children = t2;
  18357. },
  18358. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  18359. this.$this = t0;
  18360. this.children = t1;
  18361. },
  18362. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  18363. },
  18364. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  18365. this.$this = t0;
  18366. this.node = t1;
  18367. },
  18368. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  18369. this.$this = t0;
  18370. this.node = t1;
  18371. },
  18372. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  18373. this.fromNumber = t0;
  18374. },
  18375. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  18376. this.toNumber = t0;
  18377. this.fromNumber = t1;
  18378. },
  18379. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  18380. var _ = this;
  18381. _._box_0 = t0;
  18382. _.$this = t1;
  18383. _.node = t2;
  18384. _.from = t3;
  18385. _.direction = t4;
  18386. _.fromNumber = t5;
  18387. },
  18388. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  18389. this.$this = t0;
  18390. },
  18391. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  18392. this.$this = t0;
  18393. this.node = t1;
  18394. },
  18395. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  18396. this.$this = t0;
  18397. this.node = t1;
  18398. },
  18399. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  18400. },
  18401. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  18402. this.$this = t0;
  18403. },
  18404. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  18405. this.$this = t0;
  18406. this.clause = t1;
  18407. },
  18408. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  18409. this.$this = t0;
  18410. },
  18411. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  18412. this.$this = t0;
  18413. this.$import = t1;
  18414. },
  18415. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  18416. this.$this = t0;
  18417. },
  18418. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  18419. },
  18420. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  18421. },
  18422. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  18423. var _ = this;
  18424. _._box_0 = t0;
  18425. _.$this = t1;
  18426. _.loadsUserDefinedModules = t2;
  18427. _.environment = t3;
  18428. _.children = t4;
  18429. },
  18430. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  18431. var _ = this;
  18432. _.$this = t0;
  18433. _.$arguments = t1;
  18434. _.mixin = t2;
  18435. _.nodeWithSpanWithoutContent = t3;
  18436. },
  18437. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  18438. var _ = this;
  18439. _.$this = t0;
  18440. _.$arguments = t1;
  18441. _.mixin = t2;
  18442. _.nodeWithSpanWithoutContent = t3;
  18443. },
  18444. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  18445. var _ = this;
  18446. _.$this = t0;
  18447. _.contentCallable = t1;
  18448. _.mixin = t2;
  18449. _.nodeWithSpanWithoutContent = t3;
  18450. },
  18451. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  18452. this.$this = t0;
  18453. this.mixin = t1;
  18454. this.nodeWithSpanWithoutContent = t2;
  18455. },
  18456. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  18457. this.$this = t0;
  18458. this.mixin = t1;
  18459. this.nodeWithSpanWithoutContent = t2;
  18460. },
  18461. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  18462. this.$this = t0;
  18463. this.statement = t1;
  18464. },
  18465. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  18466. this.$this = t0;
  18467. this.node = t1;
  18468. },
  18469. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  18470. this.$this = t0;
  18471. },
  18472. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  18473. this.node = t0;
  18474. },
  18475. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  18476. this.$this = t0;
  18477. this.queries = t1;
  18478. },
  18479. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  18480. var _ = this;
  18481. _.$this = t0;
  18482. _.mergedQueries = t1;
  18483. _.queries = t2;
  18484. _.mergedSources = t3;
  18485. _.node = t4;
  18486. },
  18487. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  18488. this.$this = t0;
  18489. this.node = t1;
  18490. },
  18491. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  18492. this.$this = t0;
  18493. this.node = t1;
  18494. },
  18495. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  18496. this.mergedSources = t0;
  18497. },
  18498. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  18499. this.$this = t0;
  18500. this.node = t1;
  18501. },
  18502. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  18503. },
  18504. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  18505. this.$this = t0;
  18506. this.rule = t1;
  18507. this.node = t2;
  18508. },
  18509. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  18510. this.$this = t0;
  18511. this.node = t1;
  18512. },
  18513. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  18514. },
  18515. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  18516. },
  18517. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  18518. this.$this = t0;
  18519. this.node = t1;
  18520. },
  18521. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  18522. this.$this = t0;
  18523. this.node = t1;
  18524. },
  18525. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  18526. },
  18527. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  18528. this._box_0 = t0;
  18529. this.$this = t1;
  18530. },
  18531. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  18532. this._box_0 = t0;
  18533. this.$this = t1;
  18534. this.node = t2;
  18535. },
  18536. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  18537. this.$this = t0;
  18538. this.node = t1;
  18539. },
  18540. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  18541. this.$this = t0;
  18542. this.node = t1;
  18543. this.value = t2;
  18544. },
  18545. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  18546. this.$this = t0;
  18547. this.node = t1;
  18548. },
  18549. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  18550. this.$this = t0;
  18551. this.node = t1;
  18552. },
  18553. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  18554. this.$this = t0;
  18555. this.node = t1;
  18556. },
  18557. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  18558. this.$this = t0;
  18559. },
  18560. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  18561. this.$this = t0;
  18562. this.node = t1;
  18563. },
  18564. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  18565. },
  18566. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  18567. this.$this = t0;
  18568. this.node = t1;
  18569. },
  18570. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  18571. this.node = t0;
  18572. this.operand = t1;
  18573. },
  18574. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  18575. this.$this = t0;
  18576. },
  18577. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  18578. this.$this = t0;
  18579. this.node = t1;
  18580. },
  18581. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  18582. },
  18583. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18584. this._box_0 = t0;
  18585. this.$this = t1;
  18586. this.node = t2;
  18587. },
  18588. _EvaluateVisitor__visitCalculation_closure0: function _EvaluateVisitor__visitCalculation_closure0(t0, t1) {
  18589. this.$this = t0;
  18590. this.node = t1;
  18591. },
  18592. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  18593. this.$this = t0;
  18594. this.node = t1;
  18595. },
  18596. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  18597. var _ = this;
  18598. _._box_0 = t0;
  18599. _.$this = t1;
  18600. _.node = t2;
  18601. _.inLegacySassFunction = t3;
  18602. },
  18603. _EvaluateVisitor__visitCalculationExpression__closure0: function _EvaluateVisitor__visitCalculationExpression__closure0(t0, t1) {
  18604. this.$this = t0;
  18605. this.node = t1;
  18606. },
  18607. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  18608. this.$this = t0;
  18609. this.node = t1;
  18610. this.$function = t2;
  18611. },
  18612. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  18613. var _ = this;
  18614. _.$this = t0;
  18615. _.callable = t1;
  18616. _.evaluated = t2;
  18617. _.nodeWithSpan = t3;
  18618. _.run = t4;
  18619. _.V = t5;
  18620. },
  18621. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  18622. var _ = this;
  18623. _.$this = t0;
  18624. _.evaluated = t1;
  18625. _.callable = t2;
  18626. _.nodeWithSpan = t3;
  18627. _.run = t4;
  18628. _.V = t5;
  18629. },
  18630. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  18631. var _ = this;
  18632. _.$this = t0;
  18633. _.evaluated = t1;
  18634. _.callable = t2;
  18635. _.nodeWithSpan = t3;
  18636. _.run = t4;
  18637. _.V = t5;
  18638. },
  18639. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  18640. },
  18641. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  18642. this.$this = t0;
  18643. this.callable = t1;
  18644. },
  18645. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  18646. this._box_0 = t0;
  18647. this.evaluated = t1;
  18648. this.namedSet = t2;
  18649. },
  18650. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  18651. this._box_0 = t0;
  18652. this.evaluated = t1;
  18653. },
  18654. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18655. },
  18656. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  18657. },
  18658. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  18659. this.$this = t0;
  18660. this.restNodeForSpan = t1;
  18661. },
  18662. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  18663. var _ = this;
  18664. _.$this = t0;
  18665. _.named = t1;
  18666. _.restNodeForSpan = t2;
  18667. _.namedNodes = t3;
  18668. },
  18669. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  18670. },
  18671. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  18672. this.restArgs = t0;
  18673. },
  18674. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  18675. this.$this = t0;
  18676. this.restNodeForSpan = t1;
  18677. this.restArgs = t2;
  18678. },
  18679. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  18680. var _ = this;
  18681. _.$this = t0;
  18682. _.named = t1;
  18683. _.restNodeForSpan = t2;
  18684. _.restArgs = t3;
  18685. },
  18686. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  18687. this.$this = t0;
  18688. this.keywordRestNodeForSpan = t1;
  18689. this.keywordRestArgs = t2;
  18690. },
  18691. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  18692. var _ = this;
  18693. _.$this = t0;
  18694. _.values = t1;
  18695. _.convert = t2;
  18696. _.expressionNode = t3;
  18697. _.map = t4;
  18698. _.nodeWithSpan = t5;
  18699. },
  18700. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  18701. this.parameters = t0;
  18702. this.positional = t1;
  18703. this.named = t2;
  18704. },
  18705. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  18706. this.$this = t0;
  18707. this.node = t1;
  18708. },
  18709. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  18710. },
  18711. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  18712. this.$this = t0;
  18713. this.node = t1;
  18714. },
  18715. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  18716. },
  18717. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  18718. this.$this = t0;
  18719. this.node = t1;
  18720. },
  18721. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  18722. var _ = this;
  18723. _.$this = t0;
  18724. _.mergedQueries = t1;
  18725. _.node = t2;
  18726. _.mergedSources = t3;
  18727. },
  18728. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  18729. this.$this = t0;
  18730. this.node = t1;
  18731. },
  18732. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  18733. this.$this = t0;
  18734. this.node = t1;
  18735. },
  18736. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  18737. this.mergedSources = t0;
  18738. },
  18739. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  18740. this.$this = t0;
  18741. this.rule = t1;
  18742. this.node = t2;
  18743. },
  18744. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  18745. this.$this = t0;
  18746. this.node = t1;
  18747. },
  18748. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  18749. },
  18750. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  18751. this.$this = t0;
  18752. this.node = t1;
  18753. },
  18754. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  18755. this.$this = t0;
  18756. this.node = t1;
  18757. },
  18758. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  18759. },
  18760. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  18761. this.interpolation = t0;
  18762. },
  18763. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  18764. this.value = t0;
  18765. this.quote = t1;
  18766. },
  18767. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  18768. this.$this = t0;
  18769. this.expression = t1;
  18770. },
  18771. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  18772. },
  18773. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  18774. this.$this = t0;
  18775. },
  18776. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  18777. this._async_evaluate$_visitor = t0;
  18778. },
  18779. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  18780. },
  18781. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  18782. this.hasBeenMerged = t0;
  18783. },
  18784. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  18785. },
  18786. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  18787. },
  18788. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  18789. this._async_evaluate$_visitor = t0;
  18790. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  18791. },
  18792. cloneCssStylesheet(stylesheet, extensionStore) {
  18793. var _0_0 = extensionStore.clone$0();
  18794. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  18795. },
  18796. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  18797. this._oldToNewSelectors = t0;
  18798. },
  18799. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18800. var t1 = type$.Uri,
  18801. t2 = type$.Module_Callable,
  18802. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18803. t1 = new A._EvaluateVisitor(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  18804. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18805. return t1;
  18806. },
  18807. Evaluator: function Evaluator(t0, t1) {
  18808. this._visitor = t0;
  18809. this._importer = t1;
  18810. },
  18811. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  18812. var _ = this;
  18813. _._evaluate$_importCache = t0;
  18814. _._evaluate$_nodeImporter = t1;
  18815. _._builtInFunctions = t2;
  18816. _._builtInModules = t3;
  18817. _._modules = t4;
  18818. _._moduleConfigurations = t5;
  18819. _._moduleNodes = t6;
  18820. _._logger = t7;
  18821. _._warningsEmitted = t8;
  18822. _._quietDeps = t9;
  18823. _._sourceMap = t10;
  18824. _._compileContext = t11;
  18825. _._environment = t12;
  18826. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  18827. _._member = "root stylesheet";
  18828. _._importSpan = _._callableNode = null;
  18829. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  18830. _._loadedUrls = t13;
  18831. _._activeModules = t14;
  18832. _._stack = t15;
  18833. _._importer = null;
  18834. _._inDependency = false;
  18835. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  18836. _._configuration = t16;
  18837. },
  18838. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  18839. this.$this = t0;
  18840. },
  18841. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  18842. this.$this = t0;
  18843. },
  18844. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  18845. this.$this = t0;
  18846. },
  18847. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  18848. this.$this = t0;
  18849. },
  18850. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  18851. this.$this = t0;
  18852. },
  18853. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  18854. this.$this = t0;
  18855. },
  18856. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  18857. this.$this = t0;
  18858. },
  18859. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  18860. this.$this = t0;
  18861. },
  18862. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  18863. this.$this = t0;
  18864. },
  18865. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  18866. this.$this = t0;
  18867. this.name = t1;
  18868. this.module = t2;
  18869. },
  18870. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  18871. this.$this = t0;
  18872. },
  18873. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  18874. this.$this = t0;
  18875. this.name = t1;
  18876. this.module = t2;
  18877. },
  18878. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  18879. this.$this = t0;
  18880. },
  18881. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  18882. this.$this = t0;
  18883. },
  18884. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2, t3) {
  18885. var _ = this;
  18886. _._box_0 = t0;
  18887. _.values = t1;
  18888. _.span = t2;
  18889. _.callableNode = t3;
  18890. },
  18891. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  18892. this.$this = t0;
  18893. },
  18894. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  18895. this.$this = t0;
  18896. },
  18897. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  18898. this.$this = t0;
  18899. this.node = t1;
  18900. this.importer = t2;
  18901. },
  18902. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  18903. this.$this = t0;
  18904. this.importer = t1;
  18905. this.node = t2;
  18906. },
  18907. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  18908. this.$this = t0;
  18909. this.importer = t1;
  18910. this.expression = t2;
  18911. },
  18912. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  18913. this.$this = t0;
  18914. this.expression = t1;
  18915. },
  18916. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  18917. this.$this = t0;
  18918. this.expression = t1;
  18919. },
  18920. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18921. this.$this = t0;
  18922. this.importer = t1;
  18923. this.statement = t2;
  18924. },
  18925. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18926. this.$this = t0;
  18927. this.statement = t1;
  18928. },
  18929. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18930. this.$this = t0;
  18931. this.statement = t1;
  18932. },
  18933. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18934. this._box_0 = t0;
  18935. this.callback = t1;
  18936. },
  18937. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18938. var _ = this;
  18939. _.$this = t0;
  18940. _.url = t1;
  18941. _.nodeWithSpan = t2;
  18942. _.baseUrl = t3;
  18943. _.namesInErrors = t4;
  18944. _.configuration = t5;
  18945. _.callback = t6;
  18946. },
  18947. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18948. this.$this = t0;
  18949. this.message = t1;
  18950. },
  18951. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18952. this._box_1 = t0;
  18953. this.callback = t1;
  18954. this.firstLoad = t2;
  18955. },
  18956. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18957. var _ = this;
  18958. _.$this = t0;
  18959. _.importer = t1;
  18960. _.stylesheet = t2;
  18961. _.extensionStore = t3;
  18962. _.configuration = t4;
  18963. _.css = t5;
  18964. _.preModuleComments = t6;
  18965. },
  18966. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18967. },
  18968. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18969. this.selectors = t0;
  18970. },
  18971. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18972. var _ = this;
  18973. _.$this = t0;
  18974. _.seen = t1;
  18975. _.clone = t2;
  18976. _.css = t3;
  18977. _.imports = t4;
  18978. _.sorted = t5;
  18979. },
  18980. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18981. this.originalSelectors = t0;
  18982. },
  18983. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18984. },
  18985. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18986. this.$this = t0;
  18987. this.node = t1;
  18988. },
  18989. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18990. this.$this = t0;
  18991. this.node = t1;
  18992. },
  18993. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18994. this.$this = t0;
  18995. this.newParent = t1;
  18996. this.node = t2;
  18997. },
  18998. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18999. this.$this = t0;
  19000. this.innerScope = t1;
  19001. },
  19002. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  19003. this.$this = t0;
  19004. this.innerScope = t1;
  19005. },
  19006. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  19007. this.innerScope = t0;
  19008. this.callback = t1;
  19009. },
  19010. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  19011. this.$this = t0;
  19012. this.innerScope = t1;
  19013. },
  19014. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  19015. },
  19016. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  19017. this.$this = t0;
  19018. this.innerScope = t1;
  19019. },
  19020. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  19021. this.$this = t0;
  19022. this.content = t1;
  19023. },
  19024. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  19025. this._box_0 = t0;
  19026. this.$this = t1;
  19027. },
  19028. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  19029. this._box_0 = t0;
  19030. this.$this = t1;
  19031. this.nodeWithSpan = t2;
  19032. },
  19033. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  19034. this._box_1 = t0;
  19035. this.$this = t1;
  19036. this.nodeWithSpan = t2;
  19037. },
  19038. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  19039. var _ = this;
  19040. _.$this = t0;
  19041. _.list = t1;
  19042. _.setVariables = t2;
  19043. _.node = t3;
  19044. },
  19045. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  19046. this.$this = t0;
  19047. this.setVariables = t1;
  19048. this.node = t2;
  19049. },
  19050. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  19051. this.$this = t0;
  19052. },
  19053. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  19054. this.$this = t0;
  19055. },
  19056. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  19057. this.$this = t0;
  19058. this.name = t1;
  19059. this.children = t2;
  19060. },
  19061. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  19062. this.$this = t0;
  19063. this.children = t1;
  19064. },
  19065. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  19066. },
  19067. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  19068. this.$this = t0;
  19069. this.node = t1;
  19070. },
  19071. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  19072. this.$this = t0;
  19073. this.node = t1;
  19074. },
  19075. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  19076. this.fromNumber = t0;
  19077. },
  19078. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  19079. this.toNumber = t0;
  19080. this.fromNumber = t1;
  19081. },
  19082. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  19083. var _ = this;
  19084. _._box_0 = t0;
  19085. _.$this = t1;
  19086. _.node = t2;
  19087. _.from = t3;
  19088. _.direction = t4;
  19089. _.fromNumber = t5;
  19090. },
  19091. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  19092. this.$this = t0;
  19093. },
  19094. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  19095. this.$this = t0;
  19096. this.node = t1;
  19097. },
  19098. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  19099. this.$this = t0;
  19100. this.node = t1;
  19101. },
  19102. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  19103. },
  19104. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  19105. this.$this = t0;
  19106. },
  19107. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  19108. this.$this = t0;
  19109. this.clause = t1;
  19110. },
  19111. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  19112. this.$this = t0;
  19113. },
  19114. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  19115. this.$this = t0;
  19116. this.$import = t1;
  19117. },
  19118. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  19119. this.$this = t0;
  19120. },
  19121. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  19122. },
  19123. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  19124. },
  19125. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  19126. var _ = this;
  19127. _._box_0 = t0;
  19128. _.$this = t1;
  19129. _.loadsUserDefinedModules = t2;
  19130. _.environment = t3;
  19131. _.children = t4;
  19132. },
  19133. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  19134. var _ = this;
  19135. _.$this = t0;
  19136. _.$arguments = t1;
  19137. _.mixin = t2;
  19138. _.nodeWithSpanWithoutContent = t3;
  19139. },
  19140. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  19141. var _ = this;
  19142. _.$this = t0;
  19143. _.$arguments = t1;
  19144. _.mixin = t2;
  19145. _.nodeWithSpanWithoutContent = t3;
  19146. },
  19147. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  19148. var _ = this;
  19149. _.$this = t0;
  19150. _.contentCallable = t1;
  19151. _.mixin = t2;
  19152. _.nodeWithSpanWithoutContent = t3;
  19153. },
  19154. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  19155. this.$this = t0;
  19156. this.mixin = t1;
  19157. this.nodeWithSpanWithoutContent = t2;
  19158. },
  19159. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  19160. this.$this = t0;
  19161. this.mixin = t1;
  19162. this.nodeWithSpanWithoutContent = t2;
  19163. },
  19164. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  19165. this.$this = t0;
  19166. this.statement = t1;
  19167. },
  19168. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  19169. this.$this = t0;
  19170. this.node = t1;
  19171. },
  19172. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  19173. this.$this = t0;
  19174. },
  19175. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  19176. this.node = t0;
  19177. },
  19178. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  19179. this.$this = t0;
  19180. this.queries = t1;
  19181. },
  19182. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  19183. var _ = this;
  19184. _.$this = t0;
  19185. _.mergedQueries = t1;
  19186. _.queries = t2;
  19187. _.mergedSources = t3;
  19188. _.node = t4;
  19189. },
  19190. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  19191. this.$this = t0;
  19192. this.node = t1;
  19193. },
  19194. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  19195. this.$this = t0;
  19196. this.node = t1;
  19197. },
  19198. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  19199. this.mergedSources = t0;
  19200. },
  19201. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  19202. this.$this = t0;
  19203. this.node = t1;
  19204. },
  19205. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  19206. },
  19207. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  19208. this.$this = t0;
  19209. this.rule = t1;
  19210. this.node = t2;
  19211. },
  19212. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  19213. this.$this = t0;
  19214. this.node = t1;
  19215. },
  19216. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  19217. },
  19218. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  19219. },
  19220. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  19221. this.$this = t0;
  19222. this.node = t1;
  19223. },
  19224. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  19225. this.$this = t0;
  19226. this.node = t1;
  19227. },
  19228. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  19229. },
  19230. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  19231. this._box_0 = t0;
  19232. this.$this = t1;
  19233. },
  19234. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  19235. this._box_0 = t0;
  19236. this.$this = t1;
  19237. this.node = t2;
  19238. },
  19239. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  19240. this.$this = t0;
  19241. this.node = t1;
  19242. },
  19243. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  19244. this.$this = t0;
  19245. this.node = t1;
  19246. this.value = t2;
  19247. },
  19248. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  19249. this.$this = t0;
  19250. this.node = t1;
  19251. },
  19252. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  19253. this.$this = t0;
  19254. this.node = t1;
  19255. },
  19256. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  19257. this.$this = t0;
  19258. this.node = t1;
  19259. },
  19260. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  19261. this.$this = t0;
  19262. },
  19263. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  19264. this.$this = t0;
  19265. this.node = t1;
  19266. },
  19267. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  19268. },
  19269. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  19270. this.$this = t0;
  19271. this.node = t1;
  19272. },
  19273. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  19274. this.node = t0;
  19275. this.operand = t1;
  19276. },
  19277. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  19278. this.$this = t0;
  19279. },
  19280. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  19281. this.$this = t0;
  19282. this.node = t1;
  19283. },
  19284. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  19285. },
  19286. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  19287. this._box_0 = t0;
  19288. this.$this = t1;
  19289. this.node = t2;
  19290. },
  19291. _EvaluateVisitor__visitCalculation_closure: function _EvaluateVisitor__visitCalculation_closure(t0, t1) {
  19292. this.$this = t0;
  19293. this.node = t1;
  19294. },
  19295. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  19296. this.$this = t0;
  19297. this.node = t1;
  19298. },
  19299. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  19300. var _ = this;
  19301. _._box_0 = t0;
  19302. _.$this = t1;
  19303. _.node = t2;
  19304. _.inLegacySassFunction = t3;
  19305. },
  19306. _EvaluateVisitor__visitCalculationExpression__closure: function _EvaluateVisitor__visitCalculationExpression__closure(t0, t1) {
  19307. this.$this = t0;
  19308. this.node = t1;
  19309. },
  19310. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  19311. this.$this = t0;
  19312. this.node = t1;
  19313. this.$function = t2;
  19314. },
  19315. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  19316. var _ = this;
  19317. _.$this = t0;
  19318. _.callable = t1;
  19319. _.evaluated = t2;
  19320. _.nodeWithSpan = t3;
  19321. _.run = t4;
  19322. _.V = t5;
  19323. },
  19324. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  19325. var _ = this;
  19326. _.$this = t0;
  19327. _.evaluated = t1;
  19328. _.callable = t2;
  19329. _.nodeWithSpan = t3;
  19330. _.run = t4;
  19331. _.V = t5;
  19332. },
  19333. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  19334. var _ = this;
  19335. _.$this = t0;
  19336. _.evaluated = t1;
  19337. _.callable = t2;
  19338. _.nodeWithSpan = t3;
  19339. _.run = t4;
  19340. _.V = t5;
  19341. },
  19342. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  19343. },
  19344. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  19345. this.$this = t0;
  19346. this.callable = t1;
  19347. },
  19348. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  19349. this._box_0 = t0;
  19350. this.evaluated = t1;
  19351. this.namedSet = t2;
  19352. },
  19353. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  19354. this._box_0 = t0;
  19355. this.evaluated = t1;
  19356. },
  19357. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  19358. },
  19359. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  19360. },
  19361. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  19362. this.$this = t0;
  19363. this.restNodeForSpan = t1;
  19364. },
  19365. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  19366. var _ = this;
  19367. _.$this = t0;
  19368. _.named = t1;
  19369. _.restNodeForSpan = t2;
  19370. _.namedNodes = t3;
  19371. },
  19372. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  19373. },
  19374. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  19375. this.restArgs = t0;
  19376. },
  19377. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  19378. this.$this = t0;
  19379. this.restNodeForSpan = t1;
  19380. this.restArgs = t2;
  19381. },
  19382. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  19383. var _ = this;
  19384. _.$this = t0;
  19385. _.named = t1;
  19386. _.restNodeForSpan = t2;
  19387. _.restArgs = t3;
  19388. },
  19389. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  19390. this.$this = t0;
  19391. this.keywordRestNodeForSpan = t1;
  19392. this.keywordRestArgs = t2;
  19393. },
  19394. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  19395. var _ = this;
  19396. _.$this = t0;
  19397. _.values = t1;
  19398. _.convert = t2;
  19399. _.expressionNode = t3;
  19400. _.map = t4;
  19401. _.nodeWithSpan = t5;
  19402. },
  19403. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  19404. this.parameters = t0;
  19405. this.positional = t1;
  19406. this.named = t2;
  19407. },
  19408. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  19409. this.$this = t0;
  19410. this.node = t1;
  19411. },
  19412. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  19413. },
  19414. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19415. this.$this = t0;
  19416. this.node = t1;
  19417. },
  19418. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  19419. },
  19420. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  19421. this.$this = t0;
  19422. this.node = t1;
  19423. },
  19424. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  19425. var _ = this;
  19426. _.$this = t0;
  19427. _.mergedQueries = t1;
  19428. _.node = t2;
  19429. _.mergedSources = t3;
  19430. },
  19431. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  19432. this.$this = t0;
  19433. this.node = t1;
  19434. },
  19435. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  19436. this.$this = t0;
  19437. this.node = t1;
  19438. },
  19439. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  19440. this.mergedSources = t0;
  19441. },
  19442. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  19443. this.$this = t0;
  19444. this.rule = t1;
  19445. this.node = t2;
  19446. },
  19447. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  19448. this.$this = t0;
  19449. this.node = t1;
  19450. },
  19451. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  19452. },
  19453. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  19454. this.$this = t0;
  19455. this.node = t1;
  19456. },
  19457. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  19458. this.$this = t0;
  19459. this.node = t1;
  19460. },
  19461. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  19462. },
  19463. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  19464. this.interpolation = t0;
  19465. },
  19466. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  19467. this.value = t0;
  19468. this.quote = t1;
  19469. },
  19470. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  19471. this.$this = t0;
  19472. this.expression = t1;
  19473. },
  19474. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  19475. },
  19476. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  19477. this.$this = t0;
  19478. },
  19479. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  19480. this._visitor = t0;
  19481. },
  19482. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  19483. },
  19484. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  19485. this.hasBeenMerged = t0;
  19486. },
  19487. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  19488. },
  19489. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  19490. },
  19491. _EvaluationContext: function _EvaluationContext(t0, t1) {
  19492. this._visitor = t0;
  19493. this._defaultWarnNodeWithSpan = t1;
  19494. },
  19495. EveryCssVisitor: function EveryCssVisitor() {
  19496. },
  19497. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  19498. this.$this = t0;
  19499. },
  19500. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  19501. this.$this = t0;
  19502. },
  19503. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  19504. this.$this = t0;
  19505. },
  19506. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  19507. this.$this = t0;
  19508. },
  19509. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  19510. this.$this = t0;
  19511. },
  19512. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  19513. this.$this = t0;
  19514. },
  19515. expressionToCalc(expression) {
  19516. var t4,
  19517. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  19518. t2 = expression.get$span(0),
  19519. t3 = type$.Expression;
  19520. t1 = A.List_List$unmodifiable(t1, t3);
  19521. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  19522. t4 = expression.get$span(0);
  19523. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList(t1, t3, null, null, t2), t4);
  19524. },
  19525. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  19526. },
  19527. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  19528. },
  19529. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  19530. var _ = this;
  19531. _._find_dependencies$_uses = t0;
  19532. _._find_dependencies$_forwards = t1;
  19533. _._metaLoadCss = t2;
  19534. _._imports = t3;
  19535. _._metaNamespaces = t4;
  19536. },
  19537. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  19538. },
  19539. IsCalculationSafeVisitor: function IsCalculationSafeVisitor() {
  19540. },
  19541. IsCalculationSafeVisitor_visitListExpression_closure: function IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  19542. this.$this = t0;
  19543. },
  19544. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  19545. },
  19546. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  19547. },
  19548. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  19549. this.$this = t0;
  19550. },
  19551. ReplaceExpressionVisitor_visitArgumentList_closure: function ReplaceExpressionVisitor_visitArgumentList_closure(t0) {
  19552. this.$this = t0;
  19553. },
  19554. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  19555. this.$this = t0;
  19556. },
  19557. SelectorSearchVisitor: function SelectorSearchVisitor() {
  19558. },
  19559. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  19560. this.$this = t0;
  19561. },
  19562. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  19563. this.$this = t0;
  19564. },
  19565. serialize(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  19566. var t1, css, t2, prefix,
  19567. visitor = A._SerializeVisitor$(2, inspect, lineFeed, logger, true, sourceMap, style, true);
  19568. node.accept$1(visitor);
  19569. t1 = visitor._serialize$_buffer;
  19570. css = t1.toString$0(0);
  19571. if (charset) {
  19572. t2 = new A.CodeUnits(css);
  19573. t2 = t2.any$1(t2, new A.serialize_closure());
  19574. } else
  19575. t2 = false;
  19576. if (t2)
  19577. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  19578. else
  19579. prefix = "";
  19580. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  19581. return new A._Record_2_sourceMap(prefix + css, t1);
  19582. },
  19583. serializeValue(value, inspect, quote) {
  19584. var _null = null,
  19585. visitor = A._SerializeVisitor$(_null, inspect, _null, _null, quote, false, _null, true);
  19586. value.accept$1(visitor);
  19587. return visitor._serialize$_buffer.toString$0(0);
  19588. },
  19589. serializeSelector(selector, inspect) {
  19590. var _null = null,
  19591. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  19592. selector.accept$1(visitor);
  19593. return visitor._serialize$_buffer.toString$0(0);
  19594. },
  19595. _SerializeVisitor$(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  19596. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  19597. t2 = style == null ? B.OutputStyle_0 : style,
  19598. t3 = indentWidth == null ? 2 : indentWidth;
  19599. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  19600. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_2_lf);
  19601. },
  19602. serialize_closure: function serialize_closure() {
  19603. },
  19604. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  19605. var _ = this;
  19606. _._serialize$_buffer = t0;
  19607. _._indentation = 0;
  19608. _._style = t1;
  19609. _._inspect = t2;
  19610. _._quote = t3;
  19611. _._indentCharacter = t4;
  19612. _._indentWidth = t5;
  19613. _._serialize$_lineFeed = t6;
  19614. },
  19615. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  19616. this.$this = t0;
  19617. this.node = t1;
  19618. },
  19619. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  19620. this.$this = t0;
  19621. this.node = t1;
  19622. },
  19623. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  19624. this.$this = t0;
  19625. this.node = t1;
  19626. },
  19627. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  19628. this.$this = t0;
  19629. this.node = t1;
  19630. },
  19631. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  19632. this.$this = t0;
  19633. this.node = t1;
  19634. },
  19635. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19636. this.$this = t0;
  19637. this.node = t1;
  19638. },
  19639. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  19640. this.$this = t0;
  19641. this.node = t1;
  19642. },
  19643. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  19644. this.$this = t0;
  19645. this.node = t1;
  19646. },
  19647. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  19648. this.$this = t0;
  19649. this.node = t1;
  19650. },
  19651. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  19652. this.$this = t0;
  19653. this.node = t1;
  19654. },
  19655. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  19656. },
  19657. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  19658. this.$this = t0;
  19659. this.value = t1;
  19660. },
  19661. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  19662. this.$this = t0;
  19663. },
  19664. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  19665. this.$this = t0;
  19666. },
  19667. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  19668. },
  19669. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  19670. this.$this = t0;
  19671. this.value = t1;
  19672. },
  19673. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  19674. this.$this = t0;
  19675. this.child = t1;
  19676. },
  19677. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  19678. this.$this = t0;
  19679. this.child = t1;
  19680. },
  19681. OutputStyle: function OutputStyle(t0, t1) {
  19682. this.index = t0;
  19683. this._name = t1;
  19684. },
  19685. LineFeed: function LineFeed(t0, t1) {
  19686. this.index = t0;
  19687. this._name = t1;
  19688. },
  19689. StatementSearchVisitor: function StatementSearchVisitor() {
  19690. },
  19691. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  19692. this.$this = t0;
  19693. },
  19694. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  19695. this.$this = t0;
  19696. },
  19697. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  19698. this.$this = t0;
  19699. },
  19700. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  19701. this.$this = t0;
  19702. },
  19703. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  19704. this.$this = t0;
  19705. },
  19706. Entry: function Entry(t0, t1, t2) {
  19707. this.source = t0;
  19708. this.target = t1;
  19709. this.identifierName = t2;
  19710. },
  19711. SingleMapping_SingleMapping$fromEntries(entries) {
  19712. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  19713. sourceEntries = J.toList$0$ax(entries);
  19714. B.JSArray_methods.sort$0(sourceEntries);
  19715. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  19716. t1 = type$.String;
  19717. t2 = type$.int;
  19718. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19719. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19720. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  19721. targetEntries = A._Cell$();
  19722. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  19723. sourceEntry = sourceEntries[_i];
  19724. if (lineNum == null || sourceEntry.target.line > lineNum) {
  19725. lineNum = sourceEntry.target.line;
  19726. t4 = A._setArrayType([], t3);
  19727. targetEntries.__late_helper$_value = t4;
  19728. lines.push(new A.TargetLineEntry(lineNum, t4));
  19729. }
  19730. t4 = sourceEntry.source;
  19731. t5 = t4.file;
  19732. sourceUrl = t5.url;
  19733. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  19734. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  19735. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  19736. t6 = targetEntries.__late_helper$_value;
  19737. if (t6 === targetEntries)
  19738. A.throwExpression(A.LateError$localNI(""));
  19739. t4 = t4.offset;
  19740. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  19741. }
  19742. t2 = urls.$ti;
  19743. t3 = t2._eval$1("LinkedHashMapValuesIterable<2>");
  19744. t3 = A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(urls, t3), new A.SingleMapping_SingleMapping$fromEntries_closure1(files), t3._eval$1("Iterable.E"), type$.nullable_SourceFile);
  19745. t3 = A.List_List$_of(t3, A._instanceType(t3)._eval$1("Iterable.E"));
  19746. t2 = t2._eval$1("LinkedHashMapKeysIterable<1>");
  19747. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(urls, t2), t2._eval$1("Iterable.E"));
  19748. t4 = names.$ti._eval$1("LinkedHashMapKeysIterable<1>");
  19749. t4 = A.List_List$_of(new A.LinkedHashMapKeysIterable(names, t4), t4._eval$1("Iterable.E"));
  19750. return new A.SingleMapping(t2, t4, t3, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  19751. },
  19752. Mapping: function Mapping() {
  19753. },
  19754. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  19755. var _ = this;
  19756. _.urls = t0;
  19757. _.names = t1;
  19758. _.files = t2;
  19759. _.lines = t3;
  19760. _.targetUrl = t4;
  19761. _.sourceRoot = null;
  19762. _.extensions = t5;
  19763. },
  19764. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  19765. this.urls = t0;
  19766. },
  19767. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  19768. this.sourceEntry = t0;
  19769. },
  19770. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  19771. this.files = t0;
  19772. },
  19773. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  19774. },
  19775. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  19776. this.result = t0;
  19777. },
  19778. TargetLineEntry: function TargetLineEntry(t0, t1) {
  19779. this.line = t0;
  19780. this.entries = t1;
  19781. },
  19782. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  19783. var _ = this;
  19784. _.column = t0;
  19785. _.sourceUrlId = t1;
  19786. _.sourceLine = t2;
  19787. _.sourceColumn = t3;
  19788. _.sourceNameId = t4;
  19789. },
  19790. SourceFile$fromString(text, url) {
  19791. var t1 = new A.CodeUnits(text),
  19792. t2 = A._setArrayType([0], type$.JSArray_int),
  19793. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19794. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  19795. t2.SourceFile$decoded$2$url(t1, url);
  19796. return t2;
  19797. },
  19798. SourceFile$decoded(decodedChars, url) {
  19799. var t1 = A._setArrayType([0], type$.JSArray_int),
  19800. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19801. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  19802. t1.SourceFile$decoded$2$url(decodedChars, url);
  19803. return t1;
  19804. },
  19805. FileLocation$_(file, offset) {
  19806. if (offset < 0)
  19807. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19808. else if (offset > file._decodedChars.length)
  19809. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  19810. return new A.FileLocation(file, offset);
  19811. },
  19812. _FileSpan$(file, _start, _end) {
  19813. if (_end < _start)
  19814. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  19815. else if (_end > file._decodedChars.length)
  19816. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  19817. else if (_start < 0)
  19818. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  19819. return new A._FileSpan(file, _start, _end);
  19820. },
  19821. FileSpanExtension_subspan(_this, start, end) {
  19822. var t1, startOffset, t2;
  19823. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  19824. if (start === 0)
  19825. t1 = end == null || end === _this.get$length(_this);
  19826. else
  19827. t1 = false;
  19828. if (t1)
  19829. return _this;
  19830. startOffset = _this.get$start(_this).offset;
  19831. t1 = _this.get$file(_this);
  19832. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  19833. return t1.span$2(0, startOffset + start, t2);
  19834. },
  19835. SourceFile: function SourceFile(t0, t1, t2) {
  19836. var _ = this;
  19837. _.url = t0;
  19838. _._lineStarts = t1;
  19839. _._decodedChars = t2;
  19840. _._cachedLine = null;
  19841. },
  19842. FileLocation: function FileLocation(t0, t1) {
  19843. this.file = t0;
  19844. this.offset = t1;
  19845. },
  19846. _FileSpan: function _FileSpan(t0, t1, t2) {
  19847. this.file = t0;
  19848. this._file$_start = t1;
  19849. this._end = t2;
  19850. },
  19851. Highlighter$(span, color) {
  19852. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  19853. t2 = new A.Highlighter_closure(color).call$0(),
  19854. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  19855. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  19856. t5 = A._arrayInstanceType(t1);
  19857. return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t5._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
  19858. },
  19859. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  19860. var t2, t3, t4, t5, t6,
  19861. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  19862. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  19863. t3 = t2.get$current(t2);
  19864. t1.push(A._Highlight$(t3.key, t3.value, false));
  19865. }
  19866. t1 = A.Highlighter__collateLines(t1);
  19867. if (color)
  19868. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  19869. else
  19870. t2 = null;
  19871. if (color)
  19872. t3 = "\x1b[34m";
  19873. else
  19874. t3 = null;
  19875. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  19876. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  19877. t6 = A._arrayInstanceType(t1);
  19878. return new A.Highlighter(t1, t2, t3, 1 + Math.max(t4.length, t5), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t6._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t6._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
  19879. },
  19880. Highlighter__contiguous(lines) {
  19881. var i, thisLine, nextLine;
  19882. for (i = 0; i < lines.length - 1;) {
  19883. thisLine = lines[i];
  19884. ++i;
  19885. nextLine = lines[i];
  19886. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  19887. return false;
  19888. }
  19889. return true;
  19890. },
  19891. Highlighter__collateLines(highlights) {
  19892. var t1, t2,
  19893. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  19894. for (t1 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl._modifications, highlightsByUrl._first); t1.moveNext$0();)
  19895. J.sort$1$ax(t1.__js_helper$_current, new A.Highlighter__collateLines_closure0());
  19896. t1 = A._instanceType(highlightsByUrl)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  19897. t2 = t1._eval$1("ExpandIterable<Iterable.E,_Line>");
  19898. t1 = A.List_List$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), new A.Highlighter__collateLines_closure1(), t2), t2._eval$1("Iterable.E"));
  19899. return t1;
  19900. },
  19901. _Highlight$(span, label, primary) {
  19902. var t2,
  19903. t1 = new A._Highlight_closure(span).call$0();
  19904. if (label == null)
  19905. t2 = null;
  19906. else
  19907. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  19908. return new A._Highlight(t1, primary, t2);
  19909. },
  19910. _Highlight__normalizeNewlines(span) {
  19911. var endOffset, t1, i, t2, t3, t4,
  19912. text = span.get$text();
  19913. if (!B.JSString_methods.contains$1(text, "\r\n"))
  19914. return span;
  19915. endOffset = span.get$end(span).get$offset();
  19916. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  19917. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  19918. --endOffset;
  19919. t1 = span.get$start(span);
  19920. t2 = span.get$sourceUrl(span);
  19921. t3 = span.get$end(span).get$line();
  19922. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  19923. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  19924. t4 = span.get$context(span);
  19925. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  19926. },
  19927. _Highlight__normalizeTrailingNewline(span) {
  19928. var context, text, start, end, t1, t2, t3;
  19929. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  19930. return span;
  19931. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  19932. return span;
  19933. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19934. text = span.get$text();
  19935. start = span.get$start(span);
  19936. end = span.get$end(span);
  19937. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19938. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19939. t1.toString;
  19940. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19941. } else
  19942. t1 = false;
  19943. if (t1) {
  19944. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19945. if (text.length === 0)
  19946. end = start;
  19947. else {
  19948. t1 = span.get$end(span).get$offset();
  19949. t2 = span.get$sourceUrl(span);
  19950. t3 = span.get$end(span).get$line();
  19951. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19952. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19953. }
  19954. }
  19955. return A.SourceSpanWithContext$(start, end, text, context);
  19956. },
  19957. _Highlight__normalizeEndOfLine(span) {
  19958. var text, t1, t2, t3, t4;
  19959. if (span.get$end(span).get$column() !== 0)
  19960. return span;
  19961. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19962. return span;
  19963. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19964. t1 = span.get$start(span);
  19965. t2 = span.get$end(span).get$offset();
  19966. t3 = span.get$sourceUrl(span);
  19967. t4 = span.get$end(span).get$line();
  19968. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19969. return A.SourceSpanWithContext$(t1, t3, text, B.JSString_methods.endsWith$1(span.get$context(span), "\n") ? B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span));
  19970. },
  19971. _Highlight__lastLineLength(text) {
  19972. var t1 = text.length;
  19973. if (t1 === 0)
  19974. return 0;
  19975. else if (text.charCodeAt(t1 - 1) === 10)
  19976. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19977. else
  19978. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19979. },
  19980. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19981. var _ = this;
  19982. _._lines = t0;
  19983. _._primaryColor = t1;
  19984. _._secondaryColor = t2;
  19985. _._paddingBeforeSidebar = t3;
  19986. _._maxMultilineSpans = t4;
  19987. _._multipleFiles = t5;
  19988. _._highlighter$_buffer = t6;
  19989. },
  19990. Highlighter_closure: function Highlighter_closure(t0) {
  19991. this.color = t0;
  19992. },
  19993. Highlighter$__closure: function Highlighter$__closure() {
  19994. },
  19995. Highlighter$___closure: function Highlighter$___closure() {
  19996. },
  19997. Highlighter$__closure0: function Highlighter$__closure0() {
  19998. },
  19999. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  20000. },
  20001. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  20002. },
  20003. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  20004. },
  20005. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  20006. this.line = t0;
  20007. },
  20008. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  20009. },
  20010. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  20011. this.$this = t0;
  20012. },
  20013. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  20014. this.$this = t0;
  20015. this.startLine = t1;
  20016. this.line = t2;
  20017. },
  20018. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  20019. this.$this = t0;
  20020. this.highlight = t1;
  20021. },
  20022. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  20023. this.$this = t0;
  20024. },
  20025. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  20026. var _ = this;
  20027. _._box_0 = t0;
  20028. _.$this = t1;
  20029. _.current = t2;
  20030. _.startLine = t3;
  20031. _.line = t4;
  20032. _.highlight = t5;
  20033. _.endLine = t6;
  20034. },
  20035. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  20036. this._box_0 = t0;
  20037. this.$this = t1;
  20038. },
  20039. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  20040. this.$this = t0;
  20041. this.vertical = t1;
  20042. },
  20043. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  20044. var _ = this;
  20045. _.$this = t0;
  20046. _.text = t1;
  20047. _.startColumn = t2;
  20048. _.endColumn = t3;
  20049. },
  20050. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  20051. this.$this = t0;
  20052. this.line = t1;
  20053. this.highlight = t2;
  20054. },
  20055. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  20056. this.$this = t0;
  20057. this.line = t1;
  20058. this.highlight = t2;
  20059. },
  20060. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  20061. var _ = this;
  20062. _.$this = t0;
  20063. _.coversWholeLine = t1;
  20064. _.line = t2;
  20065. _.highlight = t3;
  20066. },
  20067. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  20068. this.$this = t0;
  20069. this.lines = t1;
  20070. },
  20071. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  20072. this.$this = t0;
  20073. this.text = t1;
  20074. },
  20075. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  20076. this._box_0 = t0;
  20077. this.$this = t1;
  20078. this.end = t2;
  20079. },
  20080. _Highlight: function _Highlight(t0, t1, t2) {
  20081. this.span = t0;
  20082. this.isPrimary = t1;
  20083. this.label = t2;
  20084. },
  20085. _Highlight_closure: function _Highlight_closure(t0) {
  20086. this.span = t0;
  20087. },
  20088. _Line: function _Line(t0, t1, t2, t3) {
  20089. var _ = this;
  20090. _.text = t0;
  20091. _.number = t1;
  20092. _.url = t2;
  20093. _.highlights = t3;
  20094. },
  20095. SourceLocation$(offset, column, line, sourceUrl) {
  20096. if (offset < 0)
  20097. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  20098. else if (line < 0)
  20099. A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
  20100. else if (column < 0)
  20101. A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
  20102. return new A.SourceLocation(sourceUrl, offset, line, column);
  20103. },
  20104. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  20105. var _ = this;
  20106. _.sourceUrl = t0;
  20107. _.offset = t1;
  20108. _.line = t2;
  20109. _.column = t3;
  20110. },
  20111. SourceLocationMixin: function SourceLocationMixin() {
  20112. },
  20113. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  20114. var t2, t3,
  20115. t1 = _this.get$start(_this);
  20116. t1 = t1.file.getLine$1(t1.offset);
  20117. t2 = _this.get$start(_this);
  20118. t2 = "line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1);
  20119. if (_this.get$sourceUrl(_this) != null) {
  20120. t1 = _this.get$sourceUrl(_this);
  20121. t3 = $.$get$context();
  20122. t1.toString;
  20123. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  20124. } else
  20125. t1 = t2;
  20126. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  20127. return t1.charCodeAt(0) == 0 ? t1 : t1;
  20128. },
  20129. SourceSpanBase: function SourceSpanBase() {
  20130. },
  20131. SourceSpanException: function SourceSpanException() {
  20132. },
  20133. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  20134. this.source = t0;
  20135. this._span_exception$_message = t1;
  20136. this._span = t2;
  20137. },
  20138. MultiSourceSpanException: function MultiSourceSpanException() {
  20139. },
  20140. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  20141. var _ = this;
  20142. _.source = t0;
  20143. _.primaryLabel = t1;
  20144. _.secondarySpans = t2;
  20145. _._span_exception$_message = t3;
  20146. _._span = t4;
  20147. },
  20148. SourceSpanMixin: function SourceSpanMixin() {
  20149. },
  20150. SourceSpanWithContext$(start, end, text, _context) {
  20151. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  20152. t1.SourceSpanBase$3(start, end, text);
  20153. if (!B.JSString_methods.contains$1(_context, text))
  20154. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  20155. if (A.findLineStart(_context, text, start.get$column()) == null)
  20156. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  20157. return t1;
  20158. },
  20159. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  20160. var _ = this;
  20161. _._context = t0;
  20162. _.start = t1;
  20163. _.end = t2;
  20164. _.text = t3;
  20165. },
  20166. Chain_Chain$parse(chain) {
  20167. var t1, t2,
  20168. _s51_ = string$.x3d_____;
  20169. if (chain.length === 0)
  20170. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  20171. t1 = $.$get$vmChainGap();
  20172. if (B.JSString_methods.contains$1(chain, t1)) {
  20173. t1 = B.JSString_methods.split$1(chain, t1);
  20174. t2 = A._arrayInstanceType(t1);
  20175. return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, new A.Chain_Chain$parse_closure(), t2._eval$1("WhereIterable<1>")), A.trace_Trace___parseVM_tearOff$closure(), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace));
  20176. }
  20177. if (!B.JSString_methods.contains$1(chain, _s51_))
  20178. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  20179. return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), A.trace_Trace___parseFriendly_tearOff$closure(), type$.MappedListIterable_String_Trace), type$.Trace));
  20180. },
  20181. Chain: function Chain(t0) {
  20182. this.traces = t0;
  20183. },
  20184. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  20185. },
  20186. Chain_toTrace_closure: function Chain_toTrace_closure() {
  20187. },
  20188. Chain_toString_closure0: function Chain_toString_closure0() {
  20189. },
  20190. Chain_toString__closure0: function Chain_toString__closure0() {
  20191. },
  20192. Chain_toString_closure: function Chain_toString_closure(t0) {
  20193. this.longest = t0;
  20194. },
  20195. Chain_toString__closure: function Chain_toString__closure(t0) {
  20196. this.longest = t0;
  20197. },
  20198. Frame___parseVM_tearOff(frame) {
  20199. return A.Frame_Frame$parseVM(frame);
  20200. },
  20201. Frame_Frame$parseVM(frame) {
  20202. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  20203. },
  20204. Frame___parseV8_tearOff(frame) {
  20205. return A.Frame_Frame$parseV8(frame);
  20206. },
  20207. Frame_Frame$parseV8(frame) {
  20208. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  20209. },
  20210. Frame_Frame$_parseFirefoxEval(frame) {
  20211. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  20212. },
  20213. Frame___parseFirefox_tearOff(frame) {
  20214. return A.Frame_Frame$parseFirefox(frame);
  20215. },
  20216. Frame_Frame$parseFirefox(frame) {
  20217. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  20218. },
  20219. Frame___parseFriendly_tearOff(frame) {
  20220. return A.Frame_Frame$parseFriendly(frame);
  20221. },
  20222. Frame_Frame$parseFriendly(frame) {
  20223. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  20224. },
  20225. Frame__uriOrPathToUri(uriOrPath) {
  20226. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  20227. return A.Uri_parse(uriOrPath);
  20228. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  20229. return A._Uri__Uri$file(uriOrPath, true);
  20230. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  20231. return A._Uri__Uri$file(uriOrPath, false);
  20232. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  20233. return $.$get$windows().toUri$1(uriOrPath);
  20234. return A.Uri_parse(uriOrPath);
  20235. },
  20236. Frame__catchFormatException(text, body) {
  20237. var t1, exception;
  20238. try {
  20239. t1 = body.call$0();
  20240. return t1;
  20241. } catch (exception) {
  20242. if (type$.FormatException._is(A.unwrapException(exception)))
  20243. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  20244. else
  20245. throw exception;
  20246. }
  20247. },
  20248. Frame: function Frame(t0, t1, t2, t3) {
  20249. var _ = this;
  20250. _.uri = t0;
  20251. _.line = t1;
  20252. _.column = t2;
  20253. _.member = t3;
  20254. },
  20255. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  20256. this.frame = t0;
  20257. },
  20258. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  20259. this.frame = t0;
  20260. },
  20261. Frame_Frame$parseV8_closure_parseJsLocation: function Frame_Frame$parseV8_closure_parseJsLocation(t0) {
  20262. this.frame = t0;
  20263. },
  20264. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  20265. this.frame = t0;
  20266. },
  20267. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  20268. this.frame = t0;
  20269. },
  20270. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  20271. this.frame = t0;
  20272. },
  20273. LazyTrace: function LazyTrace(t0) {
  20274. this._thunk = t0;
  20275. this.__LazyTrace__trace_FI = $;
  20276. },
  20277. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  20278. this.$this = t0;
  20279. },
  20280. Trace_Trace$from(trace) {
  20281. if (type$.Trace._is(trace))
  20282. return trace;
  20283. if (trace instanceof A.Chain)
  20284. return trace.toTrace$0();
  20285. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  20286. },
  20287. Trace_Trace$parse(trace) {
  20288. var error, t1, exception;
  20289. try {
  20290. if (trace.length === 0) {
  20291. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  20292. return t1;
  20293. }
  20294. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  20295. t1 = A.Trace$parseV8(trace);
  20296. return t1;
  20297. }
  20298. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  20299. t1 = A.Trace$parseJSCore(trace);
  20300. return t1;
  20301. }
  20302. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  20303. t1 = A.Trace$parseFirefox(trace);
  20304. return t1;
  20305. }
  20306. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  20307. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  20308. return t1;
  20309. }
  20310. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  20311. t1 = A.Trace$parseFriendly(trace);
  20312. return t1;
  20313. }
  20314. t1 = A.Trace$parseVM(trace);
  20315. return t1;
  20316. } catch (exception) {
  20317. t1 = A.unwrapException(exception);
  20318. if (type$.FormatException._is(t1)) {
  20319. error = t1;
  20320. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  20321. } else
  20322. throw exception;
  20323. }
  20324. },
  20325. Trace___parseVM_tearOff(trace) {
  20326. return A.Trace$parseVM(trace);
  20327. },
  20328. Trace$parseVM(trace) {
  20329. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  20330. return new A.Trace(t1, new A._StringStackTrace(trace));
  20331. },
  20332. Trace__parseVM(trace) {
  20333. var $frames,
  20334. t1 = B.JSString_methods.trim$0(trace),
  20335. t2 = $.$get$vmChainGap(),
  20336. t3 = type$.WhereIterable_String,
  20337. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  20338. if (!lines.get$iterator(0).moveNext$0())
  20339. return A._setArrayType([], type$.JSArray_Frame);
  20340. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  20341. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  20342. $frames = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  20343. if (!B.JSString_methods.endsWith$1(lines.get$last(0), ".da"))
  20344. $frames.push(A.Frame_Frame$parseVM(lines.get$last(0)));
  20345. return $frames;
  20346. },
  20347. Trace$parseV8(trace) {
  20348. var t1 = A.SubListIterable$(A._setArrayType(trace.split("\n"), type$.JSArray_String), 1, null, type$.String).super$Iterable$skipWhile(0, new A.Trace$parseV8_closure()),
  20349. t2 = type$.Frame;
  20350. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  20351. return new A.Trace(t2, new A._StringStackTrace(trace));
  20352. },
  20353. Trace$parseJSCore(trace) {
  20354. var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), new A.Trace$parseJSCore_closure(), type$.WhereIterable_String), A.frame_Frame___parseV8_tearOff$closure(), type$.MappedIterable_String_Frame), type$.Frame);
  20355. return new A.Trace(t1, new A._StringStackTrace(trace));
  20356. },
  20357. Trace$parseFirefox(trace) {
  20358. var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFirefox_closure(), type$.WhereIterable_String), A.frame_Frame___parseFirefox_tearOff$closure(), type$.MappedIterable_String_Frame), type$.Frame);
  20359. return new A.Trace(t1, new A._StringStackTrace(trace));
  20360. },
  20361. Trace___parseFriendly_tearOff(trace) {
  20362. return A.Trace$parseFriendly(trace);
  20363. },
  20364. Trace$parseFriendly(trace) {
  20365. var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFriendly_closure(), type$.WhereIterable_String), A.frame_Frame___parseFriendly_tearOff$closure(), type$.MappedIterable_String_Frame);
  20366. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  20367. return new A.Trace(t1, new A._StringStackTrace(trace));
  20368. },
  20369. Trace$($frames, original) {
  20370. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  20371. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  20372. },
  20373. Trace: function Trace(t0, t1) {
  20374. this.frames = t0;
  20375. this.original = t1;
  20376. },
  20377. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  20378. this.trace = t0;
  20379. },
  20380. Trace__parseVM_closure: function Trace__parseVM_closure() {
  20381. },
  20382. Trace$parseV8_closure: function Trace$parseV8_closure() {
  20383. },
  20384. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  20385. },
  20386. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  20387. },
  20388. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  20389. },
  20390. Trace_terse_closure: function Trace_terse_closure() {
  20391. },
  20392. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  20393. this.oldPredicate = t0;
  20394. },
  20395. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  20396. this._box_0 = t0;
  20397. },
  20398. Trace_toString_closure0: function Trace_toString_closure0() {
  20399. },
  20400. Trace_toString_closure: function Trace_toString_closure(t0) {
  20401. this.longest = t0;
  20402. },
  20403. UnparsedFrame: function UnparsedFrame(t0, t1) {
  20404. this.uri = t0;
  20405. this.member = t1;
  20406. },
  20407. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  20408. var _null = null, t1 = {},
  20409. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  20410. t1.subscription = null;
  20411. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  20412. return controller.get$stream();
  20413. },
  20414. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  20415. sink.addError$2(error, stackTrace);
  20416. },
  20417. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  20418. var _ = this;
  20419. _._box_1 = t0;
  20420. _._this = t1;
  20421. _.onData = t2;
  20422. _.controller = t3;
  20423. _.handleError = t4;
  20424. _.handleDone = t5;
  20425. _.S = t6;
  20426. },
  20427. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  20428. this.onData = t0;
  20429. this.controller = t1;
  20430. this.S = t2;
  20431. },
  20432. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  20433. this.handleError = t0;
  20434. this.controller = t1;
  20435. },
  20436. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  20437. this._box_0 = t0;
  20438. this.handleDone = t1;
  20439. this.controller = t2;
  20440. },
  20441. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  20442. this._box_1 = t0;
  20443. this._box_0 = t1;
  20444. },
  20445. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  20446. var t1 = {};
  20447. t1.soFar = t1.timer = null;
  20448. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  20449. return A.TransformByHandlers_transformByHandlers(_this, new A.RateLimit__debounceAggregate_closure(t1, $S, collect, false, duration, true, $T), new A.RateLimit__debounceAggregate_closure0(t1, true, $S), $T, $S);
  20450. },
  20451. _collect($event, soFar, $T) {
  20452. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  20453. J.add$1$ax(t1, $event);
  20454. return t1;
  20455. },
  20456. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  20457. var _ = this;
  20458. _._box_0 = t0;
  20459. _.S = t1;
  20460. _.collect = t2;
  20461. _.leading = t3;
  20462. _.duration = t4;
  20463. _.trailing = t5;
  20464. _.T = t6;
  20465. },
  20466. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  20467. this._box_0 = t0;
  20468. this.sink = t1;
  20469. this.S = t2;
  20470. },
  20471. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  20472. var _ = this;
  20473. _._box_0 = t0;
  20474. _.trailing = t1;
  20475. _.emit = t2;
  20476. _.sink = t3;
  20477. },
  20478. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  20479. this._box_0 = t0;
  20480. this.trailing = t1;
  20481. this.S = t2;
  20482. },
  20483. StringScannerException$(message, span, source) {
  20484. return new A.StringScannerException(source, message, span);
  20485. },
  20486. StringScannerException: function StringScannerException(t0, t1, t2) {
  20487. this.source = t0;
  20488. this._span_exception$_message = t1;
  20489. this._span = t2;
  20490. },
  20491. LineScanner$(string) {
  20492. return new A.LineScanner(null, string);
  20493. },
  20494. LineScanner: function LineScanner(t0, t1) {
  20495. var _ = this;
  20496. _._line_scanner$_column = _._line_scanner$_line = 0;
  20497. _.sourceUrl = t0;
  20498. _.string = t1;
  20499. _._string_scanner$_position = 0;
  20500. _._lastMatchPosition = _._lastMatch = null;
  20501. },
  20502. SpanScanner$(string, sourceUrl) {
  20503. var t2,
  20504. t1 = A.SourceFile$fromString(string, sourceUrl);
  20505. if (sourceUrl == null)
  20506. t2 = null;
  20507. else
  20508. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20509. return new A.SpanScanner(t1, t2, string);
  20510. },
  20511. SpanScanner: function SpanScanner(t0, t1, t2) {
  20512. var _ = this;
  20513. _._sourceFile = t0;
  20514. _.sourceUrl = t1;
  20515. _.string = t2;
  20516. _._string_scanner$_position = 0;
  20517. _._lastMatchPosition = _._lastMatch = null;
  20518. },
  20519. _SpanScannerState: function _SpanScannerState(t0, t1) {
  20520. this._scanner = t0;
  20521. this.position = t1;
  20522. },
  20523. StringScanner$(string, position, sourceUrl) {
  20524. var t1;
  20525. if (sourceUrl == null)
  20526. t1 = null;
  20527. else
  20528. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20529. return new A.StringScanner(t1, string);
  20530. },
  20531. StringScanner: function StringScanner(t0, t1) {
  20532. var _ = this;
  20533. _.sourceUrl = t0;
  20534. _.string = t1;
  20535. _._string_scanner$_position = 0;
  20536. _._lastMatchPosition = _._lastMatch = null;
  20537. },
  20538. AsciiGlyphSet: function AsciiGlyphSet() {
  20539. },
  20540. UnicodeGlyphSet: function UnicodeGlyphSet() {
  20541. },
  20542. WatchEvent: function WatchEvent(t0, t1) {
  20543. this.type = t0;
  20544. this.path = t1;
  20545. },
  20546. ChangeType: function ChangeType(t0) {
  20547. this._watch_event$_name = t0;
  20548. },
  20549. A98RgbColorSpace0: function A98RgbColorSpace0(t0, t1) {
  20550. this.name = t0;
  20551. this._space$_channels = t1;
  20552. },
  20553. AnySelectorVisitor0: function AnySelectorVisitor0() {
  20554. },
  20555. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  20556. this.$this = t0;
  20557. },
  20558. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  20559. this.$this = t0;
  20560. },
  20561. SupportsAnything0: function SupportsAnything0(t0, t1) {
  20562. this.contents = t0;
  20563. this.span = t1;
  20564. },
  20565. ArgumentList$empty0(span) {
  20566. return new A.ArgumentList0(B.List_empty22, B.Map_empty14, null, null, span);
  20567. },
  20568. ArgumentList0: function ArgumentList0(t0, t1, t2, t3, t4) {
  20569. var _ = this;
  20570. _.positional = t0;
  20571. _.named = t1;
  20572. _.rest = t2;
  20573. _.keywordRest = t3;
  20574. _.span = t4;
  20575. },
  20576. argumentListClass_closure: function argumentListClass_closure() {
  20577. },
  20578. argumentListClass__closure: function argumentListClass__closure() {
  20579. },
  20580. argumentListClass__closure0: function argumentListClass__closure0() {
  20581. },
  20582. SassArgumentList$0(contents, keywords, separator) {
  20583. var t1 = type$.Value_2;
  20584. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  20585. t1.SassList$3$brackets0(contents, separator, false);
  20586. return t1;
  20587. },
  20588. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  20589. var _ = this;
  20590. _._argument_list$_keywords = t0;
  20591. _._argument_list$_wereKeywordsAccessed = false;
  20592. _._list1$_contents = t1;
  20593. _._list1$_separator = t2;
  20594. _._list1$_hasBrackets = t3;
  20595. },
  20596. JSArray1: function JSArray1() {
  20597. },
  20598. AsyncImporter0: function AsyncImporter0() {
  20599. },
  20600. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  20601. this._async0$_canonicalize = t0;
  20602. this._load = t1;
  20603. this._nonCanonicalSchemes = t2;
  20604. },
  20605. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  20606. this.$this = t0;
  20607. this.url = t1;
  20608. },
  20609. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  20610. this.$this = t0;
  20611. this.url = t1;
  20612. },
  20613. AsyncBuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  20614. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  20615. },
  20616. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  20617. var _ = this;
  20618. _.name = t0;
  20619. _._async_built_in0$_parameters = t1;
  20620. _._async_built_in0$_callback = t2;
  20621. _.acceptsContent = t3;
  20622. },
  20623. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  20624. this.callback = t0;
  20625. },
  20626. AsyncBuiltInCallable_withDeprecationWarning_closure0: function AsyncBuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2) {
  20627. this.$this = t0;
  20628. this.module = t1;
  20629. this.newName = t2;
  20630. },
  20631. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20632. var $async$goto = 0,
  20633. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20634. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  20635. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20636. if ($async$errorCode === 1)
  20637. return A._asyncRethrow($async$result, $async$completer);
  20638. for (;;)
  20639. switch ($async$goto) {
  20640. case 0:
  20641. // Function start
  20642. t1 = type$.Deprecation_3;
  20643. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20644. if (silenceDeprecations != null)
  20645. t2.addAll$1(0, silenceDeprecations);
  20646. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20647. if (fatalDeprecations != null)
  20648. t3.addAll$1(0, fatalDeprecations);
  20649. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20650. if (futureDeprecations != null)
  20651. t4.addAll$1(0, futureDeprecations);
  20652. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20653. logger.validate$0();
  20654. t1 = nodeImporter == null;
  20655. if (t1)
  20656. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  20657. else
  20658. t2 = false;
  20659. $async$goto = t2 ? 3 : 5;
  20660. break;
  20661. case 3:
  20662. // then
  20663. if (importCache == null)
  20664. importCache = A.AsyncImportCache$none();
  20665. t2 = $.$get$FilesystemImporter_cwd0();
  20666. t3 = A.isNodeJs() ? self.process : null;
  20667. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  20668. t3 = A.isNodeJs() ? self.process : null;
  20669. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  20670. } else
  20671. t3 = true;
  20672. if (t3) {
  20673. t3 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  20674. t4 = $.$get$context();
  20675. t3 = A._realCasePath0(t4.normalize$1(t3));
  20676. } else {
  20677. t3 = $.$get$context();
  20678. t4 = t3.canonicalize$1(0, path);
  20679. t0 = t4;
  20680. t4 = t3;
  20681. t3 = t0;
  20682. }
  20683. $async$goto = 6;
  20684. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  20685. case 6:
  20686. // returning from await.
  20687. t4 = $async$result;
  20688. t4.toString;
  20689. stylesheet = t4;
  20690. // goto join
  20691. $async$goto = 4;
  20692. break;
  20693. case 5:
  20694. // else
  20695. t2 = A.readFile0(path);
  20696. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  20697. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, false, $.$get$context().toUri$1(path));
  20698. case 4:
  20699. // join
  20700. $async$goto = 7;
  20701. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  20702. case 7:
  20703. // returning from await.
  20704. result = $async$result;
  20705. logger.summarize$1$js(!t1);
  20706. $async$returnValue = result;
  20707. // goto return
  20708. $async$goto = 1;
  20709. break;
  20710. case 1:
  20711. // return
  20712. return A._asyncReturn($async$returnValue, $async$completer);
  20713. }
  20714. });
  20715. return A._asyncStartSync($async$compileAsync0, $async$completer);
  20716. },
  20717. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20718. var $async$goto = 0,
  20719. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20720. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  20721. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20722. if ($async$errorCode === 1)
  20723. return A._asyncRethrow($async$result, $async$completer);
  20724. for (;;)
  20725. switch ($async$goto) {
  20726. case 0:
  20727. // Function start
  20728. t1 = type$.Deprecation_3;
  20729. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20730. if (silenceDeprecations != null)
  20731. t2.addAll$1(0, silenceDeprecations);
  20732. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20733. if (fatalDeprecations != null)
  20734. t3.addAll$1(0, fatalDeprecations);
  20735. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20736. if (futureDeprecations != null)
  20737. t4.addAll$1(0, futureDeprecations);
  20738. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20739. logger.validate$0();
  20740. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_0_scss0 : syntax, false, url);
  20741. t1 = stylesheet.span;
  20742. _0_0 = t1.get$sourceUrl(t1);
  20743. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  20744. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_y9Y, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
  20745. if (importer == null)
  20746. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  20747. else
  20748. t1 = importer;
  20749. $async$goto = 3;
  20750. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  20751. case 3:
  20752. // returning from await.
  20753. result = $async$result;
  20754. logger.summarize$1$js(nodeImporter != null);
  20755. $async$returnValue = result;
  20756. // goto return
  20757. $async$goto = 1;
  20758. break;
  20759. case 1:
  20760. // return
  20761. return A._asyncReturn($async$returnValue, $async$completer);
  20762. }
  20763. });
  20764. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  20765. },
  20766. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20767. var $async$goto = 0,
  20768. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20769. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  20770. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20771. if ($async$errorCode === 1)
  20772. return A._asyncRethrow($async$result, $async$completer);
  20773. for (;;)
  20774. switch ($async$goto) {
  20775. case 0:
  20776. // Function start
  20777. if (nodeImporter != null)
  20778. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_PGp, string$.The_le, null, null);
  20779. $async$goto = 3;
  20780. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  20781. case 3:
  20782. // returning from await.
  20783. evaluateResult = $async$result;
  20784. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  20785. resultSourceMap = serializeResult._1;
  20786. if (resultSourceMap != null && importCache != null)
  20787. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  20788. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  20789. // goto return
  20790. $async$goto = 1;
  20791. break;
  20792. case 1:
  20793. // return
  20794. return A._asyncReturn($async$returnValue, $async$completer);
  20795. }
  20796. });
  20797. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  20798. },
  20799. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  20800. this.stylesheet = t0;
  20801. this.importCache = t1;
  20802. },
  20803. AsyncEnvironment$0() {
  20804. var t1 = type$.String,
  20805. t2 = type$.Module_AsyncCallable_2,
  20806. t3 = type$.AstNode_2,
  20807. t4 = type$.int,
  20808. t5 = type$.AsyncCallable_2,
  20809. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  20810. return new A.AsyncEnvironment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  20811. },
  20812. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  20813. var t1 = type$.String,
  20814. t2 = type$.int;
  20815. return new A.AsyncEnvironment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content, _configurableVariables);
  20816. },
  20817. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  20818. var t1, t2, t3, t4, t5, t6, module, result, t7;
  20819. if (forwarded == null)
  20820. forwarded = B.Set_empty7;
  20821. t1 = type$.dynamic;
  20822. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  20823. for (t2 = type$.Module_AsyncCallable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  20824. t6 = t4.get$current(t4);
  20825. module = t6._0;
  20826. result = A.List_List$from(t6._1, false, t5);
  20827. result.$flags = 3;
  20828. t1.$indexSet(0, module, result);
  20829. }
  20830. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  20831. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  20832. t3 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure17(), type$.Map_String_Value_2), type$.Value_2);
  20833. t4 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure18(), type$.Map_String_AstNode_2), type$.AstNode_2);
  20834. t5 = type$.Map_String_AsyncCallable_2;
  20835. t6 = type$.AsyncCallable_2;
  20836. t7 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t5), t6);
  20837. t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t5), t6);
  20838. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  20839. return A._EnvironmentModule$_2(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
  20840. },
  20841. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  20842. var modulesByVariable, t1, t2, t3, t4, t5;
  20843. if (forwarded.get$isEmpty(forwarded))
  20844. return B.Map_empty17;
  20845. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  20846. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  20847. t2 = t1.get$current(t1);
  20848. if (t2 instanceof A._EnvironmentModule2) {
  20849. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  20850. t4 = t3.get$current(t3);
  20851. t5 = t4.get$variables();
  20852. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  20853. }
  20854. t3 = B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables);
  20855. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20856. } else {
  20857. t3 = t2.get$variables();
  20858. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20859. }
  20860. }
  20861. return modulesByVariable;
  20862. },
  20863. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  20864. var t1, t2, t3;
  20865. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  20866. if (otherMaps.get$isEmpty(otherMaps))
  20867. return localMap;
  20868. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  20869. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  20870. t3 = t2.get$current(t2);
  20871. if (t3.get$isNotEmpty(t3))
  20872. t1.push(t3);
  20873. }
  20874. t1.push(localMap);
  20875. if (t1.length === 1)
  20876. return localMap;
  20877. return A.MergedMapView$0(t1, type$.String, $V);
  20878. },
  20879. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  20880. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  20881. },
  20882. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  20883. var _ = this;
  20884. _._async_environment0$_modules = t0;
  20885. _._async_environment0$_namespaceNodes = t1;
  20886. _._async_environment0$_globalModules = t2;
  20887. _._async_environment0$_importedModules = t3;
  20888. _._async_environment0$_forwardedModules = t4;
  20889. _._async_environment0$_nestedForwardedModules = t5;
  20890. _._async_environment0$_allModules = t6;
  20891. _._async_environment0$_variables = t7;
  20892. _._async_environment0$_variableNodes = t8;
  20893. _._async_environment0$_variableIndices = t9;
  20894. _._async_environment0$_functions = t10;
  20895. _._async_environment0$_functionIndices = t11;
  20896. _._async_environment0$_mixins = t12;
  20897. _._async_environment0$_mixinIndices = t13;
  20898. _._async_environment0$_content = t14;
  20899. _._async_environment0$_configurableVariables = t15;
  20900. _._async_environment0$_inMixin = false;
  20901. _._async_environment0$_inSemiGlobalScope = true;
  20902. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  20903. },
  20904. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  20905. this.name = t0;
  20906. },
  20907. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  20908. this.$this = t0;
  20909. this.name = t1;
  20910. },
  20911. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  20912. this.name = t0;
  20913. },
  20914. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  20915. this.$this = t0;
  20916. this.name = t1;
  20917. },
  20918. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  20919. this.name = t0;
  20920. },
  20921. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  20922. this.name = t0;
  20923. },
  20924. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  20925. },
  20926. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  20927. },
  20928. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  20929. var _ = this;
  20930. _.upstream = t0;
  20931. _.variables = t1;
  20932. _.variableNodes = t2;
  20933. _.functions = t3;
  20934. _.mixins = t4;
  20935. _.extensionStore = t5;
  20936. _.css = t6;
  20937. _.preModuleComments = t7;
  20938. _.transitivelyContainsCss = t8;
  20939. _.transitivelyContainsExtensions = t9;
  20940. _._async_environment0$_environment = t10;
  20941. _._async_environment0$_modulesByVariable = t11;
  20942. },
  20943. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  20944. },
  20945. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  20946. },
  20947. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20948. },
  20949. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20950. },
  20951. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20952. },
  20953. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20954. },
  20955. _EnvironmentModule_couldHaveBeenConfigured_closure2: function _EnvironmentModule_couldHaveBeenConfigured_closure2(t0) {
  20956. this.variables = t0;
  20957. },
  20958. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20959. var t4,
  20960. t1 = type$.Uri,
  20961. t2 = type$.Module_AsyncCallable_2,
  20962. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20963. if (importCache == null)
  20964. t4 = nodeImporter == null ? A.AsyncImportCache$none() : null;
  20965. else
  20966. t4 = importCache;
  20967. t1 = new A._EvaluateVisitor2(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  20968. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20969. return t1;
  20970. },
  20971. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  20972. var _ = this;
  20973. _._async_evaluate0$_importCache = t0;
  20974. _._async_evaluate0$_nodeImporter = t1;
  20975. _._async_evaluate0$_builtInFunctions = t2;
  20976. _._async_evaluate0$_builtInModules = t3;
  20977. _._async_evaluate0$_modules = t4;
  20978. _._async_evaluate0$_moduleConfigurations = t5;
  20979. _._async_evaluate0$_moduleNodes = t6;
  20980. _._async_evaluate0$_logger = t7;
  20981. _._async_evaluate0$_warningsEmitted = t8;
  20982. _._async_evaluate0$_quietDeps = t9;
  20983. _._async_evaluate0$_sourceMap = t10;
  20984. _._async_evaluate0$_compileContext = t11;
  20985. _._async_evaluate0$_environment = t12;
  20986. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20987. _._async_evaluate0$_member = "root stylesheet";
  20988. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
  20989. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20990. _._async_evaluate0$_loadedUrls = t13;
  20991. _._async_evaluate0$_activeModules = t14;
  20992. _._async_evaluate0$_stack = t15;
  20993. _._async_evaluate0$_importer = null;
  20994. _._async_evaluate0$_inDependency = false;
  20995. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20996. _._async_evaluate0$_configuration = t16;
  20997. },
  20998. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20999. this.$this = t0;
  21000. },
  21001. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  21002. this.$this = t0;
  21003. },
  21004. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  21005. this.$this = t0;
  21006. },
  21007. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  21008. this.$this = t0;
  21009. },
  21010. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  21011. this.$this = t0;
  21012. },
  21013. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  21014. this.$this = t0;
  21015. },
  21016. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  21017. this.$this = t0;
  21018. },
  21019. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  21020. this.$this = t0;
  21021. },
  21022. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  21023. this.$this = t0;
  21024. },
  21025. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  21026. this.$this = t0;
  21027. this.name = t1;
  21028. this.module = t2;
  21029. },
  21030. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  21031. this.$this = t0;
  21032. },
  21033. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  21034. this.$this = t0;
  21035. this.name = t1;
  21036. this.module = t2;
  21037. },
  21038. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  21039. this.$this = t0;
  21040. },
  21041. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  21042. this.$this = t0;
  21043. },
  21044. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2, t3) {
  21045. var _ = this;
  21046. _._box_0 = t0;
  21047. _.values = t1;
  21048. _.span = t2;
  21049. _.callableNode = t3;
  21050. },
  21051. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  21052. this.$this = t0;
  21053. },
  21054. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  21055. this.$this = t0;
  21056. },
  21057. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  21058. this.$this = t0;
  21059. this.node = t1;
  21060. this.importer = t2;
  21061. },
  21062. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  21063. this.$this = t0;
  21064. this.importer = t1;
  21065. this.node = t2;
  21066. },
  21067. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  21068. this._box_0 = t0;
  21069. this.callback = t1;
  21070. },
  21071. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  21072. var _ = this;
  21073. _.$this = t0;
  21074. _.url = t1;
  21075. _.nodeWithSpan = t2;
  21076. _.baseUrl = t3;
  21077. _.namesInErrors = t4;
  21078. _.configuration = t5;
  21079. _.callback = t6;
  21080. },
  21081. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  21082. this.$this = t0;
  21083. this.message = t1;
  21084. },
  21085. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  21086. this._box_1 = t0;
  21087. this.callback = t1;
  21088. this.firstLoad = t2;
  21089. },
  21090. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  21091. var _ = this;
  21092. _.$this = t0;
  21093. _.importer = t1;
  21094. _.stylesheet = t2;
  21095. _.extensionStore = t3;
  21096. _.configuration = t4;
  21097. _.css = t5;
  21098. _.preModuleComments = t6;
  21099. },
  21100. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  21101. },
  21102. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  21103. this.selectors = t0;
  21104. },
  21105. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  21106. var _ = this;
  21107. _.$this = t0;
  21108. _.seen = t1;
  21109. _.clone = t2;
  21110. _.css = t3;
  21111. _.imports = t4;
  21112. _.sorted = t5;
  21113. },
  21114. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  21115. this.originalSelectors = t0;
  21116. },
  21117. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  21118. },
  21119. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  21120. this.$this = t0;
  21121. this.node = t1;
  21122. },
  21123. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  21124. this.$this = t0;
  21125. this.node = t1;
  21126. },
  21127. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  21128. this.$this = t0;
  21129. this.newParent = t1;
  21130. this.node = t2;
  21131. },
  21132. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  21133. this.$this = t0;
  21134. this.innerScope = t1;
  21135. },
  21136. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  21137. this.$this = t0;
  21138. this.innerScope = t1;
  21139. },
  21140. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  21141. this.innerScope = t0;
  21142. this.callback = t1;
  21143. },
  21144. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  21145. this.$this = t0;
  21146. this.innerScope = t1;
  21147. },
  21148. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  21149. },
  21150. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  21151. this.$this = t0;
  21152. this.innerScope = t1;
  21153. },
  21154. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  21155. this.$this = t0;
  21156. this.content = t1;
  21157. },
  21158. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  21159. this._box_0 = t0;
  21160. this.$this = t1;
  21161. },
  21162. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  21163. this._box_0 = t0;
  21164. this.$this = t1;
  21165. this.nodeWithSpan = t2;
  21166. },
  21167. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  21168. this._box_1 = t0;
  21169. this.$this = t1;
  21170. this.nodeWithSpan = t2;
  21171. },
  21172. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  21173. var _ = this;
  21174. _.$this = t0;
  21175. _.list = t1;
  21176. _.setVariables = t2;
  21177. _.node = t3;
  21178. },
  21179. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  21180. this.$this = t0;
  21181. this.setVariables = t1;
  21182. this.node = t2;
  21183. },
  21184. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  21185. this.$this = t0;
  21186. },
  21187. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  21188. this.$this = t0;
  21189. },
  21190. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  21191. this.$this = t0;
  21192. this.name = t1;
  21193. this.children = t2;
  21194. },
  21195. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  21196. this.$this = t0;
  21197. this.children = t1;
  21198. },
  21199. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  21200. },
  21201. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  21202. this.$this = t0;
  21203. this.node = t1;
  21204. },
  21205. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  21206. this.$this = t0;
  21207. this.node = t1;
  21208. },
  21209. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  21210. this.fromNumber = t0;
  21211. },
  21212. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  21213. this.toNumber = t0;
  21214. this.fromNumber = t1;
  21215. },
  21216. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  21217. var _ = this;
  21218. _._box_0 = t0;
  21219. _.$this = t1;
  21220. _.node = t2;
  21221. _.from = t3;
  21222. _.direction = t4;
  21223. _.fromNumber = t5;
  21224. },
  21225. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  21226. this.$this = t0;
  21227. },
  21228. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  21229. this.$this = t0;
  21230. this.node = t1;
  21231. },
  21232. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  21233. this.$this = t0;
  21234. this.node = t1;
  21235. },
  21236. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  21237. },
  21238. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  21239. this.$this = t0;
  21240. },
  21241. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  21242. this.$this = t0;
  21243. this.clause = t1;
  21244. },
  21245. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  21246. this.$this = t0;
  21247. },
  21248. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  21249. this.$this = t0;
  21250. this.$import = t1;
  21251. },
  21252. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  21253. this.$this = t0;
  21254. },
  21255. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  21256. },
  21257. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  21258. },
  21259. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  21260. var _ = this;
  21261. _._box_0 = t0;
  21262. _.$this = t1;
  21263. _.loadsUserDefinedModules = t2;
  21264. _.environment = t3;
  21265. _.children = t4;
  21266. },
  21267. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  21268. var _ = this;
  21269. _.$this = t0;
  21270. _.$arguments = t1;
  21271. _.mixin = t2;
  21272. _.nodeWithSpanWithoutContent = t3;
  21273. },
  21274. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  21275. var _ = this;
  21276. _.$this = t0;
  21277. _.$arguments = t1;
  21278. _.mixin = t2;
  21279. _.nodeWithSpanWithoutContent = t3;
  21280. },
  21281. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  21282. var _ = this;
  21283. _.$this = t0;
  21284. _.contentCallable = t1;
  21285. _.mixin = t2;
  21286. _.nodeWithSpanWithoutContent = t3;
  21287. },
  21288. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  21289. this.$this = t0;
  21290. this.mixin = t1;
  21291. this.nodeWithSpanWithoutContent = t2;
  21292. },
  21293. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  21294. this.$this = t0;
  21295. this.mixin = t1;
  21296. this.nodeWithSpanWithoutContent = t2;
  21297. },
  21298. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  21299. this.$this = t0;
  21300. this.statement = t1;
  21301. },
  21302. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  21303. this.$this = t0;
  21304. this.node = t1;
  21305. },
  21306. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  21307. this.$this = t0;
  21308. },
  21309. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  21310. this.node = t0;
  21311. },
  21312. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  21313. this.$this = t0;
  21314. this.queries = t1;
  21315. },
  21316. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  21317. var _ = this;
  21318. _.$this = t0;
  21319. _.mergedQueries = t1;
  21320. _.queries = t2;
  21321. _.mergedSources = t3;
  21322. _.node = t4;
  21323. },
  21324. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  21325. this.$this = t0;
  21326. this.node = t1;
  21327. },
  21328. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  21329. this.$this = t0;
  21330. this.node = t1;
  21331. },
  21332. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  21333. this.mergedSources = t0;
  21334. },
  21335. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  21336. this.$this = t0;
  21337. this.node = t1;
  21338. },
  21339. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  21340. },
  21341. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  21342. this.$this = t0;
  21343. this.rule = t1;
  21344. this.node = t2;
  21345. },
  21346. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  21347. this.$this = t0;
  21348. this.node = t1;
  21349. },
  21350. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  21351. },
  21352. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  21353. },
  21354. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  21355. this.$this = t0;
  21356. this.node = t1;
  21357. },
  21358. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  21359. this.$this = t0;
  21360. this.node = t1;
  21361. },
  21362. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  21363. },
  21364. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  21365. this._box_0 = t0;
  21366. this.$this = t1;
  21367. },
  21368. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  21369. this._box_0 = t0;
  21370. this.$this = t1;
  21371. this.node = t2;
  21372. },
  21373. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  21374. this.$this = t0;
  21375. this.node = t1;
  21376. },
  21377. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  21378. this.$this = t0;
  21379. this.node = t1;
  21380. this.value = t2;
  21381. },
  21382. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  21383. this.$this = t0;
  21384. this.node = t1;
  21385. },
  21386. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  21387. this.$this = t0;
  21388. this.node = t1;
  21389. },
  21390. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  21391. this.$this = t0;
  21392. this.node = t1;
  21393. },
  21394. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  21395. this.$this = t0;
  21396. },
  21397. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  21398. this.$this = t0;
  21399. this.node = t1;
  21400. },
  21401. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  21402. },
  21403. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  21404. this.$this = t0;
  21405. this.node = t1;
  21406. },
  21407. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  21408. this.node = t0;
  21409. this.operand = t1;
  21410. },
  21411. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  21412. this.$this = t0;
  21413. },
  21414. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  21415. this.$this = t0;
  21416. this.node = t1;
  21417. },
  21418. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  21419. },
  21420. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  21421. this._box_0 = t0;
  21422. this.$this = t1;
  21423. this.node = t2;
  21424. },
  21425. _EvaluateVisitor__visitCalculation_closure2: function _EvaluateVisitor__visitCalculation_closure2(t0, t1) {
  21426. this.$this = t0;
  21427. this.node = t1;
  21428. },
  21429. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  21430. this.$this = t0;
  21431. this.node = t1;
  21432. },
  21433. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  21434. var _ = this;
  21435. _._box_0 = t0;
  21436. _.$this = t1;
  21437. _.node = t2;
  21438. _.inLegacySassFunction = t3;
  21439. },
  21440. _EvaluateVisitor__visitCalculationExpression__closure2: function _EvaluateVisitor__visitCalculationExpression__closure2(t0, t1) {
  21441. this.$this = t0;
  21442. this.node = t1;
  21443. },
  21444. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  21445. this.$this = t0;
  21446. this.node = t1;
  21447. this.$function = t2;
  21448. },
  21449. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  21450. var _ = this;
  21451. _.$this = t0;
  21452. _.callable = t1;
  21453. _.evaluated = t2;
  21454. _.nodeWithSpan = t3;
  21455. _.run = t4;
  21456. _.V = t5;
  21457. },
  21458. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  21459. var _ = this;
  21460. _.$this = t0;
  21461. _.evaluated = t1;
  21462. _.callable = t2;
  21463. _.nodeWithSpan = t3;
  21464. _.run = t4;
  21465. _.V = t5;
  21466. },
  21467. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  21468. var _ = this;
  21469. _.$this = t0;
  21470. _.evaluated = t1;
  21471. _.callable = t2;
  21472. _.nodeWithSpan = t3;
  21473. _.run = t4;
  21474. _.V = t5;
  21475. },
  21476. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  21477. },
  21478. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  21479. this.$this = t0;
  21480. this.callable = t1;
  21481. },
  21482. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  21483. this._box_0 = t0;
  21484. this.evaluated = t1;
  21485. this.namedSet = t2;
  21486. },
  21487. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  21488. this._box_0 = t0;
  21489. this.evaluated = t1;
  21490. },
  21491. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  21492. },
  21493. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  21494. },
  21495. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  21496. this.$this = t0;
  21497. this.restNodeForSpan = t1;
  21498. },
  21499. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  21500. var _ = this;
  21501. _.$this = t0;
  21502. _.named = t1;
  21503. _.restNodeForSpan = t2;
  21504. _.namedNodes = t3;
  21505. },
  21506. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  21507. },
  21508. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  21509. this.restArgs = t0;
  21510. },
  21511. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  21512. this.$this = t0;
  21513. this.restNodeForSpan = t1;
  21514. this.restArgs = t2;
  21515. },
  21516. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  21517. var _ = this;
  21518. _.$this = t0;
  21519. _.named = t1;
  21520. _.restNodeForSpan = t2;
  21521. _.restArgs = t3;
  21522. },
  21523. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  21524. this.$this = t0;
  21525. this.keywordRestNodeForSpan = t1;
  21526. this.keywordRestArgs = t2;
  21527. },
  21528. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  21529. var _ = this;
  21530. _.$this = t0;
  21531. _.values = t1;
  21532. _.convert = t2;
  21533. _.expressionNode = t3;
  21534. _.map = t4;
  21535. _.nodeWithSpan = t5;
  21536. },
  21537. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  21538. this.parameters = t0;
  21539. this.positional = t1;
  21540. this.named = t2;
  21541. },
  21542. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  21543. this.$this = t0;
  21544. this.node = t1;
  21545. },
  21546. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  21547. },
  21548. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  21549. this.$this = t0;
  21550. this.node = t1;
  21551. },
  21552. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  21553. },
  21554. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  21555. this.$this = t0;
  21556. this.node = t1;
  21557. },
  21558. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  21559. var _ = this;
  21560. _.$this = t0;
  21561. _.mergedQueries = t1;
  21562. _.node = t2;
  21563. _.mergedSources = t3;
  21564. },
  21565. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  21566. this.$this = t0;
  21567. this.node = t1;
  21568. },
  21569. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  21570. this.$this = t0;
  21571. this.node = t1;
  21572. },
  21573. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  21574. this.mergedSources = t0;
  21575. },
  21576. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  21577. this.$this = t0;
  21578. this.rule = t1;
  21579. this.node = t2;
  21580. },
  21581. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  21582. this.$this = t0;
  21583. this.node = t1;
  21584. },
  21585. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  21586. },
  21587. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  21588. this.$this = t0;
  21589. this.node = t1;
  21590. },
  21591. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  21592. this.$this = t0;
  21593. this.node = t1;
  21594. },
  21595. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  21596. },
  21597. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  21598. this.interpolation = t0;
  21599. },
  21600. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  21601. this.value = t0;
  21602. this.quote = t1;
  21603. },
  21604. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  21605. this.$this = t0;
  21606. this.expression = t1;
  21607. },
  21608. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  21609. },
  21610. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  21611. this.$this = t0;
  21612. },
  21613. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  21614. this._async_evaluate0$_visitor = t0;
  21615. },
  21616. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  21617. },
  21618. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  21619. this.hasBeenMerged = t0;
  21620. },
  21621. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  21622. },
  21623. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  21624. },
  21625. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  21626. this._async_evaluate0$_visitor = t0;
  21627. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  21628. },
  21629. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  21630. this._findFileUrl = t0;
  21631. },
  21632. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  21633. this.$this = t0;
  21634. this.url = t1;
  21635. },
  21636. AsyncImportCache$(importers, loadPaths, packageConfig) {
  21637. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21638. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21639. t3 = type$.Uri;
  21640. return new A.AsyncImportCache0(A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21641. },
  21642. AsyncImportCache$none() {
  21643. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21644. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21645. t3 = type$.Uri;
  21646. return new A.AsyncImportCache0(B.List_empty27, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21647. },
  21648. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  21649. var t1, t2, t3, t4, _i, path, _null = null,
  21650. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  21651. if (A.isBrowser()) {
  21652. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21653. if (importers != null)
  21654. B.JSArray_methods.addAll$1(t1, importers);
  21655. return t1;
  21656. }
  21657. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21658. if (importers != null)
  21659. B.JSArray_methods.addAll$1(t1, importers);
  21660. if (loadPaths != null)
  21661. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  21662. t3 = t2.get$current(t2);
  21663. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  21664. }
  21665. if (sassPath != null) {
  21666. t2 = A.isNodeJs() ? self.process : _null;
  21667. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  21668. t4 = t3.length;
  21669. _i = 0;
  21670. for (; _i < t4; ++_i) {
  21671. path = t3[_i];
  21672. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  21673. }
  21674. }
  21675. return t1;
  21676. },
  21677. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  21678. var _ = this;
  21679. _._async_import_cache0$_importers = t0;
  21680. _._async_import_cache0$_canonicalizeCache = t1;
  21681. _._async_import_cache0$_perImporterCanonicalizeCache = t2;
  21682. _._async_import_cache0$_nonCanonicalRelativeUrls = t3;
  21683. _._async_import_cache0$_importCache = t4;
  21684. _._async_import_cache0$_resultsCache = t5;
  21685. _._async_import_cache0$_loadTimes = t6;
  21686. },
  21687. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  21688. var _ = this;
  21689. _.$this = t0;
  21690. _.baseImporter = t1;
  21691. _.resolvedUrl = t2;
  21692. _.baseUrl = t3;
  21693. _.forImport = t4;
  21694. _.key = t5;
  21695. _.url = t6;
  21696. },
  21697. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  21698. this.importer = t0;
  21699. this.url = t1;
  21700. },
  21701. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  21702. var _ = this;
  21703. _.$this = t0;
  21704. _.importer = t1;
  21705. _.canonicalUrl = t2;
  21706. _.originalUrl = t3;
  21707. },
  21708. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  21709. this.canonicalUrl = t0;
  21710. },
  21711. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  21712. },
  21713. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  21714. },
  21715. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  21716. this.canonicalUrl = t0;
  21717. },
  21718. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  21719. this.scanner = t0;
  21720. this._parser1$_interpolationMap = t1;
  21721. },
  21722. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  21723. this.$this = t0;
  21724. },
  21725. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  21726. var _ = this;
  21727. _.include = t0;
  21728. _.names = t1;
  21729. _._at_root_query0$_all = t2;
  21730. _._at_root_query0$_rule = t3;
  21731. },
  21732. AtRootRule$0(children, span, query) {
  21733. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21734. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21735. return new A.AtRootRule0(query, span, t1, t2);
  21736. },
  21737. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  21738. var _ = this;
  21739. _.query = t0;
  21740. _.span = t1;
  21741. _.children = t2;
  21742. _.hasDeclarations = t3;
  21743. },
  21744. ModifiableCssAtRule$0($name, span, childless, value) {
  21745. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21746. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  21747. },
  21748. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  21749. var _ = this;
  21750. _.name = t0;
  21751. _.value = t1;
  21752. _.isChildless = t2;
  21753. _.span = t3;
  21754. _.children = t4;
  21755. _._node$_children = t5;
  21756. _._node$_indexInParent = _._node$_parent = null;
  21757. _.isGroupEnd = false;
  21758. },
  21759. AtRule$0($name, span, children, value) {
  21760. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  21761. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21762. return new A.AtRule0($name, value, span, t1, t2 === true);
  21763. },
  21764. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  21765. var _ = this;
  21766. _.name = t0;
  21767. _.value = t1;
  21768. _.span = t2;
  21769. _.children = t3;
  21770. _.hasDeclarations = t4;
  21771. },
  21772. InterpolatedAttributeSelector: function InterpolatedAttributeSelector(t0, t1, t2, t3, t4) {
  21773. var _ = this;
  21774. _.name = t0;
  21775. _.op = t1;
  21776. _.value = t2;
  21777. _.modifier = t3;
  21778. _.span = t4;
  21779. },
  21780. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  21781. var _ = this;
  21782. _.name = t0;
  21783. _.op = t1;
  21784. _.value = t2;
  21785. _.modifier = t3;
  21786. _.span = t4;
  21787. },
  21788. AttributeOperator0: function AttributeOperator0(t0, t1, t2) {
  21789. this._attribute0$_text = t0;
  21790. this.index = t1;
  21791. this._name = t2;
  21792. },
  21793. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  21794. var _ = this;
  21795. _.operator = t0;
  21796. _.left = t1;
  21797. _.right = t2;
  21798. _.allowsSlash = t3;
  21799. },
  21800. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4, t5) {
  21801. var _ = this;
  21802. _.name = t0;
  21803. _.operator = t1;
  21804. _.precedence = t2;
  21805. _.isAssociative = t3;
  21806. _.index = t4;
  21807. _._name = t5;
  21808. },
  21809. BooleanExpression0: function BooleanExpression0(t0, t1) {
  21810. this.value = t0;
  21811. this.span = t1;
  21812. },
  21813. booleanClass_closure: function booleanClass_closure() {
  21814. },
  21815. booleanClass__closure: function booleanClass__closure() {
  21816. },
  21817. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  21818. },
  21819. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  21820. },
  21821. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  21822. },
  21823. SassBoolean0: function SassBoolean0(t0) {
  21824. this.value = t0;
  21825. },
  21826. Box0: function Box0(t0, t1) {
  21827. this._box0$_inner = t0;
  21828. this.$ti = t1;
  21829. },
  21830. ModifiableBox0: function ModifiableBox0(t0, t1) {
  21831. this.value = t0;
  21832. this.$ti = t1;
  21833. },
  21834. BuiltInCallable$function0($name, parameters, callback, url) {
  21835. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@function " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), false);
  21836. },
  21837. BuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  21838. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", false, url).parseParameterList$0(), new A.BuiltInCallable$mixin_closure0(callback))], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), acceptsContent);
  21839. },
  21840. BuiltInCallable$overloadedFunction0($name, overloads) {
  21841. var t2, t3, t4, t5, t6, t7, args, callback,
  21842. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  21843. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs0(overloads, t2, type$.Value_Function_List_Value_2), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.FileSpan, t6 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2; t3.moveNext$0();) {
  21844. t7 = t3.get$current(t3);
  21845. args = t7._0;
  21846. callback = t7._1;
  21847. t1.push(new A._Record_2(new A.ScssParser0(false, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), A._setArrayType([], t6), A.SpanScanner$(t4 + args + ") {", null), null).parseParameterList$0(), callback));
  21848. }
  21849. return new A.BuiltInCallable0($name, t1, false);
  21850. },
  21851. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  21852. this.name = t0;
  21853. this._built_in$_overloads = t1;
  21854. this.acceptsContent = t2;
  21855. },
  21856. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  21857. this.callback = t0;
  21858. },
  21859. BuiltInCallable_withDeprecationWarning_closure0: function BuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2, t3) {
  21860. var _ = this;
  21861. _._box_0 = t0;
  21862. _.$this = t1;
  21863. _.module = t2;
  21864. _.newName = t3;
  21865. },
  21866. BuiltInModule$0($name, functions, mixins, variables, $T) {
  21867. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  21868. t2 = A.BuiltInModule__callableMap0(functions, $T),
  21869. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  21870. t4 = variables == null ? B.Map_empty15 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  21871. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  21872. },
  21873. BuiltInModule__callableMap0(callables, $T) {
  21874. var t2, _i, callable,
  21875. t1 = type$.String;
  21876. if (callables == null)
  21877. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21878. else {
  21879. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21880. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  21881. callable = callables[_i];
  21882. t1.$indexSet(0, callable.get$name(callable), callable);
  21883. }
  21884. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21885. }
  21886. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21887. },
  21888. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  21889. var _ = this;
  21890. _.url = t0;
  21891. _.functions = t1;
  21892. _.mixins = t2;
  21893. _.variables = t3;
  21894. _.$ti = t4;
  21895. },
  21896. _assertCalculationValue(arg) {
  21897. var t1;
  21898. $label0$0: {
  21899. if (!(arg instanceof A.SassNumber0))
  21900. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  21901. else
  21902. t1 = true;
  21903. if (t1) {
  21904. t1 = null;
  21905. break $label0$0;
  21906. }
  21907. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  21908. }
  21909. return t1;
  21910. },
  21911. _isValidClampArg(arg) {
  21912. var t1;
  21913. $label0$0: {
  21914. if (!(arg instanceof A.CalculationInterpolation))
  21915. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  21916. else
  21917. t1 = true;
  21918. break $label0$0;
  21919. }
  21920. return t1;
  21921. },
  21922. calculationClass_closure: function calculationClass_closure() {
  21923. },
  21924. calculationClass__closure: function calculationClass__closure() {
  21925. },
  21926. calculationClass__closure0: function calculationClass__closure0() {
  21927. },
  21928. calculationClass__closure1: function calculationClass__closure1() {
  21929. },
  21930. calculationClass__closure2: function calculationClass__closure2() {
  21931. },
  21932. calculationClass__closure3: function calculationClass__closure3() {
  21933. },
  21934. calculationClass__closure4: function calculationClass__closure4() {
  21935. },
  21936. calculationClass__closure5: function calculationClass__closure5() {
  21937. },
  21938. calculationOperationClass_closure: function calculationOperationClass_closure() {
  21939. },
  21940. calculationOperationClass__closure: function calculationOperationClass__closure() {
  21941. },
  21942. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  21943. this.strOperator = t0;
  21944. },
  21945. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  21946. },
  21947. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  21948. },
  21949. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  21950. },
  21951. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  21952. },
  21953. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  21954. },
  21955. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21956. },
  21957. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21958. },
  21959. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21960. },
  21961. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21962. },
  21963. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21964. },
  21965. SassCalculation_calc0(argument) {
  21966. var t1,
  21967. _0_0 = A.SassCalculation__simplify0(argument);
  21968. $label0$0: {
  21969. if (_0_0 instanceof A.SassNumber0) {
  21970. t1 = _0_0;
  21971. break $label0$0;
  21972. }
  21973. if (_0_0 instanceof A.SassCalculation0) {
  21974. t1 = _0_0;
  21975. break $label0$0;
  21976. }
  21977. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21978. break $label0$0;
  21979. }
  21980. return t1;
  21981. },
  21982. SassCalculation_min0($arguments) {
  21983. var minimum, _i, arg, t2,
  21984. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21985. t1 = args.length;
  21986. if (t1 === 0)
  21987. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21988. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21989. arg = args[_i];
  21990. if (arg instanceof A.SassNumber0)
  21991. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21992. else
  21993. t2 = true;
  21994. if (t2) {
  21995. minimum = null;
  21996. break;
  21997. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21998. minimum = arg;
  21999. }
  22000. if (minimum != null)
  22001. return minimum;
  22002. A.SassCalculation__verifyCompatibleNumbers0(args);
  22003. return new A.SassCalculation0("min", args);
  22004. },
  22005. SassCalculation_max0($arguments) {
  22006. var maximum, _i, arg, t2,
  22007. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  22008. t1 = args.length;
  22009. if (t1 === 0)
  22010. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  22011. for (maximum = null, _i = 0; _i < t1; ++_i) {
  22012. arg = args[_i];
  22013. if (arg instanceof A.SassNumber0)
  22014. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  22015. else
  22016. t2 = true;
  22017. if (t2) {
  22018. maximum = null;
  22019. break;
  22020. } else if (maximum == null || maximum.lessThan$1(arg).value)
  22021. maximum = arg;
  22022. }
  22023. if (maximum != null)
  22024. return maximum;
  22025. A.SassCalculation__verifyCompatibleNumbers0(args);
  22026. return new A.SassCalculation0("max", args);
  22027. },
  22028. SassCalculation_hypot0($arguments) {
  22029. var first, subtotal, i, number, value, t2,
  22030. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  22031. t1 = args.length;
  22032. if (t1 === 0)
  22033. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  22034. A.SassCalculation__verifyCompatibleNumbers0(args);
  22035. first = B.JSArray_methods.get$first(args);
  22036. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  22037. return new A.SassCalculation0("hypot", args);
  22038. for (subtotal = 0, i = 0; i < t1;) {
  22039. number = args[i];
  22040. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  22041. return new A.SassCalculation0("hypot", args);
  22042. ++i;
  22043. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  22044. subtotal += value * value;
  22045. }
  22046. t1 = Math.sqrt(subtotal);
  22047. t2 = first.get$numeratorUnits(first);
  22048. return A.SassNumber_SassNumber$withUnits0(t1, first.get$denominatorUnits(first), t2);
  22049. },
  22050. SassCalculation_abs0(argument) {
  22051. argument = A.SassCalculation__simplify0(argument);
  22052. if (!(argument instanceof A.SassNumber0))
  22053. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  22054. if (argument.hasUnit$1("%"))
  22055. A.warnForDeprecation0(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_w3M);
  22056. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  22057. },
  22058. SassCalculation_exp0(argument) {
  22059. argument = A.SassCalculation__simplify0(argument);
  22060. if (!(argument instanceof A.SassNumber0))
  22061. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  22062. argument.assertNoUnits$0();
  22063. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  22064. },
  22065. SassCalculation_sign0(argument) {
  22066. var t1, _0_2, t2, arg;
  22067. argument = A.SassCalculation__simplify0(argument);
  22068. $label0$0: {
  22069. t1 = argument instanceof A.SassNumber0;
  22070. if (t1) {
  22071. _0_2 = argument._number1$_value;
  22072. if (!isNaN(_0_2))
  22073. t2 = 0 === _0_2;
  22074. else
  22075. t2 = true;
  22076. } else
  22077. t2 = false;
  22078. if (t2) {
  22079. t1 = argument;
  22080. break $label0$0;
  22081. }
  22082. if (t1) {
  22083. t1 = !argument.hasUnit$1("%");
  22084. arg = argument;
  22085. } else {
  22086. arg = null;
  22087. t1 = false;
  22088. }
  22089. if (t1) {
  22090. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  22091. break $label0$0;
  22092. }
  22093. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  22094. break $label0$0;
  22095. }
  22096. return t1;
  22097. },
  22098. SassCalculation_clamp0(min, value, max) {
  22099. var t1, args;
  22100. if (value == null && max != null)
  22101. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  22102. min = A.SassCalculation__simplify0(min);
  22103. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  22104. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  22105. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  22106. if (value.lessThanOrEquals$1(min).value)
  22107. return min;
  22108. if (value.greaterThanOrEquals$1(max).value)
  22109. return max;
  22110. return value;
  22111. }
  22112. t1 = [min];
  22113. if (value != null)
  22114. t1.push(value);
  22115. if (max != null)
  22116. t1.push(max);
  22117. args = A.List_List$unmodifiable(t1, type$.Object);
  22118. A.SassCalculation__verifyCompatibleNumbers0(args);
  22119. A.SassCalculation__verifyLength0(args, 3);
  22120. return new A.SassCalculation0("clamp", args);
  22121. },
  22122. SassCalculation_pow0(base, exponent) {
  22123. var t1 = A._setArrayType([base], type$.JSArray_Object);
  22124. if (exponent != null)
  22125. t1.push(exponent);
  22126. A.SassCalculation__verifyLength0(t1, 2);
  22127. base = A.SassCalculation__simplify0(base);
  22128. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  22129. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  22130. return new A.SassCalculation0("pow", t1);
  22131. base.assertNoUnits$0();
  22132. exponent.assertNoUnits$0();
  22133. return A.pow1(base, exponent);
  22134. },
  22135. SassCalculation_log0(number, base) {
  22136. var t1, t2;
  22137. number = A.SassCalculation__simplify0(number);
  22138. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  22139. t1 = A._setArrayType([number], type$.JSArray_Object);
  22140. t2 = base != null;
  22141. if (t2)
  22142. t1.push(base);
  22143. if (number instanceof A.SassNumber0)
  22144. t2 = t2 && !(base instanceof A.SassNumber0);
  22145. else
  22146. t2 = true;
  22147. if (t2)
  22148. return new A.SassCalculation0("log", t1);
  22149. number.assertNoUnits$0();
  22150. if (base instanceof A.SassNumber0) {
  22151. base.assertNoUnits$0();
  22152. return A.log0(number, base);
  22153. }
  22154. return A.log0(number, null);
  22155. },
  22156. SassCalculation_atan20(y, x) {
  22157. var t1;
  22158. y = A.SassCalculation__simplify0(y);
  22159. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  22160. t1 = A._setArrayType([y], type$.JSArray_Object);
  22161. if (x != null)
  22162. t1.push(x);
  22163. A.SassCalculation__verifyLength0(t1, 2);
  22164. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22165. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  22166. return new A.SassCalculation0("atan2", t1);
  22167. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  22168. },
  22169. SassCalculation_rem0(dividend, modulus) {
  22170. var t1, result;
  22171. dividend = A.SassCalculation__simplify0(dividend);
  22172. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22173. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22174. if (modulus != null)
  22175. t1.push(modulus);
  22176. A.SassCalculation__verifyLength0(t1, 2);
  22177. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22178. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22179. return new A.SassCalculation0("rem", t1);
  22180. result = dividend.modulo$1(modulus);
  22181. t1 = modulus._number1$_value;
  22182. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  22183. if (t1 == 1 / 0 || t1 == -1 / 0)
  22184. return dividend;
  22185. if (result._number1$_value === 0)
  22186. return result.unaryMinus$0();
  22187. return result.minus$1(modulus);
  22188. }
  22189. return result;
  22190. },
  22191. SassCalculation_mod0(dividend, modulus) {
  22192. var t1;
  22193. dividend = A.SassCalculation__simplify0(dividend);
  22194. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22195. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22196. if (modulus != null)
  22197. t1.push(modulus);
  22198. A.SassCalculation__verifyLength0(t1, 2);
  22199. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22200. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22201. return new A.SassCalculation0("mod", t1);
  22202. return dividend.modulo$1(modulus);
  22203. },
  22204. SassCalculation_roundInternal0(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  22205. var _0_8_isSet, t2, _0_6_isSet, _0_6_isSet0, _0_14_isSet, _0_14, _0_12, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_16_isSet, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  22206. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  22207. _0_6 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  22208. _0_9 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  22209. _0_8 = _null,
  22210. _0_60 = _null,
  22211. _0_10 = _null,
  22212. _0_10_isSet = false,
  22213. _0_90 = _null,
  22214. _0_9_isSet = false,
  22215. number = _null,
  22216. t1 = false;
  22217. if (_0_1 instanceof A.SassNumber0) {
  22218. _0_8_isSet = !_0_1.get$hasUnits();
  22219. if (_0_8_isSet) {
  22220. _0_8 = _0_6 == null;
  22221. t2 = _0_8;
  22222. if (t2) {
  22223. _0_10 = _0_9 == null;
  22224. t1 = _0_10;
  22225. _0_90 = _0_9;
  22226. _0_10_isSet = true;
  22227. _0_9_isSet = true;
  22228. }
  22229. _0_60 = _0_6;
  22230. number = _0_1;
  22231. }
  22232. _0_6_isSet = _0_8_isSet;
  22233. } else {
  22234. _0_8_isSet = false;
  22235. _0_6_isSet = false;
  22236. }
  22237. if (t1)
  22238. return A.SassNumber_SassNumber0(B.JSNumber_methods.round$0(number._number1$_value), _null);
  22239. t1 = false;
  22240. if (_0_1 instanceof A.SassNumber0) {
  22241. if (_0_8_isSet)
  22242. t2 = _0_8;
  22243. else {
  22244. if (_0_6_isSet)
  22245. t2 = _0_60;
  22246. else {
  22247. t2 = _0_6;
  22248. _0_60 = t2;
  22249. _0_6_isSet = true;
  22250. }
  22251. _0_8 = t2 == null;
  22252. t2 = _0_8;
  22253. _0_8_isSet = true;
  22254. }
  22255. if (t2) {
  22256. if (_0_10_isSet)
  22257. t1 = _0_10;
  22258. else {
  22259. if (_0_9_isSet)
  22260. t1 = _0_90;
  22261. else {
  22262. t1 = _0_9;
  22263. _0_90 = t1;
  22264. _0_9_isSet = true;
  22265. }
  22266. _0_10 = t1 == null;
  22267. t1 = _0_10;
  22268. _0_10_isSet = true;
  22269. }
  22270. t1 = t1 && inLegacySassFunction != null;
  22271. }
  22272. number = _0_1;
  22273. } else
  22274. number = _null;
  22275. if (t1) {
  22276. warn.call$2(string$.In_fut, B.Deprecation_SGB);
  22277. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  22278. t2 = number.get$numeratorUnits(number);
  22279. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  22280. }
  22281. step = _null;
  22282. t1 = false;
  22283. if (_0_1 instanceof A.SassNumber0) {
  22284. _0_6_isSet0 = true;
  22285. if (_0_6_isSet)
  22286. t2 = _0_60;
  22287. else {
  22288. t2 = _0_6;
  22289. _0_6_isSet = _0_6_isSet0;
  22290. _0_60 = t2;
  22291. }
  22292. if (t2 instanceof A.SassNumber0) {
  22293. if (_0_6_isSet)
  22294. t2 = _0_60;
  22295. else {
  22296. t2 = _0_6;
  22297. _0_6_isSet = _0_6_isSet0;
  22298. _0_60 = t2;
  22299. }
  22300. type$.SassNumber_2._as(t2);
  22301. if (_0_10_isSet)
  22302. t1 = _0_10;
  22303. else {
  22304. if (_0_9_isSet)
  22305. t1 = _0_90;
  22306. else {
  22307. t1 = _0_9;
  22308. _0_90 = t1;
  22309. _0_9_isSet = true;
  22310. }
  22311. _0_10 = t1 == null;
  22312. t1 = _0_10;
  22313. _0_10_isSet = true;
  22314. }
  22315. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  22316. step = t2;
  22317. }
  22318. number = _0_1;
  22319. } else
  22320. number = _null;
  22321. if (t1) {
  22322. t1 = type$.JSArray_Object;
  22323. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22324. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  22325. }
  22326. step = _null;
  22327. t1 = false;
  22328. if (_0_1 instanceof A.SassNumber0) {
  22329. _0_6_isSet0 = true;
  22330. if (_0_6_isSet)
  22331. t2 = _0_60;
  22332. else {
  22333. t2 = _0_6;
  22334. _0_6_isSet = _0_6_isSet0;
  22335. _0_60 = t2;
  22336. }
  22337. if (t2 instanceof A.SassNumber0) {
  22338. if (_0_6_isSet)
  22339. t2 = _0_60;
  22340. else {
  22341. t2 = _0_6;
  22342. _0_6_isSet = _0_6_isSet0;
  22343. _0_60 = t2;
  22344. }
  22345. type$.SassNumber_2._as(t2);
  22346. if (_0_10_isSet)
  22347. t1 = _0_10;
  22348. else {
  22349. if (_0_9_isSet)
  22350. t1 = _0_90;
  22351. else {
  22352. t1 = _0_9;
  22353. _0_90 = t1;
  22354. _0_9_isSet = true;
  22355. }
  22356. _0_10 = t1 == null;
  22357. t1 = _0_10;
  22358. _0_10_isSet = true;
  22359. }
  22360. step = t2;
  22361. }
  22362. number = _0_1;
  22363. } else
  22364. number = _null;
  22365. if (t1) {
  22366. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22367. return A.SassCalculation__roundWithStep0("nearest", number, step);
  22368. }
  22369. _0_14_isSet = _0_1 instanceof A.SassString0;
  22370. _0_14 = _null;
  22371. _0_12 = _null;
  22372. _0_16 = _null;
  22373. _0_18 = _null;
  22374. _0_18_isSet = false;
  22375. _0_20 = _null;
  22376. _0_20_isSet = false;
  22377. strategy = _null;
  22378. number = _null;
  22379. step = _null;
  22380. t1 = false;
  22381. if (_0_14_isSet) {
  22382. _0_6_isSet0 = true;
  22383. _0_9_isSet0 = true;
  22384. _0_12 = _0_1._string0$_text;
  22385. t2 = _0_12;
  22386. _0_14 = "nearest" === t2;
  22387. t2 = _0_14;
  22388. _0_16_isSet = !t2;
  22389. t2 = true;
  22390. if (_0_16_isSet) {
  22391. _0_16 = "up" === _0_12;
  22392. t3 = _0_16;
  22393. _0_18_isSet = !t3;
  22394. if (_0_18_isSet) {
  22395. _0_18 = "down" === _0_12;
  22396. t3 = _0_18;
  22397. _0_20_isSet = !t3;
  22398. if (_0_20_isSet) {
  22399. _0_20 = "to-zero" === _0_12;
  22400. t2 = _0_20;
  22401. }
  22402. }
  22403. }
  22404. if (t2) {
  22405. if (_0_6_isSet)
  22406. t2 = _0_60;
  22407. else {
  22408. t2 = _0_6;
  22409. _0_6_isSet = _0_6_isSet0;
  22410. _0_60 = t2;
  22411. }
  22412. if (t2 instanceof A.SassNumber0) {
  22413. if (_0_6_isSet)
  22414. t2 = _0_60;
  22415. else {
  22416. t2 = _0_6;
  22417. _0_6_isSet = _0_6_isSet0;
  22418. _0_60 = t2;
  22419. }
  22420. t3 = type$.SassNumber_2;
  22421. t3._as(t2);
  22422. if (_0_9_isSet)
  22423. t4 = _0_90;
  22424. else {
  22425. t4 = _0_9;
  22426. _0_9_isSet = _0_9_isSet0;
  22427. _0_90 = t4;
  22428. }
  22429. if (t4 instanceof A.SassNumber0) {
  22430. if (_0_9_isSet)
  22431. t1 = _0_90;
  22432. else {
  22433. t1 = _0_9;
  22434. _0_9_isSet = _0_9_isSet0;
  22435. _0_90 = t1;
  22436. }
  22437. t3._as(t1);
  22438. t3 = !t2.hasCompatibleUnits$1(t1);
  22439. step = t1;
  22440. t1 = t3;
  22441. }
  22442. number = t2;
  22443. }
  22444. strategy = _0_1;
  22445. }
  22446. } else
  22447. _0_16_isSet = false;
  22448. if (t1) {
  22449. t1 = type$.JSArray_Object;
  22450. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22451. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  22452. }
  22453. strategy = _null;
  22454. number = _null;
  22455. step = _null;
  22456. t1 = false;
  22457. if (_0_1 instanceof A.SassString0) {
  22458. _0_6_isSet0 = true;
  22459. _0_9_isSet0 = true;
  22460. _0_12_isSet = true;
  22461. if (_0_14_isSet) {
  22462. t2 = _0_14;
  22463. _0_12_isSet0 = _0_14_isSet;
  22464. } else {
  22465. _0_12 = _0_1._string0$_text;
  22466. t2 = _0_12;
  22467. _0_14 = "nearest" === t2;
  22468. t2 = _0_14;
  22469. _0_12_isSet0 = _0_12_isSet;
  22470. _0_14_isSet = true;
  22471. }
  22472. t3 = true;
  22473. if (!t2) {
  22474. if (_0_16_isSet)
  22475. t2 = _0_16;
  22476. else {
  22477. if (_0_12_isSet0)
  22478. t2 = _0_12;
  22479. else {
  22480. _0_12 = _0_1._string0$_text;
  22481. t2 = _0_12;
  22482. _0_12_isSet0 = _0_12_isSet;
  22483. }
  22484. _0_16 = "up" === t2;
  22485. t2 = _0_16;
  22486. _0_16_isSet = true;
  22487. }
  22488. if (!t2) {
  22489. if (_0_18_isSet)
  22490. t2 = _0_18;
  22491. else {
  22492. if (_0_12_isSet0)
  22493. t2 = _0_12;
  22494. else {
  22495. _0_12 = _0_1._string0$_text;
  22496. t2 = _0_12;
  22497. _0_12_isSet0 = _0_12_isSet;
  22498. }
  22499. _0_18 = "down" === t2;
  22500. t2 = _0_18;
  22501. _0_18_isSet = true;
  22502. }
  22503. if (!t2)
  22504. if (_0_20_isSet) {
  22505. t2 = _0_20;
  22506. _0_12_isSet = _0_12_isSet0;
  22507. } else {
  22508. if (_0_12_isSet0) {
  22509. t2 = _0_12;
  22510. _0_12_isSet = _0_12_isSet0;
  22511. } else {
  22512. _0_12 = _0_1._string0$_text;
  22513. t2 = _0_12;
  22514. }
  22515. _0_20 = "to-zero" === t2;
  22516. t2 = _0_20;
  22517. _0_20_isSet = true;
  22518. }
  22519. else {
  22520. t2 = t3;
  22521. _0_12_isSet = _0_12_isSet0;
  22522. }
  22523. } else {
  22524. t2 = t3;
  22525. _0_12_isSet = _0_12_isSet0;
  22526. }
  22527. } else {
  22528. t2 = t3;
  22529. _0_12_isSet = _0_12_isSet0;
  22530. }
  22531. if (t2) {
  22532. if (_0_6_isSet)
  22533. t2 = _0_60;
  22534. else {
  22535. t2 = _0_6;
  22536. _0_6_isSet = _0_6_isSet0;
  22537. _0_60 = t2;
  22538. }
  22539. if (t2 instanceof A.SassNumber0) {
  22540. if (_0_6_isSet)
  22541. t2 = _0_60;
  22542. else {
  22543. t2 = _0_6;
  22544. _0_6_isSet = _0_6_isSet0;
  22545. _0_60 = t2;
  22546. }
  22547. t3 = type$.SassNumber_2;
  22548. t3._as(t2);
  22549. if (_0_9_isSet)
  22550. t1 = _0_90;
  22551. else {
  22552. t1 = _0_9;
  22553. _0_9_isSet = _0_9_isSet0;
  22554. _0_90 = t1;
  22555. }
  22556. t1 = t1 instanceof A.SassNumber0;
  22557. if (t1) {
  22558. if (_0_9_isSet)
  22559. t4 = _0_90;
  22560. else {
  22561. t4 = _0_9;
  22562. _0_9_isSet = _0_9_isSet0;
  22563. _0_90 = t4;
  22564. }
  22565. t3._as(t4);
  22566. step = t4;
  22567. }
  22568. number = t2;
  22569. }
  22570. strategy = _0_1;
  22571. }
  22572. } else
  22573. _0_12_isSet = _0_14_isSet;
  22574. if (t1) {
  22575. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22576. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  22577. }
  22578. strategy = _null;
  22579. rest = _null;
  22580. t1 = false;
  22581. if (_0_1 instanceof A.SassString0) {
  22582. _0_6_isSet0 = true;
  22583. _0_12_isSet0 = true;
  22584. if (_0_14_isSet)
  22585. t2 = _0_14;
  22586. else {
  22587. if (_0_12_isSet)
  22588. t2 = _0_12;
  22589. else {
  22590. _0_12 = _0_1._string0$_text;
  22591. t2 = _0_12;
  22592. _0_12_isSet = _0_12_isSet0;
  22593. }
  22594. _0_14 = "nearest" === t2;
  22595. t2 = _0_14;
  22596. _0_14_isSet = true;
  22597. }
  22598. t3 = true;
  22599. if (!t2) {
  22600. if (_0_16_isSet)
  22601. t2 = _0_16;
  22602. else {
  22603. if (_0_12_isSet)
  22604. t2 = _0_12;
  22605. else {
  22606. _0_12 = _0_1._string0$_text;
  22607. t2 = _0_12;
  22608. _0_12_isSet = _0_12_isSet0;
  22609. }
  22610. _0_16 = "up" === t2;
  22611. t2 = _0_16;
  22612. _0_16_isSet = true;
  22613. }
  22614. if (!t2) {
  22615. if (_0_18_isSet)
  22616. t2 = _0_18;
  22617. else {
  22618. if (_0_12_isSet)
  22619. t2 = _0_12;
  22620. else {
  22621. _0_12 = _0_1._string0$_text;
  22622. t2 = _0_12;
  22623. _0_12_isSet = _0_12_isSet0;
  22624. }
  22625. _0_18 = "down" === t2;
  22626. t2 = _0_18;
  22627. _0_18_isSet = true;
  22628. }
  22629. if (!t2)
  22630. if (_0_20_isSet)
  22631. t2 = _0_20;
  22632. else {
  22633. if (_0_12_isSet)
  22634. t2 = _0_12;
  22635. else {
  22636. _0_12 = _0_1._string0$_text;
  22637. t2 = _0_12;
  22638. _0_12_isSet = _0_12_isSet0;
  22639. }
  22640. _0_20 = "to-zero" === t2;
  22641. t2 = _0_20;
  22642. _0_20_isSet = true;
  22643. }
  22644. else
  22645. t2 = t3;
  22646. } else
  22647. t2 = t3;
  22648. } else
  22649. t2 = t3;
  22650. if (t2) {
  22651. if (_0_6_isSet)
  22652. t2 = _0_60;
  22653. else {
  22654. t2 = _0_6;
  22655. _0_6_isSet = _0_6_isSet0;
  22656. _0_60 = t2;
  22657. }
  22658. if (t2 instanceof A.SassString0) {
  22659. if (_0_6_isSet)
  22660. t2 = _0_60;
  22661. else {
  22662. t2 = _0_6;
  22663. _0_6_isSet = _0_6_isSet0;
  22664. _0_60 = t2;
  22665. }
  22666. type$.SassString_2._as(t2);
  22667. if (_0_10_isSet)
  22668. t1 = _0_10;
  22669. else {
  22670. if (_0_9_isSet)
  22671. t1 = _0_90;
  22672. else {
  22673. t1 = _0_9;
  22674. _0_90 = t1;
  22675. _0_9_isSet = true;
  22676. }
  22677. _0_10 = t1 == null;
  22678. t1 = _0_10;
  22679. _0_10_isSet = true;
  22680. }
  22681. rest = t2;
  22682. }
  22683. strategy = _0_1;
  22684. }
  22685. }
  22686. if (t1)
  22687. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  22688. t1 = false;
  22689. if (_0_1 instanceof A.SassString0) {
  22690. _0_12_isSet0 = true;
  22691. if (_0_14_isSet)
  22692. t2 = _0_14;
  22693. else {
  22694. if (_0_12_isSet)
  22695. t2 = _0_12;
  22696. else {
  22697. _0_12 = _0_1._string0$_text;
  22698. t2 = _0_12;
  22699. _0_12_isSet = _0_12_isSet0;
  22700. }
  22701. _0_14 = "nearest" === t2;
  22702. t2 = _0_14;
  22703. _0_14_isSet = true;
  22704. }
  22705. t3 = true;
  22706. if (!t2) {
  22707. if (_0_16_isSet)
  22708. t2 = _0_16;
  22709. else {
  22710. if (_0_12_isSet)
  22711. t2 = _0_12;
  22712. else {
  22713. _0_12 = _0_1._string0$_text;
  22714. t2 = _0_12;
  22715. _0_12_isSet = _0_12_isSet0;
  22716. }
  22717. _0_16 = "up" === t2;
  22718. t2 = _0_16;
  22719. _0_16_isSet = true;
  22720. }
  22721. if (!t2) {
  22722. if (_0_18_isSet)
  22723. t2 = _0_18;
  22724. else {
  22725. if (_0_12_isSet)
  22726. t2 = _0_12;
  22727. else {
  22728. _0_12 = _0_1._string0$_text;
  22729. t2 = _0_12;
  22730. _0_12_isSet = _0_12_isSet0;
  22731. }
  22732. _0_18 = "down" === t2;
  22733. t2 = _0_18;
  22734. _0_18_isSet = true;
  22735. }
  22736. if (!t2)
  22737. if (_0_20_isSet)
  22738. t2 = _0_20;
  22739. else {
  22740. if (_0_12_isSet)
  22741. t2 = _0_12;
  22742. else {
  22743. _0_12 = _0_1._string0$_text;
  22744. t2 = _0_12;
  22745. _0_12_isSet = _0_12_isSet0;
  22746. }
  22747. _0_20 = "to-zero" === t2;
  22748. t2 = _0_20;
  22749. _0_20_isSet = true;
  22750. }
  22751. else
  22752. t2 = t3;
  22753. } else
  22754. t2 = t3;
  22755. } else
  22756. t2 = t3;
  22757. if (t2) {
  22758. if (_0_6_isSet)
  22759. t2 = _0_60;
  22760. else {
  22761. t2 = _0_6;
  22762. _0_60 = t2;
  22763. _0_6_isSet = true;
  22764. }
  22765. if (t2 != null)
  22766. if (_0_10_isSet)
  22767. t1 = _0_10;
  22768. else {
  22769. if (_0_9_isSet)
  22770. t1 = _0_90;
  22771. else {
  22772. t1 = _0_9;
  22773. _0_90 = t1;
  22774. _0_9_isSet = true;
  22775. }
  22776. _0_10 = t1 == null;
  22777. t1 = _0_10;
  22778. _0_10_isSet = true;
  22779. }
  22780. }
  22781. }
  22782. if (t1)
  22783. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  22784. t1 = false;
  22785. if (_0_1 instanceof A.SassString0) {
  22786. _0_12_isSet0 = true;
  22787. if (_0_14_isSet)
  22788. t2 = _0_14;
  22789. else {
  22790. if (_0_12_isSet)
  22791. t2 = _0_12;
  22792. else {
  22793. _0_12 = _0_1._string0$_text;
  22794. t2 = _0_12;
  22795. _0_12_isSet = _0_12_isSet0;
  22796. }
  22797. _0_14 = "nearest" === t2;
  22798. t2 = _0_14;
  22799. _0_14_isSet = true;
  22800. }
  22801. t3 = true;
  22802. if (!t2) {
  22803. if (_0_16_isSet)
  22804. t2 = _0_16;
  22805. else {
  22806. if (_0_12_isSet)
  22807. t2 = _0_12;
  22808. else {
  22809. _0_12 = _0_1._string0$_text;
  22810. t2 = _0_12;
  22811. _0_12_isSet = _0_12_isSet0;
  22812. }
  22813. _0_16 = "up" === t2;
  22814. t2 = _0_16;
  22815. _0_16_isSet = true;
  22816. }
  22817. if (!t2) {
  22818. if (_0_18_isSet)
  22819. t2 = _0_18;
  22820. else {
  22821. if (_0_12_isSet)
  22822. t2 = _0_12;
  22823. else {
  22824. _0_12 = _0_1._string0$_text;
  22825. t2 = _0_12;
  22826. _0_12_isSet = _0_12_isSet0;
  22827. }
  22828. _0_18 = "down" === t2;
  22829. t2 = _0_18;
  22830. _0_18_isSet = true;
  22831. }
  22832. if (!t2)
  22833. if (_0_20_isSet)
  22834. t2 = _0_20;
  22835. else {
  22836. if (_0_12_isSet)
  22837. t2 = _0_12;
  22838. else {
  22839. _0_12 = _0_1._string0$_text;
  22840. t2 = _0_12;
  22841. _0_12_isSet = _0_12_isSet0;
  22842. }
  22843. _0_20 = "to-zero" === t2;
  22844. t2 = _0_20;
  22845. _0_20_isSet = true;
  22846. }
  22847. else
  22848. t2 = t3;
  22849. } else
  22850. t2 = t3;
  22851. } else
  22852. t2 = t3;
  22853. if (t2) {
  22854. if (_0_8_isSet)
  22855. t2 = _0_8;
  22856. else {
  22857. if (_0_6_isSet)
  22858. t2 = _0_60;
  22859. else {
  22860. t2 = _0_6;
  22861. _0_60 = t2;
  22862. _0_6_isSet = true;
  22863. }
  22864. _0_8 = t2 == null;
  22865. t2 = _0_8;
  22866. _0_8_isSet = true;
  22867. }
  22868. if (t2)
  22869. if (_0_10_isSet)
  22870. t1 = _0_10;
  22871. else {
  22872. if (_0_9_isSet)
  22873. t1 = _0_90;
  22874. else {
  22875. t1 = _0_9;
  22876. _0_90 = t1;
  22877. _0_9_isSet = true;
  22878. }
  22879. _0_10 = t1 == null;
  22880. t1 = _0_10;
  22881. _0_10_isSet = true;
  22882. }
  22883. }
  22884. }
  22885. if (t1)
  22886. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  22887. t1 = false;
  22888. if (_0_8_isSet)
  22889. t2 = _0_8;
  22890. else {
  22891. if (_0_6_isSet)
  22892. t2 = _0_60;
  22893. else {
  22894. t2 = _0_6;
  22895. _0_60 = t2;
  22896. _0_6_isSet = true;
  22897. }
  22898. _0_8 = t2 == null;
  22899. t2 = _0_8;
  22900. }
  22901. if (t2)
  22902. if (_0_10_isSet)
  22903. t1 = _0_10;
  22904. else {
  22905. if (_0_9_isSet)
  22906. t1 = _0_90;
  22907. else {
  22908. t1 = _0_9;
  22909. _0_90 = t1;
  22910. _0_9_isSet = true;
  22911. }
  22912. _0_10 = t1 == null;
  22913. t1 = _0_10;
  22914. _0_10_isSet = true;
  22915. }
  22916. if (t1)
  22917. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  22918. step = _null;
  22919. t1 = false;
  22920. _0_6_isSet0 = true;
  22921. if (_0_6_isSet)
  22922. t2 = _0_60;
  22923. else {
  22924. t2 = _0_6;
  22925. _0_6_isSet = _0_6_isSet0;
  22926. _0_60 = t2;
  22927. }
  22928. if (t2 != null) {
  22929. if (_0_6_isSet)
  22930. step = _0_60;
  22931. else {
  22932. step = _0_6;
  22933. _0_6_isSet = _0_6_isSet0;
  22934. _0_60 = step;
  22935. }
  22936. if (step == null)
  22937. step = A._asObject(step);
  22938. if (_0_10_isSet)
  22939. t1 = _0_10;
  22940. else {
  22941. if (_0_9_isSet)
  22942. t1 = _0_90;
  22943. else {
  22944. t1 = _0_9;
  22945. _0_90 = t1;
  22946. _0_9_isSet = true;
  22947. }
  22948. _0_10 = t1 == null;
  22949. t1 = _0_10;
  22950. }
  22951. }
  22952. if (t1)
  22953. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  22954. if (_0_1 instanceof A.SassString0) {
  22955. t1 = true;
  22956. if (_0_14_isSet)
  22957. t2 = _0_14;
  22958. else {
  22959. if (_0_12_isSet)
  22960. t2 = _0_12;
  22961. else {
  22962. _0_12 = _0_1._string0$_text;
  22963. t2 = _0_12;
  22964. _0_12_isSet = true;
  22965. }
  22966. _0_14 = "nearest" === t2;
  22967. t2 = _0_14;
  22968. }
  22969. if (!t2) {
  22970. if (_0_16_isSet)
  22971. t2 = _0_16;
  22972. else {
  22973. if (_0_12_isSet)
  22974. t2 = _0_12;
  22975. else {
  22976. _0_12 = _0_1._string0$_text;
  22977. t2 = _0_12;
  22978. _0_12_isSet = true;
  22979. }
  22980. _0_16 = "up" === t2;
  22981. t2 = _0_16;
  22982. }
  22983. if (!t2) {
  22984. if (_0_18_isSet)
  22985. t2 = _0_18;
  22986. else {
  22987. if (_0_12_isSet)
  22988. t2 = _0_12;
  22989. else {
  22990. _0_12 = _0_1._string0$_text;
  22991. t2 = _0_12;
  22992. _0_12_isSet = true;
  22993. }
  22994. _0_18 = "down" === t2;
  22995. t2 = _0_18;
  22996. }
  22997. if (!t2)
  22998. if (_0_20_isSet)
  22999. t1 = _0_20;
  23000. else {
  23001. if (_0_12_isSet)
  23002. t1 = _0_12;
  23003. else {
  23004. _0_12 = _0_1._string0$_text;
  23005. t1 = _0_12;
  23006. }
  23007. _0_20 = "to-zero" === t1;
  23008. t1 = _0_20;
  23009. }
  23010. }
  23011. }
  23012. } else
  23013. t1 = false;
  23014. if (!t1)
  23015. if (_0_1 instanceof A.SassString0)
  23016. t1 = _0_1.get$isVar();
  23017. else
  23018. t1 = false;
  23019. else
  23020. t1 = true;
  23021. number = _null;
  23022. step = _null;
  23023. t2 = false;
  23024. if (t1) {
  23025. _0_6_isSet0 = true;
  23026. _0_9_isSet0 = true;
  23027. type$.SassString_2._as(_0_1);
  23028. if (_0_6_isSet)
  23029. t1 = _0_60;
  23030. else {
  23031. t1 = _0_6;
  23032. _0_6_isSet = _0_6_isSet0;
  23033. _0_60 = t1;
  23034. }
  23035. if (t1 != null) {
  23036. if (_0_6_isSet)
  23037. number = _0_60;
  23038. else {
  23039. number = _0_6;
  23040. _0_6_isSet = _0_6_isSet0;
  23041. _0_60 = number;
  23042. }
  23043. if (number == null)
  23044. number = A._asObject(number);
  23045. if (_0_9_isSet)
  23046. t1 = _0_90;
  23047. else {
  23048. t1 = _0_9;
  23049. _0_9_isSet = _0_9_isSet0;
  23050. _0_90 = t1;
  23051. }
  23052. t1 = t1 != null;
  23053. if (t1) {
  23054. if (_0_9_isSet)
  23055. step = _0_90;
  23056. else {
  23057. step = _0_9;
  23058. _0_9_isSet = _0_9_isSet0;
  23059. _0_90 = step;
  23060. }
  23061. if (step == null)
  23062. step = A._asObject(step);
  23063. }
  23064. } else
  23065. t1 = t2;
  23066. strategy = _0_1;
  23067. } else {
  23068. t1 = t2;
  23069. strategy = _null;
  23070. }
  23071. if (t1)
  23072. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  23073. t1 = false;
  23074. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  23075. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  23076. if (t1)
  23077. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  23078. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  23079. throw A.wrapException(t1);
  23080. },
  23081. SassCalculation_calcSize0(basis, value) {
  23082. var t1 = type$.JSArray_Object,
  23083. t2 = A._setArrayType([basis], t1);
  23084. if (value != null)
  23085. t2.push(value);
  23086. A.SassCalculation__verifyLength0(t2, 2);
  23087. basis = A.SassCalculation__simplify0(basis);
  23088. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  23089. t1 = A._setArrayType([basis], t1);
  23090. if (value != null)
  23091. t1.push(value);
  23092. return new A.SassCalculation0("calc-size", t1);
  23093. },
  23094. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify, warn) {
  23095. var compatible, t1;
  23096. if (!simplify)
  23097. return new A.CalculationOperation0(operator, left, right);
  23098. left = A.SassCalculation__simplify0(left);
  23099. right = A.SassCalculation__simplify0(right);
  23100. if (B.CalculationOperator_dpX0 === operator || B.CalculationOperator_KrC0 === operator) {
  23101. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  23102. compatible = left.hasCompatibleUnits$1(right);
  23103. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  23104. warn.call$2("In future versions of Sass, " + inLegacySassFunction + "() will be interpreted as the CSS " + inLegacySassFunction + string$.x28__cal + inLegacySassFunction + string$.x28__ins, B.Deprecation_SGB);
  23105. compatible = true;
  23106. }
  23107. if (compatible)
  23108. return operator === B.CalculationOperator_dpX0 ? left.plus$1(right) : left.minus$1(right);
  23109. }
  23110. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  23111. if (right instanceof A.SassNumber0) {
  23112. t1 = right._number1$_value;
  23113. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  23114. } else
  23115. t1 = false;
  23116. if (t1) {
  23117. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  23118. operator = operator === B.CalculationOperator_dpX0 ? B.CalculationOperator_KrC0 : B.CalculationOperator_dpX0;
  23119. }
  23120. return new A.CalculationOperation0(operator, left, right);
  23121. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  23122. return operator === B.CalculationOperator_LPB0 ? left.times$1(right) : left.dividedBy$1(right);
  23123. else
  23124. return new A.CalculationOperation0(operator, left, right);
  23125. },
  23126. SassCalculation__roundWithStep0(strategy, number, step) {
  23127. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9, _0_9_isSet, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  23128. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  23129. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  23130. _0_2 = number._number1$_value;
  23131. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  23132. t1 = step._number1$_value;
  23133. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  23134. } else
  23135. t1 = false;
  23136. if (!t1) {
  23137. t1 = step._number1$_value;
  23138. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  23139. } else
  23140. t1 = true;
  23141. if (t1) {
  23142. t1 = number.get$numeratorUnits(number);
  23143. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23144. }
  23145. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  23146. return number;
  23147. t1 = step._number1$_value;
  23148. if (t1 == 1 / 0 || t1 == -1 / 0) {
  23149. $label0$0: {
  23150. if (0 === _0_2) {
  23151. t1 = number;
  23152. break $label0$0;
  23153. }
  23154. _0_6 = "nearest" === strategy;
  23155. t1 = _0_6;
  23156. _0_8_isSet = !t1;
  23157. _0_8 = _null;
  23158. if (_0_8_isSet) {
  23159. _0_8 = "to-zero" === strategy;
  23160. t1 = _0_8;
  23161. } else
  23162. t1 = true;
  23163. _0_9 = _null;
  23164. if (t1) {
  23165. _0_9 = _0_2 > 0;
  23166. t1 = _0_9;
  23167. _0_9_isSet = true;
  23168. } else {
  23169. _0_9_isSet = false;
  23170. t1 = false;
  23171. }
  23172. if (t1) {
  23173. t1 = number.get$numeratorUnits(number);
  23174. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23175. break $label0$0;
  23176. }
  23177. if (!_0_6)
  23178. if (_0_8_isSet)
  23179. t1 = _0_8;
  23180. else {
  23181. _0_8 = "to-zero" === strategy;
  23182. t1 = _0_8;
  23183. }
  23184. else
  23185. t1 = true;
  23186. if (t1) {
  23187. t1 = number.get$numeratorUnits(number);
  23188. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23189. break $label0$0;
  23190. }
  23191. _0_11 = "up" === strategy;
  23192. t1 = _0_11;
  23193. if (t1)
  23194. if (_0_9_isSet)
  23195. t1 = _0_9;
  23196. else {
  23197. _0_9 = _0_2 > 0;
  23198. t1 = _0_9;
  23199. }
  23200. else
  23201. t1 = false;
  23202. if (t1) {
  23203. t1 = number.get$numeratorUnits(number);
  23204. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  23205. break $label0$0;
  23206. }
  23207. if (_0_11) {
  23208. t1 = number.get$numeratorUnits(number);
  23209. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23210. break $label0$0;
  23211. }
  23212. _0_13 = "down" === strategy;
  23213. t1 = _0_13;
  23214. if (t1)
  23215. t1 = _0_2 < 0;
  23216. else
  23217. t1 = false;
  23218. if (t1) {
  23219. t1 = number.get$numeratorUnits(number);
  23220. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  23221. break $label0$0;
  23222. }
  23223. if (_0_13) {
  23224. t1 = number.get$numeratorUnits(number);
  23225. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23226. break $label0$0;
  23227. }
  23228. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  23229. }
  23230. return t1;
  23231. }
  23232. stepWithNumberUnit = step.convertValueToMatch$1(number);
  23233. $label1$1: {
  23234. if ("nearest" === strategy) {
  23235. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  23236. t2 = number.get$numeratorUnits(number);
  23237. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23238. t1 = t2;
  23239. break $label1$1;
  23240. }
  23241. if ("up" === strategy) {
  23242. t2 = _0_2 / stepWithNumberUnit;
  23243. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  23244. t2 = number.get$numeratorUnits(number);
  23245. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23246. t1 = t2;
  23247. break $label1$1;
  23248. }
  23249. if ("down" === strategy) {
  23250. t2 = _0_2 / stepWithNumberUnit;
  23251. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  23252. t2 = number.get$numeratorUnits(number);
  23253. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23254. t1 = t2;
  23255. break $label1$1;
  23256. }
  23257. if ("to-zero" === strategy) {
  23258. t1 = _0_2 / stepWithNumberUnit;
  23259. if (_0_2 < 0) {
  23260. t1 = B.JSNumber_methods.ceil$0(t1);
  23261. t2 = number.get$numeratorUnits(number);
  23262. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23263. t1 = t2;
  23264. } else {
  23265. t1 = B.JSNumber_methods.floor$0(t1);
  23266. t2 = number.get$numeratorUnits(number);
  23267. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23268. t1 = t2;
  23269. }
  23270. break $label1$1;
  23271. }
  23272. t1 = number.get$numeratorUnits(number);
  23273. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23274. break $label1$1;
  23275. }
  23276. return t1;
  23277. },
  23278. SassCalculation__simplify0(arg) {
  23279. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, t3, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  23280. _s32_ = " can't be used in a calculation.";
  23281. $label0$0: {
  23282. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  23283. t1 = arg;
  23284. break $label0$0;
  23285. }
  23286. if (arg instanceof A.CalculationInterpolation) {
  23287. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  23288. break $label0$0;
  23289. }
  23290. t1 = arg instanceof A.SassString0;
  23291. t2 = _null;
  23292. if (t1 && !arg._string0$_hasQuotes) {
  23293. t1 = arg;
  23294. break $label0$0;
  23295. }
  23296. if (t1)
  23297. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  23298. _0_11_isSet = arg instanceof A.SassCalculation0;
  23299. _0_15 = _null;
  23300. _0_12 = _null;
  23301. _0_16_isSet = false;
  23302. text = _null;
  23303. t1 = false;
  23304. if (_0_11_isSet) {
  23305. _0_11 = "calc" === arg.name;
  23306. if (_0_11) {
  23307. _0_12 = arg.$arguments;
  23308. _0_15 = _0_12.length === 1;
  23309. t3 = _0_15;
  23310. if (t3) {
  23311. _0_16 = _0_12[0];
  23312. t2 = _0_16;
  23313. if (t2 instanceof A.SassString0) {
  23314. type$.SassString_2._as(_0_16);
  23315. if (!_0_16._string0$_hasQuotes) {
  23316. text = _0_16._string0$_text;
  23317. t1 = A.SassCalculation__needsParentheses0(text);
  23318. }
  23319. }
  23320. _0_16_isSet = true;
  23321. } else
  23322. _0_16 = t2;
  23323. } else
  23324. _0_16 = t2;
  23325. _0_12_isSet = _0_11;
  23326. _0_15_isSet = _0_12_isSet;
  23327. } else {
  23328. _0_16 = t2;
  23329. _0_11 = _null;
  23330. _0_15_isSet = false;
  23331. _0_12_isSet = false;
  23332. }
  23333. if (t1) {
  23334. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  23335. break $label0$0;
  23336. }
  23337. t1 = false;
  23338. if (_0_11_isSet)
  23339. if (_0_11)
  23340. if (_0_15_isSet)
  23341. t1 = _0_15;
  23342. else {
  23343. if (_0_12_isSet)
  23344. t1 = _0_12;
  23345. else {
  23346. _0_12 = arg.$arguments;
  23347. t1 = _0_12;
  23348. _0_12_isSet = true;
  23349. }
  23350. _0_15 = t1.length === 1;
  23351. t1 = _0_15;
  23352. }
  23353. if (t1) {
  23354. if (_0_16_isSet)
  23355. value = _0_16;
  23356. else {
  23357. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  23358. value = _0_16;
  23359. }
  23360. t1 = value;
  23361. break $label0$0;
  23362. }
  23363. if (_0_11_isSet) {
  23364. t1 = arg;
  23365. break $label0$0;
  23366. }
  23367. if (arg instanceof A.Value0)
  23368. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  23369. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  23370. }
  23371. return t1;
  23372. },
  23373. SassCalculation__needsParentheses0(text) {
  23374. var t1, couldBeVar, second, third, fourth, i, t2,
  23375. first = text.charCodeAt(0);
  23376. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  23377. return true;
  23378. t1 = text.length;
  23379. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  23380. if (t1 < 2)
  23381. return false;
  23382. second = text.charCodeAt(1);
  23383. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  23384. return true;
  23385. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  23386. if (t1 < 3)
  23387. return false;
  23388. third = text.charCodeAt(2);
  23389. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  23390. return true;
  23391. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  23392. if (t1 < 4)
  23393. return false;
  23394. fourth = text.charCodeAt(3);
  23395. if (couldBeVar && fourth === 40)
  23396. return true;
  23397. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  23398. return true;
  23399. for (i = 4; i < t1; ++i) {
  23400. t2 = text.charCodeAt(i);
  23401. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  23402. return true;
  23403. }
  23404. return false;
  23405. },
  23406. SassCalculation__verifyCompatibleNumbers0(args) {
  23407. var t1, _i, t2, arg, i, number1, j, number2;
  23408. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  23409. arg = args[_i];
  23410. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  23411. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  23412. }
  23413. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  23414. number1 = args[i];
  23415. if (!(number1 instanceof A.SassNumber0))
  23416. continue;
  23417. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  23418. number2 = args[j];
  23419. if (!(number2 instanceof A.SassNumber0))
  23420. continue;
  23421. if (number1.hasPossiblyCompatibleUnits$1(number2))
  23422. continue;
  23423. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  23424. }
  23425. }
  23426. },
  23427. SassCalculation__verifyLength0(args, expectedLength) {
  23428. var t1;
  23429. if (args.length === expectedLength)
  23430. return;
  23431. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  23432. return;
  23433. t1 = args.length;
  23434. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  23435. },
  23436. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  23437. argument = A.SassCalculation__simplify0(argument);
  23438. if (!(argument instanceof A.SassNumber0))
  23439. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  23440. if (forbidUnits)
  23441. argument.assertNoUnits$0();
  23442. return mathFunc.call$1(argument);
  23443. },
  23444. SassCalculation0: function SassCalculation0(t0, t1) {
  23445. this.name = t0;
  23446. this.$arguments = t1;
  23447. },
  23448. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  23449. },
  23450. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  23451. this._calculation0$_operator = t0;
  23452. this._calculation0$_left = t1;
  23453. this._calculation0$_right = t2;
  23454. },
  23455. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3, t4) {
  23456. var _ = this;
  23457. _.name = t0;
  23458. _.operator = t1;
  23459. _.precedence = t2;
  23460. _.index = t3;
  23461. _._name = t4;
  23462. },
  23463. CalculationInterpolation: function CalculationInterpolation(t0) {
  23464. this._calculation0$_value = t0;
  23465. },
  23466. CallableDeclaration0: function CallableDeclaration0() {
  23467. },
  23468. updateCanonicalizeContextPrototype() {
  23469. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  23470. A.LinkedHashMap_LinkedHashMap$_literal(["fromImport", new A.updateCanonicalizeContextPrototype_closure(), "containingUrl", new A.updateCanonicalizeContextPrototype_closure0()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  23471. return null;
  23472. },
  23473. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  23474. },
  23475. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  23476. },
  23477. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  23478. this._canonicalize_context$_fromImport = t0;
  23479. this._canonicalize_context$_containingUrl = t1;
  23480. this._canonicalize_context$_wasContainingUrlAccessed = false;
  23481. },
  23482. ColorChannel0: function ColorChannel0(t0, t1, t2) {
  23483. this.name = t0;
  23484. this.isPolarAngle = t1;
  23485. this.associatedUnit = t2;
  23486. },
  23487. LinearChannel0: function LinearChannel0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23488. var _ = this;
  23489. _.min = t0;
  23490. _.max = t1;
  23491. _.requiresPercent = t2;
  23492. _.lowerClamped = t3;
  23493. _.upperClamped = t4;
  23494. _.name = t5;
  23495. _.isPolarAngle = t6;
  23496. _.associatedUnit = t7;
  23497. },
  23498. Chokidar0: function Chokidar0() {
  23499. },
  23500. ChokidarOptions0: function ChokidarOptions0() {
  23501. },
  23502. ChokidarWatcher0: function ChokidarWatcher0() {
  23503. },
  23504. InterpolatedClassSelector: function InterpolatedClassSelector(t0) {
  23505. this.name = t0;
  23506. },
  23507. ClassSelector0: function ClassSelector0(t0, t1) {
  23508. this.name = t0;
  23509. this.span = t1;
  23510. },
  23511. ClipGamutMap0: function ClipGamutMap0(t0) {
  23512. this.name = t0;
  23513. },
  23514. cloneCssStylesheet0(stylesheet, extensionStore) {
  23515. var _0_0 = extensionStore.clone$0();
  23516. return new A._Record_2(new A._CloneCssVisitor0(_0_0._1)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  23517. },
  23518. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  23519. this._clone_css$_oldToNewSelectors = t0;
  23520. },
  23521. ColorExpression0: function ColorExpression0(t0, t1) {
  23522. this.value = t0;
  23523. this.span = t1;
  23524. },
  23525. _invert0($arguments, global) {
  23526. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  23527. t1 = J.getInterceptor$asx($arguments),
  23528. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  23529. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0))
  23530. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  23531. else
  23532. t2 = true;
  23533. if (t2) {
  23534. if (weightNumber._number1$_value !== 100 || !weightNumber.hasUnit$1("%"))
  23535. throw A.wrapException(string$.Only_oa);
  23536. return A._functionString0("invert", t1.take$1($arguments, 1));
  23537. }
  23538. color = t1.$index($arguments, 0).assertColor$1("color");
  23539. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0)) {
  23540. t1 = color._color0$_space;
  23541. if (!t1.get$isLegacyInternal())
  23542. throw A.wrapException(A.SassScriptException$0(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  23543. A._checkPercent0(weightNumber, _s6_);
  23544. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  23545. channel2 = B.LinearChannel_vJ30;
  23546. return A._mixLegacy0(A.SassColor_SassColor$rgbInternal0(A._invertChannel0(rgb, B.LinearChannel_qXC0, rgb.channel0OrNull), A._invertChannel0(rgb, B.LinearChannel_Z5r0, rgb.channel1OrNull), A._invertChannel0(rgb, channel2, rgb.channel2OrNull), color.alphaOrNull, null), color, weightNumber).toSpace$1(t1);
  23547. }
  23548. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  23549. t1.assertUnquoted$1(_s5_);
  23550. space = A.ColorSpace_fromName0(t1._string0$_text, _s5_);
  23551. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  23552. if (A.fuzzyEquals0(weight, 0))
  23553. return color;
  23554. inSpace = color.toSpace$1(space);
  23555. $label0$0: {
  23556. if (B.HwbColorSpace_guQ0 === space) {
  23557. t1 = A._invertChannel0(inSpace, space._space$_channels[0], inSpace.channel0OrNull);
  23558. t2 = inSpace.alphaOrNull;
  23559. if (t2 == null)
  23560. t2 = 0;
  23561. t2 = A.SassColor_SassColor$hwb0(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  23562. t1 = t2;
  23563. break $label0$0;
  23564. }
  23565. if (B.HslColorSpace_JQ20 === space || B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  23566. t1 = space._space$_channels;
  23567. t2 = A._invertChannel0(inSpace, t1[0], inSpace.channel0OrNull);
  23568. t1 = A._invertChannel0(inSpace, t1[2], inSpace.channel2OrNull);
  23569. t3 = inSpace.alphaOrNull;
  23570. if (t3 == null)
  23571. t3 = 0;
  23572. t3 = A.SassColor_SassColor$forSpaceInternal0(space, t2, inSpace.channel1OrNull, t1, t3);
  23573. t1 = t3;
  23574. break $label0$0;
  23575. }
  23576. _1_9 = space._space$_channels;
  23577. channel0 = _1_9[0];
  23578. channel1 = _1_9[1];
  23579. channel2 = _1_9[2];
  23580. t1 = A._invertChannel0(inSpace, channel0, inSpace.channel0OrNull);
  23581. t2 = A._invertChannel0(inSpace, channel1, inSpace.channel1OrNull);
  23582. t3 = A._invertChannel0(inSpace, channel2, inSpace.channel2OrNull);
  23583. t4 = inSpace.alphaOrNull;
  23584. t1 = A.SassColor_SassColor$forSpaceInternal0(space, t1, t2, t3, t4 == null ? 0 : t4);
  23585. break $label0$0;
  23586. }
  23587. return A.fuzzyEquals0(weight, 1) ? t1.toSpace$2$legacyMissing(color._color0$_space, false) : color.interpolate$4$legacyMissing$weight(t1, A.InterpolationMethod$0(space, null), false, 1 - weight);
  23588. },
  23589. _invertChannel0(color, channel, value) {
  23590. var _0_2_isSet, _0_2, t1;
  23591. if (value == null)
  23592. A._missingChannelError0(color, channel.name);
  23593. $label0$0: {
  23594. _0_2_isSet = channel instanceof A.LinearChannel0;
  23595. _0_2 = null;
  23596. if (_0_2_isSet) {
  23597. _0_2 = channel.min;
  23598. t1 = _0_2;
  23599. t1 = t1 < 0;
  23600. } else
  23601. t1 = false;
  23602. if (t1) {
  23603. t1 = -value;
  23604. break $label0$0;
  23605. }
  23606. if (_0_2_isSet)
  23607. t1 = 0 === _0_2;
  23608. else
  23609. t1 = false;
  23610. if (t1) {
  23611. t1 = channel.max - value;
  23612. break $label0$0;
  23613. }
  23614. if (channel.isPolarAngle) {
  23615. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  23616. break $label0$0;
  23617. }
  23618. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  23619. }
  23620. return t1;
  23621. },
  23622. _grayscale0(colorArg) {
  23623. var hsl, t2, oklch,
  23624. color = colorArg.assertColor$1("color"),
  23625. t1 = color._color0$_space;
  23626. if (t1.get$isLegacyInternal()) {
  23627. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  23628. t2 = hsl.alphaOrNull;
  23629. if (t2 == null)
  23630. t2 = 0;
  23631. return A.SassColor_SassColor$hsl0(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  23632. } else {
  23633. oklch = color.toSpace$1(B.OklchColorSpace_9Gj0);
  23634. t2 = oklch.alphaOrNull;
  23635. if (t2 == null)
  23636. t2 = 0;
  23637. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  23638. }
  23639. },
  23640. _updateComponents0($arguments, adjust, change, scale) {
  23641. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  23642. t1 = J.getInterceptor$asx($arguments),
  23643. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  23644. if (argumentList._list1$_contents.length !== 0)
  23645. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  23646. argumentList._argument_list$_wereKeywordsAccessed = true;
  23647. t2 = type$.String;
  23648. t3 = type$.Value_2;
  23649. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, t2, t3);
  23650. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  23651. t1 = keywords.remove$1(0, _s5_);
  23652. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  23653. if (spaceKeyword == null)
  23654. spaceKeyword = _null;
  23655. else
  23656. spaceKeyword.assertUnquoted$1(_s5_);
  23657. alphaArg = keywords.remove$1(0, "alpha");
  23658. t1 = spaceKeyword == null;
  23659. if (t1 && originalColor._color0$_space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  23660. t1 = A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(keywords), new A._updateComponents_closure1(originalColor));
  23661. color = t1 == null ? originalColor : t1;
  23662. } else
  23663. color = A._colorInSpace0(originalColor, t1 ? B.C__SassNull0 : spaceKeyword, true);
  23664. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value_2);
  23665. t1 = color._color0$_space;
  23666. channelInfo = t1._space$_channels;
  23667. for (t2 = A.MapExtensions_get_pairs0(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23668. t3 = {};
  23669. t4 = t2.get$current(t2);
  23670. t3.name = null;
  23671. t3.name = t4._0;
  23672. value = t4._1;
  23673. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure2(t3));
  23674. if (channelIndex === -1)
  23675. throw A.wrapException(A.SassScriptException$0("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  23676. channelArgs[channelIndex] = value;
  23677. }
  23678. if (change)
  23679. result = A._changeColor0(color, channelArgs, alphaArg);
  23680. else {
  23681. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber_2);
  23682. for (i = 0; i < 3; ++i) {
  23683. t3 = channelArgs[i];
  23684. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  23685. }
  23686. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  23687. result = scale ? A.SassColor_SassColor$forSpaceInternal0(t1, A._scaleChannel0(color, channelInfo[0], color.channel0OrNull, t2[0]), A._scaleChannel0(color, channelInfo[1], color.channel1OrNull, t2[1]), A._scaleChannel0(color, channelInfo[2], color.channel2OrNull, t2[2]), A._scaleChannel0(color, B.LinearChannel_XL80, color.alphaOrNull, alphaNumber)) : A._adjustColor0(color, t2, alphaNumber);
  23688. }
  23689. return result.toSpace$2$legacyMissing(originalColor._color0$_space, false);
  23690. },
  23691. _changeColor0(color, channelArgs, alphaArg) {
  23692. var t4, _s5_ = "alpha",
  23693. t1 = A._channelForChange0(channelArgs[0], color, 0),
  23694. t2 = A._channelForChange0(channelArgs[1], color, 1),
  23695. t3 = A._channelForChange0(channelArgs[2], color, 2);
  23696. $label0$0: {
  23697. if (alphaArg == null) {
  23698. t4 = color.alphaOrNull;
  23699. if (t4 == null)
  23700. t4 = 0;
  23701. break $label0$0;
  23702. }
  23703. t4 = A._isNone0(alphaArg);
  23704. if (t4) {
  23705. t4 = null;
  23706. break $label0$0;
  23707. }
  23708. t4 = alphaArg instanceof A.SassNumber0;
  23709. if (t4 && !alphaArg.get$hasUnits()) {
  23710. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  23711. break $label0$0;
  23712. }
  23713. if (t4 && alphaArg.hasUnit$1("%")) {
  23714. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  23715. break $label0$0;
  23716. }
  23717. if (t4) {
  23718. t4 = new A._changeColor_closure0(alphaArg).call$0();
  23719. break $label0$0;
  23720. }
  23721. t4 = A.throwExpression(A.SassScriptException$0(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  23722. }
  23723. return A._colorFromChannels0(color._color0$_space, t1, t2, t3, t4, false, false);
  23724. },
  23725. _channelForChange0(channelArg, color, channel) {
  23726. var _0_0, t1, t2;
  23727. if (channelArg == null) {
  23728. _0_0 = color.get$channelsOrNull()[channel];
  23729. $label0$0: {
  23730. if (_0_0 != null) {
  23731. t1 = color._color0$_space;
  23732. t2 = A.SassNumber_SassNumber0(_0_0, (t1 === B.HslColorSpace_JQ20 || t1 === B.HwbColorSpace_guQ0) && channel > 0 ? "%" : null);
  23733. t1 = t2;
  23734. break $label0$0;
  23735. }
  23736. t1 = null;
  23737. break $label0$0;
  23738. }
  23739. return t1;
  23740. }
  23741. if (A._isNone0(channelArg))
  23742. return null;
  23743. if (channelArg instanceof A.SassNumber0)
  23744. return channelArg;
  23745. throw A.wrapException(A.SassScriptException$0(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._color0$_space._space$_channels[channel].name));
  23746. },
  23747. _scaleChannel0(color, channel, oldValue, factorArg) {
  23748. var t1, factor;
  23749. if (factorArg == null)
  23750. return oldValue;
  23751. if (!(channel instanceof A.LinearChannel0))
  23752. throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.", channel.name));
  23753. if (oldValue == null)
  23754. A._missingChannelError0(color, channel.name);
  23755. t1 = channel.name;
  23756. factorArg.assertUnit$2("%", t1);
  23757. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  23758. $label0$0: {
  23759. if (0 === factor) {
  23760. t1 = oldValue;
  23761. break $label0$0;
  23762. }
  23763. if (factor > 0) {
  23764. t1 = channel.max;
  23765. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  23766. break $label0$0;
  23767. }
  23768. t1 = channel.min;
  23769. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  23770. break $label0$0;
  23771. }
  23772. return t1;
  23773. },
  23774. _adjustColor0(color, channelArgs, alphaArg) {
  23775. var t1 = color._color0$_space,
  23776. t2 = t1._space$_channels;
  23777. return A.SassColor_SassColor$forSpaceInternal0(t1, A._adjustChannel0(color, t2[0], color.channel0OrNull, channelArgs[0]), A._adjustChannel0(color, t2[1], color.channel1OrNull, channelArgs[1]), A._adjustChannel0(color, t2[2], color.channel2OrNull, channelArgs[2]), A.NullableExtension_andThen0(A._adjustChannel0(color, B.LinearChannel_XL80, color.alphaOrNull, alphaArg), new A._adjustColor_closure0()));
  23778. },
  23779. _adjustChannel0(color, channel, oldValue, adjustmentArg) {
  23780. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  23781. if (adjustmentArg == null)
  23782. return oldValue;
  23783. if (oldValue == null)
  23784. A._missingChannelError0(color, channel.name);
  23785. $label0$0: {
  23786. _0_1 = color._color0$_space;
  23787. _0_3 = B.HslColorSpace_JQ20 === _0_1;
  23788. t1 = _0_3;
  23789. if (!t1)
  23790. _0_6_isSet = B.HwbColorSpace_guQ0 === _0_1;
  23791. else
  23792. _0_6_isSet = true;
  23793. if (_0_6_isSet) {
  23794. t1 = channel.isPolarAngle;
  23795. _0_6 = channel;
  23796. } else {
  23797. _0_6 = _null;
  23798. t1 = false;
  23799. }
  23800. if (t1) {
  23801. adjustmentArg = A.SassNumber_SassNumber0(A._angleValue0(adjustmentArg, "hue"), _null);
  23802. break $label0$0;
  23803. }
  23804. t1 = false;
  23805. if (_0_3) {
  23806. _0_6_isSet0 = true;
  23807. if (_0_6_isSet)
  23808. t2 = _0_6;
  23809. else {
  23810. t2 = channel;
  23811. _0_6_isSet = _0_6_isSet0;
  23812. _0_6 = t2;
  23813. }
  23814. if (t2 instanceof A.LinearChannel0) {
  23815. if (_0_6_isSet)
  23816. t1 = _0_6;
  23817. else {
  23818. t1 = channel;
  23819. _0_6_isSet = _0_6_isSet0;
  23820. _0_6 = t1;
  23821. }
  23822. _0_11 = type$.LinearChannel_2._as(t1).name;
  23823. t1 = _0_11;
  23824. if ("saturation" !== t1)
  23825. t1 = "lightness" === _0_11;
  23826. else
  23827. t1 = true;
  23828. }
  23829. }
  23830. if (t1) {
  23831. A._checkPercent0(adjustmentArg, channel.name);
  23832. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, "%");
  23833. break $label0$0;
  23834. }
  23835. if (B.LinearChannel_XL80 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  23836. A.warnForDeprecation0("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_PHd);
  23837. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, _null);
  23838. }
  23839. }
  23840. t1 = A._channelFromValue0(channel, adjustmentArg, false);
  23841. t1.toString;
  23842. result = oldValue + t1;
  23843. $label1$1: {
  23844. t1 = channel instanceof A.LinearChannel0;
  23845. min = _null;
  23846. t2 = false;
  23847. if (t1)
  23848. if (channel.lowerClamped) {
  23849. min = channel.min;
  23850. t2 = result < min;
  23851. }
  23852. if (t2) {
  23853. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  23854. break $label1$1;
  23855. }
  23856. max = _null;
  23857. t2 = false;
  23858. if (t1)
  23859. if (channel.upperClamped) {
  23860. max = channel.max;
  23861. t1 = result > max;
  23862. } else
  23863. t1 = t2;
  23864. else
  23865. t1 = t2;
  23866. if (t1) {
  23867. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  23868. break $label1$1;
  23869. }
  23870. t1 = result;
  23871. break $label1$1;
  23872. }
  23873. return t1;
  23874. },
  23875. _sniffLegacyColorSpace0(keywords) {
  23876. var t1, t2;
  23877. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  23878. t2 = t1.__js_helper$_current;
  23879. if ("red" === t2 || "green" === t2 || "blue" === t2)
  23880. return B.RgbColorSpace_i0P0;
  23881. if ("saturation" === t2 || "lightness" === t2)
  23882. return B.HslColorSpace_JQ20;
  23883. if ("whiteness" === t2 || "blackness" === t2)
  23884. return B.HwbColorSpace_guQ0;
  23885. }
  23886. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ20 : null;
  23887. },
  23888. _functionString0($name, $arguments) {
  23889. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  23890. },
  23891. _removedColorFunction0($name, argument, negative) {
  23892. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  23893. },
  23894. _rgb0($name, $arguments) {
  23895. var t3, t4,
  23896. t1 = J.getInterceptor$asx($arguments),
  23897. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23898. t2 = true;
  23899. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23900. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23901. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23902. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23903. t2 = t2 === true;
  23904. }
  23905. if (t2)
  23906. return A._functionString0($name, $arguments);
  23907. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  23908. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  23909. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  23910. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  23911. return A._colorFromChannels0(B.RgbColorSpace_i0P0, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  23912. },
  23913. _rgbTwoArg0($name, $arguments) {
  23914. var t2, color,
  23915. t1 = J.getInterceptor$asx($arguments),
  23916. first = t1.$index($arguments, 0),
  23917. second = t1.$index($arguments, 1);
  23918. if (!first.get$isVar())
  23919. t2 = !(first instanceof A.SassColor0) && second.get$isVar();
  23920. else
  23921. t2 = true;
  23922. if (t2)
  23923. return A._functionString0($name, $arguments);
  23924. color = first.assertColor$1("color");
  23925. if (!color._color0$_space.get$isLegacyInternal())
  23926. throw A.wrapException(A.SassScriptException$0("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  23927. color.assertLegacy$1("color");
  23928. color = color.toSpace$1(B.RgbColorSpace_i0P0);
  23929. if (second.get$isSpecialNumber())
  23930. return A._functionString0($name, A._setArrayType([A.SassNumber_SassNumber0(color.channel$1(0, "red"), null), A.SassNumber_SassNumber0(color.channel$1(0, "green"), null), A.SassNumber_SassNumber0(color.channel$1(0, "blue"), null), t1.$index($arguments, 1)], type$.JSArray_Value_2));
  23931. t1 = A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  23932. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23933. },
  23934. _hsl0($name, $arguments) {
  23935. var t3, t4,
  23936. t1 = J.getInterceptor$asx($arguments),
  23937. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23938. t2 = true;
  23939. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23940. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23941. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23942. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23943. t2 = t2 === true;
  23944. }
  23945. if (t2)
  23946. return A._functionString0($name, $arguments);
  23947. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  23948. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  23949. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  23950. t4 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  23951. return A._colorFromChannels0(B.HslColorSpace_JQ20, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  23952. },
  23953. _angleValue0(angleValue, $name) {
  23954. var angle = angleValue.assertNumber$1($name);
  23955. if (angle.compatibleWithUnit$1("deg"))
  23956. return angle.coerceValueToUnit$1("deg");
  23957. A.warnForDeprecation0("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d_ + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_PHd);
  23958. return angle._number1$_value;
  23959. },
  23960. _checkPercent0(number, $name) {
  23961. if (number.hasUnit$1("%"))
  23962. return;
  23963. A.warnForDeprecation0("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d_ + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3af, B.Deprecation_PHd);
  23964. },
  23965. _percentageOrUnitless0(number, max, $name) {
  23966. var value;
  23967. if (!number.get$hasUnits())
  23968. value = number._number1$_value;
  23969. else if (number.hasUnit$1("%"))
  23970. value = max * number._number1$_value / 100;
  23971. else
  23972. throw A.wrapException(A.SassScriptException$0("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  23973. return value;
  23974. },
  23975. _mixLegacy0(color1, color2, weight) {
  23976. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  23977. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P0),
  23978. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P0),
  23979. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  23980. normalizedWeight = weightScale * 2 - 1,
  23981. t1 = color1.alphaOrNull;
  23982. if (t1 == null)
  23983. t1 = 0;
  23984. t2 = color2.alphaOrNull;
  23985. alphaDistance = t1 - (t2 == null ? 0 : t2);
  23986. t1 = normalizedWeight * alphaDistance;
  23987. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  23988. weight2 = 1 - weight1;
  23989. t1 = rgb1.channel0OrNull;
  23990. if (t1 == null)
  23991. t1 = 0;
  23992. t2 = rgb2.channel0OrNull;
  23993. if (t2 == null)
  23994. t2 = 0;
  23995. t3 = rgb1.channel1OrNull;
  23996. if (t3 == null)
  23997. t3 = 0;
  23998. t4 = rgb2.channel1OrNull;
  23999. if (t4 == null)
  24000. t4 = 0;
  24001. t5 = rgb1.channel2OrNull;
  24002. if (t5 == null)
  24003. t5 = 0;
  24004. t6 = rgb2.channel2OrNull;
  24005. if (t6 == null)
  24006. t6 = 0;
  24007. t7 = rgb1.alphaOrNull;
  24008. if (t7 == null)
  24009. t7 = 0;
  24010. t8 = rgb2.alphaOrNull;
  24011. if (t8 == null)
  24012. t8 = 0;
  24013. return A.SassColor_SassColor$rgbInternal0(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  24014. },
  24015. _opacify0($name, $arguments) {
  24016. var result,
  24017. t1 = J.getInterceptor$asx($arguments),
  24018. color = t1.$index($arguments, 0).assertColor$1("color"),
  24019. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  24020. if (!color._color0$_space.get$isLegacyInternal())
  24021. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  24022. t1 = color.alphaOrNull;
  24023. if (t1 == null)
  24024. t1 = 0;
  24025. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  24026. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  24027. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_hJG);
  24028. return result;
  24029. },
  24030. _transparentize0($name, $arguments) {
  24031. var result,
  24032. t1 = J.getInterceptor$asx($arguments),
  24033. color = t1.$index($arguments, 0).assertColor$1("color"),
  24034. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  24035. if (!color._color0$_space.get$isLegacyInternal())
  24036. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  24037. t1 = color.alphaOrNull;
  24038. if (t1 == null)
  24039. t1 = 0;
  24040. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  24041. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  24042. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_hJG);
  24043. return result;
  24044. },
  24045. _colorInSpace0(colorUntyped, spaceUntyped, legacyMissing) {
  24046. var t1, _s5_ = "space",
  24047. color = colorUntyped.assertColor$1("color");
  24048. if (spaceUntyped.$eq(0, B.C__SassNull0))
  24049. return color;
  24050. t1 = spaceUntyped.assertString$1(_s5_);
  24051. t1.assertUnquoted$1(_s5_);
  24052. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName0(t1._string0$_text, _s5_), legacyMissing);
  24053. },
  24054. _parseChannels0(functionName, input, $name, space) {
  24055. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, t1, t2, _2_6, _2_6_isSet, channels, first, rest, componentList, spaceName, i, channel, channelName, t3, t4, _null = null;
  24056. if (input.get$isVar())
  24057. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24058. parsedSlash = A._parseSlashChannels0(input, $name);
  24059. if (parsedSlash == null)
  24060. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24061. components = parsedSlash._0;
  24062. alphaValue = parsedSlash._1;
  24063. $label0$0: {
  24064. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  24065. _2_1 = _2_0.length;
  24066. if (_2_1 <= 0)
  24067. throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.", $name));
  24068. _2_5 = _2_1 >= 1;
  24069. t1 = _2_5;
  24070. t2 = false;
  24071. if (t1) {
  24072. _2_6 = _2_0[0];
  24073. if (_2_6 instanceof A.SassString0) {
  24074. type$.SassString_2._as(_2_6);
  24075. t1 = !_2_6._string0$_hasQuotes && _2_6._string0$_text.toLowerCase() === "from";
  24076. } else
  24077. t1 = t2;
  24078. _2_6_isSet = true;
  24079. } else {
  24080. t1 = t2;
  24081. _2_6 = _null;
  24082. _2_6_isSet = false;
  24083. }
  24084. if (t1)
  24085. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24086. t1 = components.get$isVar();
  24087. if (t1) {
  24088. channels = A._setArrayType([components], type$.JSArray_Value_2);
  24089. break $label0$0;
  24090. }
  24091. channels = _null;
  24092. if (_2_5) {
  24093. first = _2_6_isSet ? _2_6 : _2_0[0];
  24094. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  24095. componentList = _2_0;
  24096. t1 = true;
  24097. } else {
  24098. componentList = channels;
  24099. rest = componentList;
  24100. first = _null;
  24101. t1 = false;
  24102. }
  24103. if (t1) {
  24104. if (space == null) {
  24105. spaceName = first.assertString$1($name);
  24106. spaceName.assertUnquoted$1($name);
  24107. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName0(spaceName._string0$_text, $name);
  24108. if (B.RgbColorSpace_i0P0 === space || B.HslColorSpace_JQ20 === space || B.HwbColorSpace_guQ0 === space || B.LabColorSpace_2nT0 === space || B.LchColorSpace_Bpv0 === space || B.OklabColorSpace_5400 === space || B.OklchColorSpace_9Gj0 === space)
  24109. throw A.wrapException(A.SassScriptException$0(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  24110. channels = rest;
  24111. } else
  24112. channels = componentList;
  24113. for (i = 0; i < channels.length; ++i) {
  24114. channel = channels[i];
  24115. t1 = false;
  24116. if (!channel.get$isSpecialNumber())
  24117. if (!(channel instanceof A.SassNumber0))
  24118. t1 = !(channel instanceof A.SassString0 && !channel._string0$_hasQuotes && channel._string0$_text.toLowerCase() === "none");
  24119. if (t1) {
  24120. t1 = _null;
  24121. if (space == null)
  24122. channelName = t1;
  24123. else {
  24124. t2 = space._space$_channels;
  24125. t2 = i < 3 ? t2[i] : _null;
  24126. if (!(t2 == null))
  24127. t1 = new A._parseChannels_closure1().call$1(t2.name);
  24128. channelName = t1;
  24129. }
  24130. if (channelName == null)
  24131. channelName = "channel " + (i + 1);
  24132. throw A.wrapException(A.SassScriptException$0("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  24133. }
  24134. }
  24135. break $label0$0;
  24136. }
  24137. throw A.wrapException("unreachable");
  24138. }
  24139. t1 = alphaValue == null;
  24140. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  24141. if (t2 === true) {
  24142. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24143. t1 = A.List_List$_of(channels, type$.Value_2);
  24144. alphaValue.toString;
  24145. t1.push(alphaValue);
  24146. t1 = A._functionString0(functionName, t1);
  24147. } else
  24148. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24149. return t1;
  24150. }
  24151. $label1$1: {
  24152. if (t1) {
  24153. t2 = 1;
  24154. break $label1$1;
  24155. }
  24156. if (alphaValue instanceof A.SassString0 && !alphaValue._string0$_hasQuotes && "none" === alphaValue._string0$_text) {
  24157. t2 = _null;
  24158. break $label1$1;
  24159. }
  24160. t2 = A._percentageOrUnitless0(alphaValue.assertNumber$1($name), 1, "alpha");
  24161. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  24162. break $label1$1;
  24163. }
  24164. if (space == null)
  24165. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24166. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure2())) {
  24167. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24168. t2 = A.List_List$_of(channels, type$.Value_2);
  24169. if (!t1)
  24170. t2.push(alphaValue);
  24171. t1 = A._functionString0(functionName, t2);
  24172. } else
  24173. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24174. return t1;
  24175. }
  24176. if (channels.length !== 3)
  24177. throw A.wrapException(A.SassScriptException$0("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  24178. t1 = channels[0];
  24179. t1 = t1 instanceof A.SassNumber0 ? t1 : _null;
  24180. t3 = channels[1];
  24181. t3 = t3 instanceof A.SassNumber0 ? t3 : _null;
  24182. t4 = channels[2];
  24183. t4 = t4 instanceof A.SassNumber0 ? t4 : _null;
  24184. return A._colorFromChannels0(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P0);
  24185. },
  24186. _parseSlashChannels0(input, $name) {
  24187. var _1_1, alphaValue, t1, components, _1_7, _1_8, _1_9, initial, t2, _1_8_isSet, _1_9_isSet, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet0, t3, _null = null,
  24188. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  24189. $label0$0: {
  24190. _1_1 = _1_0.length;
  24191. alphaValue = _null;
  24192. t1 = false;
  24193. if (_1_1 === 2) {
  24194. components = _1_0[0];
  24195. alphaValue = _1_0[1];
  24196. t1 = input.get$separator(input) === B.ListSeparator_Lul0;
  24197. } else
  24198. components = _null;
  24199. if (t1) {
  24200. t1 = new A._Record_2(components, alphaValue);
  24201. break $label0$0;
  24202. }
  24203. t1 = input.get$separator(input);
  24204. if (t1 === B.ListSeparator_Lul0) {
  24205. t1 = _1_0.length;
  24206. A.throwExpression(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", $name));
  24207. }
  24208. _1_7 = _1_1 >= 1;
  24209. t1 = _1_7;
  24210. _1_8 = _null;
  24211. _1_9 = _null;
  24212. initial = _null;
  24213. t2 = false;
  24214. if (t1) {
  24215. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24216. initial = _1_8;
  24217. _1_9 = _1_0[_1_1 - 1];
  24218. t1 = _1_9;
  24219. if (t1 instanceof A.SassString0) {
  24220. type$.SassString_2._as(_1_9);
  24221. t1 = !_1_9._string0$_hasQuotes;
  24222. } else
  24223. t1 = t2;
  24224. _1_8_isSet = true;
  24225. _1_9_isSet = true;
  24226. } else {
  24227. t1 = t2;
  24228. _1_8_isSet = false;
  24229. _1_9_isSet = false;
  24230. }
  24231. if (t1) {
  24232. if (_1_9_isSet)
  24233. t1 = _1_9;
  24234. else {
  24235. _1_9 = _1_0[_1_1 - 1];
  24236. t1 = _1_9;
  24237. }
  24238. _0_0 = type$.SassString_2._as(t1)._string0$_text.split("/");
  24239. $label1$1: {
  24240. _0_1 = _0_0.length;
  24241. if (_0_1 === 1) {
  24242. t1 = new A._Record_2(input, _null);
  24243. break $label1$1;
  24244. }
  24245. if (_0_1 === 2) {
  24246. channel3 = _0_0[0];
  24247. alpha = _0_0[1];
  24248. t1 = A.List_List$_of(initial, type$.Value_2);
  24249. t1.push(A._parseNumberOrString0(channel3));
  24250. t1 = new A._Record_2(A.SassList$0(t1, B.ListSeparator_SrV0, false), A._parseNumberOrString0(alpha));
  24251. break $label1$1;
  24252. }
  24253. t1 = _null;
  24254. break $label1$1;
  24255. }
  24256. break $label0$0;
  24257. }
  24258. _1_16 = _null;
  24259. _1_16_isSet = false;
  24260. t1 = false;
  24261. if (_1_7) {
  24262. _1_9_isSet0 = true;
  24263. if (_1_8_isSet)
  24264. initial = _1_8;
  24265. else {
  24266. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24267. initial = _1_8;
  24268. }
  24269. if (_1_9_isSet)
  24270. t2 = _1_9;
  24271. else {
  24272. _1_9 = _1_0[_1_1 - 1];
  24273. t2 = _1_9;
  24274. _1_9_isSet = _1_9_isSet0;
  24275. }
  24276. _1_16_isSet = t2 instanceof A.SassNumber0;
  24277. if (_1_16_isSet) {
  24278. if (_1_9_isSet)
  24279. t1 = _1_9;
  24280. else {
  24281. _1_9 = _1_0[_1_1 - 1];
  24282. t1 = _1_9;
  24283. _1_9_isSet = _1_9_isSet0;
  24284. }
  24285. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24286. t1 = _1_16;
  24287. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  24288. }
  24289. } else
  24290. initial = _null;
  24291. if (t1) {
  24292. if (_1_16_isSet)
  24293. t1 = _1_16;
  24294. else {
  24295. if (_1_9_isSet)
  24296. t1 = _1_9;
  24297. else {
  24298. _1_9 = _1_0[_1_1 - 1];
  24299. t1 = _1_9;
  24300. _1_9_isSet = true;
  24301. }
  24302. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24303. t1 = _1_16;
  24304. _1_16_isSet = true;
  24305. }
  24306. if (t1 == null)
  24307. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  24308. if (_1_16_isSet)
  24309. t2 = _1_16;
  24310. else {
  24311. if (_1_9_isSet)
  24312. t2 = _1_9;
  24313. else {
  24314. _1_9 = _1_0[_1_1 - 1];
  24315. t2 = _1_9;
  24316. }
  24317. _1_16 = type$.SassNumber_2._as(t2).asSlash;
  24318. t2 = _1_16;
  24319. }
  24320. if (t2 == null)
  24321. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  24322. t3 = A.List_List$_of(initial, type$.Value_2);
  24323. t3.push(t1._0);
  24324. t1 = new A._Record_2(A.SassList$0(t3, B.ListSeparator_SrV0, false), t2._1);
  24325. break $label0$0;
  24326. }
  24327. t1 = new A._Record_2(input, _null);
  24328. break $label0$0;
  24329. }
  24330. return t1;
  24331. },
  24332. _parseNumberOrString0(text) {
  24333. var t1, expression, exception;
  24334. try {
  24335. t1 = A.ScssParser$0(text, false, null);
  24336. expression = t1._stylesheet0$_parseSingleProduction$1$1(t1.get$_stylesheet0$_number(), type$.NumberExpression_2);
  24337. t1 = A.SassNumber_SassNumber0(expression.value, expression.unit);
  24338. return t1;
  24339. } catch (exception) {
  24340. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  24341. return new A.SassString0(text, false);
  24342. else
  24343. throw exception;
  24344. }
  24345. },
  24346. _colorFromChannels0(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  24347. var t1, t2, whiteness, blackness, t3;
  24348. switch (space) {
  24349. case B.HslColorSpace_JQ20:
  24350. if (channel1 != null)
  24351. A._checkPercent0(channel1, "saturation");
  24352. if (channel2 != null)
  24353. A._checkPercent0(channel2, "lightness");
  24354. t1 = space._space$_channels;
  24355. return A.SassColor_SassColor$hsl0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure1()), A._channelFromValue0(t1[1], A._forcePercent0(channel1), clamp), A._channelFromValue0(t1[2], A._forcePercent0(channel2), clamp), alpha);
  24356. case B.HwbColorSpace_guQ0:
  24357. t1 = channel1 == null;
  24358. if (!t1)
  24359. channel1.assertUnit$2("%", "whiteness");
  24360. t2 = channel2 == null;
  24361. if (!t2)
  24362. channel2.assertUnit$2("%", "blackness");
  24363. whiteness = t1 ? null : channel1._number1$_value;
  24364. blackness = t2 ? null : channel2._number1$_value;
  24365. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  24366. t1 = whiteness + blackness;
  24367. whiteness = whiteness / t1 * 100;
  24368. blackness = blackness / t1 * 100;
  24369. }
  24370. return A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure2()), whiteness, blackness, alpha);
  24371. case B.RgbColorSpace_i0P0:
  24372. t1 = space._space$_channels;
  24373. t2 = A._channelFromValue0(t1[0], channel0, clamp);
  24374. t3 = A._channelFromValue0(t1[1], channel1, clamp);
  24375. t1 = A._channelFromValue0(t1[2], channel2, clamp);
  24376. return A.SassColor_SassColor$rgbInternal0(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum0 : null);
  24377. default:
  24378. t1 = space._space$_channels;
  24379. return A.SassColor_SassColor$forSpaceInternal0(space, A._channelFromValue0(t1[0], channel0, clamp), A._channelFromValue0(t1[1], channel1, clamp), A._channelFromValue0(t1[2], channel2, clamp), alpha);
  24380. }
  24381. },
  24382. _forcePercent0(number) {
  24383. var t1, _0_3;
  24384. $label0$0: {
  24385. if (number == null) {
  24386. t1 = null;
  24387. break $label0$0;
  24388. }
  24389. _0_3 = number.get$numeratorUnits(number);
  24390. if (_0_3.length === 1)
  24391. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  24392. else
  24393. t1 = false;
  24394. if (t1) {
  24395. t1 = number;
  24396. break $label0$0;
  24397. }
  24398. t1 = A.SassNumber_SassNumber0(number._number1$_value, "%");
  24399. break $label0$0;
  24400. }
  24401. return t1;
  24402. },
  24403. _channelFromValue0(channel, value, clamp) {
  24404. return A.NullableExtension_andThen0(value, new A._channelFromValue_closure0(channel, clamp));
  24405. },
  24406. _isNone0(value) {
  24407. return value instanceof A.SassString0 && !value._string0$_hasQuotes && value._string0$_text.toLowerCase() === "none";
  24408. },
  24409. _channelFunction0($name, space, getter, global, unit) {
  24410. return A.BuiltInCallable$function0($name, "$color", new A._channelFunction_closure0(getter, unit, global, $name, space), "sass:color");
  24411. },
  24412. _suggestScaleAndAdjust0(original, adjustment, channelName) {
  24413. var t2, oldValue, newValue, factor, t3, suggestion,
  24414. channel = channelName === "alpha" ? B.LinearChannel_XL80 : type$.LinearChannel_2._as(B.JSArray_methods.firstWhere$1(B.List_oAL0, new A._suggestScaleAndAdjust_closure0(channelName))),
  24415. t1 = channel === B.LinearChannel_XL80;
  24416. if (t1) {
  24417. t2 = original.alphaOrNull;
  24418. oldValue = t2 == null ? 0 : t2;
  24419. } else
  24420. oldValue = original.toSpace$1(B.HslColorSpace_JQ20).channel$1(0, channelName);
  24421. newValue = oldValue + adjustment;
  24422. if (adjustment !== 0) {
  24423. factor = A._Cell$();
  24424. t2 = channel.max;
  24425. if (newValue > t2)
  24426. factor.__late_helper$_value = 1;
  24427. else {
  24428. t3 = channel.min;
  24429. if (newValue < t3)
  24430. factor.__late_helper$_value = -1;
  24431. else if (adjustment > 0)
  24432. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  24433. else
  24434. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  24435. }
  24436. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.serializeValue0(A.SassNumber_SassNumber0(factor._readLocal$0() * 100, "%"), false, true) + ")\n");
  24437. } else
  24438. suggestion = "Suggestion:\n\n";
  24439. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.serializeValue0(A.SassNumber_SassNumber0(adjustment, t1 ? null : "%"), false, true) + ")");
  24440. },
  24441. _missingChannelError0(color, channel) {
  24442. return A.throwExpression(A.SassScriptException$0(string$.Becaus + color.toCssString$0() + ").", channel));
  24443. },
  24444. _channelName0(value) {
  24445. var t1 = value.assertString$1("channel");
  24446. t1.assertQuoted$1("channel");
  24447. return t1._string0$_text;
  24448. },
  24449. _function12($name, $arguments, callback) {
  24450. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  24451. },
  24452. global_closure44: function global_closure44() {
  24453. },
  24454. global_closure45: function global_closure45() {
  24455. },
  24456. global_closure46: function global_closure46() {
  24457. },
  24458. global_closure47: function global_closure47() {
  24459. },
  24460. global_closure48: function global_closure48() {
  24461. },
  24462. global_closure49: function global_closure49() {
  24463. },
  24464. global_closure50: function global_closure50() {
  24465. },
  24466. global_closure51: function global_closure51() {
  24467. },
  24468. global_closure52: function global_closure52() {
  24469. },
  24470. global_closure53: function global_closure53() {
  24471. },
  24472. global_closure54: function global_closure54() {
  24473. },
  24474. global_closure55: function global_closure55() {
  24475. },
  24476. global_closure56: function global_closure56() {
  24477. },
  24478. global_closure57: function global_closure57() {
  24479. },
  24480. global_closure58: function global_closure58() {
  24481. },
  24482. global_closure59: function global_closure59() {
  24483. },
  24484. global_closure60: function global_closure60() {
  24485. },
  24486. global_closure61: function global_closure61() {
  24487. },
  24488. global_closure62: function global_closure62() {
  24489. },
  24490. global_closure63: function global_closure63() {
  24491. },
  24492. global_closure64: function global_closure64() {
  24493. },
  24494. global_closure65: function global_closure65() {
  24495. },
  24496. global_closure66: function global_closure66() {
  24497. },
  24498. global_closure67: function global_closure67() {
  24499. },
  24500. global_closure68: function global_closure68() {
  24501. },
  24502. global_closure69: function global_closure69() {
  24503. },
  24504. global_closure70: function global_closure70() {
  24505. },
  24506. global_closure71: function global_closure71() {
  24507. },
  24508. global_closure72: function global_closure72() {
  24509. },
  24510. global_closure73: function global_closure73() {
  24511. },
  24512. global_closure74: function global_closure74() {
  24513. },
  24514. global_closure75: function global_closure75() {
  24515. },
  24516. global_closure76: function global_closure76() {
  24517. },
  24518. global_closure77: function global_closure77() {
  24519. },
  24520. global_closure78: function global_closure78() {
  24521. },
  24522. global_closure79: function global_closure79() {
  24523. },
  24524. global__closure0: function global__closure0() {
  24525. },
  24526. global_closure80: function global_closure80() {
  24527. },
  24528. global_closure81: function global_closure81() {
  24529. },
  24530. global_closure82: function global_closure82() {
  24531. },
  24532. global_closure83: function global_closure83() {
  24533. },
  24534. global_closure84: function global_closure84() {
  24535. },
  24536. global_closure85: function global_closure85() {
  24537. },
  24538. global_closure86: function global_closure86() {
  24539. },
  24540. module_closure27: function module_closure27() {
  24541. },
  24542. module_closure28: function module_closure28() {
  24543. },
  24544. module_closure29: function module_closure29() {
  24545. },
  24546. module_closure30: function module_closure30() {
  24547. },
  24548. module_closure31: function module_closure31() {
  24549. },
  24550. module_closure32: function module_closure32() {
  24551. },
  24552. module_closure33: function module_closure33() {
  24553. },
  24554. module_closure34: function module_closure34() {
  24555. },
  24556. module_closure35: function module_closure35() {
  24557. },
  24558. module_closure36: function module_closure36() {
  24559. },
  24560. module_closure37: function module_closure37() {
  24561. },
  24562. module_closure38: function module_closure38() {
  24563. },
  24564. module_closure39: function module_closure39() {
  24565. },
  24566. module_closure40: function module_closure40() {
  24567. },
  24568. module__closure6: function module__closure6() {
  24569. },
  24570. module_closure41: function module_closure41() {
  24571. },
  24572. module_closure42: function module_closure42() {
  24573. },
  24574. module_closure43: function module_closure43() {
  24575. },
  24576. module_closure44: function module_closure44() {
  24577. },
  24578. module_closure45: function module_closure45() {
  24579. },
  24580. module_closure46: function module_closure46() {
  24581. },
  24582. module_closure47: function module_closure47() {
  24583. },
  24584. module_closure48: function module_closure48() {
  24585. },
  24586. module__closure5: function module__closure5(t0) {
  24587. this.channelName = t0;
  24588. },
  24589. module_closure49: function module_closure49() {
  24590. },
  24591. module_closure_toXyzNoMissing0: function module_closure_toXyzNoMissing0() {
  24592. },
  24593. module_closure50: function module_closure50() {
  24594. },
  24595. _mix_closure0: function _mix_closure0() {
  24596. },
  24597. _complement_closure0: function _complement_closure0() {
  24598. },
  24599. _adjust_closure0: function _adjust_closure0() {
  24600. },
  24601. _scale_closure0: function _scale_closure0() {
  24602. },
  24603. _change_closure0: function _change_closure0() {
  24604. },
  24605. _ieHexStr_closure0: function _ieHexStr_closure0() {
  24606. },
  24607. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  24608. },
  24609. _updateComponents_closure1: function _updateComponents_closure1(t0) {
  24610. this.originalColor = t0;
  24611. },
  24612. _updateComponents_closure2: function _updateComponents_closure2(t0) {
  24613. this._box_0 = t0;
  24614. },
  24615. _changeColor_closure0: function _changeColor_closure0(t0) {
  24616. this.alphaArg = t0;
  24617. },
  24618. _adjustColor_closure0: function _adjustColor_closure0() {
  24619. },
  24620. _functionString_closure0: function _functionString_closure0() {
  24621. },
  24622. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  24623. this.name = t0;
  24624. this.argument = t1;
  24625. this.negative = t2;
  24626. },
  24627. _rgb_closure0: function _rgb_closure0() {
  24628. },
  24629. _hsl_closure0: function _hsl_closure0() {
  24630. },
  24631. _parseChannels_closure1: function _parseChannels_closure1() {
  24632. },
  24633. _parseChannels_closure2: function _parseChannels_closure2() {
  24634. },
  24635. _colorFromChannels_closure1: function _colorFromChannels_closure1() {
  24636. },
  24637. _colorFromChannels_closure2: function _colorFromChannels_closure2() {
  24638. },
  24639. _channelFromValue_closure0: function _channelFromValue_closure0(t0, t1) {
  24640. this.channel = t0;
  24641. this.clamp = t1;
  24642. },
  24643. _channelFunction_closure0: function _channelFunction_closure0(t0, t1, t2, t3, t4) {
  24644. var _ = this;
  24645. _.getter = t0;
  24646. _.unit = t1;
  24647. _.global = t2;
  24648. _.name = t3;
  24649. _.space = t4;
  24650. },
  24651. _suggestScaleAndAdjust_closure0: function _suggestScaleAndAdjust_closure0(t0) {
  24652. this.channelName = t0;
  24653. },
  24654. _constructionSpace(options) {
  24655. var t1 = J.getInterceptor$x(options);
  24656. if (t1.get$space(options) != null) {
  24657. t1 = t1.get$space(options);
  24658. t1.toString;
  24659. return A.ColorSpace_fromName0(t1, null);
  24660. }
  24661. if (t1.get$red(options) != null)
  24662. return B.RgbColorSpace_i0P0;
  24663. if (t1.get$saturation(options) != null)
  24664. return B.HslColorSpace_JQ20;
  24665. if (t1.get$whiteness(options) != null)
  24666. return B.HwbColorSpace_guQ0;
  24667. throw A.wrapException("No color space found");
  24668. },
  24669. _toSpace($self, space) {
  24670. return $self.toSpace$1(A.ColorSpace_fromName0(space == null ? $self._color0$_space.name : space, null));
  24671. },
  24672. _checkNullAlphaDeprecation(options) {
  24673. var t1 = J.getInterceptor$x(options),
  24674. t2 = t1.get$alpha(options);
  24675. if (!A._asBool($.$get$_isUndefined().call$1(t2)) && t1.get$alpha(options) == null && t1.get$space(options) == null)
  24676. A.warnForDeprecationFromApi(string$.Passin_, B.Deprecation_ox0);
  24677. },
  24678. colorClass_closure: function colorClass_closure() {
  24679. },
  24680. colorClass__closure: function colorClass__closure() {
  24681. },
  24682. colorClass__closure0: function colorClass__closure0() {
  24683. },
  24684. colorClass__closure1: function colorClass__closure1() {
  24685. },
  24686. colorClass__closure2: function colorClass__closure2() {
  24687. },
  24688. colorClass__closure3: function colorClass__closure3() {
  24689. },
  24690. colorClass__closure4: function colorClass__closure4() {
  24691. },
  24692. colorClass__closure5: function colorClass__closure5() {
  24693. },
  24694. colorClass__closure6: function colorClass__closure6() {
  24695. },
  24696. colorClass__closure7: function colorClass__closure7() {
  24697. },
  24698. colorClass__closure8: function colorClass__closure8() {
  24699. },
  24700. colorClass___closure: function colorClass___closure(t0) {
  24701. this.key = t0;
  24702. },
  24703. colorClass__closure_changedValue: function colorClass__closure_changedValue(t0, t1) {
  24704. this.color = t0;
  24705. this.options = t1;
  24706. },
  24707. colorClass__closure9: function colorClass__closure9() {
  24708. },
  24709. colorClass__closure10: function colorClass__closure10() {
  24710. },
  24711. colorClass__closure11: function colorClass__closure11() {
  24712. },
  24713. colorClass__closure12: function colorClass__closure12() {
  24714. },
  24715. colorClass__closure13: function colorClass__closure13() {
  24716. },
  24717. colorClass__closure14: function colorClass__closure14() {
  24718. },
  24719. colorClass__closure15: function colorClass__closure15() {
  24720. },
  24721. colorClass__closure16: function colorClass__closure16() {
  24722. },
  24723. colorClass__closure17: function colorClass__closure17() {
  24724. },
  24725. colorClass__closure18: function colorClass__closure18() {
  24726. },
  24727. colorClass__closure19: function colorClass__closure19() {
  24728. },
  24729. colorClass__closure20: function colorClass__closure20() {
  24730. },
  24731. colorClass__closure21: function colorClass__closure21() {
  24732. },
  24733. colorClass__closure22: function colorClass__closure22() {
  24734. },
  24735. _Channels: function _Channels() {
  24736. },
  24737. _ConstructionOptions: function _ConstructionOptions() {
  24738. },
  24739. _ChannelOptions: function _ChannelOptions() {
  24740. },
  24741. _ToGamutOptions: function _ToGamutOptions() {
  24742. },
  24743. _InterpolationOptions: function _InterpolationOptions() {
  24744. },
  24745. _NodeSassColor: function _NodeSassColor() {
  24746. },
  24747. legacyColorClass_closure: function legacyColorClass_closure() {
  24748. },
  24749. legacyColorClass__closure: function legacyColorClass__closure() {
  24750. },
  24751. legacyColorClass_closure0: function legacyColorClass_closure0() {
  24752. },
  24753. legacyColorClass_closure1: function legacyColorClass_closure1() {
  24754. },
  24755. legacyColorClass_closure2: function legacyColorClass_closure2() {
  24756. },
  24757. legacyColorClass_closure3: function legacyColorClass_closure3() {
  24758. },
  24759. legacyColorClass_closure4: function legacyColorClass_closure4() {
  24760. },
  24761. legacyColorClass_closure5: function legacyColorClass_closure5() {
  24762. },
  24763. legacyColorClass_closure6: function legacyColorClass_closure6() {
  24764. },
  24765. legacyColorClass_closure7: function legacyColorClass_closure7() {
  24766. },
  24767. SassColor_SassColor$rgb0(red, green, blue, alpha) {
  24768. return A.SassColor_SassColor$rgbInternal0(red, green, blue, alpha, null);
  24769. },
  24770. SassColor_SassColor$rgbInternal0(red, green, blue, alpha, format) {
  24771. var _null = null,
  24772. t1 = red == null ? _null : red,
  24773. t2 = green == null ? _null : green,
  24774. t3 = blue == null ? _null : blue;
  24775. return A.SassColor$_forSpace0(B.RgbColorSpace_i0P0, t1, t2, t3, alpha == null ? _null : alpha, format);
  24776. },
  24777. SassColor_SassColor$hsl0(hue, saturation, lightness, alpha) {
  24778. var _null = null,
  24779. t1 = hue == null ? _null : hue,
  24780. t2 = saturation == null ? _null : saturation,
  24781. t3 = lightness == null ? _null : lightness;
  24782. return A.SassColor_SassColor$forSpaceInternal0(B.HslColorSpace_JQ20, t1, t2, t3, alpha == null ? _null : alpha);
  24783. },
  24784. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  24785. var _null = null,
  24786. t1 = hue == null ? _null : hue,
  24787. t2 = whiteness == null ? _null : whiteness,
  24788. t3 = blackness == null ? _null : blackness;
  24789. return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
  24790. },
  24791. SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
  24792. var t1, t2, _null = null;
  24793. $label0$0: {
  24794. if (B.HslColorSpace_JQ20 === space) {
  24795. t1 = channel1 == null;
  24796. t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
  24797. t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  24798. t1 = t2;
  24799. break $label0$0;
  24800. }
  24801. if (B.HwbColorSpace_guQ0 === space) {
  24802. t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
  24803. break $label0$0;
  24804. }
  24805. if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  24806. t1 = channel1 == null;
  24807. t2 = t1 ? _null : Math.abs(channel1);
  24808. t2 = A.SassColor$_forSpace0(space, channel0, t2, A.SassColor__normalizeHue0(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), alpha, _null);
  24809. t1 = t2;
  24810. break $label0$0;
  24811. }
  24812. t1 = A.SassColor$_forSpace0(space, channel0, channel1, channel2, alpha, _null);
  24813. break $label0$0;
  24814. }
  24815. return t1;
  24816. },
  24817. SassColor$_forSpace0(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  24818. return new A.SassColor0(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen0(alpha, new A.SassColor$_forSpace_closure0()));
  24819. },
  24820. SassColor__normalizeHue0(hue, invert) {
  24821. var t1, t2;
  24822. if (hue == null)
  24823. return hue;
  24824. t1 = B.JSNumber_methods.$mod(hue, 360);
  24825. t2 = invert ? 180 : 0;
  24826. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  24827. },
  24828. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
  24829. var _ = this;
  24830. _._color0$_space = t0;
  24831. _.channel0OrNull = t1;
  24832. _.channel1OrNull = t2;
  24833. _.channel2OrNull = t3;
  24834. _.format = t4;
  24835. _.alphaOrNull = t5;
  24836. },
  24837. SassColor$_forSpace_closure0: function SassColor$_forSpace_closure0() {
  24838. },
  24839. _ColorFormatEnum0: function _ColorFormatEnum0() {
  24840. },
  24841. SpanColorFormat0: function SpanColorFormat0(t0) {
  24842. this._color0$_span = t0;
  24843. },
  24844. Combinator0: function Combinator0(t0, t1, t2) {
  24845. this._combinator0$_text = t0;
  24846. this.index = t1;
  24847. this._name = t2;
  24848. },
  24849. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  24850. var _ = this;
  24851. _.text = t0;
  24852. _.span = t1;
  24853. _._node$_indexInParent = _._node$_parent = null;
  24854. _.isGroupEnd = false;
  24855. },
  24856. compile0(path, options) {
  24857. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null;
  24858. if (!A.isNodeJs())
  24859. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  24860. t1 = options == null;
  24861. color0 = t1 ? _null : J.get$alertColor$x(options);
  24862. color = color0 == null ? A.hasTerminal0() : color0;
  24863. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  24864. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  24865. t2 = t1 ? _null : J.get$logger$x(options);
  24866. t3 = ascii;
  24867. if (t3 == null)
  24868. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24869. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24870. try {
  24871. t2 = t1 ? _null : J.get$loadPaths$x(options);
  24872. t3 = t1 ? _null : J.get$quietDeps$x(options);
  24873. if (t3 == null)
  24874. t3 = false;
  24875. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24876. t5 = t1 ? _null : J.get$verbose$x(options);
  24877. if (t5 == null)
  24878. t5 = false;
  24879. t6 = t1 ? _null : J.get$charset$x(options);
  24880. if (t6 == null)
  24881. t6 = true;
  24882. t7 = t1 ? _null : J.get$sourceMap$x(options);
  24883. if (t7 == null)
  24884. t7 = false;
  24885. if (t1)
  24886. t8 = _null;
  24887. else {
  24888. t8 = J.get$importers$x(options);
  24889. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  24890. }
  24891. t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24892. t10 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24893. t10 = A.parseDeprecations(logger, t10, true);
  24894. t11 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24895. t11 = A.parseDeprecations(logger, t11, false);
  24896. t12 = t1 ? _null : J.get$futureDeprecations$x(options);
  24897. result = A.compile(path, t6, t10, new A.CastList(t9, A._arrayInstanceType(t9)._eval$1("CastList<1,Callable>")), A.parseDeprecations(logger, t12, false), A.ImportCache$0(t8, t2, _null), _null, _null, logger, _null, t3, t11, t7, t4, _null, true, t5);
  24898. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24899. if (t1 == null)
  24900. t1 = false;
  24901. t1 = A._convertResult(result, t1);
  24902. return t1;
  24903. } catch (exception) {
  24904. t1 = A.unwrapException(exception);
  24905. if (t1 instanceof A.SassException0) {
  24906. error = t1;
  24907. stackTrace = A.getTraceFromException(exception);
  24908. A.throwNodeException(error, ascii, color, stackTrace);
  24909. } else
  24910. throw exception;
  24911. }
  24912. },
  24913. compileString0(text, options) {
  24914. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null,
  24915. t1 = options == null,
  24916. color0 = t1 ? _null : J.get$alertColor$x(options),
  24917. color = color0 == null ? A.hasTerminal0() : color0,
  24918. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  24919. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  24920. t2 = t1 ? _null : J.get$logger$x(options),
  24921. t3 = ascii;
  24922. if (t3 == null)
  24923. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24924. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24925. try {
  24926. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  24927. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils3__jsToDartUrl$closure());
  24928. t4 = t1 ? _null : J.get$loadPaths$x(options);
  24929. t5 = t1 ? _null : J.get$quietDeps$x(options);
  24930. if (t5 == null)
  24931. t5 = false;
  24932. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24933. t7 = t1 ? _null : J.get$verbose$x(options);
  24934. if (t7 == null)
  24935. t7 = false;
  24936. t8 = t1 ? _null : J.get$charset$x(options);
  24937. if (t8 == null)
  24938. t8 = true;
  24939. t9 = t1 ? _null : J.get$sourceMap$x(options);
  24940. if (t9 == null)
  24941. t9 = false;
  24942. if (t1)
  24943. t10 = _null;
  24944. else {
  24945. t10 = J.get$importers$x(options);
  24946. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  24947. }
  24948. t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  24949. if (t11 == null)
  24950. t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  24951. t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24952. t13 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24953. t13 = A.parseDeprecations(logger, t13, true);
  24954. t14 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24955. t14 = A.parseDeprecations(logger, t14, false);
  24956. t15 = t1 ? _null : J.get$futureDeprecations$x(options);
  24957. result = A.compileString(text, t8, t13, new A.CastList(t12, A._arrayInstanceType(t12)._eval$1("CastList<1,Callable>")), A.parseDeprecations(logger, t15, false), A.ImportCache$0(t10, t4, _null), t11, _null, _null, logger, _null, t5, t14, t9, t6, t2, t3, true, t7);
  24958. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24959. if (t1 == null)
  24960. t1 = false;
  24961. t1 = A._convertResult(result, t1);
  24962. return t1;
  24963. } catch (exception) {
  24964. t1 = A.unwrapException(exception);
  24965. if (t1 instanceof A.SassException0) {
  24966. error = t1;
  24967. stackTrace = A.getTraceFromException(exception);
  24968. A.throwNodeException(error, ascii, color, stackTrace);
  24969. } else
  24970. throw exception;
  24971. }
  24972. },
  24973. compileAsync1(path, options) {
  24974. var t1, color, ascii;
  24975. if (!A.isNodeJs())
  24976. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  24977. t1 = options == null;
  24978. color = t1 ? null : J.get$alertColor$x(options);
  24979. if (color == null)
  24980. color = A.hasTerminal0();
  24981. ascii = t1 ? null : J.get$alertAscii$x(options);
  24982. if (ascii == null)
  24983. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24984. t1 = t1 ? null : J.get$logger$x(options);
  24985. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  24986. },
  24987. compileStringAsync1(text, options) {
  24988. var ascii,
  24989. t1 = options == null,
  24990. color = t1 ? null : J.get$alertColor$x(options);
  24991. if (color == null)
  24992. color = A.hasTerminal0();
  24993. ascii = t1 ? null : J.get$alertAscii$x(options);
  24994. if (ascii == null)
  24995. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24996. t1 = t1 ? null : J.get$logger$x(options);
  24997. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  24998. },
  24999. _convertResult(result, includeSourceContents) {
  25000. var loadedUrls,
  25001. t1 = result._compile_result$_serialize,
  25002. t2 = t1._1,
  25003. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  25004. if (type$.Map_dynamic_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  25005. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  25006. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils3__dartToJSUrl$closure(), type$.nullable_Object));
  25007. t1 = t1._0;
  25008. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  25009. },
  25010. _wrapAsyncSassExceptions(promise, ascii, color) {
  25011. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  25012. },
  25013. _parseOutputStyle0(style) {
  25014. var t1;
  25015. $label0$0: {
  25016. if (style == null || "expanded" === style) {
  25017. t1 = B.OutputStyle_00;
  25018. break $label0$0;
  25019. }
  25020. if ("compressed" === style) {
  25021. t1 = B.OutputStyle_10;
  25022. break $label0$0;
  25023. }
  25024. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  25025. }
  25026. return t1;
  25027. },
  25028. _parseAsyncImporter(importer) {
  25029. var t1, canonicalize, load, _0_0;
  25030. if (importer instanceof A.NodePackageImporter0)
  25031. return importer;
  25032. if (importer == null)
  25033. A.jsThrow(new self.Error("Importers may not be null."));
  25034. type$.JSImporter._as(importer);
  25035. t1 = J.getInterceptor$x(importer);
  25036. canonicalize = t1.get$canonicalize(importer);
  25037. load = t1.get$load(importer);
  25038. _0_0 = t1.get$findFileUrl(importer);
  25039. if (_0_0 != null)
  25040. if (canonicalize != null || load != null)
  25041. A.jsThrow(new self.Error(string$.An_impa));
  25042. else
  25043. return new A.JSToDartAsyncFileImporter(_0_0);
  25044. else if (canonicalize == null || load == null)
  25045. A.jsThrow(new self.Error(string$.An_impu));
  25046. else {
  25047. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  25048. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  25049. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  25050. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  25051. }
  25052. },
  25053. _parseImporter0(importer) {
  25054. var t1, canonicalize, load, _0_0;
  25055. if (importer instanceof A.NodePackageImporter0)
  25056. return importer;
  25057. if (importer == null)
  25058. A.jsThrow(new self.Error("Importers may not be null."));
  25059. type$.JSImporter._as(importer);
  25060. t1 = J.getInterceptor$x(importer);
  25061. canonicalize = t1.get$canonicalize(importer);
  25062. load = t1.get$load(importer);
  25063. _0_0 = t1.get$findFileUrl(importer);
  25064. if (_0_0 != null)
  25065. if (canonicalize != null || load != null)
  25066. A.jsThrow(new self.Error(string$.An_impa));
  25067. else
  25068. return new A.JSToDartFileImporter(_0_0);
  25069. else if (canonicalize == null || load == null)
  25070. A.jsThrow(new self.Error(string$.An_impu));
  25071. else {
  25072. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  25073. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  25074. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  25075. return new A.JSToDartImporter(canonicalize, load, t1);
  25076. }
  25077. },
  25078. _normalizeNonCanonicalSchemes(schemes) {
  25079. var t1;
  25080. $label0$0: {
  25081. if (typeof schemes == "string") {
  25082. t1 = A._setArrayType([schemes], type$.JSArray_String);
  25083. break $label0$0;
  25084. }
  25085. if (type$.List_dynamic._is(schemes)) {
  25086. t1 = J.cast$1$0$ax(schemes, type$.String);
  25087. break $label0$0;
  25088. }
  25089. if (schemes == null) {
  25090. t1 = null;
  25091. break $label0$0;
  25092. }
  25093. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  25094. }
  25095. return t1;
  25096. },
  25097. _simplifyValue(value) {
  25098. var _0_1, t1, t2, _0_4, _0_3, _0_5, _0_40, _0_5_isSet, _0_4_isSet, _0_8, first, _0_10, min, _null = null;
  25099. $label1$1: {
  25100. if (value instanceof A.SassCalculation0) {
  25101. _0_1 = value.name;
  25102. t1 = value.$arguments;
  25103. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  25104. _0_4 = A.List_List$_of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), t2._eval$1("ListIterable.E"));
  25105. $label0$0: {
  25106. _0_3 = "calc" === _0_1;
  25107. t1 = _0_3;
  25108. _0_5 = _null;
  25109. if (t1) {
  25110. _0_5 = _0_4.length;
  25111. t1 = _0_5;
  25112. t1 = t1 === 1;
  25113. _0_40 = _0_4;
  25114. _0_5_isSet = true;
  25115. _0_4_isSet = true;
  25116. } else {
  25117. _0_40 = _null;
  25118. _0_5_isSet = false;
  25119. _0_4_isSet = false;
  25120. t1 = false;
  25121. }
  25122. if (t1) {
  25123. _0_8 = (_0_4_isSet ? _0_40 : _0_4)[0];
  25124. first = _0_8;
  25125. type$.Value_2._as(first);
  25126. t1 = first;
  25127. break $label0$0;
  25128. }
  25129. if (_0_3)
  25130. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  25131. _0_10 = "clamp" === _0_1;
  25132. t1 = _0_10;
  25133. if (t1) {
  25134. if (_0_5_isSet)
  25135. t1 = _0_5;
  25136. else {
  25137. if (_0_4_isSet)
  25138. t1 = _0_40;
  25139. else {
  25140. t1 = _0_4;
  25141. _0_40 = t1;
  25142. _0_4_isSet = true;
  25143. }
  25144. _0_5 = t1.length;
  25145. t1 = _0_5;
  25146. }
  25147. t1 = t1 === 3;
  25148. } else
  25149. t1 = false;
  25150. if (t1) {
  25151. if (_0_4_isSet)
  25152. t1 = _0_40;
  25153. else {
  25154. t1 = _0_4;
  25155. _0_40 = t1;
  25156. _0_4_isSet = true;
  25157. }
  25158. _0_8 = t1[0];
  25159. min = _0_8;
  25160. if (_0_4_isSet)
  25161. t1 = _0_40;
  25162. else {
  25163. t1 = _0_4;
  25164. _0_40 = t1;
  25165. _0_4_isSet = true;
  25166. }
  25167. value = t1[1];
  25168. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  25169. break $label0$0;
  25170. }
  25171. if (_0_10)
  25172. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  25173. if ("min" === _0_1) {
  25174. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  25175. break $label0$0;
  25176. }
  25177. if ("max" === _0_1) {
  25178. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  25179. break $label0$0;
  25180. }
  25181. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  25182. }
  25183. break $label1$1;
  25184. }
  25185. t1 = value;
  25186. break $label1$1;
  25187. }
  25188. return t1;
  25189. },
  25190. _simplifyCalcArg(value) {
  25191. var t1;
  25192. $label0$0: {
  25193. if (value instanceof A.SassCalculation0) {
  25194. t1 = A._simplifyValue(value);
  25195. break $label0$0;
  25196. }
  25197. if (value instanceof A.CalculationOperation0) {
  25198. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), null, true, null);
  25199. break $label0$0;
  25200. }
  25201. t1 = value;
  25202. break $label0$0;
  25203. }
  25204. return t1;
  25205. },
  25206. _parseFunctions0(functions, asynch) {
  25207. var result;
  25208. if (functions == null)
  25209. return B.List_empty26;
  25210. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25211. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  25212. return result;
  25213. },
  25214. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  25215. var _ = this;
  25216. _.path = t0;
  25217. _.color = t1;
  25218. _.options = t2;
  25219. _.logger = t3;
  25220. },
  25221. compileAsync__closure: function compileAsync__closure() {
  25222. },
  25223. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  25224. var _ = this;
  25225. _.text = t0;
  25226. _.options = t1;
  25227. _.color = t2;
  25228. _.logger = t3;
  25229. },
  25230. compileStringAsync__closure: function compileStringAsync__closure() {
  25231. },
  25232. compileStringAsync__closure0: function compileStringAsync__closure0() {
  25233. },
  25234. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  25235. this.color = t0;
  25236. this.ascii = t1;
  25237. },
  25238. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  25239. this.asynch = t0;
  25240. this.result = t1;
  25241. },
  25242. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  25243. this.callback = t0;
  25244. this.callable = t1;
  25245. },
  25246. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  25247. this.callback = t0;
  25248. this.$arguments = t1;
  25249. },
  25250. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  25251. this.callback = t0;
  25252. this.callable = t1;
  25253. },
  25254. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  25255. this.callback = t0;
  25256. this.$arguments = t1;
  25257. },
  25258. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  25259. },
  25260. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  25261. },
  25262. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  25263. var t3, t4, t0, stylesheet, result, _null = null,
  25264. t1 = type$.Deprecation_3,
  25265. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25266. if (silenceDeprecations != null)
  25267. t2.addAll$1(0, silenceDeprecations);
  25268. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25269. if (fatalDeprecations != null)
  25270. t3.addAll$1(0, fatalDeprecations);
  25271. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25272. if (futureDeprecations != null)
  25273. t4.addAll$1(0, futureDeprecations);
  25274. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25275. logger.validate$0();
  25276. t1 = nodeImporter == null;
  25277. if (t1)
  25278. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  25279. else
  25280. t2 = false;
  25281. if (t2) {
  25282. if (importCache == null)
  25283. importCache = A.ImportCache$none();
  25284. t2 = $.$get$FilesystemImporter_cwd0();
  25285. t3 = A.isNodeJs() ? self.process : _null;
  25286. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  25287. t3 = A.isNodeJs() ? self.process : _null;
  25288. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  25289. } else
  25290. t3 = true;
  25291. if (t3) {
  25292. t3 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  25293. t4 = $.$get$context();
  25294. t3 = A._realCasePath0(t4.normalize$1(t3));
  25295. } else {
  25296. t3 = $.$get$context();
  25297. t4 = t3.canonicalize$1(0, path);
  25298. t0 = t4;
  25299. t4 = t3;
  25300. t3 = t0;
  25301. }
  25302. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  25303. t4.toString;
  25304. stylesheet = t4;
  25305. } else {
  25306. t2 = A.readFile0(path);
  25307. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  25308. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, false, $.$get$context().toUri$1(path));
  25309. }
  25310. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25311. logger.summarize$1$js(!t1);
  25312. return result;
  25313. },
  25314. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  25315. var t3, t4, stylesheet, _0_0, result,
  25316. t1 = type$.Deprecation_3,
  25317. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25318. if (silenceDeprecations != null)
  25319. t2.addAll$1(0, silenceDeprecations);
  25320. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25321. if (fatalDeprecations != null)
  25322. t3.addAll$1(0, fatalDeprecations);
  25323. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25324. if (futureDeprecations != null)
  25325. t4.addAll$1(0, futureDeprecations);
  25326. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25327. logger.validate$0();
  25328. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_0_scss0 : syntax, false, url);
  25329. t1 = stylesheet.span;
  25330. _0_0 = t1.get$sourceUrl(t1);
  25331. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  25332. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_y9Y, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
  25333. if (importer == null)
  25334. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  25335. else
  25336. t1 = importer;
  25337. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25338. logger.summarize$1$js(nodeImporter != null);
  25339. return result;
  25340. },
  25341. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  25342. var evaluateResult, serializeResult, resultSourceMap;
  25343. if (nodeImporter != null)
  25344. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_PGp, string$.The_le, null, null);
  25345. evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet);
  25346. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  25347. resultSourceMap = serializeResult._1;
  25348. if (resultSourceMap != null && importCache != null)
  25349. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  25350. return new A.CompileResult0(evaluateResult, serializeResult);
  25351. },
  25352. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  25353. this.stylesheet = t0;
  25354. this.importCache = t1;
  25355. },
  25356. CompileOptions: function CompileOptions() {
  25357. },
  25358. CompileStringOptions: function CompileStringOptions() {
  25359. },
  25360. NodeCompileResult: function NodeCompileResult() {
  25361. },
  25362. CompileResult0: function CompileResult0(t0, t1) {
  25363. this._evaluate = t0;
  25364. this._compile_result$_serialize = t1;
  25365. },
  25366. initCompiler() {
  25367. return new A.Compiler();
  25368. },
  25369. initAsyncCompiler() {
  25370. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  25371. },
  25372. Compiler: function Compiler() {
  25373. this._disposed = false;
  25374. },
  25375. AsyncCompiler: function AsyncCompiler(t0) {
  25376. this.compilations = t0;
  25377. this._disposed = false;
  25378. },
  25379. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  25380. },
  25381. compilerClass_closure: function compilerClass_closure() {
  25382. },
  25383. compilerClass__closure: function compilerClass__closure() {
  25384. },
  25385. compilerClass__closure0: function compilerClass__closure0() {
  25386. },
  25387. compilerClass__closure1: function compilerClass__closure1() {
  25388. },
  25389. compilerClass__closure2: function compilerClass__closure2() {
  25390. },
  25391. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  25392. },
  25393. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  25394. },
  25395. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  25396. },
  25397. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  25398. },
  25399. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  25400. },
  25401. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  25402. this.self = t0;
  25403. },
  25404. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  25405. },
  25406. InterpolatedComplexSelector$(components, span, leadingCombinator) {
  25407. var t1 = A.List_List$unmodifiable(components, type$.InterpolatedComplexSelectorComponent);
  25408. if (leadingCombinator == null && t1.length === 0)
  25409. A.throwExpression(A.ArgumentError$("components may not be empty if leadingCombinator is null.", null));
  25410. return new A.InterpolatedComplexSelector(leadingCombinator, t1, span);
  25411. },
  25412. InterpolatedComplexSelector: function InterpolatedComplexSelector(t0, t1, t2) {
  25413. this.leadingCombinator = t0;
  25414. this.components = t1;
  25415. this.span = t2;
  25416. },
  25417. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  25418. var _ = this;
  25419. _._complex0$_numeratorUnits = t0;
  25420. _._complex0$_denominatorUnits = t1;
  25421. _._number1$_value = t2;
  25422. _.hashCache = null;
  25423. _.asSlash = t3;
  25424. },
  25425. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  25426. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  25427. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  25428. if (t1.length === 0 && t2.length === 0)
  25429. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  25430. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  25431. },
  25432. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  25433. var _ = this;
  25434. _.leadingCombinators = t0;
  25435. _.components = t1;
  25436. _.lineBreak = t2;
  25437. _._complex$__ComplexSelector_specificity_FI = $;
  25438. _.span = t3;
  25439. },
  25440. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  25441. },
  25442. InterpolatedComplexSelectorComponent: function InterpolatedComplexSelectorComponent(t0, t1, t2) {
  25443. this.selector = t0;
  25444. this.combinator = t1;
  25445. this.span = t2;
  25446. },
  25447. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  25448. this.selector = t0;
  25449. this.combinators = t1;
  25450. this.span = t2;
  25451. },
  25452. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  25453. },
  25454. InterpolatedCompoundSelector$(components) {
  25455. var t1 = A.List_List$unmodifiable(components, type$.InterpolatedSimpleSelector);
  25456. if (t1.length === 0)
  25457. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25458. return new A.InterpolatedCompoundSelector(t1);
  25459. },
  25460. InterpolatedCompoundSelector: function InterpolatedCompoundSelector(t0) {
  25461. this.components = t0;
  25462. },
  25463. CompoundSelector$0(components, span) {
  25464. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  25465. if (t1.length === 0)
  25466. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25467. return new A.CompoundSelector0(t1, span);
  25468. },
  25469. CompoundSelector0: function CompoundSelector0(t0, t1) {
  25470. var _ = this;
  25471. _.components = t0;
  25472. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  25473. _.span = t1;
  25474. },
  25475. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  25476. },
  25477. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  25478. },
  25479. Configuration0: function Configuration0(t0, t1) {
  25480. this._configuration0$_values = t0;
  25481. this._configuration0$__originalConfiguration = t1;
  25482. },
  25483. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  25484. this.nodeWithSpan = t0;
  25485. this._configuration0$_values = t1;
  25486. this._configuration0$__originalConfiguration = t2;
  25487. },
  25488. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  25489. this.value = t0;
  25490. this.configurationSpan = t1;
  25491. this.assignmentNode = t2;
  25492. },
  25493. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  25494. var _ = this;
  25495. _.name = t0;
  25496. _.expression = t1;
  25497. _.isGuarded = t2;
  25498. _.span = t3;
  25499. },
  25500. ContentBlock$0(parameters, children, span) {
  25501. var _s8_ = "@content",
  25502. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  25503. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25504. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25505. return new A.ContentBlock0(t1, _s8_, parameters, span, t2, t3);
  25506. },
  25507. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  25508. var _ = this;
  25509. _.name = t0;
  25510. _.originalName = t1;
  25511. _.parameters = t2;
  25512. _.span = t3;
  25513. _.children = t4;
  25514. _.hasDeclarations = t5;
  25515. },
  25516. ContentRule0: function ContentRule0(t0, t1) {
  25517. this.$arguments = t0;
  25518. this.span = t1;
  25519. },
  25520. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  25521. },
  25522. CssParser0: function CssParser0(t0, t1, t2, t3, t4) {
  25523. var _ = this;
  25524. _._parseSelectors = t0;
  25525. _._stylesheet0$_isUseAllowed = true;
  25526. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inPlainCssFunction = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  25527. _._stylesheet0$_globalVariables = t1;
  25528. _.warnings = t2;
  25529. _.lastSilentComment = null;
  25530. _.scanner = t3;
  25531. _._parser1$_interpolationMap = t4;
  25532. },
  25533. DebugRule0: function DebugRule0(t0, t1) {
  25534. this.expression = t0;
  25535. this.span = t1;
  25536. },
  25537. ModifiableCssDeclaration$0($name, value, span, parsedAsSassScript, valueSpanForMap) {
  25538. var t2,
  25539. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  25540. if (!parsedAsSassScript) {
  25541. t2 = value.value;
  25542. if (!(t2 instanceof A.SassString0))
  25543. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  25544. }
  25545. return new A.ModifiableCssDeclaration0($name, value, parsedAsSassScript, t1, span);
  25546. },
  25547. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  25548. var _ = this;
  25549. _.name = t0;
  25550. _.value = t1;
  25551. _.parsedAsSassScript = t2;
  25552. _.valueSpanForMap = t3;
  25553. _.span = t4;
  25554. _._node$_indexInParent = _._node$_parent = null;
  25555. _.isGroupEnd = false;
  25556. },
  25557. Declaration$0($name, value, span) {
  25558. return new A.Declaration0($name, value, span, true, null, false);
  25559. },
  25560. Declaration$notSassScript0($name, value, span) {
  25561. return new A.Declaration0($name, value, span, false, null, false);
  25562. },
  25563. Declaration$nested0($name, children, span, value) {
  25564. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25565. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25566. return new A.Declaration0($name, value, span, true, t1, t2);
  25567. },
  25568. Declaration0: function Declaration0(t0, t1, t2, t3, t4, t5) {
  25569. var _ = this;
  25570. _.name = t0;
  25571. _.value = t1;
  25572. _.span = t2;
  25573. _.parsedAsSassScript = t3;
  25574. _.children = t4;
  25575. _.hasDeclarations = t5;
  25576. },
  25577. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  25578. this.name = t0;
  25579. this.value = t1;
  25580. this.span = t2;
  25581. },
  25582. Deprecation_fromId0(id) {
  25583. return A.IterableExtension_firstWhereOrNull(B.List_hzi, new A.Deprecation_fromId_closure0(id));
  25584. },
  25585. Deprecation_forVersion0(version) {
  25586. var t2, _i, deprecation, $self, t3,
  25587. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  25588. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 28; ++_i) {
  25589. deprecation = B.List_hzi[_i];
  25590. $self = deprecation._deprecation$_deprecatedIn;
  25591. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  25592. t3 = t3 == null ? null : t2.call$1(t3);
  25593. if (t3 == null ? false : t3) {
  25594. $self = deprecation._deprecation$_obsoleteIn;
  25595. if ($self == null)
  25596. t3 = null;
  25597. else
  25598. t3 = A.Version___parse_tearOff($self);
  25599. t3 = t3 == null;
  25600. } else
  25601. t3 = false;
  25602. if (t3)
  25603. t1.add$1(0, deprecation);
  25604. }
  25605. return t1;
  25606. },
  25607. Deprecation0: function Deprecation0(t0, t1, t2, t3, t4, t5) {
  25608. var _ = this;
  25609. _.id = t0;
  25610. _._deprecation$_deprecatedIn = t1;
  25611. _.description = t2;
  25612. _._deprecation$_obsoleteIn = t3;
  25613. _.index = t4;
  25614. _._name = t5;
  25615. },
  25616. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  25617. this.id = t0;
  25618. },
  25619. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  25620. var _ = this;
  25621. _._deprecation_processing$_warningCounts = t0;
  25622. _._deprecation_processing$_inner = t1;
  25623. _.silenceDeprecations = t2;
  25624. _.fatalDeprecations = t3;
  25625. _.futureDeprecations = t4;
  25626. _.limitRepetition = t5;
  25627. },
  25628. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  25629. },
  25630. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  25631. },
  25632. parseDeprecations(logger, deprecations, supportVersions) {
  25633. if (deprecations == null)
  25634. return null;
  25635. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  25636. },
  25637. Deprecation1: function Deprecation1() {
  25638. },
  25639. deprecations_closure: function deprecations_closure(t0) {
  25640. this.deprecation = t0;
  25641. },
  25642. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  25643. this.deprecations = t0;
  25644. this.logger = t1;
  25645. this.supportVersions = t2;
  25646. },
  25647. versionClass_closure: function versionClass_closure() {
  25648. },
  25649. versionClass__closure: function versionClass__closure() {
  25650. },
  25651. versionClass__closure0: function versionClass__closure0() {
  25652. },
  25653. DisplayP3ColorSpace0: function DisplayP3ColorSpace0(t0, t1) {
  25654. this.name = t0;
  25655. this._space$_channels = t1;
  25656. },
  25657. DynamicImport0: function DynamicImport0(t0, t1) {
  25658. this.urlString = t0;
  25659. this.span = t1;
  25660. },
  25661. EachRule$0(variables, list, children, span) {
  25662. var t1 = A.List_List$unmodifiable(variables, type$.String),
  25663. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25664. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25665. return new A.EachRule0(t1, list, span, t2, t3);
  25666. },
  25667. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  25668. var _ = this;
  25669. _.variables = t0;
  25670. _.list = t1;
  25671. _.span = t2;
  25672. _.children = t3;
  25673. _.hasDeclarations = t4;
  25674. },
  25675. EachRule_toString_closure0: function EachRule_toString_closure0() {
  25676. },
  25677. EmptyExtensionStore0: function EmptyExtensionStore0() {
  25678. },
  25679. Environment$0() {
  25680. var t1 = type$.String,
  25681. t2 = type$.Module_Callable_2,
  25682. t3 = type$.AstNode_2,
  25683. t4 = type$.int,
  25684. t5 = type$.Callable_2,
  25685. t6 = type$.JSArray_Map_String_Callable_2;
  25686. return new A.Environment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  25687. },
  25688. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  25689. var t1 = type$.String,
  25690. t2 = type$.int;
  25691. return new A.Environment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content, _configurableVariables);
  25692. },
  25693. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  25694. var t1, t2, t3, t4, t5, t6, module, result, t7;
  25695. if (forwarded == null)
  25696. forwarded = B.Set_empty5;
  25697. t1 = type$.dynamic;
  25698. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  25699. for (t2 = type$.Module_Callable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  25700. t6 = t4.get$current(t4);
  25701. module = t6._0;
  25702. result = A.List_List$from(t6._1, false, t5);
  25703. result.$flags = 3;
  25704. t1.$indexSet(0, module, result);
  25705. }
  25706. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  25707. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  25708. t3 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure11(), type$.Map_String_Value_2), type$.Value_2);
  25709. t4 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure12(), type$.Map_String_AstNode_2), type$.AstNode_2);
  25710. t5 = type$.Map_String_Callable_2;
  25711. t6 = type$.Callable_2;
  25712. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  25713. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  25714. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  25715. return A._EnvironmentModule$_1(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
  25716. },
  25717. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  25718. var modulesByVariable, t1, t2, t3, t4, t5;
  25719. if (forwarded.get$isEmpty(forwarded))
  25720. return B.Map_empty11;
  25721. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  25722. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  25723. t2 = t1.get$current(t1);
  25724. if (t2 instanceof A._EnvironmentModule1) {
  25725. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  25726. t4 = t3.get$current(t3);
  25727. t5 = t4.get$variables();
  25728. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  25729. }
  25730. t3 = B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables);
  25731. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25732. } else {
  25733. t3 = t2.get$variables();
  25734. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25735. }
  25736. }
  25737. return modulesByVariable;
  25738. },
  25739. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  25740. var t1, t2, t3;
  25741. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  25742. if (otherMaps.get$isEmpty(otherMaps))
  25743. return localMap;
  25744. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  25745. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  25746. t3 = t2.get$current(t2);
  25747. if (t3.get$isNotEmpty(t3))
  25748. t1.push(t3);
  25749. }
  25750. t1.push(localMap);
  25751. if (t1.length === 1)
  25752. return localMap;
  25753. return A.MergedMapView$0(t1, type$.String, $V);
  25754. },
  25755. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  25756. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  25757. },
  25758. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  25759. var _ = this;
  25760. _._environment0$_modules = t0;
  25761. _._environment0$_namespaceNodes = t1;
  25762. _._environment0$_globalModules = t2;
  25763. _._environment0$_importedModules = t3;
  25764. _._environment0$_forwardedModules = t4;
  25765. _._environment0$_nestedForwardedModules = t5;
  25766. _._environment0$_allModules = t6;
  25767. _._environment0$_variables = t7;
  25768. _._environment0$_variableNodes = t8;
  25769. _._environment0$_variableIndices = t9;
  25770. _._environment0$_functions = t10;
  25771. _._environment0$_functionIndices = t11;
  25772. _._environment0$_mixins = t12;
  25773. _._environment0$_mixinIndices = t13;
  25774. _._environment0$_content = t14;
  25775. _._environment0$_configurableVariables = t15;
  25776. _._environment0$_inMixin = false;
  25777. _._environment0$_inSemiGlobalScope = true;
  25778. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  25779. },
  25780. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  25781. this.name = t0;
  25782. },
  25783. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  25784. this.$this = t0;
  25785. this.name = t1;
  25786. },
  25787. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  25788. this.name = t0;
  25789. },
  25790. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  25791. this.$this = t0;
  25792. this.name = t1;
  25793. },
  25794. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  25795. this.name = t0;
  25796. },
  25797. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  25798. this.name = t0;
  25799. },
  25800. Environment_toModule_closure0: function Environment_toModule_closure0() {
  25801. },
  25802. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  25803. },
  25804. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  25805. var _ = this;
  25806. _.upstream = t0;
  25807. _.variables = t1;
  25808. _.variableNodes = t2;
  25809. _.functions = t3;
  25810. _.mixins = t4;
  25811. _.extensionStore = t5;
  25812. _.css = t6;
  25813. _.preModuleComments = t7;
  25814. _.transitivelyContainsCss = t8;
  25815. _.transitivelyContainsExtensions = t9;
  25816. _._environment0$_environment = t10;
  25817. _._environment0$_modulesByVariable = t11;
  25818. },
  25819. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  25820. },
  25821. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  25822. },
  25823. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  25824. },
  25825. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  25826. },
  25827. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  25828. },
  25829. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  25830. },
  25831. _EnvironmentModule_couldHaveBeenConfigured_closure1: function _EnvironmentModule_couldHaveBeenConfigured_closure1(t0) {
  25832. this.variables = t0;
  25833. },
  25834. ErrorRule0: function ErrorRule0(t0, t1) {
  25835. this.expression = t0;
  25836. this.span = t1;
  25837. },
  25838. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  25839. var t4,
  25840. t1 = type$.Uri,
  25841. t2 = type$.Module_Callable_2,
  25842. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  25843. if (importCache == null)
  25844. t4 = nodeImporter == null ? A.ImportCache$none() : null;
  25845. else
  25846. t4 = importCache;
  25847. t1 = new A._EvaluateVisitor1(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  25848. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  25849. return t1;
  25850. },
  25851. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  25852. var _ = this;
  25853. _._evaluate0$_importCache = t0;
  25854. _._nodeImporter = t1;
  25855. _._evaluate0$_builtInFunctions = t2;
  25856. _._evaluate0$_builtInModules = t3;
  25857. _._evaluate0$_modules = t4;
  25858. _._evaluate0$_moduleConfigurations = t5;
  25859. _._evaluate0$_moduleNodes = t6;
  25860. _._evaluate0$_logger = t7;
  25861. _._evaluate0$_warningsEmitted = t8;
  25862. _._evaluate0$_quietDeps = t9;
  25863. _._evaluate0$_sourceMap = t10;
  25864. _._evaluate0$_compileContext = t11;
  25865. _._evaluate0$_environment = t12;
  25866. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  25867. _._evaluate0$_member = "root stylesheet";
  25868. _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
  25869. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  25870. _._evaluate0$_loadedUrls = t13;
  25871. _._evaluate0$_activeModules = t14;
  25872. _._evaluate0$_stack = t15;
  25873. _._evaluate0$_importer = null;
  25874. _._evaluate0$_inDependency = false;
  25875. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  25876. _._evaluate0$_configuration = t16;
  25877. },
  25878. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  25879. this.$this = t0;
  25880. },
  25881. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  25882. this.$this = t0;
  25883. },
  25884. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  25885. this.$this = t0;
  25886. },
  25887. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  25888. this.$this = t0;
  25889. },
  25890. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  25891. this.$this = t0;
  25892. },
  25893. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  25894. this.$this = t0;
  25895. },
  25896. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  25897. this.$this = t0;
  25898. },
  25899. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  25900. this.$this = t0;
  25901. },
  25902. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  25903. this.$this = t0;
  25904. },
  25905. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  25906. this.$this = t0;
  25907. this.name = t1;
  25908. this.module = t2;
  25909. },
  25910. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  25911. this.$this = t0;
  25912. },
  25913. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  25914. this.$this = t0;
  25915. this.name = t1;
  25916. this.module = t2;
  25917. },
  25918. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  25919. this.$this = t0;
  25920. },
  25921. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  25922. this.$this = t0;
  25923. },
  25924. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2, t3) {
  25925. var _ = this;
  25926. _._box_0 = t0;
  25927. _.values = t1;
  25928. _.span = t2;
  25929. _.callableNode = t3;
  25930. },
  25931. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  25932. this.$this = t0;
  25933. },
  25934. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  25935. this.$this = t0;
  25936. },
  25937. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  25938. this.$this = t0;
  25939. this.node = t1;
  25940. this.importer = t2;
  25941. },
  25942. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  25943. this.$this = t0;
  25944. this.importer = t1;
  25945. this.node = t2;
  25946. },
  25947. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  25948. this._box_0 = t0;
  25949. this.callback = t1;
  25950. },
  25951. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  25952. var _ = this;
  25953. _.$this = t0;
  25954. _.url = t1;
  25955. _.nodeWithSpan = t2;
  25956. _.baseUrl = t3;
  25957. _.namesInErrors = t4;
  25958. _.configuration = t5;
  25959. _.callback = t6;
  25960. },
  25961. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  25962. this.$this = t0;
  25963. this.message = t1;
  25964. },
  25965. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  25966. this._box_1 = t0;
  25967. this.callback = t1;
  25968. this.firstLoad = t2;
  25969. },
  25970. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  25971. var _ = this;
  25972. _.$this = t0;
  25973. _.importer = t1;
  25974. _.stylesheet = t2;
  25975. _.extensionStore = t3;
  25976. _.configuration = t4;
  25977. _.css = t5;
  25978. _.preModuleComments = t6;
  25979. },
  25980. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  25981. },
  25982. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  25983. this.selectors = t0;
  25984. },
  25985. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  25986. var _ = this;
  25987. _.$this = t0;
  25988. _.seen = t1;
  25989. _.clone = t2;
  25990. _.css = t3;
  25991. _.imports = t4;
  25992. _.sorted = t5;
  25993. },
  25994. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  25995. this.originalSelectors = t0;
  25996. },
  25997. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  25998. },
  25999. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  26000. this.$this = t0;
  26001. this.node = t1;
  26002. },
  26003. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  26004. this.$this = t0;
  26005. this.node = t1;
  26006. },
  26007. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  26008. this.$this = t0;
  26009. this.newParent = t1;
  26010. this.node = t2;
  26011. },
  26012. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  26013. this.$this = t0;
  26014. this.innerScope = t1;
  26015. },
  26016. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  26017. this.$this = t0;
  26018. this.innerScope = t1;
  26019. },
  26020. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  26021. this.innerScope = t0;
  26022. this.callback = t1;
  26023. },
  26024. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  26025. this.$this = t0;
  26026. this.innerScope = t1;
  26027. },
  26028. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  26029. },
  26030. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  26031. this.$this = t0;
  26032. this.innerScope = t1;
  26033. },
  26034. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  26035. this.$this = t0;
  26036. this.content = t1;
  26037. },
  26038. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  26039. this._box_0 = t0;
  26040. this.$this = t1;
  26041. },
  26042. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  26043. this._box_0 = t0;
  26044. this.$this = t1;
  26045. this.nodeWithSpan = t2;
  26046. },
  26047. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  26048. this._box_1 = t0;
  26049. this.$this = t1;
  26050. this.nodeWithSpan = t2;
  26051. },
  26052. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  26053. var _ = this;
  26054. _.$this = t0;
  26055. _.list = t1;
  26056. _.setVariables = t2;
  26057. _.node = t3;
  26058. },
  26059. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  26060. this.$this = t0;
  26061. this.setVariables = t1;
  26062. this.node = t2;
  26063. },
  26064. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  26065. this.$this = t0;
  26066. },
  26067. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  26068. this.$this = t0;
  26069. },
  26070. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  26071. this.$this = t0;
  26072. this.name = t1;
  26073. this.children = t2;
  26074. },
  26075. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  26076. this.$this = t0;
  26077. this.children = t1;
  26078. },
  26079. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  26080. },
  26081. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  26082. this.$this = t0;
  26083. this.node = t1;
  26084. },
  26085. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  26086. this.$this = t0;
  26087. this.node = t1;
  26088. },
  26089. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  26090. this.fromNumber = t0;
  26091. },
  26092. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  26093. this.toNumber = t0;
  26094. this.fromNumber = t1;
  26095. },
  26096. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  26097. var _ = this;
  26098. _._box_0 = t0;
  26099. _.$this = t1;
  26100. _.node = t2;
  26101. _.from = t3;
  26102. _.direction = t4;
  26103. _.fromNumber = t5;
  26104. },
  26105. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  26106. this.$this = t0;
  26107. },
  26108. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  26109. this.$this = t0;
  26110. this.node = t1;
  26111. },
  26112. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  26113. this.$this = t0;
  26114. this.node = t1;
  26115. },
  26116. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  26117. },
  26118. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  26119. this.$this = t0;
  26120. },
  26121. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  26122. this.$this = t0;
  26123. this.clause = t1;
  26124. },
  26125. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  26126. this.$this = t0;
  26127. },
  26128. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  26129. this.$this = t0;
  26130. this.$import = t1;
  26131. },
  26132. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  26133. this.$this = t0;
  26134. },
  26135. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  26136. },
  26137. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  26138. },
  26139. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  26140. var _ = this;
  26141. _._box_0 = t0;
  26142. _.$this = t1;
  26143. _.loadsUserDefinedModules = t2;
  26144. _.environment = t3;
  26145. _.children = t4;
  26146. },
  26147. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  26148. var _ = this;
  26149. _.$this = t0;
  26150. _.$arguments = t1;
  26151. _.mixin = t2;
  26152. _.nodeWithSpanWithoutContent = t3;
  26153. },
  26154. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  26155. var _ = this;
  26156. _.$this = t0;
  26157. _.$arguments = t1;
  26158. _.mixin = t2;
  26159. _.nodeWithSpanWithoutContent = t3;
  26160. },
  26161. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  26162. var _ = this;
  26163. _.$this = t0;
  26164. _.contentCallable = t1;
  26165. _.mixin = t2;
  26166. _.nodeWithSpanWithoutContent = t3;
  26167. },
  26168. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  26169. this.$this = t0;
  26170. this.mixin = t1;
  26171. this.nodeWithSpanWithoutContent = t2;
  26172. },
  26173. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  26174. this.$this = t0;
  26175. this.mixin = t1;
  26176. this.nodeWithSpanWithoutContent = t2;
  26177. },
  26178. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  26179. this.$this = t0;
  26180. this.statement = t1;
  26181. },
  26182. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  26183. this.$this = t0;
  26184. this.node = t1;
  26185. },
  26186. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  26187. this.$this = t0;
  26188. },
  26189. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  26190. this.node = t0;
  26191. },
  26192. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  26193. this.$this = t0;
  26194. this.queries = t1;
  26195. },
  26196. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  26197. var _ = this;
  26198. _.$this = t0;
  26199. _.mergedQueries = t1;
  26200. _.queries = t2;
  26201. _.mergedSources = t3;
  26202. _.node = t4;
  26203. },
  26204. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  26205. this.$this = t0;
  26206. this.node = t1;
  26207. },
  26208. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  26209. this.$this = t0;
  26210. this.node = t1;
  26211. },
  26212. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  26213. this.mergedSources = t0;
  26214. },
  26215. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  26216. this.$this = t0;
  26217. this.node = t1;
  26218. },
  26219. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  26220. },
  26221. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  26222. this.$this = t0;
  26223. this.rule = t1;
  26224. this.node = t2;
  26225. },
  26226. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  26227. this.$this = t0;
  26228. this.node = t1;
  26229. },
  26230. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  26231. },
  26232. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  26233. },
  26234. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  26235. this.$this = t0;
  26236. this.node = t1;
  26237. },
  26238. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  26239. this.$this = t0;
  26240. this.node = t1;
  26241. },
  26242. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  26243. },
  26244. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  26245. this._box_0 = t0;
  26246. this.$this = t1;
  26247. },
  26248. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  26249. this._box_0 = t0;
  26250. this.$this = t1;
  26251. this.node = t2;
  26252. },
  26253. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  26254. this.$this = t0;
  26255. this.node = t1;
  26256. },
  26257. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  26258. this.$this = t0;
  26259. this.node = t1;
  26260. this.value = t2;
  26261. },
  26262. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  26263. this.$this = t0;
  26264. this.node = t1;
  26265. },
  26266. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  26267. this.$this = t0;
  26268. this.node = t1;
  26269. },
  26270. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  26271. this.$this = t0;
  26272. this.node = t1;
  26273. },
  26274. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  26275. this.$this = t0;
  26276. },
  26277. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  26278. this.$this = t0;
  26279. this.node = t1;
  26280. },
  26281. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  26282. },
  26283. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  26284. this.$this = t0;
  26285. this.node = t1;
  26286. },
  26287. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  26288. this.node = t0;
  26289. this.operand = t1;
  26290. },
  26291. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  26292. this.$this = t0;
  26293. },
  26294. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  26295. this.$this = t0;
  26296. this.node = t1;
  26297. },
  26298. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  26299. },
  26300. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  26301. this._box_0 = t0;
  26302. this.$this = t1;
  26303. this.node = t2;
  26304. },
  26305. _EvaluateVisitor__visitCalculation_closure1: function _EvaluateVisitor__visitCalculation_closure1(t0, t1) {
  26306. this.$this = t0;
  26307. this.node = t1;
  26308. },
  26309. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  26310. this.$this = t0;
  26311. this.node = t1;
  26312. },
  26313. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  26314. var _ = this;
  26315. _._box_0 = t0;
  26316. _.$this = t1;
  26317. _.node = t2;
  26318. _.inLegacySassFunction = t3;
  26319. },
  26320. _EvaluateVisitor__visitCalculationExpression__closure1: function _EvaluateVisitor__visitCalculationExpression__closure1(t0, t1) {
  26321. this.$this = t0;
  26322. this.node = t1;
  26323. },
  26324. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  26325. this.$this = t0;
  26326. this.node = t1;
  26327. this.$function = t2;
  26328. },
  26329. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  26330. var _ = this;
  26331. _.$this = t0;
  26332. _.callable = t1;
  26333. _.evaluated = t2;
  26334. _.nodeWithSpan = t3;
  26335. _.run = t4;
  26336. _.V = t5;
  26337. },
  26338. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  26339. var _ = this;
  26340. _.$this = t0;
  26341. _.evaluated = t1;
  26342. _.callable = t2;
  26343. _.nodeWithSpan = t3;
  26344. _.run = t4;
  26345. _.V = t5;
  26346. },
  26347. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  26348. var _ = this;
  26349. _.$this = t0;
  26350. _.evaluated = t1;
  26351. _.callable = t2;
  26352. _.nodeWithSpan = t3;
  26353. _.run = t4;
  26354. _.V = t5;
  26355. },
  26356. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  26357. },
  26358. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  26359. this.$this = t0;
  26360. this.callable = t1;
  26361. },
  26362. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  26363. this._box_0 = t0;
  26364. this.evaluated = t1;
  26365. this.namedSet = t2;
  26366. },
  26367. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  26368. this._box_0 = t0;
  26369. this.evaluated = t1;
  26370. },
  26371. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  26372. },
  26373. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  26374. },
  26375. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  26376. this.$this = t0;
  26377. this.restNodeForSpan = t1;
  26378. },
  26379. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  26380. var _ = this;
  26381. _.$this = t0;
  26382. _.named = t1;
  26383. _.restNodeForSpan = t2;
  26384. _.namedNodes = t3;
  26385. },
  26386. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  26387. },
  26388. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  26389. this.restArgs = t0;
  26390. },
  26391. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  26392. this.$this = t0;
  26393. this.restNodeForSpan = t1;
  26394. this.restArgs = t2;
  26395. },
  26396. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  26397. var _ = this;
  26398. _.$this = t0;
  26399. _.named = t1;
  26400. _.restNodeForSpan = t2;
  26401. _.restArgs = t3;
  26402. },
  26403. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  26404. this.$this = t0;
  26405. this.keywordRestNodeForSpan = t1;
  26406. this.keywordRestArgs = t2;
  26407. },
  26408. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  26409. var _ = this;
  26410. _.$this = t0;
  26411. _.values = t1;
  26412. _.convert = t2;
  26413. _.expressionNode = t3;
  26414. _.map = t4;
  26415. _.nodeWithSpan = t5;
  26416. },
  26417. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  26418. this.parameters = t0;
  26419. this.positional = t1;
  26420. this.named = t2;
  26421. },
  26422. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  26423. this.$this = t0;
  26424. this.node = t1;
  26425. },
  26426. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  26427. },
  26428. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  26429. this.$this = t0;
  26430. this.node = t1;
  26431. },
  26432. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  26433. },
  26434. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  26435. this.$this = t0;
  26436. this.node = t1;
  26437. },
  26438. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  26439. var _ = this;
  26440. _.$this = t0;
  26441. _.mergedQueries = t1;
  26442. _.node = t2;
  26443. _.mergedSources = t3;
  26444. },
  26445. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  26446. this.$this = t0;
  26447. this.node = t1;
  26448. },
  26449. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  26450. this.$this = t0;
  26451. this.node = t1;
  26452. },
  26453. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  26454. this.mergedSources = t0;
  26455. },
  26456. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  26457. this.$this = t0;
  26458. this.rule = t1;
  26459. this.node = t2;
  26460. },
  26461. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  26462. this.$this = t0;
  26463. this.node = t1;
  26464. },
  26465. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  26466. },
  26467. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  26468. this.$this = t0;
  26469. this.node = t1;
  26470. },
  26471. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  26472. this.$this = t0;
  26473. this.node = t1;
  26474. },
  26475. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  26476. },
  26477. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  26478. this.interpolation = t0;
  26479. },
  26480. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  26481. this.value = t0;
  26482. this.quote = t1;
  26483. },
  26484. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  26485. this.$this = t0;
  26486. this.expression = t1;
  26487. },
  26488. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  26489. },
  26490. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  26491. this.$this = t0;
  26492. },
  26493. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  26494. this._evaluate0$_visitor = t0;
  26495. },
  26496. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  26497. },
  26498. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  26499. this.hasBeenMerged = t0;
  26500. },
  26501. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  26502. },
  26503. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  26504. },
  26505. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  26506. this._evaluate0$_visitor = t0;
  26507. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  26508. },
  26509. EveryCssVisitor0: function EveryCssVisitor0() {
  26510. },
  26511. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  26512. this.$this = t0;
  26513. },
  26514. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  26515. this.$this = t0;
  26516. },
  26517. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  26518. this.$this = t0;
  26519. },
  26520. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  26521. this.$this = t0;
  26522. },
  26523. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  26524. this.$this = t0;
  26525. },
  26526. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  26527. this.$this = t0;
  26528. },
  26529. throwNodeException(exception, ascii, color, trace) {
  26530. var wasAscii, jsException, t1, trace0;
  26531. trace = trace;
  26532. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  26533. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26534. try {
  26535. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  26536. jsException = type$._NodeException._as(t1);
  26537. trace0 = A.getTrace0(exception);
  26538. trace = trace0 == null ? trace : trace0;
  26539. if (trace != null)
  26540. A.attachJsStack(jsException, trace);
  26541. A.jsThrow(jsException);
  26542. } finally {
  26543. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26544. }
  26545. },
  26546. _NodeException: function _NodeException() {
  26547. },
  26548. exceptionClass_closure: function exceptionClass_closure() {
  26549. },
  26550. exceptionClass__closure: function exceptionClass__closure() {
  26551. },
  26552. exceptionClass__closure0: function exceptionClass__closure0() {
  26553. },
  26554. exceptionClass__closure1: function exceptionClass__closure1() {
  26555. },
  26556. SassException$0(message, span, loadedUrls) {
  26557. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26558. },
  26559. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26560. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26561. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26562. },
  26563. SassRuntimeException$0(message, span, trace, loadedUrls) {
  26564. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26565. },
  26566. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  26567. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26568. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26569. },
  26570. SassFormatException$0(message, span, loadedUrls) {
  26571. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26572. },
  26573. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26574. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26575. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26576. },
  26577. SassScriptException$0(message, argumentName) {
  26578. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  26579. },
  26580. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  26581. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26582. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  26583. },
  26584. SassException0: function SassException0(t0, t1, t2) {
  26585. this.loadedUrls = t0;
  26586. this._span_exception$_message = t1;
  26587. this._span = t2;
  26588. },
  26589. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  26590. var _ = this;
  26591. _.primaryLabel = t0;
  26592. _.secondarySpans = t1;
  26593. _.loadedUrls = t2;
  26594. _._span_exception$_message = t3;
  26595. _._span = t4;
  26596. },
  26597. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  26598. var _ = this;
  26599. _.trace = t0;
  26600. _.loadedUrls = t1;
  26601. _._span_exception$_message = t2;
  26602. _._span = t3;
  26603. },
  26604. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  26605. var _ = this;
  26606. _.trace = t0;
  26607. _.primaryLabel = t1;
  26608. _.secondarySpans = t2;
  26609. _.loadedUrls = t3;
  26610. _._span_exception$_message = t4;
  26611. _._span = t5;
  26612. },
  26613. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  26614. this.loadedUrls = t0;
  26615. this._span_exception$_message = t1;
  26616. this._span = t2;
  26617. },
  26618. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  26619. var _ = this;
  26620. _.primaryLabel = t0;
  26621. _.secondarySpans = t1;
  26622. _.loadedUrls = t2;
  26623. _._span_exception$_message = t3;
  26624. _._span = t4;
  26625. },
  26626. SassScriptException0: function SassScriptException0(t0) {
  26627. this.message = t0;
  26628. },
  26629. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  26630. this.primaryLabel = t0;
  26631. this.secondarySpans = t1;
  26632. this.message = t2;
  26633. },
  26634. Exports: function Exports() {
  26635. },
  26636. LoggerNamespace: function LoggerNamespace() {
  26637. },
  26638. Expression0: function Expression0() {
  26639. },
  26640. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  26641. this._expression$_inner = t0;
  26642. },
  26643. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  26644. },
  26645. expressionToCalc0(expression) {
  26646. var t4,
  26647. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  26648. t2 = expression.get$span(0),
  26649. t3 = type$.Expression_2;
  26650. t1 = A.List_List$unmodifiable(t1, t3);
  26651. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  26652. t4 = expression.get$span(0);
  26653. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  26654. },
  26655. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  26656. },
  26657. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  26658. },
  26659. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  26660. this.selector = t0;
  26661. this.isOptional = t1;
  26662. this.span = t2;
  26663. },
  26664. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  26665. var _ = this;
  26666. _.extender = t0;
  26667. _.target = t1;
  26668. _.mediaContext = t2;
  26669. _.isOptional = t3;
  26670. _.span = t4;
  26671. },
  26672. Extender0: function Extender0(t0, t1) {
  26673. this.selector = t0;
  26674. this.isOriginal = t1;
  26675. this._extension$_extension = null;
  26676. },
  26677. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  26678. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  26679. extender = A.ExtensionStore$_mode0(mode);
  26680. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  26681. extender._extension_store$_originals.addAll$1(0, selector.components);
  26682. for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = type$.SimpleSelector_2, t8 = type$.Map_ComplexSelector_Extension_2, _i = 0; _i < t2; ++_i) {
  26683. complex = t1[_i];
  26684. compound = complex.get$singleCompound();
  26685. if (compound == null)
  26686. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  26687. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  26688. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  26689. simple = t10[_i0];
  26690. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  26691. for (_i1 = 0; _i1 < t4; ++_i1) {
  26692. complex = t3[_i1];
  26693. complex.get$specificity();
  26694. t13 = new A.Extender0(complex, false);
  26695. t14 = new A.Extension0(t13, simple, null, true, span);
  26696. t13._extension$_extension = t14;
  26697. t12.$indexSet(0, complex, t14);
  26698. }
  26699. t9.$indexSet(0, simple, t12);
  26700. }
  26701. selector = extender._extension_store$_extendList$2(selector, t9);
  26702. }
  26703. return selector;
  26704. },
  26705. ExtensionStore$0() {
  26706. var t1 = type$.SimpleSelector_2;
  26707. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal_0_normal0);
  26708. },
  26709. ExtensionStore$_mode0(_mode) {
  26710. var t1 = type$.SimpleSelector_2;
  26711. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  26712. },
  26713. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  26714. var _ = this;
  26715. _._extension_store$_selectors = t0;
  26716. _._extension_store$_extensions = t1;
  26717. _._extension_store$_extensionsByExtender = t2;
  26718. _._extension_store$_mediaContexts = t3;
  26719. _._extension_store$_sourceSpecificity = t4;
  26720. _._extension_store$_originals = t5;
  26721. _._extension_store$_mode = t6;
  26722. },
  26723. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  26724. },
  26725. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  26726. },
  26727. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  26728. },
  26729. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  26730. },
  26731. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  26732. this.complex = t0;
  26733. },
  26734. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  26735. },
  26736. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  26737. },
  26738. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  26739. },
  26740. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  26741. this._box_0 = t0;
  26742. this.$this = t1;
  26743. this.complex = t2;
  26744. },
  26745. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  26746. this._box_0 = t0;
  26747. this.$this = t1;
  26748. this.complex = t2;
  26749. },
  26750. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  26751. },
  26752. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  26753. },
  26754. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  26755. this.original = t0;
  26756. },
  26757. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  26758. this.$this = t0;
  26759. this.extensions = t1;
  26760. this.targetsUsed = t2;
  26761. },
  26762. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  26763. this.$this = t0;
  26764. this.withoutPseudo = t1;
  26765. },
  26766. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  26767. },
  26768. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  26769. },
  26770. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  26771. },
  26772. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  26773. },
  26774. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  26775. this.pseudo = t0;
  26776. },
  26777. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  26778. this.pseudo = t0;
  26779. this.selector = t1;
  26780. },
  26781. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  26782. this._box_0 = t0;
  26783. this.complex1 = t1;
  26784. },
  26785. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  26786. this._box_0 = t0;
  26787. this.complex1 = t1;
  26788. },
  26789. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3, t4) {
  26790. var _ = this;
  26791. _.$this = t0;
  26792. _.newSelectors = t1;
  26793. _.newBoxes = t2;
  26794. _.oldToNewSelectors = t3;
  26795. _.newMediaContexts = t4;
  26796. },
  26797. ExtensionStore_clone__closure0: function ExtensionStore_clone__closure0(t0) {
  26798. this.selector = t0;
  26799. },
  26800. FiberClass: function FiberClass() {
  26801. },
  26802. Fiber: function Fiber() {
  26803. },
  26804. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  26805. this._file0$_findFileUrl = t0;
  26806. },
  26807. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  26808. this.$this = t0;
  26809. this.url = t1;
  26810. },
  26811. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  26812. this._filesystem$_loadPath = t0;
  26813. this._filesystem$_loadPathDeprecated = t1;
  26814. },
  26815. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  26816. },
  26817. ForRule$0(variable, from, to, children, span, exclusive) {
  26818. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26819. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26820. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  26821. },
  26822. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  26823. var _ = this;
  26824. _.variable = t0;
  26825. _.from = t1;
  26826. _.to = t2;
  26827. _.isExclusive = t3;
  26828. _.span = t4;
  26829. _.children = t5;
  26830. _.hasDeclarations = t6;
  26831. },
  26832. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  26833. var _ = this;
  26834. _.url = t0;
  26835. _.shownMixinsAndFunctions = t1;
  26836. _.shownVariables = t2;
  26837. _.hiddenMixinsAndFunctions = t3;
  26838. _.hiddenVariables = t4;
  26839. _.prefix = t5;
  26840. _.configuration = t6;
  26841. _.span = t7;
  26842. },
  26843. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  26844. var t2,
  26845. t1 = false;
  26846. if (rule.prefix == null)
  26847. if (rule.shownMixinsAndFunctions == null)
  26848. if (rule.shownVariables == null) {
  26849. t2 = rule.hiddenMixinsAndFunctions;
  26850. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  26851. if (t2 === true) {
  26852. t1 = rule.hiddenVariables;
  26853. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  26854. t1 = t1 === true;
  26855. }
  26856. }
  26857. if (t1)
  26858. return inner;
  26859. else
  26860. return A.ForwardedModuleView$0(inner, rule, $T);
  26861. },
  26862. ForwardedModuleView$0(_inner, _rule, $T) {
  26863. var t1 = _rule.prefix,
  26864. t2 = _rule.shownVariables,
  26865. t3 = _rule.hiddenVariables,
  26866. t4 = _rule.shownMixinsAndFunctions,
  26867. t5 = _rule.hiddenMixinsAndFunctions;
  26868. return new A.ForwardedModuleView0(_inner, _rule, A.ForwardedModuleView__forwardedMap0(_inner.get$variables(), t1, t2, t3, type$.Value_2), A.ForwardedModuleView__forwardedMap0(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode_2), A.ForwardedModuleView__forwardedMap0(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap0(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView0<0>"));
  26869. },
  26870. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  26871. var t1 = prefix == null,
  26872. t2 = false;
  26873. if (t1)
  26874. if (safelist == null)
  26875. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  26876. if (t2)
  26877. return map;
  26878. if (!t1)
  26879. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  26880. if (safelist != null)
  26881. map = new A.LimitedMapView0(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  26882. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  26883. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  26884. return map;
  26885. },
  26886. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  26887. var _ = this;
  26888. _._forwarded_view0$_inner = t0;
  26889. _._forwarded_view0$_rule = t1;
  26890. _.variables = t2;
  26891. _.variableNodes = t3;
  26892. _.functions = t4;
  26893. _.mixins = t5;
  26894. _.$ti = t6;
  26895. },
  26896. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  26897. var _ = this;
  26898. _.namespace = t0;
  26899. _.name = t1;
  26900. _.originalName = t2;
  26901. _.$arguments = t3;
  26902. _.span = t4;
  26903. },
  26904. JSFunction0: function JSFunction0() {
  26905. },
  26906. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  26907. this.name = t0;
  26908. this.$arguments = t1;
  26909. this.span = t2;
  26910. },
  26911. functionClass_closure: function functionClass_closure() {
  26912. },
  26913. functionClass__closure: function functionClass__closure() {
  26914. },
  26915. functionClass__closure0: function functionClass__closure0() {
  26916. },
  26917. SassFunction0: function SassFunction0(t0, t1) {
  26918. this.callable = t0;
  26919. this._function0$_compileContext = t1;
  26920. },
  26921. FunctionRule$0($name, parameters, children, span, comment) {
  26922. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  26923. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  26924. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  26925. return new A.FunctionRule0(t1, $name, parameters, span, t2, t3);
  26926. },
  26927. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  26928. var _ = this;
  26929. _.name = t0;
  26930. _.originalName = t1;
  26931. _.parameters = t2;
  26932. _.span = t3;
  26933. _.children = t4;
  26934. _.hasDeclarations = t5;
  26935. },
  26936. unifyComplex0(complexes, span) {
  26937. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  26938. t1 = J.getInterceptor$asx(complexes);
  26939. if (t1.get$length(complexes) === 1)
  26940. return complexes;
  26941. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  26942. t3 = t2.get$current(t2);
  26943. if (t3.accept$1(B.C__IsUselessVisitor0))
  26944. return _null;
  26945. t4 = t3.components;
  26946. _0_6_isSet = t4.length === 1;
  26947. if (_0_6_isSet) {
  26948. _0_6 = t3.leadingCombinators;
  26949. t5 = _0_6.length === 1;
  26950. } else {
  26951. _0_6 = _null;
  26952. t5 = false;
  26953. }
  26954. if (t5) {
  26955. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  26956. if (leadingCombinator == null)
  26957. leadingCombinator = newLeadingCombinator;
  26958. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  26959. return _null;
  26960. }
  26961. base = B.JSArray_methods.get$last(t4);
  26962. _1_1 = base.combinators;
  26963. if (_1_1.length === 1) {
  26964. newTrailingCombinator = _1_1[0];
  26965. if (trailingCombinator != null)
  26966. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  26967. else
  26968. t3 = false;
  26969. if (t3)
  26970. return _null;
  26971. trailingCombinator = newTrailingCombinator;
  26972. }
  26973. unifiedBase0 = base.selector;
  26974. if (unifiedBase == null)
  26975. unifiedBase = unifiedBase0;
  26976. else {
  26977. unifiedBase = A.unifyCompound0(unifiedBase, unifiedBase0);
  26978. if (unifiedBase == null)
  26979. return _null;
  26980. }
  26981. }
  26982. t2 = type$.JSArray_ComplexSelector_2;
  26983. t3 = A._setArrayType([], t2);
  26984. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  26985. t5 = t4.get$current(t4);
  26986. t6 = t5.components;
  26987. t7 = t6.length;
  26988. if (t7 > 1) {
  26989. t8 = t5.leadingCombinators;
  26990. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  26991. }
  26992. }
  26993. t4 = leadingCombinator == null ? B.List_empty15 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  26994. unifiedBase.toString;
  26995. t5 = trailingCombinator == null ? B.List_empty15 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  26996. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(unifiedBase, A.List_List$unmodifiable(t5, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, t1.any$1(complexes, new A.unifyComplex_closure0()));
  26997. if (t3.length === 0)
  26998. t1 = A._setArrayType([base], t2);
  26999. else {
  27000. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t3), type$.ComplexSelector_2);
  27001. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  27002. }
  27003. return A.weave0(t1, span, false);
  27004. },
  27005. unifyCompound0(compound1, compound2) {
  27006. var t1, t2, pseudoElementFound, _i, simple, unified,
  27007. result = compound1.components,
  27008. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  27009. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  27010. simple = t1[_i];
  27011. if (pseudoElementFound && simple instanceof A.PseudoSelector0) {
  27012. unified = simple.unify$1(pseudoResult);
  27013. if (unified == null)
  27014. return null;
  27015. pseudoResult = unified;
  27016. } else {
  27017. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector0 && !simple.isClass);
  27018. unified = simple.unify$1(result);
  27019. if (unified == null)
  27020. return null;
  27021. result = unified;
  27022. }
  27023. }
  27024. t1 = A.List_List$_of(result, type$.SimpleSelector_2);
  27025. B.JSArray_methods.addAll$1(t1, pseudoResult);
  27026. return A.CompoundSelector$0(t1, compound1.span);
  27027. },
  27028. unifyUniversalAndElement0(selector1, selector2) {
  27029. var namespace, $name, t1,
  27030. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  27031. namespace1 = _0_0._0,
  27032. name1 = _0_0._1,
  27033. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  27034. namespace2 = _1_0._0,
  27035. name2 = _1_0._1;
  27036. if (namespace1 == namespace2 || namespace2 === "*")
  27037. namespace = namespace1;
  27038. else {
  27039. if (namespace1 !== "*")
  27040. return null;
  27041. namespace = namespace2;
  27042. }
  27043. if (name1 == name2 || name2 == null)
  27044. $name = name1;
  27045. else {
  27046. if (!(name1 == null || name1 === "*"))
  27047. return null;
  27048. $name = name2;
  27049. }
  27050. t1 = selector1.span;
  27051. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  27052. },
  27053. _namespaceAndName0(selector, $name) {
  27054. var t1, _0_4;
  27055. $label0$0: {
  27056. if (selector instanceof A.UniversalSelector0) {
  27057. t1 = new A._Record_2(selector.namespace, null);
  27058. break $label0$0;
  27059. }
  27060. if (selector instanceof A.TypeSelector0) {
  27061. _0_4 = selector.name;
  27062. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  27063. break $label0$0;
  27064. }
  27065. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  27066. }
  27067. return t1;
  27068. },
  27069. weave0(complexes, span, forceLineBreak) {
  27070. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  27071. t1 = J.getInterceptor$asx(complexes);
  27072. if (t1.get$length(complexes) === 1) {
  27073. complex = t1.$index(complexes, 0);
  27074. if (!forceLineBreak || complex.lineBreak)
  27075. return complexes;
  27076. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  27077. }
  27078. t2 = type$.JSArray_ComplexSelector_2;
  27079. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  27080. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent_2, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  27081. t5 = t1.__internal$_current;
  27082. if (t5 == null)
  27083. t5 = t3._as(t5);
  27084. t6 = t5.components;
  27085. if (t6.length === 1) {
  27086. for (i = 0; i < prefixes.length; ++i)
  27087. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  27088. continue;
  27089. }
  27090. t7 = A._setArrayType([], t2);
  27091. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  27092. t9 = A._weaveParents0(prefixes[_i], t5, span);
  27093. if (t9 == null)
  27094. t9 = B.List_empty16;
  27095. t10 = t9.length;
  27096. _i0 = 0;
  27097. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  27098. parentPrefix = t9[_i0];
  27099. t11 = B.JSArray_methods.get$last(t6);
  27100. t12 = A.List_List$_of(parentPrefix.components, t4);
  27101. t12.push(t11);
  27102. t11 = parentPrefix.lineBreak || forceLineBreak;
  27103. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  27104. }
  27105. }
  27106. prefixes = t7;
  27107. }
  27108. return prefixes;
  27109. },
  27110. _weaveParents0(prefix, base, span) {
  27111. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish2, t2, rootish1, _0_30, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  27112. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  27113. if (leadingCombinators == null)
  27114. return _null;
  27115. t1 = type$.ComplexSelectorComponent_2;
  27116. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  27117. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  27118. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  27119. if (trailingCombinators == null)
  27120. return _null;
  27121. $label0$0: {
  27122. _0_1 = A._firstIfRootish0(queue1);
  27123. _0_3 = A._firstIfRootish0(queue2);
  27124. _0_3_isSet = _0_1 != null;
  27125. rootish2 = _null;
  27126. t2 = false;
  27127. if (_0_3_isSet) {
  27128. t2 = _0_3 != null;
  27129. if (t2)
  27130. rootish2 = _0_3;
  27131. rootish1 = _0_1;
  27132. _0_30 = _0_3;
  27133. } else {
  27134. rootish1 = _null;
  27135. _0_30 = rootish1;
  27136. }
  27137. if (t2) {
  27138. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  27139. if (rootish == null)
  27140. return _null;
  27141. t1 = rootish1.combinators;
  27142. t2 = rootish1.span;
  27143. t3 = type$.CssValue_Combinator_2;
  27144. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  27145. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  27146. break $label0$0;
  27147. }
  27148. t2 = _null;
  27149. t3 = false;
  27150. if (_0_1 != null) {
  27151. if (_0_3_isSet)
  27152. t2 = _0_30;
  27153. else {
  27154. t2 = _0_3;
  27155. _0_30 = t2;
  27156. _0_3_isSet = true;
  27157. }
  27158. t2 = t2 == null;
  27159. t3 = t2 ? _0_1 : _null;
  27160. t0 = t3;
  27161. t3 = t2;
  27162. t2 = t0;
  27163. }
  27164. if (!t3)
  27165. if (_0_1 == null) {
  27166. if (_0_3_isSet)
  27167. t3 = _0_30;
  27168. else {
  27169. t3 = _0_3;
  27170. _0_30 = t3;
  27171. _0_3_isSet = true;
  27172. }
  27173. t3 = t3 != null;
  27174. if (t3) {
  27175. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  27176. if (rootish_case_1 == null)
  27177. rootish_case_1 = t1._as(rootish_case_1);
  27178. t1 = rootish_case_1;
  27179. } else
  27180. t1 = t2;
  27181. t2 = t3;
  27182. } else {
  27183. t1 = t2;
  27184. t2 = false;
  27185. }
  27186. else {
  27187. t1 = t2;
  27188. t2 = true;
  27189. }
  27190. if (t2) {
  27191. queue1.addFirst$1(t1);
  27192. queue2.addFirst$1(t1);
  27193. }
  27194. }
  27195. groups1 = A._groupSelectors0(queue1);
  27196. groups2 = A._groupSelectors0(queue2);
  27197. t1 = type$.List_ComplexSelectorComponent_2;
  27198. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  27199. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  27200. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent_2, t4 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  27201. group = lcs[_i];
  27202. t5 = A._setArrayType([], t3);
  27203. for (t6 = A._chunks0(groups1, groups2, new A._weaveParents_closure4(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  27204. chunk = t6[_i0];
  27205. t8 = A._setArrayType([], t4);
  27206. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  27207. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  27208. t5.push(t8);
  27209. }
  27210. choices.push(t5);
  27211. choices.push(A._setArrayType([group], t3));
  27212. groups1.removeFirst$0();
  27213. groups2.removeFirst$0();
  27214. }
  27215. t2 = A._setArrayType([], t3);
  27216. for (t1 = A._chunks0(groups1, groups2, new A._weaveParents_closure5(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  27217. chunk = t1[_i];
  27218. t5 = A._setArrayType([], t4);
  27219. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  27220. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  27221. t2.push(t5);
  27222. }
  27223. choices.push(t2);
  27224. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  27225. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  27226. for (t2 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure6(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  27227. t6 = t2.get$current(t2);
  27228. t7 = A._setArrayType([], t4);
  27229. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  27230. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  27231. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  27232. }
  27233. return t1;
  27234. },
  27235. _firstIfRootish0(queue) {
  27236. var first, t1, t2, _i, simple, t3;
  27237. if (queue.get$length(0) >= 1) {
  27238. first = queue.$index(0, 0);
  27239. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  27240. simple = t1[_i];
  27241. t3 = false;
  27242. if (simple instanceof A.PseudoSelector0)
  27243. if (simple.isClass)
  27244. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  27245. if (t3) {
  27246. queue.removeFirst$0();
  27247. return first;
  27248. }
  27249. }
  27250. }
  27251. return null;
  27252. },
  27253. _mergeLeadingCombinators0(combinators1, combinators2) {
  27254. var t1, _0_7, t2, _0_11_isSet, _0_11, combinators, _null = null;
  27255. $label0$0: {
  27256. t1 = _null;
  27257. _0_7 = _null;
  27258. _0_7 = combinators1.length;
  27259. t2 = _0_7;
  27260. t2 = t2 > 1;
  27261. _0_11_isSet = !t2;
  27262. _0_11 = _null;
  27263. if (_0_11_isSet) {
  27264. _0_11 = combinators2.length;
  27265. t2 = _0_11;
  27266. t2 = t2 > 1;
  27267. } else
  27268. t2 = true;
  27269. if (t2)
  27270. break $label0$0;
  27271. t2 = _0_7 <= 0;
  27272. if (t2)
  27273. combinators = combinators2;
  27274. else
  27275. combinators = t1;
  27276. t1 = t2;
  27277. if (!t1) {
  27278. t1 = false;
  27279. if (_0_11_isSet)
  27280. t1 = _0_11;
  27281. else {
  27282. _0_11 = combinators2.length;
  27283. t1 = _0_11;
  27284. }
  27285. t1 = t1 <= 0;
  27286. combinators = combinators1;
  27287. } else
  27288. t1 = true;
  27289. if (t1) {
  27290. t1 = combinators;
  27291. break $label0$0;
  27292. }
  27293. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  27294. break $label0$0;
  27295. }
  27296. return t1;
  27297. },
  27298. _mergeTrailingCombinators0(components1, components2, span, result) {
  27299. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_5, _4_4, _4_5_isSet, _4_4_isSet, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_6_isSet, _4_7, _4_7_isSet, followingComponents, nextComponents, _4_9_isSet, _4_10_isSet, _4_10, next, following, _3_0, _4_4_isSet0, siblingComponents_case_0, siblingComponents_case_1, t6, combinator2, unified, t7, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  27300. if (result == null)
  27301. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  27302. $label0$0: {
  27303. _0_1 = components1.get$length(0);
  27304. if (_0_1 >= 1) {
  27305. t1 = components1.$index(0, _0_1 - 1).combinators;
  27306. break $label0$0;
  27307. }
  27308. t1 = B.List_empty15;
  27309. break $label0$0;
  27310. }
  27311. $label1$1: {
  27312. _1_1 = components2.get$length(0);
  27313. if (_1_1 >= 1) {
  27314. t2 = components2.$index(0, _1_1 - 1).combinators;
  27315. break $label1$1;
  27316. }
  27317. t2 = B.List_empty15;
  27318. break $label1$1;
  27319. }
  27320. t3 = t1.length;
  27321. if (t3 === 0 && t2.length === 0)
  27322. return result;
  27323. if (t3 > 1 || t2.length > 1)
  27324. return _null;
  27325. $label2$2: {
  27326. t3 = A.IterableExtension_get_firstOrNull(t1);
  27327. t3 = t3 == null ? _null : t3.value;
  27328. t2 = A.IterableExtension_get_firstOrNull(t2);
  27329. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  27330. _4_1 = t2[0];
  27331. _4_3 = B.Combinator_98W0 === _4_1;
  27332. t3 = _4_3;
  27333. _4_5 = _null;
  27334. _4_4 = _null;
  27335. if (t3) {
  27336. _4_4 = t2[1];
  27337. _4_5 = B.Combinator_98W0 === _4_4;
  27338. t3 = _4_5;
  27339. _4_5_isSet = true;
  27340. _4_4_isSet = true;
  27341. } else {
  27342. _4_5_isSet = false;
  27343. _4_4_isSet = false;
  27344. t3 = false;
  27345. }
  27346. if (t3) {
  27347. component1 = components1.removeLast$0(0);
  27348. component2 = components2.removeLast$0(0);
  27349. t2 = component1.selector;
  27350. t3 = component2.selector;
  27351. if (A.compoundIsSuperselector0(t2, t3, _null))
  27352. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27353. else {
  27354. t4 = type$.JSArray_ComplexSelectorComponent_2;
  27355. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  27356. if (A.compoundIsSuperselector0(t3, t2, _null))
  27357. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  27358. else {
  27359. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  27360. _2_0 = A.unifyCompound0(t2, t3);
  27361. if (_2_0 != null)
  27362. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], t4));
  27363. result.addFirst$1(choices);
  27364. }
  27365. }
  27366. break $label2$2;
  27367. }
  27368. _4_9 = _null;
  27369. _4_6 = _null;
  27370. _4_6_isSet = false;
  27371. _4_7 = _null;
  27372. _4_7_isSet = false;
  27373. followingComponents = _null;
  27374. nextComponents = _null;
  27375. t3 = false;
  27376. if (_4_3) {
  27377. if (_4_4_isSet)
  27378. t4 = _4_4;
  27379. else {
  27380. _4_4 = t2[1];
  27381. t4 = _4_4;
  27382. _4_4_isSet = true;
  27383. }
  27384. _4_9 = B.Combinator_sHB0 === t4;
  27385. t4 = _4_9;
  27386. if (t4) {
  27387. _4_6 = t2[2];
  27388. _4_7 = t2[3];
  27389. nextComponents = _4_7;
  27390. followingComponents = _4_6;
  27391. _4_6_isSet = true;
  27392. _4_7_isSet = true;
  27393. t3 = true;
  27394. }
  27395. _4_9_isSet = true;
  27396. } else
  27397. _4_9_isSet = false;
  27398. _4_10_isSet = !t3;
  27399. _4_10 = _null;
  27400. t3 = true;
  27401. if (_4_10_isSet) {
  27402. _4_10 = B.Combinator_sHB0 === _4_1;
  27403. t4 = _4_10;
  27404. if (t4) {
  27405. if (_4_5_isSet)
  27406. t4 = _4_5;
  27407. else {
  27408. if (_4_4_isSet)
  27409. t4 = _4_4;
  27410. else {
  27411. _4_4 = t2[1];
  27412. t4 = _4_4;
  27413. _4_4_isSet = true;
  27414. }
  27415. _4_5 = B.Combinator_98W0 === t4;
  27416. t4 = _4_5;
  27417. _4_5_isSet = true;
  27418. }
  27419. if (t4) {
  27420. if (_4_6_isSet)
  27421. nextComponents = _4_6;
  27422. else {
  27423. _4_6 = t2[2];
  27424. nextComponents = _4_6;
  27425. _4_6_isSet = true;
  27426. }
  27427. if (_4_7_isSet)
  27428. followingComponents = _4_7;
  27429. else {
  27430. _4_7 = t2[3];
  27431. followingComponents = _4_7;
  27432. _4_7_isSet = true;
  27433. }
  27434. } else
  27435. t3 = false;
  27436. } else
  27437. t3 = false;
  27438. }
  27439. if (t3) {
  27440. next = nextComponents.removeLast$0(0);
  27441. following = followingComponents.removeLast$0(0);
  27442. t1 = following.selector;
  27443. t2 = next.selector;
  27444. t3 = type$.JSArray_ComplexSelectorComponent_2;
  27445. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  27446. if (A.compoundIsSuperselector0(t1, t2, _null))
  27447. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  27448. else {
  27449. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  27450. _3_0 = A.unifyCompound0(t1, t2);
  27451. if (_3_0 != null)
  27452. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  27453. result.addFirst$1(t4);
  27454. }
  27455. break $label2$2;
  27456. }
  27457. t3 = _null;
  27458. t4 = false;
  27459. if (B.Combinator_iUF0 === _4_1) {
  27460. _4_4_isSet0 = true;
  27461. if (_4_9_isSet)
  27462. t5 = _4_9;
  27463. else {
  27464. if (_4_4_isSet)
  27465. t5 = _4_4;
  27466. else {
  27467. _4_4 = t2[1];
  27468. t5 = _4_4;
  27469. _4_4_isSet = _4_4_isSet0;
  27470. }
  27471. _4_9 = B.Combinator_sHB0 === t5;
  27472. t5 = _4_9;
  27473. }
  27474. if (!t5)
  27475. if (_4_5_isSet)
  27476. t5 = _4_5;
  27477. else {
  27478. if (_4_4_isSet)
  27479. t5 = _4_4;
  27480. else {
  27481. _4_4 = t2[1];
  27482. t5 = _4_4;
  27483. _4_4_isSet = _4_4_isSet0;
  27484. }
  27485. _4_5 = B.Combinator_98W0 === t5;
  27486. t5 = _4_5;
  27487. }
  27488. else
  27489. t5 = true;
  27490. if (t5) {
  27491. if (_4_7_isSet)
  27492. siblingComponents_case_0 = _4_7;
  27493. else {
  27494. _4_7 = t2[3];
  27495. siblingComponents_case_0 = _4_7;
  27496. _4_7_isSet = true;
  27497. }
  27498. t3 = siblingComponents_case_0;
  27499. t4 = true;
  27500. }
  27501. }
  27502. if (!t4) {
  27503. if (_4_10_isSet)
  27504. t4 = _4_10;
  27505. else {
  27506. _4_10 = B.Combinator_sHB0 === _4_1;
  27507. t4 = _4_10;
  27508. }
  27509. if (!t4)
  27510. t4 = _4_3;
  27511. else
  27512. t4 = true;
  27513. if (t4) {
  27514. if (_4_4_isSet)
  27515. t4 = _4_4;
  27516. else {
  27517. _4_4 = t2[1];
  27518. t4 = _4_4;
  27519. _4_4_isSet = true;
  27520. }
  27521. t4 = B.Combinator_iUF0 === t4;
  27522. if (t4) {
  27523. if (_4_6_isSet)
  27524. siblingComponents_case_1 = _4_6;
  27525. else {
  27526. _4_6 = t2[2];
  27527. siblingComponents_case_1 = _4_6;
  27528. _4_6_isSet = true;
  27529. }
  27530. t3 = siblingComponents_case_1;
  27531. }
  27532. } else
  27533. t4 = false;
  27534. } else
  27535. t4 = true;
  27536. if (t4) {
  27537. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27538. break $label2$2;
  27539. }
  27540. t3 = _4_1 == null;
  27541. t4 = !t3;
  27542. t5 = false;
  27543. if (t4) {
  27544. _4_4_isSet0 = true;
  27545. if (_4_4_isSet)
  27546. t6 = _4_4;
  27547. else {
  27548. _4_4 = t2[1];
  27549. t6 = _4_4;
  27550. _4_4_isSet = _4_4_isSet0;
  27551. }
  27552. if (t6 != null) {
  27553. if (_4_4_isSet)
  27554. combinator2 = _4_4;
  27555. else {
  27556. _4_4 = t2[1];
  27557. combinator2 = _4_4;
  27558. _4_4_isSet = _4_4_isSet0;
  27559. }
  27560. t5 = _4_1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  27561. }
  27562. }
  27563. if (t5) {
  27564. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  27565. if (unified == null)
  27566. return _null;
  27567. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27568. break $label2$2;
  27569. }
  27570. t1 = _null;
  27571. t5 = _null;
  27572. t6 = _null;
  27573. t7 = false;
  27574. if (t4) {
  27575. if (_4_4_isSet)
  27576. t4 = _4_4;
  27577. else {
  27578. _4_4 = t2[1];
  27579. t4 = _4_4;
  27580. _4_4_isSet = true;
  27581. }
  27582. t4 = t4 == null;
  27583. if (t4) {
  27584. if (_4_6_isSet)
  27585. combinatorComponents_case_0 = _4_6;
  27586. else {
  27587. _4_6 = t2[2];
  27588. combinatorComponents_case_0 = _4_6;
  27589. _4_6_isSet = true;
  27590. }
  27591. if (_4_7_isSet)
  27592. descendantComponents_case_0 = _4_7;
  27593. else {
  27594. _4_7 = t2[3];
  27595. descendantComponents_case_0 = _4_7;
  27596. _4_7_isSet = true;
  27597. }
  27598. t1 = descendantComponents_case_0;
  27599. t6 = t1;
  27600. t1 = _4_1;
  27601. t5 = combinatorComponents_case_0;
  27602. }
  27603. t0 = t6;
  27604. t6 = t4;
  27605. t4 = t5;
  27606. t5 = t0;
  27607. } else {
  27608. t4 = t5;
  27609. t5 = t6;
  27610. t6 = t7;
  27611. }
  27612. if (!t6)
  27613. if (t3) {
  27614. if (_4_4_isSet)
  27615. t3 = _4_4;
  27616. else {
  27617. _4_4 = t2[1];
  27618. t3 = _4_4;
  27619. _4_4_isSet = true;
  27620. }
  27621. t3 = t3 != null;
  27622. if (t3) {
  27623. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  27624. if (combinator_case_1 == null)
  27625. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  27626. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  27627. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  27628. t1 = combinatorComponents_case_1;
  27629. t2 = descendantComponents_case_1;
  27630. t4 = t2;
  27631. t2 = t1;
  27632. t1 = combinator_case_1;
  27633. } else {
  27634. t2 = t4;
  27635. t4 = t5;
  27636. }
  27637. t0 = t4;
  27638. t4 = t3;
  27639. t3 = t0;
  27640. } else {
  27641. t3 = t5;
  27642. t2 = t4;
  27643. t4 = false;
  27644. }
  27645. else {
  27646. t3 = t5;
  27647. t2 = t4;
  27648. t4 = true;
  27649. }
  27650. if (t4) {
  27651. if (t1 === B.Combinator_iUF0) {
  27652. t1 = A.IterableExtension_get_lastOrNull(t3);
  27653. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  27654. t1 = t1 === true;
  27655. } else
  27656. t1 = false;
  27657. if (t1)
  27658. t3.removeLast$0(0);
  27659. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27660. break $label2$2;
  27661. }
  27662. return _null;
  27663. }
  27664. return A._mergeTrailingCombinators0(components1, components2, span, result);
  27665. },
  27666. _mustUnify0(complex1, complex2) {
  27667. var t2, t3, t4,
  27668. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  27669. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  27670. for (t3 = B.JSArray_methods.get$iterator(t2.get$current(t2).selector.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
  27671. t1.add$1(0, t3.get$current(0));
  27672. if (t1._collection$_length === 0)
  27673. return false;
  27674. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  27675. },
  27676. _isUnique0(simple) {
  27677. var t1;
  27678. if (!(simple instanceof A.IDSelector0))
  27679. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  27680. else
  27681. t1 = true;
  27682. return t1;
  27683. },
  27684. _chunks0(queue1, queue2, done, $T) {
  27685. var chunk2, _0_4, _0_7, _0_5, _0_7_isSet, _0_5_isSet, chunk, t2, _null = null,
  27686. t1 = $T._eval$1("JSArray<0>"),
  27687. chunk1 = A._setArrayType([], t1);
  27688. while (!done.call$1(queue1))
  27689. chunk1.push(queue1.removeFirst$0());
  27690. chunk2 = A._setArrayType([], t1);
  27691. while (!done.call$1(queue2))
  27692. chunk2.push(queue2.removeFirst$0());
  27693. $label0$0: {
  27694. _0_4 = chunk1.length <= 0;
  27695. t1 = _0_4;
  27696. _0_7 = _null;
  27697. if (t1) {
  27698. _0_7 = chunk2.length <= 0;
  27699. t1 = _0_7;
  27700. _0_5 = chunk2;
  27701. _0_7_isSet = true;
  27702. _0_5_isSet = true;
  27703. } else {
  27704. _0_5 = _null;
  27705. _0_7_isSet = false;
  27706. _0_5_isSet = false;
  27707. t1 = false;
  27708. }
  27709. if (t1) {
  27710. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  27711. break $label0$0;
  27712. }
  27713. if (_0_4) {
  27714. if (_0_5_isSet)
  27715. chunk = _0_5;
  27716. else {
  27717. chunk = chunk2;
  27718. _0_5 = chunk;
  27719. _0_5_isSet = true;
  27720. }
  27721. t1 = true;
  27722. } else {
  27723. chunk = _null;
  27724. t1 = false;
  27725. }
  27726. if (!t1) {
  27727. if (_0_7_isSet)
  27728. t1 = _0_7;
  27729. else {
  27730. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  27731. t1 = _0_7;
  27732. }
  27733. chunk = chunk1;
  27734. } else
  27735. t1 = true;
  27736. if (t1) {
  27737. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  27738. break $label0$0;
  27739. }
  27740. t1 = A.List_List$_of(chunk1, $T);
  27741. B.JSArray_methods.addAll$1(t1, chunk2);
  27742. t2 = A.List_List$_of(chunk2, $T);
  27743. B.JSArray_methods.addAll$1(t2, chunk1);
  27744. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  27745. break $label0$0;
  27746. }
  27747. return t1;
  27748. },
  27749. paths0(choices, $T) {
  27750. return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure0($T));
  27751. },
  27752. _groupSelectors0(complex) {
  27753. var t2, t3, t4,
  27754. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  27755. t1 = type$.JSArray_ComplexSelectorComponent_2,
  27756. group = A._setArrayType([], t1);
  27757. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  27758. t4 = t3.__internal$_current;
  27759. if (t4 == null)
  27760. t4 = t2._as(t4);
  27761. group.push(t4);
  27762. if (t4.combinators.length === 0) {
  27763. groups._queue_list$_add$1(group);
  27764. group = A._setArrayType([], t1);
  27765. }
  27766. }
  27767. if (group.length !== 0)
  27768. groups._queue_list$_add$1(group);
  27769. return groups;
  27770. },
  27771. listIsSuperselector0(list1, list2) {
  27772. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  27773. },
  27774. _complexIsParentSuperselector0(complex1, complex2) {
  27775. var t1, base, t2;
  27776. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  27777. return false;
  27778. t1 = $.$get$bogusSpan0();
  27779. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>", t1)], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty15, type$.CssValue_Combinator_2), t1);
  27780. t1 = type$.ComplexSelectorComponent_2;
  27781. t2 = A.List_List$_of(complex1, t1);
  27782. t2.push(base);
  27783. t1 = A.List_List$_of(complex2, t1);
  27784. t1.push(base);
  27785. return A.complexIsSuperselector0(t2, t1);
  27786. },
  27787. complexIsSuperselector0(complex1, complex2) {
  27788. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  27789. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  27790. return false;
  27791. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  27792. return false;
  27793. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0;; previousCombinator = combinator1) {
  27794. remaining1 = complex1.length - i1;
  27795. remaining2 = complex2.length - i2;
  27796. if (remaining1 === 0 || remaining2 === 0)
  27797. return false;
  27798. if (remaining1 > remaining2)
  27799. return false;
  27800. component1 = complex1[i1];
  27801. t3 = component1.combinators;
  27802. if (t3.length > 1)
  27803. return false;
  27804. if (remaining1 === 1)
  27805. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  27806. return false;
  27807. else {
  27808. t1 = component1.selector;
  27809. t2 = B.JSArray_methods.get$last(complex2);
  27810. t3 = t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null;
  27811. return A.compoundIsSuperselector0(t1, t2.selector, t3);
  27812. }
  27813. for (t4 = component1.selector, endOfSubselector = i2;;) {
  27814. component2 = complex2[endOfSubselector];
  27815. if (component2.combinators.length > 1)
  27816. return false;
  27817. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  27818. if (A.compoundIsSuperselector0(t4, component2.selector, t5))
  27819. break;
  27820. ++endOfSubselector;
  27821. if (endOfSubselector === complex2.length - 1)
  27822. return false;
  27823. }
  27824. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  27825. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  27826. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  27827. return false;
  27828. component2 = complex2[endOfSubselector];
  27829. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  27830. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  27831. return false;
  27832. ++i1;
  27833. i2 = endOfSubselector + 1;
  27834. if (complex1.length - i1 === 1) {
  27835. t3 = combinator1 == null;
  27836. if ((t3 ? _null : combinator1.value) === B.Combinator_98W0) {
  27837. t3 = complex2.length - 1;
  27838. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  27839. t4.SubListIterable$3(complex2, 0, t3, t2);
  27840. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  27841. return false;
  27842. } else if (!t3)
  27843. if (complex2.length - i2 > 1)
  27844. return false;
  27845. }
  27846. }
  27847. },
  27848. _compatibleWithPreviousCombinator0(previous, parents) {
  27849. if (parents.get$isEmpty(parents))
  27850. return true;
  27851. if (previous == null)
  27852. return true;
  27853. if (previous.value !== B.Combinator_98W0)
  27854. return false;
  27855. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  27856. },
  27857. _isSupercombinator0(combinator1, combinator2) {
  27858. var t2, t3,
  27859. t1 = true;
  27860. if (!J.$eq$(combinator1, combinator2)) {
  27861. t2 = combinator1 == null;
  27862. if (t2)
  27863. t3 = (combinator2 == null ? null : combinator2.value) === B.Combinator_iUF0;
  27864. else
  27865. t3 = false;
  27866. if (!t3)
  27867. if ((t2 ? null : combinator1.value) === B.Combinator_98W0)
  27868. t1 = (combinator2 == null ? null : combinator2.value) === B.Combinator_sHB0;
  27869. else
  27870. t1 = false;
  27871. }
  27872. return t1;
  27873. },
  27874. compoundIsSuperselector0(compound1, compound2, parents) {
  27875. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, pseudo1, t3, t4, t5, _i, simple1, _null = null;
  27876. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  27877. t1 = compound1.components;
  27878. if (t1.length > compound2.components.length)
  27879. return false;
  27880. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  27881. }
  27882. _0_1 = A._findPseudoElementIndexed0(compound1);
  27883. _0_5 = A._findPseudoElementIndexed0(compound2);
  27884. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  27885. _0_5_isSet = t1._is(_0_1);
  27886. _0_50 = _null;
  27887. index1 = _null;
  27888. pseudo2 = _null;
  27889. index2 = _null;
  27890. t2 = false;
  27891. if (_0_5_isSet) {
  27892. pseudo1 = _0_1._0;
  27893. index1 = _0_1._1;
  27894. t1 = t1._is(_0_5);
  27895. if (t1) {
  27896. pseudo2 = _0_5._0;
  27897. index2 = _0_5._1;
  27898. }
  27899. _0_50 = _0_5;
  27900. } else {
  27901. t1 = t2;
  27902. pseudo1 = _null;
  27903. }
  27904. if (t1) {
  27905. if (pseudo1.isSuperselector$1(pseudo2)) {
  27906. t1 = compound1.components;
  27907. t2 = type$.int;
  27908. t3 = A._arrayInstanceType(t1)._precomputed1;
  27909. t4 = compound2.components;
  27910. t5 = A._arrayInstanceType(t4)._precomputed1;
  27911. t1 = A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  27912. } else
  27913. t1 = false;
  27914. return t1;
  27915. }
  27916. if (_0_1 == null)
  27917. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  27918. else
  27919. t1 = true;
  27920. if (t1)
  27921. return false;
  27922. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  27923. simple1 = t1[_i];
  27924. if (simple1 instanceof A.PseudoSelector0)
  27925. t4 = simple1.selector != null;
  27926. else
  27927. t4 = false;
  27928. if (t4) {
  27929. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  27930. return false;
  27931. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  27932. return false;
  27933. }
  27934. return true;
  27935. },
  27936. _findPseudoElementIndexed0(compound) {
  27937. var t1, t2, i, simple;
  27938. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  27939. simple = t1[i];
  27940. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  27941. return new A._Record_2(simple, i);
  27942. }
  27943. return null;
  27944. },
  27945. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  27946. var t1;
  27947. if (compound1.get$length(0) === 0)
  27948. return true;
  27949. if (compound2.get$length(0) === 0)
  27950. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  27951. t1 = $.$get$bogusSpan0();
  27952. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  27953. },
  27954. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  27955. var selector1 = pseudo1.selector;
  27956. if (selector1 == null)
  27957. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  27958. switch (pseudo1.normalizedName) {
  27959. case "is":
  27960. case "matches":
  27961. case "any":
  27962. case "where":
  27963. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure6(selector1)) || B.JSArray_methods.any$1(selector1.components, new A._selectorPseudoIsSuperselector_closure7(parents, compound2));
  27964. case "has":
  27965. case "host":
  27966. case "host-context":
  27967. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  27968. case "slotted":
  27969. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  27970. case "not":
  27971. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  27972. case "current":
  27973. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  27974. case "nth-child":
  27975. case "nth-last-child":
  27976. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  27977. default:
  27978. throw A.wrapException("unreachable");
  27979. }
  27980. },
  27981. _selectorPseudoArgs0(compound, $name, isClass) {
  27982. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  27983. return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure1(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure2(), t1._eval$1("MappedIterable<Iterable.E,SelectorList0?>")), type$.NonNullsIterable_SelectorList_2);
  27984. },
  27985. unifyComplex_closure0: function unifyComplex_closure0() {
  27986. },
  27987. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  27988. this.span = t0;
  27989. },
  27990. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  27991. this.group = t0;
  27992. },
  27993. _weaveParents_closure5: function _weaveParents_closure5() {
  27994. },
  27995. _weaveParents_closure6: function _weaveParents_closure6() {
  27996. },
  27997. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  27998. this.uniqueSelectors = t0;
  27999. },
  28000. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  28001. this.uniqueSelectors = t0;
  28002. },
  28003. paths_closure0: function paths_closure0(t0) {
  28004. this.T = t0;
  28005. },
  28006. paths__closure0: function paths__closure0(t0, t1) {
  28007. this.paths = t0;
  28008. this.T = t1;
  28009. },
  28010. paths___closure0: function paths___closure0(t0, t1) {
  28011. this.option = t0;
  28012. this.T = t1;
  28013. },
  28014. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  28015. this.list1 = t0;
  28016. },
  28017. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  28018. this.complex1 = t0;
  28019. },
  28020. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  28021. },
  28022. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  28023. this.combinator1 = t0;
  28024. },
  28025. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  28026. },
  28027. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  28028. this.compound2 = t0;
  28029. },
  28030. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  28031. this.selector1 = t0;
  28032. },
  28033. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  28034. this.parents = t0;
  28035. this.compound2 = t1;
  28036. },
  28037. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  28038. this.selector1 = t0;
  28039. },
  28040. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  28041. this.selector1 = t0;
  28042. },
  28043. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  28044. this.compound2 = t0;
  28045. this.pseudo1 = t1;
  28046. },
  28047. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  28048. this.complex = t0;
  28049. this.pseudo1 = t1;
  28050. },
  28051. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  28052. this.simple2 = t0;
  28053. },
  28054. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  28055. this.simple2 = t0;
  28056. },
  28057. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  28058. this.selector1 = t0;
  28059. },
  28060. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  28061. this.pseudo1 = t0;
  28062. this.selector1 = t1;
  28063. },
  28064. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  28065. this.isClass = t0;
  28066. this.name = t1;
  28067. },
  28068. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  28069. },
  28070. globalFunctions_closure0: function globalFunctions_closure0() {
  28071. },
  28072. GamutMapMethod_GamutMapMethod$fromName0($name) {
  28073. var t1;
  28074. $label0$0: {
  28075. if ("clip" === $name) {
  28076. t1 = B.ClipGamutMap_clip0;
  28077. break $label0$0;
  28078. }
  28079. if ("local-minde" === $name) {
  28080. t1 = B.LocalMindeGamutMap_A2x0;
  28081. break $label0$0;
  28082. }
  28083. t1 = A.throwExpression(A.SassScriptException$0('Unknown gamut map method "' + $name + '".', null));
  28084. }
  28085. return t1;
  28086. },
  28087. GamutMapMethod0: function GamutMapMethod0() {
  28088. },
  28089. HslColorSpace0: function HslColorSpace0(t0, t1) {
  28090. this.name = t0;
  28091. this._space$_channels = t1;
  28092. },
  28093. HwbColorSpace0: function HwbColorSpace0(t0, t1) {
  28094. this.name = t0;
  28095. this._space$_channels = t1;
  28096. },
  28097. HwbColorSpace_convert_toRgb0: function HwbColorSpace_convert_toRgb0(t0, t1) {
  28098. this._box_0 = t0;
  28099. this.factor = t1;
  28100. },
  28101. InterpolatedIDSelector: function InterpolatedIDSelector(t0) {
  28102. this.name = t0;
  28103. },
  28104. IDSelector0: function IDSelector0(t0, t1) {
  28105. this.name = t0;
  28106. this.span = t1;
  28107. },
  28108. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  28109. this.$this = t0;
  28110. },
  28111. IfExpression0: function IfExpression0(t0, t1) {
  28112. this.$arguments = t0;
  28113. this.span = t1;
  28114. },
  28115. IfClause$0(expression, children) {
  28116. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  28117. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  28118. },
  28119. ElseClause$0(children) {
  28120. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  28121. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  28122. },
  28123. IfRule0: function IfRule0(t0, t1, t2) {
  28124. this.clauses = t0;
  28125. this.lastClause = t1;
  28126. this.span = t2;
  28127. },
  28128. IfRule_toString_closure0: function IfRule_toString_closure0() {
  28129. },
  28130. IfRuleClause0: function IfRuleClause0() {
  28131. },
  28132. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  28133. },
  28134. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  28135. },
  28136. IfClause0: function IfClause0(t0, t1, t2) {
  28137. this.expression = t0;
  28138. this.children = t1;
  28139. this.hasDeclarations = t2;
  28140. },
  28141. ElseClause0: function ElseClause0(t0, t1) {
  28142. this.children = t0;
  28143. this.hasDeclarations = t1;
  28144. },
  28145. jsToDartList(list) {
  28146. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  28147. },
  28148. dartMapToImmutableMap(dartMap) {
  28149. var t1, t2,
  28150. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  28151. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  28152. t2 = t1.get$current(t1);
  28153. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  28154. }
  28155. return J.asImmutable$0$x(immutableMap);
  28156. },
  28157. immutableMapToDartMap(immutableMap) {
  28158. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  28159. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  28160. return dartMap;
  28161. },
  28162. ImmutableList0: function ImmutableList0() {
  28163. },
  28164. ImmutableMap0: function ImmutableMap0() {
  28165. },
  28166. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  28167. this.dartMap = t0;
  28168. },
  28169. NodeImporter__addSassPath(includePaths) {
  28170. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  28171. },
  28172. NodeImporter__addSassPath$body($async$includePaths) {
  28173. return function() {
  28174. var includePaths = $async$includePaths;
  28175. var $async$goto = 0, $async$handler = 2, $async$errorStack = [], sassPath, t1;
  28176. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  28177. if ($async$errorCode === 1) {
  28178. $async$errorStack.push($async$result);
  28179. $async$goto = $async$handler;
  28180. }
  28181. for (;;)
  28182. switch ($async$goto) {
  28183. case 0:
  28184. // Function start
  28185. $async$goto = 3;
  28186. return $async$iterator._yieldStar$1(includePaths);
  28187. case 3:
  28188. // after yield
  28189. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28190. if (sassPath == null) {
  28191. // goto return
  28192. $async$goto = 1;
  28193. break;
  28194. }
  28195. t1 = A.isNodeJs() ? self.process : null;
  28196. $async$goto = 4;
  28197. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  28198. case 4:
  28199. // after yield
  28200. case 1:
  28201. // return
  28202. return 0;
  28203. case 2:
  28204. // rethrow
  28205. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  28206. }
  28207. };
  28208. };
  28209. },
  28210. NodeImporter: function NodeImporter(t0, t1, t2) {
  28211. this._implementation$_options = t0;
  28212. this._includePaths = t1;
  28213. this._implementation$_importers = t2;
  28214. },
  28215. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  28216. var _ = this;
  28217. _.$this = t0;
  28218. _.importer = t1;
  28219. _.forImport = t2;
  28220. _.url = t3;
  28221. _.previousString = t4;
  28222. },
  28223. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  28224. this.path = t0;
  28225. },
  28226. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  28227. },
  28228. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  28229. var _ = this;
  28230. _.$this = t0;
  28231. _.importer = t1;
  28232. _.forImport = t2;
  28233. _.url = t3;
  28234. _.previousString = t4;
  28235. _.completer = t5;
  28236. },
  28237. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  28238. var _ = this;
  28239. _.url = t0;
  28240. _.modifiers = t1;
  28241. _.span = t2;
  28242. _._node$_indexInParent = _._node$_parent = null;
  28243. _.isGroupEnd = false;
  28244. },
  28245. ImportCache$0(importers, loadPaths, packageConfig) {
  28246. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28247. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28248. t3 = type$.Uri;
  28249. return new A.ImportCache0(A.ImportCache__toImporters0(importers, loadPaths, packageConfig), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  28250. },
  28251. ImportCache$none() {
  28252. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28253. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28254. t3 = type$.Uri;
  28255. return new A.ImportCache0(B.List_empty25, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  28256. },
  28257. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  28258. var t1, t2, t3, t4, _i, path, _null = null,
  28259. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28260. if (A.isBrowser()) {
  28261. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28262. if (importers != null)
  28263. B.JSArray_methods.addAll$1(t1, importers);
  28264. return t1;
  28265. }
  28266. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28267. if (importers != null)
  28268. B.JSArray_methods.addAll$1(t1, importers);
  28269. if (loadPaths != null)
  28270. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  28271. t3 = t2.get$current(t2);
  28272. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  28273. }
  28274. if (sassPath != null) {
  28275. t2 = A.isNodeJs() ? self.process : _null;
  28276. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  28277. t4 = t3.length;
  28278. _i = 0;
  28279. for (; _i < t4; ++_i) {
  28280. path = t3[_i];
  28281. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  28282. }
  28283. }
  28284. return t1;
  28285. },
  28286. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  28287. var _ = this;
  28288. _._import_cache$_importers = t0;
  28289. _._import_cache$_canonicalizeCache = t1;
  28290. _._import_cache$_perImporterCanonicalizeCache = t2;
  28291. _._import_cache$_nonCanonicalRelativeUrls = t3;
  28292. _._import_cache$_importCache = t4;
  28293. _._import_cache$_resultsCache = t5;
  28294. _._import_cache$_loadTimes = t6;
  28295. },
  28296. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  28297. var _ = this;
  28298. _.$this = t0;
  28299. _.baseImporter = t1;
  28300. _.resolvedUrl = t2;
  28301. _.baseUrl = t3;
  28302. _.forImport = t4;
  28303. _.key = t5;
  28304. _.url = t6;
  28305. },
  28306. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  28307. this.importer = t0;
  28308. this.url = t1;
  28309. },
  28310. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  28311. var _ = this;
  28312. _.$this = t0;
  28313. _.importer = t1;
  28314. _.canonicalUrl = t2;
  28315. _.originalUrl = t3;
  28316. },
  28317. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  28318. this.canonicalUrl = t0;
  28319. },
  28320. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  28321. },
  28322. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  28323. },
  28324. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  28325. this.canonicalUrl = t0;
  28326. },
  28327. ImportRule0: function ImportRule0(t0, t1) {
  28328. this.imports = t0;
  28329. this.span = t1;
  28330. },
  28331. JSImporter: function JSImporter() {
  28332. },
  28333. JSImporterResult: function JSImporterResult() {
  28334. },
  28335. Importer0: function Importer0() {
  28336. },
  28337. NodeImporterResult0: function NodeImporterResult0() {
  28338. },
  28339. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  28340. var _ = this;
  28341. _.namespace = t0;
  28342. _.name = t1;
  28343. _.originalName = t2;
  28344. _.$arguments = t3;
  28345. _.content = t4;
  28346. _.span = t5;
  28347. },
  28348. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  28349. this.name = t0;
  28350. this.$arguments = t1;
  28351. this.span = t2;
  28352. },
  28353. InterpolatedSelector: function InterpolatedSelector() {
  28354. },
  28355. Interpolation$0(contents, spans, span) {
  28356. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  28357. t1.Interpolation$30(contents, spans, span);
  28358. return t1;
  28359. },
  28360. Interpolation0: function Interpolation0(t0, t1, t2) {
  28361. this.contents = t0;
  28362. this.spans = t1;
  28363. this.span = t2;
  28364. },
  28365. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  28366. },
  28367. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  28368. this.expression = t0;
  28369. this.span = t1;
  28370. },
  28371. InterpolationBuffer0: function InterpolationBuffer0(t0, t1, t2) {
  28372. this._interpolation_buffer0$_text = t0;
  28373. this._interpolation_buffer0$_contents = t1;
  28374. this._interpolation_buffer0$_spans = t2;
  28375. },
  28376. InterpolationMap$0(_interpolation, targetOffsets) {
  28377. var t1 = A.List_List$unmodifiable(targetOffsets, type$.int),
  28378. t2 = _interpolation.contents.length,
  28379. expectedLocations = Math.max(0, t2 - 1);
  28380. if (t1.length !== expectedLocations)
  28381. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + " targetOffsets if the interpolation has " + t2 + " components.", null));
  28382. return new A.InterpolationMap0(_interpolation, t1);
  28383. },
  28384. InterpolationMap0: function InterpolationMap0(t0, t1) {
  28385. this._interpolation_map$_interpolation = t0;
  28386. this._interpolation_map$_targetOffsets = t1;
  28387. },
  28388. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  28389. },
  28390. InterpolationMethod$0(space, hue) {
  28391. var t1;
  28392. if (space.get$isPolarInternal())
  28393. t1 = hue == null ? B.HueInterpolationMethod_00 : hue;
  28394. else
  28395. t1 = null;
  28396. if (!space.get$isPolarInternal() && hue != null)
  28397. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  28398. return new A.InterpolationMethod0(space, t1);
  28399. },
  28400. InterpolationMethod_InterpolationMethod$fromValue0(value, $name) {
  28401. var t1, space, hueMethod,
  28402. list = value.assertCommonListStyle$2$allowSlash($name, false);
  28403. if (list.length === 0)
  28404. throw A.wrapException(A.SassScriptException$0(string$.Expecta, $name));
  28405. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  28406. t1.assertUnquoted$1($name);
  28407. space = A.ColorSpace_fromName0(t1._string0$_text, $name);
  28408. if (list.length === 1)
  28409. return A.InterpolationMethod$0(space, null);
  28410. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(list[1], $name);
  28411. if (list.length === 2)
  28412. throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  28413. else {
  28414. t1 = list[2].assertString$1($name);
  28415. t1.assertUnquoted$1($name);
  28416. if (t1._string0$_text.toLowerCase() !== "hue")
  28417. throw A.wrapException(A.SassScriptException$0(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  28418. else if (list.length > 3)
  28419. throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  28420. else if (!space.get$isPolarInternal())
  28421. throw A.wrapException(A.SassScriptException$0('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  28422. }
  28423. return A.InterpolationMethod$0(space, hueMethod);
  28424. },
  28425. HueInterpolationMethod_HueInterpolationMethod$_fromValue0(value, $name) {
  28426. var _0_0,
  28427. t1 = value.assertString$1($name);
  28428. t1.assertUnquoted$0();
  28429. _0_0 = t1._string0$_text.toLowerCase();
  28430. $label0$0: {
  28431. if ("shorter" === _0_0) {
  28432. t1 = B.HueInterpolationMethod_00;
  28433. break $label0$0;
  28434. }
  28435. if ("longer" === _0_0) {
  28436. t1 = B.HueInterpolationMethod_10;
  28437. break $label0$0;
  28438. }
  28439. if ("increasing" === _0_0) {
  28440. t1 = B.HueInterpolationMethod_20;
  28441. break $label0$0;
  28442. }
  28443. if ("decreasing" === _0_0) {
  28444. t1 = B.HueInterpolationMethod_30;
  28445. break $label0$0;
  28446. }
  28447. t1 = A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  28448. }
  28449. return t1;
  28450. },
  28451. InterpolationMethod0: function InterpolationMethod0(t0, t1) {
  28452. this.space = t0;
  28453. this.hue = t1;
  28454. },
  28455. HueInterpolationMethod0: function HueInterpolationMethod0(t0, t1) {
  28456. this.index = t0;
  28457. this._name = t1;
  28458. },
  28459. _realCasePath0(path) {
  28460. var prefix, _null = null,
  28461. t1 = A.isNodeJs() ? self.process : _null;
  28462. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28463. t1 = A.isNodeJs() ? self.process : _null;
  28464. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  28465. } else
  28466. t1 = true;
  28467. if (!t1)
  28468. return path;
  28469. t1 = A.isNodeJs() ? self.process : _null;
  28470. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28471. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  28472. t1 = prefix.length;
  28473. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  28474. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  28475. }
  28476. return new A._realCasePath_helper0().call$1(path);
  28477. },
  28478. _realCasePath_helper0: function _realCasePath_helper0() {
  28479. },
  28480. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2, t3) {
  28481. var _ = this;
  28482. _.path = t0;
  28483. _.realPath = t1;
  28484. _.helper = t2;
  28485. _.dirname = t3;
  28486. },
  28487. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  28488. this.basename = t0;
  28489. },
  28490. IsCalculationSafeVisitor0: function IsCalculationSafeVisitor0() {
  28491. },
  28492. IsCalculationSafeVisitor_visitListExpression_closure0: function IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  28493. this.$this = t0;
  28494. },
  28495. printError0(message) {
  28496. var t1 = A.isNodeJs() ? self.process : null;
  28497. if (t1 != null) {
  28498. t1 = J.get$stderr$x(t1);
  28499. J.write$1$x(t1, A.S(message) + "\n");
  28500. } else {
  28501. t1 = self.console;
  28502. J.error$1$x(t1, message);
  28503. }
  28504. },
  28505. readFile0(path) {
  28506. var contents, sourceFile, t1, i;
  28507. if (!A.isNodeJs())
  28508. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  28509. contents = A._asString(A._readFile0(path, "utf8"));
  28510. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  28511. return contents;
  28512. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  28513. for (t1 = contents.length, i = 0; i < t1; ++i) {
  28514. if (contents.charCodeAt(i) !== 65533)
  28515. continue;
  28516. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  28517. }
  28518. return contents;
  28519. },
  28520. _readFile0(path, encoding) {
  28521. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  28522. },
  28523. fileExists0(path) {
  28524. if (!A.isNodeJs())
  28525. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  28526. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  28527. },
  28528. dirExists0(path) {
  28529. if (!A.isNodeJs())
  28530. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  28531. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  28532. },
  28533. linkExists0(path) {
  28534. if (!A.isNodeJs())
  28535. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  28536. return A._systemErrorToFileSystemException0(new A.linkExists_closure0(path));
  28537. },
  28538. listDir0(path) {
  28539. if (!A.isNodeJs())
  28540. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28541. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  28542. },
  28543. realpath0(path) {
  28544. if (!A.isNodeJs())
  28545. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28546. return A._systemErrorToFileSystemException0(new A.realpath_closure0(path));
  28547. },
  28548. getEnvironmentVariable0($name) {
  28549. var t1 = A.isNodeJs() ? self.process : null,
  28550. env = t1 == null ? null : J.get$env$x(t1);
  28551. if (env == null)
  28552. t1 = null;
  28553. else
  28554. t1 = A._asStringQ(env[$name]);
  28555. return t1;
  28556. },
  28557. _systemErrorToFileSystemException0(callback) {
  28558. var error, t1, exception, t2;
  28559. try {
  28560. t1 = callback.call$0();
  28561. return t1;
  28562. } catch (exception) {
  28563. error = A.unwrapException(exception);
  28564. if (!type$.JsSystemError._is(error))
  28565. throw exception;
  28566. t1 = error;
  28567. t2 = J.getInterceptor$x(t1);
  28568. throw A.wrapException(new A.FileSystemException0(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
  28569. }
  28570. },
  28571. hasTerminal0() {
  28572. var t1 = A.isNodeJs() ? self.process : null;
  28573. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  28574. },
  28575. FileSystemException0: function FileSystemException0(t0, t1) {
  28576. this.message = t0;
  28577. this.path = t1;
  28578. },
  28579. _readFile_closure0: function _readFile_closure0(t0, t1) {
  28580. this.path = t0;
  28581. this.encoding = t1;
  28582. },
  28583. fileExists_closure0: function fileExists_closure0(t0) {
  28584. this.path = t0;
  28585. },
  28586. dirExists_closure0: function dirExists_closure0(t0) {
  28587. this.path = t0;
  28588. },
  28589. linkExists_closure0: function linkExists_closure0(t0) {
  28590. this.path = t0;
  28591. },
  28592. listDir_closure0: function listDir_closure0(t0, t1) {
  28593. this.recursive = t0;
  28594. this.path = t1;
  28595. },
  28596. listDir__closure1: function listDir__closure1(t0) {
  28597. this.path = t0;
  28598. },
  28599. listDir__closure2: function listDir__closure2() {
  28600. },
  28601. listDir_closure_list0: function listDir_closure_list0() {
  28602. },
  28603. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  28604. this.parent = t0;
  28605. this.list = t1;
  28606. },
  28607. realpath_closure0: function realpath_closure0(t0) {
  28608. this.path = t0;
  28609. },
  28610. main() {
  28611. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  28612. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  28613. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  28614. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  28615. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  28616. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  28617. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  28618. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  28619. J.set$Value$x(self.exports, $.$get$valueClass());
  28620. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  28621. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  28622. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  28623. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  28624. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  28625. J.set$SassColor$x(self.exports, $.$get$colorClass());
  28626. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  28627. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  28628. J.set$SassList$x(self.exports, $.$get$listClass());
  28629. J.set$SassMap$x(self.exports, $.$get$mapClass());
  28630. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  28631. J.set$SassString$x(self.exports, $.$get$stringClass());
  28632. J.set$sassNull$x(self.exports, B.C__SassNull0);
  28633. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  28634. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  28635. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  28636. J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure0())}});
  28637. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  28638. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  28639. J.set$Version$x(self.exports, $.$get$versionClass());
  28640. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  28641. J.set$info$x(self.exports, "dart-sass\t1.94.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.10.1\t(Dart Compiler)\t[Dart]");
  28642. A.updateCanonicalizeContextPrototype();
  28643. A.updateSourceSpanPrototype();
  28644. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  28645. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  28646. J.set$types$x(self.exports, {Boolean: $.$get$legacyBooleanClass(), Color: $.$get$legacyColorClass(), List: $.$get$legacyListClass(), Map: $.$get$legacyMapClass(), Null: $.$get$legacyNullClass(), Number: $.$get$legacyNumberClass(), String: $.$get$legacyStringClass(), Error: self.Error});
  28647. J.set$NULL$x(self.exports, B.C__SassNull0);
  28648. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  28649. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  28650. },
  28651. main_closure: function main_closure() {
  28652. },
  28653. main_closure0: function main_closure0() {
  28654. },
  28655. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  28656. this._node = t0;
  28657. this._fallback = t1;
  28658. this._ascii = t2;
  28659. },
  28660. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  28661. var _ = this;
  28662. _.$this = t0;
  28663. _.message = t1;
  28664. _.span = t2;
  28665. _.trace = t3;
  28666. _.deprecation = t4;
  28667. },
  28668. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  28669. this.$this = t0;
  28670. this.message = t1;
  28671. this.span = t2;
  28672. },
  28673. ModifiableCssKeyframeBlock$0(selector, span) {
  28674. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28675. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28676. },
  28677. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  28678. var _ = this;
  28679. _.selector = t0;
  28680. _.span = t1;
  28681. _.children = t2;
  28682. _._node$_children = t3;
  28683. _._node$_indexInParent = _._node$_parent = null;
  28684. _.isGroupEnd = false;
  28685. },
  28686. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  28687. this.scanner = t0;
  28688. this._parser1$_interpolationMap = t1;
  28689. },
  28690. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  28691. this.$this = t0;
  28692. },
  28693. LabColorSpace0: function LabColorSpace0(t0, t1) {
  28694. this.name = t0;
  28695. this._space$_channels = t1;
  28696. },
  28697. LazyFileSpan0: function LazyFileSpan0(t0) {
  28698. this._lazy_file_span0$_builder = t0;
  28699. this._lazy_file_span0$_span = null;
  28700. },
  28701. LchColorSpace0: function LchColorSpace0(t0, t1) {
  28702. this.name = t0;
  28703. this._space$_channels = t1;
  28704. },
  28705. render(options, callback) {
  28706. var _0_0;
  28707. if (!A.isNodeJs())
  28708. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  28709. _0_0 = J.get$fiber$x(options);
  28710. if (_0_0 != null)
  28711. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  28712. else
  28713. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  28714. },
  28715. _renderAsync(options) {
  28716. var $async$goto = 0,
  28717. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  28718. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  28719. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28720. if ($async$errorCode === 1)
  28721. return A._asyncRethrow($async$result, $async$completer);
  28722. for (;;)
  28723. switch ($async$goto) {
  28724. case 0:
  28725. // Function start
  28726. start = new A.DateTime(Date.now(), 0, false);
  28727. t1 = J.getInterceptor$x(options);
  28728. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28729. t2 = t1.get$logger(options);
  28730. t3 = A.hasTerminal0();
  28731. t4 = $._glyphs;
  28732. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28733. _0_0 = t1.get$data(options);
  28734. $async$goto = _0_0 != null ? 3 : 5;
  28735. break;
  28736. case 3:
  28737. // then
  28738. t2 = A._parseImporter(options, start);
  28739. t3 = A._parsePackageImportersAsync(options, start);
  28740. t4 = A._parseFunctions(options, start, true);
  28741. t5 = t1.get$indentedSyntax(options);
  28742. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_1_sass0 : null;
  28743. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28744. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28745. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28746. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28747. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28748. t11 = t1.get$quietDeps(options);
  28749. if (t11 == null)
  28750. t11 = false;
  28751. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28752. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28753. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28754. t15 = t1.get$verbose(options);
  28755. if (t15 == null)
  28756. t15 = false;
  28757. t1 = t1.get$charset(options);
  28758. if (t1 == null)
  28759. t1 = true;
  28760. $async$goto = 6;
  28761. return A._asyncAwait(A.compileStringAsync0(_0_0, t1, t12, t4, t13, t3, null, t8, t9, logger, t2, t11, t14, A._enableSourceMaps(options), t6, t5, t10, !t7, t15), $async$_renderAsync);
  28762. case 6:
  28763. // returning from await.
  28764. result = $async$result;
  28765. // goto join
  28766. $async$goto = 4;
  28767. break;
  28768. case 5:
  28769. // else
  28770. $async$goto = file != null ? 7 : 9;
  28771. break;
  28772. case 7:
  28773. // then
  28774. t2 = A._parseImporter(options, start);
  28775. t3 = A._parsePackageImportersAsync(options, start);
  28776. t4 = A._parseFunctions(options, start, true);
  28777. t5 = t1.get$indentedSyntax(options);
  28778. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_1_sass0 : null;
  28779. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28780. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28781. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28782. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28783. t10 = t1.get$quietDeps(options);
  28784. if (t10 == null)
  28785. t10 = false;
  28786. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28787. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28788. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28789. t14 = t1.get$verbose(options);
  28790. if (t14 == null)
  28791. t14 = false;
  28792. t1 = t1.get$charset(options);
  28793. if (t1 == null)
  28794. t1 = true;
  28795. $async$goto = 10;
  28796. return A._asyncAwait(A.compileAsync0(file, t1, t11, t4, t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14), $async$_renderAsync);
  28797. case 10:
  28798. // returning from await.
  28799. result = $async$result;
  28800. // goto join
  28801. $async$goto = 8;
  28802. break;
  28803. case 9:
  28804. // else
  28805. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  28806. case 8:
  28807. // join
  28808. case 4:
  28809. // join
  28810. $async$returnValue = A._newRenderResult(options, result, start);
  28811. // goto return
  28812. $async$goto = 1;
  28813. break;
  28814. case 1:
  28815. // return
  28816. return A._asyncReturn($async$returnValue, $async$completer);
  28817. }
  28818. });
  28819. return A._asyncStartSync($async$_renderAsync, $async$completer);
  28820. },
  28821. renderSync(options) {
  28822. var start, result, file, logger, _0_0, data, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null;
  28823. if (!A.isNodeJs())
  28824. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  28825. try {
  28826. start = new A.DateTime(Date.now(), 0, false);
  28827. result = null;
  28828. t1 = J.getInterceptor$x(options);
  28829. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28830. t2 = t1.get$logger(options);
  28831. t3 = A.hasTerminal0();
  28832. t4 = $._glyphs;
  28833. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28834. _0_0 = t1.get$data(options);
  28835. data = null;
  28836. if (_0_0 != null) {
  28837. data = _0_0;
  28838. t2 = data;
  28839. t3 = A._parseImporter(options, start);
  28840. t4 = A._parsePackageImporters(options, start);
  28841. t5 = A._parseFunctions(options, start, false);
  28842. t6 = t1.get$indentedSyntax(options);
  28843. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_1_sass0 : _null;
  28844. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  28845. t8 = J.$eq$(t1.get$indentType(options), "tab");
  28846. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  28847. t10 = A._parseLineFeed(t1.get$linefeed(options));
  28848. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28849. t12 = t1.get$quietDeps(options);
  28850. if (t12 == null)
  28851. t12 = false;
  28852. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28853. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28854. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28855. t16 = t1.get$verbose(options);
  28856. if (t16 == null)
  28857. t16 = false;
  28858. t1 = t1.get$charset(options);
  28859. if (t1 == null)
  28860. t1 = true;
  28861. result = A.compileString(t2, t1, t13, new A.CastList(t5, A._arrayInstanceType(t5)._eval$1("CastList<1,Callable>")), t14, t4, _null, t9, t10, logger, t3, t12, t15, A._enableSourceMaps(options), t7, t6, t11, !t8, t16);
  28862. } else if (file != null) {
  28863. t2 = A._parseImporter(options, start);
  28864. t3 = A._parsePackageImporters(options, start);
  28865. t4 = A._parseFunctions(options, start, false);
  28866. t5 = t1.get$indentedSyntax(options);
  28867. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_1_sass0 : _null;
  28868. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28869. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28870. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28871. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28872. t10 = t1.get$quietDeps(options);
  28873. if (t10 == null)
  28874. t10 = false;
  28875. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28876. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28877. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28878. t14 = t1.get$verbose(options);
  28879. if (t14 == null)
  28880. t14 = false;
  28881. t1 = t1.get$charset(options);
  28882. if (t1 == null)
  28883. t1 = true;
  28884. result = A.compile(file, t1, t11, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14);
  28885. } else {
  28886. t1 = A.ArgumentError$(string$.Either, _null);
  28887. throw A.wrapException(t1);
  28888. }
  28889. t1 = A._newRenderResult(options, result, start);
  28890. return t1;
  28891. } catch (exception) {
  28892. t1 = A.unwrapException(exception);
  28893. if (t1 instanceof A.SassException0) {
  28894. error = t1;
  28895. stackTrace = A.getTraceFromException(exception);
  28896. A.jsThrow(A._wrapException(error, stackTrace));
  28897. } else {
  28898. error0 = t1;
  28899. stackTrace0 = A.getTraceFromException(exception);
  28900. t1 = J.toString$0$(error0);
  28901. t2 = A.getTrace0(error0);
  28902. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  28903. }
  28904. }
  28905. },
  28906. _wrapException(exception, stackTrace) {
  28907. var t2, t3, t4, t5,
  28908. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  28909. _0_0 = t1.get$sourceUrl(t1);
  28910. $label0$0: {
  28911. if (_0_0 == null) {
  28912. t1 = "stdin";
  28913. break $label0$0;
  28914. }
  28915. if ("file" === _0_0.get$scheme()) {
  28916. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  28917. break $label0$0;
  28918. }
  28919. t1 = _0_0.toString$0(0);
  28920. break $label0$0;
  28921. }
  28922. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  28923. t3 = A.getTrace0(exception);
  28924. if (t3 == null)
  28925. t3 = stackTrace;
  28926. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28927. t4 = t4.get$start(t4);
  28928. t4 = t4.file.getLine$1(t4.offset);
  28929. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28930. t5 = t5.get$start(t5);
  28931. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  28932. },
  28933. _parseFunctions(options, start, asynch) {
  28934. var result,
  28935. functions = J.get$functions$x(options);
  28936. if (functions == null)
  28937. return B.List_empty26;
  28938. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  28939. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  28940. return result;
  28941. },
  28942. _parseImporter(options, start) {
  28943. var t2, t3, contextOptions, _1_0, t4, importers,
  28944. t1 = J.getInterceptor$x(options),
  28945. _0_0 = t1.get$importer(options);
  28946. $label0$0: {
  28947. if (_0_0 == null) {
  28948. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  28949. break $label0$0;
  28950. }
  28951. if (type$.List_dynamic._is(_0_0)) {
  28952. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  28953. break $label0$0;
  28954. }
  28955. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  28956. break $label0$0;
  28957. }
  28958. t3 = J.getInterceptor$asx(t2);
  28959. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  28960. _1_0 = t1.get$fiber(options);
  28961. t4 = {};
  28962. t4.fiber = null;
  28963. if (_1_0 != null) {
  28964. t4.fiber = _1_0;
  28965. t2 = t3.map$1$1(t2, new A._parseImporter_closure(t4), type$.JSFunction);
  28966. importers = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  28967. } else
  28968. importers = t2;
  28969. t1 = t1.get$includePaths(options);
  28970. if (t1 == null)
  28971. t1 = [];
  28972. t2 = type$.String;
  28973. return new A.NodeImporter(contextOptions, A.List_List$unmodifiable(A.NodeImporter__addSassPath(A.List_List$from(t1, true, t2)), t2), A.List_List$unmodifiable(J.cast$1$0$ax(importers, type$.dynamic), type$.JSFunction));
  28974. },
  28975. _parsePackageImportersAsync(options, start) {
  28976. var t2, t3, t4,
  28977. t1 = J.getInterceptor$x(options);
  28978. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28979. t1 = t1.get$pkgImporter(options);
  28980. t1.toString;
  28981. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  28982. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  28983. t4 = type$.Uri;
  28984. return new A.AsyncImportCache0(A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_AsyncImporter), type$.AsyncImporter), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  28985. }
  28986. return null;
  28987. },
  28988. _parsePackageImporters(options, start) {
  28989. var t2, t3, t4,
  28990. t1 = J.getInterceptor$x(options);
  28991. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28992. t1 = t1.get$pkgImporter(options);
  28993. t1.toString;
  28994. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  28995. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  28996. t4 = type$.Uri;
  28997. return new A.ImportCache0(A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_Importer_2), type$.Importer), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  28998. }
  28999. return null;
  29000. },
  29001. _contextOptions(options, start) {
  29002. var includePaths, t3, t4, t5, t6, t7,
  29003. t1 = J.getInterceptor$x(options),
  29004. t2 = t1.get$includePaths(options);
  29005. if (t2 == null)
  29006. t2 = [];
  29007. includePaths = A.List_List$from(t2, true, type$.String);
  29008. t2 = t1.get$file(options);
  29009. t3 = t1.get$data(options);
  29010. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  29011. B.JSArray_methods.addAll$1(t4, includePaths);
  29012. t5 = A.isNodeJs() ? self.process : null;
  29013. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  29014. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  29015. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  29016. if (t6 == null)
  29017. t6 = 2;
  29018. t7 = A._parseLineFeed(t1.get$linefeed(options));
  29019. t1 = t1.get$file(options);
  29020. if (t1 == null)
  29021. t1 = "data";
  29022. return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._value, entry: t1}}};
  29023. },
  29024. _parseOutputStyle(style) {
  29025. var t1;
  29026. $label0$0: {
  29027. if (style == null || "expanded" === style) {
  29028. t1 = B.OutputStyle_00;
  29029. break $label0$0;
  29030. }
  29031. if ("compressed" === style) {
  29032. t1 = B.OutputStyle_10;
  29033. break $label0$0;
  29034. }
  29035. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  29036. }
  29037. return t1;
  29038. },
  29039. _parseIndentWidth(width) {
  29040. var t1;
  29041. $label0$0: {
  29042. if (width == null) {
  29043. t1 = null;
  29044. break $label0$0;
  29045. }
  29046. if (A._isInt(width)) {
  29047. t1 = width;
  29048. break $label0$0;
  29049. }
  29050. t1 = A.int_parse(J.toString$0$(width), null);
  29051. break $label0$0;
  29052. }
  29053. return t1;
  29054. },
  29055. _parseLineFeed(str) {
  29056. var t1;
  29057. $label0$0: {
  29058. if ("cr" === str) {
  29059. t1 = B.LineFeed_3HY;
  29060. break $label0$0;
  29061. }
  29062. if ("crlf" === str) {
  29063. t1 = B.LineFeed_aqi;
  29064. break $label0$0;
  29065. }
  29066. if ("lfcr" === str) {
  29067. t1 = B.LineFeed_Kui;
  29068. break $label0$0;
  29069. }
  29070. t1 = B.LineFeed_oJz;
  29071. break $label0$0;
  29072. }
  29073. return t1;
  29074. },
  29075. _newRenderResult(options, result, start) {
  29076. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, _0_0, t6, sourceMapDirUrl, i, source, t7, buffer, indices, url, t8, _null = null,
  29077. t1 = Date.now(),
  29078. t2 = result._compile_result$_serialize,
  29079. css = t2._0,
  29080. sourceMapBytes = self.undefined;
  29081. if (A._enableSourceMaps(options)) {
  29082. t3 = J.getInterceptor$x(options);
  29083. sourceMapOption = t3.get$sourceMap(options);
  29084. if (typeof sourceMapOption == "string")
  29085. sourceMapPath = sourceMapOption;
  29086. else {
  29087. t4 = t3.get$outFile(options);
  29088. t4.toString;
  29089. sourceMapPath = J.$add$ansx(t4, ".map");
  29090. }
  29091. t4 = $.$get$context();
  29092. sourceMapDir = t4.dirname$1(sourceMapPath);
  29093. t2 = t2._1;
  29094. t2.toString;
  29095. t2.sourceRoot = t3.get$sourceMapRoot(options);
  29096. outFile = t3.get$outFile(options);
  29097. t5 = outFile == null;
  29098. if (t5) {
  29099. _0_0 = t3.get$file(options);
  29100. $label0$0: {
  29101. if (_0_0 != null) {
  29102. t6 = t4.toUri$1(t4.withoutExtension$1(_0_0) + ".css").toString$0(0);
  29103. break $label0$0;
  29104. }
  29105. t6 = t2.targetUrl = "stdin.css";
  29106. break $label0$0;
  29107. }
  29108. t2.targetUrl = t6;
  29109. } else
  29110. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  29111. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  29112. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  29113. source = t4[i];
  29114. if (source === "stdin")
  29115. continue;
  29116. t6 = $.$get$url();
  29117. t7 = t6.style;
  29118. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  29119. continue;
  29120. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  29121. }
  29122. t4 = t3.get$sourceMapContents(options);
  29123. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  29124. t2 = t3.get$omitSourceMapUrl(options);
  29125. if (!(!J.$eq$(t2, false) && t2 != null)) {
  29126. t2 = t3.get$sourceMapEmbed(options);
  29127. if (!J.$eq$(t2, false) && t2 != null) {
  29128. buffer = new A.StringBuffer("");
  29129. indices = A._setArrayType([-1], type$.JSArray_int);
  29130. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  29131. indices.push(buffer._contents.length);
  29132. indices.push((buffer._contents += ";base64,").length - 1);
  29133. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  29134. t3 = sourceMapBytes.length;
  29135. A.RangeError_checkValidRange(0, t3, t3);
  29136. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  29137. t2 = buffer._contents;
  29138. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  29139. } else {
  29140. if (t5)
  29141. t2 = sourceMapPath;
  29142. else {
  29143. t2 = $.$get$context();
  29144. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  29145. }
  29146. url = $.$get$context().toUri$1(t2);
  29147. }
  29148. t2 = url.toString$0(0);
  29149. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  29150. }
  29151. }
  29152. t2 = self.Buffer.from(css, "utf8");
  29153. t3 = J.get$file$x(options);
  29154. if (t3 == null)
  29155. t3 = "data";
  29156. t4 = start._value;
  29157. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(0 - start._microsecond, t1 - t4)._duration, 1000);
  29158. t6 = A._setArrayType([], type$.JSArray_String);
  29159. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  29160. t8 = t7.get$current(t7);
  29161. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  29162. }
  29163. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  29164. },
  29165. _enableSourceMaps(options) {
  29166. var t2,
  29167. t1 = J.getInterceptor$x(options);
  29168. if (typeof t1.get$sourceMap(options) != "string") {
  29169. t2 = t1.get$sourceMap(options);
  29170. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  29171. } else
  29172. t1 = true;
  29173. return t1;
  29174. },
  29175. _newRenderError(message, stackTrace, column, file, line, $status) {
  29176. var error = new self.Error(message);
  29177. error.formatted = "Error: " + message;
  29178. if (line != null)
  29179. error.line = line;
  29180. if (column != null)
  29181. error.column = column;
  29182. if (file != null)
  29183. error.file = file;
  29184. error.status = $status;
  29185. A.attachJsStack(error, stackTrace);
  29186. return error;
  29187. },
  29188. render_closure: function render_closure(t0, t1) {
  29189. this.callback = t0;
  29190. this.options = t1;
  29191. },
  29192. render_closure0: function render_closure0(t0) {
  29193. this.callback = t0;
  29194. },
  29195. render_closure1: function render_closure1(t0) {
  29196. this.callback = t0;
  29197. },
  29198. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  29199. var _ = this;
  29200. _.options = t0;
  29201. _.start = t1;
  29202. _.result = t2;
  29203. _.asynch = t3;
  29204. },
  29205. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  29206. this._box_0 = t0;
  29207. this.callback = t1;
  29208. this.context = t2;
  29209. },
  29210. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  29211. this.currentFiber = t0;
  29212. },
  29213. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  29214. this.currentFiber = t0;
  29215. this.result = t1;
  29216. },
  29217. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  29218. this.callback = t0;
  29219. this.context = t1;
  29220. this.jsArguments = t2;
  29221. },
  29222. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  29223. this._box_0 = t0;
  29224. },
  29225. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  29226. this.callback = t0;
  29227. this.context = t1;
  29228. },
  29229. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  29230. this.callback = t0;
  29231. this.context = t1;
  29232. this.$arguments = t2;
  29233. },
  29234. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  29235. this.callback = t0;
  29236. this.context = t1;
  29237. },
  29238. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  29239. this.completer = t0;
  29240. },
  29241. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  29242. this.callback = t0;
  29243. this.context = t1;
  29244. this.jsArguments = t2;
  29245. },
  29246. _parseImporter_closure: function _parseImporter_closure(t0) {
  29247. this._box_0 = t0;
  29248. },
  29249. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  29250. this._box_0 = t0;
  29251. this.importer = t1;
  29252. },
  29253. _parseImporter___closure: function _parseImporter___closure(t0) {
  29254. this.currentFiber = t0;
  29255. },
  29256. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  29257. this.currentFiber = t0;
  29258. this.result = t1;
  29259. },
  29260. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  29261. this._box_0 = t0;
  29262. },
  29263. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  29264. var t2, key,
  29265. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  29266. for (t2 = _map.get$keys(_map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  29267. key = t2.get$current(t2);
  29268. if (!blocklist.contains$1(0, key))
  29269. t1.add$1(0, key);
  29270. }
  29271. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  29272. },
  29273. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  29274. this._limited_map_view0$_map = t0;
  29275. this._limited_map_view0$_keys = t1;
  29276. this.$ti = t2;
  29277. },
  29278. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  29279. var _ = this;
  29280. _.contents = t0;
  29281. _.separator = t1;
  29282. _.hasBrackets = t2;
  29283. _.span = t3;
  29284. },
  29285. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  29286. this.$this = t0;
  29287. },
  29288. _function11($name, $arguments, callback) {
  29289. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  29290. },
  29291. _length_closure2: function _length_closure2() {
  29292. },
  29293. _nth_closure0: function _nth_closure0() {
  29294. },
  29295. _setNth_closure0: function _setNth_closure0() {
  29296. },
  29297. _join_closure0: function _join_closure0() {
  29298. },
  29299. _append_closure2: function _append_closure2() {
  29300. },
  29301. _zip_closure0: function _zip_closure0() {
  29302. },
  29303. _zip__closure2: function _zip__closure2() {
  29304. },
  29305. _zip__closure3: function _zip__closure3(t0) {
  29306. this._box_0 = t0;
  29307. },
  29308. _zip__closure4: function _zip__closure4(t0) {
  29309. this._box_0 = t0;
  29310. },
  29311. _index_closure2: function _index_closure2() {
  29312. },
  29313. _separator_closure0: function _separator_closure0() {
  29314. },
  29315. _isBracketed_closure0: function _isBracketed_closure0() {
  29316. },
  29317. _slash_closure0: function _slash_closure0() {
  29318. },
  29319. InterpolatedSelectorList$(components) {
  29320. var t1 = A.List_List$unmodifiable(components, type$.InterpolatedComplexSelector);
  29321. if (t1.length === 0)
  29322. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29323. return new A.InterpolatedSelectorList(t1);
  29324. },
  29325. InterpolatedSelectorList: function InterpolatedSelectorList(t0) {
  29326. this.components = t0;
  29327. },
  29328. SelectorList$0(components, span) {
  29329. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  29330. if (t1.length === 0)
  29331. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29332. return new A.SelectorList0(t1, span);
  29333. },
  29334. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, plainCss) {
  29335. return new A.SelectorParser0(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  29336. },
  29337. SelectorList0: function SelectorList0(t0, t1) {
  29338. this.components = t0;
  29339. this.span = t1;
  29340. },
  29341. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  29342. },
  29343. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  29344. var _ = this;
  29345. _.$this = t0;
  29346. _.preserveParentSelectors = t1;
  29347. _.implicitParent = t2;
  29348. _.parent = t3;
  29349. },
  29350. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  29351. this.complex = t0;
  29352. },
  29353. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  29354. this.complex = t0;
  29355. },
  29356. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  29357. },
  29358. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  29359. this.parent = t0;
  29360. },
  29361. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  29362. this.parentSelector = t0;
  29363. this.resolvedSimples = t1;
  29364. this.component = t2;
  29365. },
  29366. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  29367. this.combinators = t0;
  29368. },
  29369. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  29370. },
  29371. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  29372. },
  29373. listClass_closure: function listClass_closure() {
  29374. },
  29375. listClass__closure: function listClass__closure() {
  29376. },
  29377. listClass__closure0: function listClass__closure0() {
  29378. },
  29379. _ConstructorOptions: function _ConstructorOptions() {
  29380. },
  29381. _NodeSassList: function _NodeSassList() {
  29382. },
  29383. legacyListClass_closure: function legacyListClass_closure() {
  29384. },
  29385. legacyListClass__closure: function legacyListClass__closure() {
  29386. },
  29387. legacyListClass_closure0: function legacyListClass_closure0() {
  29388. },
  29389. legacyListClass_closure1: function legacyListClass_closure1() {
  29390. },
  29391. legacyListClass_closure2: function legacyListClass_closure2() {
  29392. },
  29393. legacyListClass_closure3: function legacyListClass_closure3() {
  29394. },
  29395. legacyListClass_closure4: function legacyListClass_closure4() {
  29396. },
  29397. SassList$0(contents, _separator, brackets) {
  29398. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  29399. t1.SassList$3$brackets0(contents, _separator, brackets);
  29400. return t1;
  29401. },
  29402. SassList0: function SassList0(t0, t1, t2) {
  29403. this._list1$_contents = t0;
  29404. this._list1$_separator = t1;
  29405. this._list1$_hasBrackets = t2;
  29406. },
  29407. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  29408. },
  29409. ListSeparator0: function ListSeparator0(t0, t1, t2, t3) {
  29410. var _ = this;
  29411. _._list1$_name = t0;
  29412. _.separator = t1;
  29413. _.index = t2;
  29414. _._name = t3;
  29415. },
  29416. LmsColorSpace0: function LmsColorSpace0(t0, t1) {
  29417. this.name = t0;
  29418. this._space$_channels = t1;
  29419. },
  29420. LocalMindeGamutMap0: function LocalMindeGamutMap0(t0) {
  29421. this.name = t0;
  29422. },
  29423. JSLogger: function JSLogger() {
  29424. },
  29425. WarnOptions: function WarnOptions() {
  29426. },
  29427. DebugOptions: function DebugOptions() {
  29428. },
  29429. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  29430. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  29431. },
  29432. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  29433. },
  29434. LoudComment0: function LoudComment0(t0) {
  29435. this.text = t0;
  29436. },
  29437. MapExpression0: function MapExpression0(t0, t1) {
  29438. this.pairs = t0;
  29439. this.span = t1;
  29440. },
  29441. _modify0(map, keys, modify, addNesting) {
  29442. var keyIterator = J.get$iterator$ax(keys);
  29443. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  29444. },
  29445. _deepMergeImpl0(map1, map2) {
  29446. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged,
  29447. t1 = map1._map0$_contents;
  29448. if (t1.get$isEmpty(t1))
  29449. return map2;
  29450. t2 = map2._map0$_contents;
  29451. if (t2.get$isEmpty(t2))
  29452. return map1;
  29453. t3 = type$.Value_2;
  29454. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  29455. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  29456. t4 = t1.get$current(t1);
  29457. key = t4._0;
  29458. value = t4._1;
  29459. t4 = result.$index(0, key);
  29460. _1_1 = t4 == null ? null : t4.tryMap$0();
  29461. _1_3 = value.tryMap$0();
  29462. _1_3_isSet = _1_1 != null;
  29463. t4 = false;
  29464. if (_1_3_isSet) {
  29465. t4 = _1_3 != null;
  29466. resultMap = _1_1;
  29467. _1_30 = _1_3;
  29468. } else {
  29469. _1_30 = null;
  29470. resultMap = null;
  29471. }
  29472. if (t4) {
  29473. valueMap = _1_3_isSet ? _1_30 : _1_3;
  29474. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  29475. if (merged === resultMap)
  29476. continue;
  29477. result.$indexSet(0, key, merged);
  29478. } else
  29479. result.$indexSet(0, key, value);
  29480. }
  29481. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  29482. },
  29483. _function10($name, $arguments, callback) {
  29484. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  29485. },
  29486. _get_closure0: function _get_closure0() {
  29487. },
  29488. _set_closure1: function _set_closure1() {
  29489. },
  29490. _set__closure2: function _set__closure2(t0) {
  29491. this.$arguments = t0;
  29492. },
  29493. _set_closure2: function _set_closure2() {
  29494. },
  29495. _set__closure1: function _set__closure1(t0) {
  29496. this._box_0 = t0;
  29497. },
  29498. _merge_closure1: function _merge_closure1() {
  29499. },
  29500. _merge_closure2: function _merge_closure2() {
  29501. },
  29502. _merge__closure0: function _merge__closure0(t0) {
  29503. this.map2 = t0;
  29504. },
  29505. _deepMerge_closure0: function _deepMerge_closure0() {
  29506. },
  29507. _deepRemove_closure0: function _deepRemove_closure0() {
  29508. },
  29509. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  29510. this.keys = t0;
  29511. },
  29512. _remove_closure1: function _remove_closure1() {
  29513. },
  29514. _remove_closure2: function _remove_closure2() {
  29515. },
  29516. _keys_closure0: function _keys_closure0() {
  29517. },
  29518. _values_closure0: function _values_closure0() {
  29519. },
  29520. _hasKey_closure0: function _hasKey_closure0() {
  29521. },
  29522. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  29523. this.keyIterator = t0;
  29524. this.modify = t1;
  29525. this.addNesting = t2;
  29526. },
  29527. MapExtensions_get_pairs0(_this, $K, $V) {
  29528. var t1 = _this.get$entries(_this);
  29529. return t1.map$1$1(t1, new A.MapExtensions_get_pairs_closure0($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  29530. },
  29531. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  29532. this.K = t0;
  29533. this.V = t1;
  29534. },
  29535. mapClass_closure: function mapClass_closure() {
  29536. },
  29537. mapClass__closure: function mapClass__closure() {
  29538. },
  29539. mapClass__closure0: function mapClass__closure0() {
  29540. },
  29541. mapClass__closure1: function mapClass__closure1() {
  29542. },
  29543. _NodeSassMap: function _NodeSassMap() {
  29544. },
  29545. legacyMapClass_closure: function legacyMapClass_closure() {
  29546. },
  29547. legacyMapClass__closure: function legacyMapClass__closure() {
  29548. },
  29549. legacyMapClass__closure0: function legacyMapClass__closure0() {
  29550. },
  29551. legacyMapClass_closure0: function legacyMapClass_closure0() {
  29552. },
  29553. legacyMapClass_closure1: function legacyMapClass_closure1() {
  29554. },
  29555. legacyMapClass_closure2: function legacyMapClass_closure2() {
  29556. },
  29557. legacyMapClass_closure3: function legacyMapClass_closure3() {
  29558. },
  29559. legacyMapClass_closure4: function legacyMapClass_closure4() {
  29560. },
  29561. SassMap0: function SassMap0(t0) {
  29562. this._map0$_contents = t0;
  29563. },
  29564. _singleArgumentMathFunc0($name, mathFunc) {
  29565. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  29566. },
  29567. _numberFunction0($name, transform) {
  29568. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  29569. },
  29570. _function9($name, $arguments, callback) {
  29571. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  29572. },
  29573. global_closure43: function global_closure43() {
  29574. },
  29575. module_closure26: function module_closure26() {
  29576. },
  29577. _ceil_closure0: function _ceil_closure0() {
  29578. },
  29579. _clamp_closure0: function _clamp_closure0() {
  29580. },
  29581. _floor_closure0: function _floor_closure0() {
  29582. },
  29583. _max_closure0: function _max_closure0() {
  29584. },
  29585. _min_closure0: function _min_closure0() {
  29586. },
  29587. _round_closure0: function _round_closure0() {
  29588. },
  29589. _hypot_closure0: function _hypot_closure0() {
  29590. },
  29591. _hypot__closure0: function _hypot__closure0() {
  29592. },
  29593. _log_closure0: function _log_closure0() {
  29594. },
  29595. _pow_closure0: function _pow_closure0() {
  29596. },
  29597. _atan2_closure0: function _atan2_closure0() {
  29598. },
  29599. _compatible_closure0: function _compatible_closure0() {
  29600. },
  29601. _isUnitless_closure0: function _isUnitless_closure0() {
  29602. },
  29603. _unit_closure0: function _unit_closure0() {
  29604. },
  29605. _percentage_closure0: function _percentage_closure0() {
  29606. },
  29607. _randomFunction_closure0: function _randomFunction_closure0() {
  29608. },
  29609. _div_closure0: function _div_closure0() {
  29610. },
  29611. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  29612. this.mathFunc = t0;
  29613. },
  29614. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  29615. this.transform = t0;
  29616. },
  29617. CssMediaQuery$type0(type, conditions, modifier) {
  29618. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  29619. },
  29620. CssMediaQuery$condition0(conditions, conjunction) {
  29621. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  29622. if (t1.length > 1 && conjunction == null)
  29623. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  29624. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  29625. },
  29626. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  29627. var _ = this;
  29628. _.modifier = t0;
  29629. _.type = t1;
  29630. _.conjunction = t2;
  29631. _.conditions = t3;
  29632. },
  29633. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0, t1) {
  29634. this.index = t0;
  29635. this._name = t1;
  29636. },
  29637. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  29638. this.query = t0;
  29639. },
  29640. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  29641. this.scanner = t0;
  29642. this._parser1$_interpolationMap = t1;
  29643. },
  29644. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  29645. this.$this = t0;
  29646. },
  29647. ModifiableCssMediaRule$0(queries, span) {
  29648. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  29649. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29650. if (J.get$isEmpty$asx(queries))
  29651. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  29652. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  29653. },
  29654. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  29655. var _ = this;
  29656. _.queries = t0;
  29657. _.span = t1;
  29658. _.children = t2;
  29659. _._node$_children = t3;
  29660. _._node$_indexInParent = _._node$_parent = null;
  29661. _.isGroupEnd = false;
  29662. },
  29663. MediaRule$0(query, children, span) {
  29664. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29665. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29666. return new A.MediaRule0(query, span, t1, t2);
  29667. },
  29668. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  29669. var _ = this;
  29670. _.query = t0;
  29671. _.span = t1;
  29672. _.children = t2;
  29673. _.hasDeclarations = t3;
  29674. },
  29675. MergedExtension_merge0(left, right) {
  29676. var t2, t3, t4,
  29677. t1 = left.extender.selector;
  29678. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  29679. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  29680. t2 = left.mediaContext;
  29681. t3 = t2 == null;
  29682. if (!t3) {
  29683. t4 = right.mediaContext;
  29684. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  29685. } else
  29686. t4 = false;
  29687. if (t4)
  29688. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  29689. if (right.isOptional && right.mediaContext == null)
  29690. return left;
  29691. if (left.isOptional && t3)
  29692. return right;
  29693. if (t3)
  29694. t2 = right.mediaContext;
  29695. t1.get$specificity();
  29696. t1 = new A.Extender0(t1, false);
  29697. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  29698. },
  29699. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  29700. var _ = this;
  29701. _.left = t0;
  29702. _.right = t1;
  29703. _.extender = t2;
  29704. _.target = t3;
  29705. _.mediaContext = t4;
  29706. _.isOptional = t5;
  29707. _.span = t6;
  29708. },
  29709. MergedMapView$0(maps, $K, $V) {
  29710. var t1 = $K._eval$1("@<0>")._bind$1($V);
  29711. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  29712. t1.MergedMapView$10(maps, $K, $V);
  29713. return t1;
  29714. },
  29715. MergedMapView0: function MergedMapView0(t0, t1) {
  29716. this._merged_map_view$_mapsByKey = t0;
  29717. this.$ti = t1;
  29718. },
  29719. _function6($name, $arguments, callback) {
  29720. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  29721. },
  29722. _shared_closure3: function _shared_closure3() {
  29723. },
  29724. _shared_closure4: function _shared_closure4() {
  29725. },
  29726. _shared_closure5: function _shared_closure5() {
  29727. },
  29728. _shared_closure6: function _shared_closure6() {
  29729. },
  29730. moduleFunctions_closure2: function moduleFunctions_closure2() {
  29731. },
  29732. moduleFunctions_closure3: function moduleFunctions_closure3() {
  29733. },
  29734. moduleFunctions__closure0: function moduleFunctions__closure0() {
  29735. },
  29736. moduleFunctions_closure4: function moduleFunctions_closure4() {
  29737. },
  29738. mixinClass_closure: function mixinClass_closure() {
  29739. },
  29740. mixinClass__closure: function mixinClass__closure() {
  29741. },
  29742. mixinClass__closure0: function mixinClass__closure0() {
  29743. },
  29744. SassMixin0: function SassMixin0(t0, t1) {
  29745. this.callable = t0;
  29746. this._mixin0$_compileContext = t1;
  29747. },
  29748. MixinRule$0($name, parameters, children, span, comment) {
  29749. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  29750. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  29751. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  29752. return new A.MixinRule0(t1, $name, parameters, span, t2, t3);
  29753. },
  29754. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  29755. var _ = this;
  29756. _._mixin_rule$__MixinRule_hasContent_FI = $;
  29757. _.name = t0;
  29758. _.originalName = t1;
  29759. _.parameters = t2;
  29760. _.span = t3;
  29761. _.children = t4;
  29762. _.hasDeclarations = t5;
  29763. },
  29764. _HasContentVisitor0: function _HasContentVisitor0() {
  29765. },
  29766. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  29767. },
  29768. ExtendMode0: function ExtendMode0(t0, t1, t2) {
  29769. this.name = t0;
  29770. this.index = t1;
  29771. this._name = t2;
  29772. },
  29773. JSModule0: function JSModule0() {
  29774. },
  29775. JSModuleRequire0: function JSModuleRequire0() {
  29776. },
  29777. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  29778. this._multi_span0$_primary = t0;
  29779. this.primaryLabel = t1;
  29780. this.secondarySpans = t2;
  29781. },
  29782. SupportsNegation0: function SupportsNegation0(t0, t1) {
  29783. this.condition = t0;
  29784. this.span = t1;
  29785. },
  29786. NoOpImporter0: function NoOpImporter0() {
  29787. },
  29788. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  29789. this._no_source_map_buffer0$_buffer = t0;
  29790. },
  29791. _FakeAstNode0: function _FakeAstNode0(t0) {
  29792. this._node0$_callback = t0;
  29793. },
  29794. CssNode0: function CssNode0() {
  29795. },
  29796. CssParentNode0: function CssParentNode0() {
  29797. },
  29798. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  29799. this.includeBogus = t0;
  29800. this.includeComments = t1;
  29801. },
  29802. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  29803. },
  29804. ModifiableCssNode0: function ModifiableCssNode0() {
  29805. },
  29806. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  29807. },
  29808. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  29809. },
  29810. NodePackageImporter0: function NodePackageImporter0() {
  29811. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  29812. },
  29813. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  29814. },
  29815. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  29816. },
  29817. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  29818. },
  29819. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  29820. this.$this = t0;
  29821. this.exports = t1;
  29822. this.packageRoot = t2;
  29823. },
  29824. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  29825. this.$this = t0;
  29826. this.variant = t1;
  29827. this.packageRoot = t2;
  29828. },
  29829. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  29830. },
  29831. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  29832. },
  29833. NullExpression$(span) {
  29834. return new A.NullExpression0(span);
  29835. },
  29836. NullExpression0: function NullExpression0(t0) {
  29837. this.span = t0;
  29838. },
  29839. legacyNullClass_closure: function legacyNullClass_closure() {
  29840. },
  29841. legacyNullClass__closure: function legacyNullClass__closure() {
  29842. },
  29843. _SassNull0: function _SassNull0() {
  29844. },
  29845. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  29846. this.value = t0;
  29847. this.unit = t1;
  29848. this.span = t2;
  29849. },
  29850. numberClass_closure: function numberClass_closure() {
  29851. },
  29852. numberClass__closure: function numberClass__closure() {
  29853. },
  29854. numberClass__closure0: function numberClass__closure0() {
  29855. },
  29856. numberClass__closure1: function numberClass__closure1() {
  29857. },
  29858. numberClass__closure2: function numberClass__closure2() {
  29859. },
  29860. numberClass__closure3: function numberClass__closure3() {
  29861. },
  29862. numberClass__closure4: function numberClass__closure4() {
  29863. },
  29864. numberClass__closure5: function numberClass__closure5() {
  29865. },
  29866. numberClass__closure6: function numberClass__closure6() {
  29867. },
  29868. numberClass__closure7: function numberClass__closure7() {
  29869. },
  29870. numberClass__closure8: function numberClass__closure8() {
  29871. },
  29872. numberClass__closure9: function numberClass__closure9() {
  29873. },
  29874. numberClass__closure10: function numberClass__closure10() {
  29875. },
  29876. numberClass__closure11: function numberClass__closure11() {
  29877. },
  29878. numberClass__closure12: function numberClass__closure12() {
  29879. },
  29880. numberClass__closure13: function numberClass__closure13() {
  29881. },
  29882. numberClass__closure14: function numberClass__closure14() {
  29883. },
  29884. numberClass__closure15: function numberClass__closure15() {
  29885. },
  29886. numberClass__closure16: function numberClass__closure16() {
  29887. },
  29888. numberClass__closure17: function numberClass__closure17() {
  29889. },
  29890. numberClass__closure18: function numberClass__closure18() {
  29891. },
  29892. numberClass__closure19: function numberClass__closure19() {
  29893. },
  29894. _ConstructorOptions0: function _ConstructorOptions0() {
  29895. },
  29896. _parseNumber(value, unit) {
  29897. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  29898. if (unit == null || unit.length === 0)
  29899. return A.SassNumber_SassNumber0(value, null);
  29900. if (!B.JSString_methods.contains$1(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  29901. return A.SassNumber_SassNumber0(value, unit);
  29902. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  29903. operands = unit.split("/");
  29904. t1 = operands.length;
  29905. if (t1 > 2)
  29906. throw A.wrapException(invalidUnit);
  29907. numerator = operands[0];
  29908. denominator = t1 === 1 ? null : operands[1];
  29909. t1 = type$.JSArray_String;
  29910. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  29911. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  29912. throw A.wrapException(invalidUnit);
  29913. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  29914. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  29915. throw A.wrapException(invalidUnit);
  29916. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  29917. },
  29918. _NodeSassNumber: function _NodeSassNumber() {
  29919. },
  29920. legacyNumberClass_closure: function legacyNumberClass_closure() {
  29921. },
  29922. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  29923. },
  29924. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  29925. },
  29926. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  29927. },
  29928. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  29929. },
  29930. _parseNumber_closure: function _parseNumber_closure() {
  29931. },
  29932. _parseNumber_closure0: function _parseNumber_closure0() {
  29933. },
  29934. conversionFactor0(unit1, unit2) {
  29935. var _0_0;
  29936. if (unit1 === unit2)
  29937. return 1;
  29938. _0_0 = B.Map_NtHoP.$index(0, unit1);
  29939. if (_0_0 != null)
  29940. return _0_0.$index(0, unit2);
  29941. return null;
  29942. },
  29943. SassNumber_SassNumber0(value, unit) {
  29944. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  29945. },
  29946. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  29947. var _0_8, _0_10, _0_10_isSet, _0_7, _0_8_isSet, _0_7_isSet, unit, _0_7_isSet0, t2, _0_4_isSet, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  29948. _0_3 = numeratorUnits == null,
  29949. t1 = _0_3,
  29950. _0_6_isSet = !t1,
  29951. _0_6 = _null,
  29952. _0_4 = _null;
  29953. if (_0_6_isSet) {
  29954. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29955. t1 = _0_4;
  29956. _0_6 = t1 <= 0;
  29957. t1 = _0_6;
  29958. } else
  29959. t1 = true;
  29960. _0_8 = _null;
  29961. _0_10 = _null;
  29962. if (t1) {
  29963. _0_8 = denominatorUnits == null;
  29964. t1 = _0_8;
  29965. _0_10_isSet = !t1;
  29966. if (_0_10_isSet) {
  29967. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  29968. t1 = _0_10;
  29969. } else
  29970. t1 = true;
  29971. _0_7 = denominatorUnits;
  29972. _0_8_isSet = true;
  29973. _0_7_isSet = true;
  29974. } else {
  29975. _0_7 = _null;
  29976. _0_8_isSet = false;
  29977. _0_7_isSet = false;
  29978. _0_10_isSet = false;
  29979. t1 = false;
  29980. }
  29981. if (t1)
  29982. return new A.UnitlessSassNumber0(value, _null);
  29983. unit = _null;
  29984. t1 = false;
  29985. if (type$.List_dynamic._is(numeratorUnits)) {
  29986. _0_7_isSet0 = true;
  29987. if (_0_6_isSet) {
  29988. t2 = _0_4;
  29989. _0_4_isSet = _0_6_isSet;
  29990. } else {
  29991. _0_4 = J.get$length$asx(numeratorUnits);
  29992. t2 = _0_4;
  29993. _0_4_isSet = true;
  29994. }
  29995. if (t2 === 1) {
  29996. unit = J.$index$asx(numeratorUnits, 0);
  29997. if (_0_8_isSet)
  29998. t1 = _0_8;
  29999. else {
  30000. if (_0_7_isSet)
  30001. t1 = _0_7;
  30002. else {
  30003. t1 = denominatorUnits;
  30004. _0_7_isSet = _0_7_isSet0;
  30005. _0_7 = t1;
  30006. }
  30007. _0_8 = t1 == null;
  30008. t1 = _0_8;
  30009. _0_8_isSet = true;
  30010. }
  30011. if (!t1)
  30012. if (_0_10_isSet)
  30013. t1 = _0_10;
  30014. else {
  30015. if (_0_7_isSet)
  30016. t1 = _0_7;
  30017. else {
  30018. t1 = denominatorUnits;
  30019. _0_7_isSet = _0_7_isSet0;
  30020. _0_7 = t1;
  30021. }
  30022. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  30023. t1 = _0_10;
  30024. _0_10_isSet = true;
  30025. }
  30026. else
  30027. t1 = true;
  30028. }
  30029. } else
  30030. _0_4_isSet = _0_6_isSet;
  30031. if (t1)
  30032. return new A.SingleUnitSassNumber0(unit, value, _null);
  30033. t1 = false;
  30034. if (numeratorUnits != null) {
  30035. _0_7_isSet0 = true;
  30036. if (_0_8_isSet)
  30037. t1 = _0_8;
  30038. else {
  30039. if (_0_7_isSet)
  30040. t1 = _0_7;
  30041. else {
  30042. t1 = denominatorUnits;
  30043. _0_7_isSet = _0_7_isSet0;
  30044. _0_7 = t1;
  30045. }
  30046. _0_8 = t1 == null;
  30047. t1 = _0_8;
  30048. }
  30049. if (!t1)
  30050. if (_0_10_isSet)
  30051. t1 = _0_10;
  30052. else {
  30053. if (_0_7_isSet)
  30054. t1 = _0_7;
  30055. else {
  30056. t1 = denominatorUnits;
  30057. _0_7_isSet = _0_7_isSet0;
  30058. _0_7 = t1;
  30059. }
  30060. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  30061. t1 = _0_10;
  30062. }
  30063. else
  30064. t1 = true;
  30065. numerators = numeratorUnits;
  30066. } else
  30067. numerators = _null;
  30068. if (t1)
  30069. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  30070. if (!_0_3)
  30071. if (_0_6_isSet)
  30072. t1 = _0_6;
  30073. else {
  30074. if (_0_4_isSet)
  30075. t1 = _0_4;
  30076. else {
  30077. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  30078. t1 = _0_4;
  30079. }
  30080. _0_6 = t1 <= 0;
  30081. t1 = _0_6;
  30082. }
  30083. else
  30084. t1 = true;
  30085. denominators = _null;
  30086. if (t1) {
  30087. if (_0_7_isSet)
  30088. t1 = _0_7;
  30089. else {
  30090. t1 = denominatorUnits;
  30091. _0_7 = t1;
  30092. _0_7_isSet = true;
  30093. }
  30094. t1 = t1 != null;
  30095. if (t1) {
  30096. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  30097. if (denominators == null)
  30098. denominators = type$.List_String._as(denominators);
  30099. }
  30100. } else
  30101. t1 = false;
  30102. if (t1)
  30103. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  30104. numeratorUnits.toString;
  30105. numerators = J.toList$0$ax(numeratorUnits);
  30106. denominatorUnits.toString;
  30107. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  30108. denominators = A._setArrayType([], type$.JSArray_String);
  30109. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  30110. denominator = unsimplifiedDenominators[_i];
  30111. i = 0;
  30112. for (;;) {
  30113. if (!(i < numerators.length)) {
  30114. simplifiedAway = false;
  30115. break;
  30116. }
  30117. c$0: {
  30118. factor = A.conversionFactor0(denominator, numerators[i]);
  30119. if (factor == null)
  30120. break c$0;
  30121. valueDouble *= factor;
  30122. B.JSArray_methods.removeAt$1(numerators, i);
  30123. simplifiedAway = true;
  30124. break;
  30125. }
  30126. ++i;
  30127. }
  30128. if (!simplifiedAway)
  30129. denominators.push(denominator);
  30130. }
  30131. $label0$1: {
  30132. _1_2 = numerators.length;
  30133. t1 = _1_2;
  30134. _1_7_isSet = t1 <= 0;
  30135. if (_1_7_isSet) {
  30136. _1_7 = denominators.length <= 0;
  30137. t1 = _1_7;
  30138. } else {
  30139. _1_7 = _null;
  30140. t1 = false;
  30141. }
  30142. if (t1) {
  30143. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  30144. break $label0$1;
  30145. }
  30146. t1 = false;
  30147. if (_1_2 === 1) {
  30148. unit = numerators[0];
  30149. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  30150. } else
  30151. unit = _null;
  30152. if (t1) {
  30153. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  30154. break $label0$1;
  30155. }
  30156. t1 = type$.String;
  30157. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  30158. break $label0$1;
  30159. }
  30160. return t1;
  30161. },
  30162. SassNumber0: function SassNumber0() {
  30163. },
  30164. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  30165. var _ = this;
  30166. _.$this = t0;
  30167. _.other = t1;
  30168. _.otherName = t2;
  30169. _.otherHasUnits = t3;
  30170. _.name = t4;
  30171. _.newNumerators = t5;
  30172. _.newDenominators = t6;
  30173. },
  30174. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  30175. this._box_0 = t0;
  30176. this.newNumerator = t1;
  30177. },
  30178. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  30179. this.compatibilityException = t0;
  30180. },
  30181. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  30182. this._box_0 = t0;
  30183. this.newDenominator = t1;
  30184. },
  30185. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  30186. this.compatibilityException = t0;
  30187. },
  30188. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  30189. },
  30190. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  30191. },
  30192. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  30193. this._box_0 = t0;
  30194. this.numerator = t1;
  30195. },
  30196. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  30197. this.newNumerators = t0;
  30198. this.numerator = t1;
  30199. },
  30200. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  30201. this._box_0 = t0;
  30202. this.numerator = t1;
  30203. },
  30204. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  30205. this.newNumerators = t0;
  30206. this.numerator = t1;
  30207. },
  30208. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  30209. this.units2 = t0;
  30210. },
  30211. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  30212. },
  30213. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  30214. this.$this = t0;
  30215. },
  30216. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  30217. },
  30218. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  30219. },
  30220. OklabColorSpace0: function OklabColorSpace0(t0, t1) {
  30221. this.name = t0;
  30222. this._space$_channels = t1;
  30223. },
  30224. OklchColorSpace0: function OklchColorSpace0(t0, t1) {
  30225. this.name = t0;
  30226. this._space$_channels = t1;
  30227. },
  30228. SupportsOperation$0(left, right, operator, span) {
  30229. var lowerOperator = operator.toLowerCase();
  30230. if (lowerOperator !== "and" && lowerOperator !== "or")
  30231. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  30232. return new A.SupportsOperation0(left, right, operator, span);
  30233. },
  30234. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  30235. var _ = this;
  30236. _.left = t0;
  30237. _.right = t1;
  30238. _.operator = t2;
  30239. _.span = t3;
  30240. },
  30241. Parameter0: function Parameter0(t0, t1, t2) {
  30242. this.name = t0;
  30243. this.defaultValue = t1;
  30244. this.span = t2;
  30245. },
  30246. ParameterList_ParameterList$parse0(contents, url) {
  30247. return A.ScssParser$0(contents, false, url).parseParameterList$0();
  30248. },
  30249. ParameterList0: function ParameterList0(t0, t1, t2) {
  30250. this.parameters = t0;
  30251. this.restParameter = t1;
  30252. this.span = t2;
  30253. },
  30254. ParameterList_verify_closure1: function ParameterList_verify_closure1() {
  30255. },
  30256. ParameterList_verify_closure2: function ParameterList_verify_closure2() {
  30257. },
  30258. InterpolatedParentSelector: function InterpolatedParentSelector(t0, t1) {
  30259. this.suffix = t0;
  30260. this.span = t1;
  30261. },
  30262. ParentSelector0: function ParentSelector0(t0, t1) {
  30263. this.suffix = t0;
  30264. this.span = t1;
  30265. },
  30266. ParentStatement0: function ParentStatement0() {
  30267. },
  30268. ParentStatement_closure0: function ParentStatement_closure0() {
  30269. },
  30270. ParentStatement__closure0: function ParentStatement__closure0() {
  30271. },
  30272. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  30273. this.expression = t0;
  30274. this.span = t1;
  30275. },
  30276. loadParserExports() {
  30277. A._updateLazyFileSpanPrototype();
  30278. A._updateAstPrototypes();
  30279. return {parse: A.allowInterop(A.parser0___parse$closure()), parseIdentifier: A.allowInterop(A.parser0___parseIdentifier$closure()), toCssIdentifier: A.allowInterop(A.parser0___toCssIdentifier$closure()), createExpressionVisitor: A.allowInterop(new A.loadParserExports_closure()), createStatementVisitor: A.allowInterop(new A.loadParserExports_closure0()), createSimpleSelectorVisitor: A.allowInterop(new A.loadParserExports_closure1()), createSourceFile: A.allowInterop(new A.loadParserExports_closure2()), setToJS: A.allowInterop(new A.loadParserExports_closure3()), mapToRecord: A.allowInterop(A.utils3__mapToObject$closure())};
  30280. },
  30281. _updateLazyFileSpanPrototype() {
  30282. var t1 = type$.JSClass._as(new A.LazyFileSpan0(new A._updateLazyFileSpanPrototype_closure()).constructor);
  30283. A.LinkedHashMap_LinkedHashMap$_literal(["file", new A._updateLazyFileSpanPrototype_closure0(), "length", new A._updateLazyFileSpanPrototype_closure1(), "sourceUrl", new A._updateLazyFileSpanPrototype_closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30284. },
  30285. _updateAstPrototypes() {
  30286. var t4, string, t5, $arguments, klass, compound, _i, _null = null, _s6_ = "accept",
  30287. _s9_ = "arguments",
  30288. file = A.SourceFile$fromString("", _null),
  30289. t1 = type$.JSClass,
  30290. t2 = t1._as(file.constructor),
  30291. t3 = type$.String;
  30292. A.LinkedHashMap_LinkedHashMap$_literal(["getText", new A._updateAstPrototypes_closure(), "span", new A._updateAstPrototypes_closure0()], t3, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(t2));
  30293. A.defineGetter(J.get$$prototype$x(t1._as(file.constructor)), "codeUnits", new A._updateAstPrototypes_closure1(), _null);
  30294. t2 = $.$get$_interpolation();
  30295. A.defineGetter(J.get$$prototype$x(t1._as(t2.constructor)), "asPlain", new A._updateAstPrototypes_closure2(), _null);
  30296. t4 = $.$get$bogusSpan0();
  30297. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.ExtendRule0(t2, false, t4).constructor))).constructor)).accept = A.allowInteropCaptureThisNamed(_s6_, new A._updateAstPrototypes_closure3());
  30298. string = new A.StringExpression0(t2, false);
  30299. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(string.constructor))).constructor)).accept = A.allowInteropCaptureThisNamed(_s6_, new A._updateAstPrototypes_closure4());
  30300. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.InterpolatedParentSelector(_null, t4).constructor))).constructor)).accept = A.allowInteropCaptureThisNamed(_s6_, new A._updateAstPrototypes_closure5());
  30301. t5 = type$.Expression_2;
  30302. $arguments = new A.ArgumentList0(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Expression_2), t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), t3, t5), _null, _null, t4);
  30303. A.defineGetter(J.get$$prototype$x(t1._as(new A.IncludeRule0(_null, A.stringReplaceAllUnchecked("a", "_", "-"), "a", $arguments, _null, t4).constructor)), _s9_, new A._updateAstPrototypes_closure6(), _null);
  30304. A.defineGetter(J.get$$prototype$x(t1._as(new A.ContentRule0($arguments, t4).constructor)), _s9_, new A._updateAstPrototypes_closure7(), _null);
  30305. A.defineGetter(J.get$$prototype$x(t1._as(new A.FunctionExpression0(_null, A.stringReplaceAllUnchecked("a", "_", "-"), "a", $arguments, t4).constructor)), _s9_, new A._updateAstPrototypes_closure8(), _null);
  30306. A.defineGetter(J.get$$prototype$x(t1._as(new A.IfExpression0($arguments, t4).constructor)), _s9_, new A._updateAstPrototypes_closure9(), _null);
  30307. A.defineGetter(J.get$$prototype$x(t1._as(new A.InterpolatedFunctionExpression0(t2, $arguments, t4).constructor)), _s9_, new A._updateAstPrototypes_closure10(), _null);
  30308. A._addSupportsConditionToInterpolation();
  30309. klass = new A.InterpolatedClassSelector(t2);
  30310. compound = A.InterpolatedCompoundSelector$(A._setArrayType([klass], type$.JSArray_InterpolatedSimpleSelector));
  30311. for (t2 = [string, new A.BinaryOperationExpression0(B.BinaryOperator_jCK0, string, string, false), new A.SupportsExpression0(new A.SupportsAnything0(t2, t4)), new A.LoudComment0(t2), klass, new A.InterpolatedIDSelector(t2), new A.InterpolatedPlaceholderSelector(t2), new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(t2, t4, _null)), compound, A.InterpolatedSelectorList$(A._setArrayType([A.InterpolatedComplexSelector$(A._setArrayType([new A.InterpolatedComplexSelectorComponent(compound, _null, t4)], type$.JSArray_InterpolatedComplexSelectorComponent), t4, _null)], type$.JSArray_InterpolatedComplexSelector))], _i = 0; _i < 10; ++_i) {
  30312. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30313. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure11()), enumerable: false};
  30314. self.Object.defineProperty(t3, "span", t4);
  30315. }
  30316. },
  30317. _addSupportsConditionToInterpolation() {
  30318. var t3, _i, $function, t4,
  30319. t1 = $.$get$_interpolation(),
  30320. t2 = $.$get$bogusSpan0(),
  30321. anything = new A.SupportsAnything0(t1, t2);
  30322. for (t3 = $.$get$_expression(), t2 = [anything, new A.SupportsDeclaration0(t3, t3, t2), new A.SupportsFunction0(t1, t1, t2), new A.SupportsInterpolation0(t3, t2), new A.SupportsNegation0(anything, t2), A.SupportsOperation$0(anything, anything, "and", t2)], t3 = type$.JSClass, _i = 0; _i < 6; ++_i) {
  30323. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30324. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30325. t4 = {value: "toInterpolation", enumerable: false};
  30326. self.Object.defineProperty($function, "name", t4);
  30327. A._hideDartProperties($function);
  30328. t1.toInterpolation = $function;
  30329. }
  30330. },
  30331. _parse(css, syntax, path) {
  30332. var t1;
  30333. $label0$0: {
  30334. if ("scss" === syntax) {
  30335. t1 = B.Syntax_SCSS_0_scss0;
  30336. break $label0$0;
  30337. }
  30338. if ("sass" === syntax) {
  30339. t1 = B.Syntax_Sass_1_sass0;
  30340. break $label0$0;
  30341. }
  30342. if ("css" === syntax) {
  30343. t1 = B.Syntax_CSS_2_css0;
  30344. break $label0$0;
  30345. }
  30346. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30347. }
  30348. return A.Stylesheet_Stylesheet$parse0(css, t1, true, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30349. },
  30350. _parseIdentifier(identifier) {
  30351. var t1, exception;
  30352. try {
  30353. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30354. return t1;
  30355. } catch (exception) {
  30356. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30357. return null;
  30358. else
  30359. throw exception;
  30360. }
  30361. },
  30362. _toCssIdentifier(text) {
  30363. return A.StringExtension_toCssIdentifier(text);
  30364. },
  30365. ParserExports: function ParserExports() {
  30366. },
  30367. loadParserExports_closure: function loadParserExports_closure() {
  30368. },
  30369. loadParserExports_closure0: function loadParserExports_closure0() {
  30370. },
  30371. loadParserExports_closure1: function loadParserExports_closure1() {
  30372. },
  30373. loadParserExports_closure2: function loadParserExports_closure2() {
  30374. },
  30375. loadParserExports_closure3: function loadParserExports_closure3() {
  30376. },
  30377. _updateLazyFileSpanPrototype_closure: function _updateLazyFileSpanPrototype_closure() {
  30378. },
  30379. _updateLazyFileSpanPrototype_closure0: function _updateLazyFileSpanPrototype_closure0() {
  30380. },
  30381. _updateLazyFileSpanPrototype_closure1: function _updateLazyFileSpanPrototype_closure1() {
  30382. },
  30383. _updateLazyFileSpanPrototype_closure2: function _updateLazyFileSpanPrototype_closure2() {
  30384. },
  30385. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30386. },
  30387. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30388. },
  30389. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30390. },
  30391. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30392. },
  30393. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30394. },
  30395. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30396. },
  30397. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30398. },
  30399. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30400. },
  30401. _updateAstPrototypes_closure7: function _updateAstPrototypes_closure7() {
  30402. },
  30403. _updateAstPrototypes_closure8: function _updateAstPrototypes_closure8() {
  30404. },
  30405. _updateAstPrototypes_closure9: function _updateAstPrototypes_closure9() {
  30406. },
  30407. _updateAstPrototypes_closure10: function _updateAstPrototypes_closure10() {
  30408. },
  30409. _updateAstPrototypes_closure11: function _updateAstPrototypes_closure11() {
  30410. },
  30411. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30412. },
  30413. Parser_isIdentifier0(text) {
  30414. var exception;
  30415. try {
  30416. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30417. return true;
  30418. } catch (exception) {
  30419. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30420. return false;
  30421. else
  30422. throw exception;
  30423. }
  30424. },
  30425. Parser1: function Parser1(t0, t1) {
  30426. this.scanner = t0;
  30427. this._parser1$_interpolationMap = t1;
  30428. },
  30429. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30430. this.$this = t0;
  30431. },
  30432. Parser_escape_closure0: function Parser_escape_closure0() {
  30433. },
  30434. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30435. this.caseSensitive = t0;
  30436. this.char = t1;
  30437. },
  30438. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30439. this.$this = t0;
  30440. this.span = t1;
  30441. },
  30442. Parser_spanFromPosition_closure0: function Parser_spanFromPosition_closure0(t0, t1) {
  30443. this.$this = t0;
  30444. this.span = t1;
  30445. },
  30446. InterpolatedPlaceholderSelector: function InterpolatedPlaceholderSelector(t0) {
  30447. this.name = t0;
  30448. },
  30449. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30450. this.name = t0;
  30451. this.span = t1;
  30452. },
  30453. PlainCssCallable0: function PlainCssCallable0(t0) {
  30454. this.name = t0;
  30455. },
  30456. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30457. this._prefixed_map_view0$_map = t0;
  30458. this._prefixed_map_view0$_prefix = t1;
  30459. this.$ti = t2;
  30460. },
  30461. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30462. this._prefixed_map_view0$_view = t0;
  30463. },
  30464. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30465. this.$this = t0;
  30466. },
  30467. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30468. this.name = t0;
  30469. this._space$_channels = t1;
  30470. },
  30471. InterpolatedPseudoSelector: function InterpolatedPseudoSelector(t0, t1, t2, t3, t4) {
  30472. var _ = this;
  30473. _.name = t0;
  30474. _.isSyntacticClass = t1;
  30475. _.argument = t2;
  30476. _.selector = t3;
  30477. _.span = t4;
  30478. },
  30479. PseudoSelector$0($name, span, argument, element, selector) {
  30480. var t1 = !element,
  30481. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30482. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30483. },
  30484. PseudoSelector__isFakePseudoElement0($name) {
  30485. switch ($name.charCodeAt(0)) {
  30486. case 97:
  30487. case 65:
  30488. return A.equalsIgnoreCase0($name, "after");
  30489. case 98:
  30490. case 66:
  30491. return A.equalsIgnoreCase0($name, "before");
  30492. case 102:
  30493. case 70:
  30494. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30495. default:
  30496. return false;
  30497. }
  30498. },
  30499. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30500. var _ = this;
  30501. _.name = t0;
  30502. _.normalizedName = t1;
  30503. _.isClass = t2;
  30504. _.isSyntacticClass = t3;
  30505. _.argument = t4;
  30506. _.selector = t5;
  30507. _._pseudo$__PseudoSelector_specificity_FI = $;
  30508. _.span = t6;
  30509. },
  30510. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30511. this.$this = t0;
  30512. },
  30513. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30514. },
  30515. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30516. },
  30517. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30518. },
  30519. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30520. this._public_member_map_view0$_inner = t0;
  30521. this.$ti = t1;
  30522. },
  30523. InterpolatedQualifiedName: function InterpolatedQualifiedName(t0, t1, t2) {
  30524. this.name = t0;
  30525. this.span = t1;
  30526. this.namespace = t2;
  30527. },
  30528. QualifiedName0: function QualifiedName0(t0, t1) {
  30529. this.name = t0;
  30530. this.namespace = t1;
  30531. },
  30532. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30533. this.name = t0;
  30534. this._space$_channels = t1;
  30535. },
  30536. createJSClass($name, $constructor) {
  30537. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30538. },
  30539. JSClassExtension_injectSuperclass(_this, superclass) {
  30540. var t1 = J.getInterceptor$x(superclass),
  30541. t2 = J.getInterceptor$x(_this);
  30542. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30543. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30544. },
  30545. JSClassExtension_setCustomInspect(_this, inspect) {
  30546. if (self.util == null)
  30547. return;
  30548. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30549. },
  30550. JSClassExtension_get_defineStaticMethod(_this) {
  30551. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30552. },
  30553. JSClassExtension_get_defineMethod(_this) {
  30554. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30555. },
  30556. JSClassExtension_defineMethods(_this, methods) {
  30557. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30558. },
  30559. JSClassExtension_get_defineGetter(_this) {
  30560. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30561. },
  30562. JSClass0: function JSClass0() {
  30563. },
  30564. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30565. this.inspect = t0;
  30566. },
  30567. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30568. this._this = t0;
  30569. },
  30570. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30571. this._this = t0;
  30572. },
  30573. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30574. this._this = t0;
  30575. },
  30576. RenderContext0: function RenderContext0() {
  30577. },
  30578. RenderContextOptions0: function RenderContextOptions0() {
  30579. },
  30580. RenderContextResult0: function RenderContextResult0() {
  30581. },
  30582. RenderContextResultStats0: function RenderContextResultStats0() {
  30583. },
  30584. RenderOptions: function RenderOptions() {
  30585. },
  30586. RenderResult: function RenderResult() {
  30587. },
  30588. RenderResultStats: function RenderResultStats() {
  30589. },
  30590. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30591. },
  30592. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30593. this.$this = t0;
  30594. },
  30595. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30596. this.$this = t0;
  30597. },
  30598. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30599. this.$this = t0;
  30600. },
  30601. ImporterResult$(contents, sourceMapUrl, syntax) {
  30602. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30603. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30604. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30605. },
  30606. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30607. this.contents = t0;
  30608. this._result$_sourceMapUrl = t1;
  30609. this.syntax = t2;
  30610. },
  30611. ReturnRule0: function ReturnRule0(t0, t1) {
  30612. this.expression = t0;
  30613. this.span = t1;
  30614. },
  30615. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30616. this.name = t0;
  30617. this._space$_channels = t1;
  30618. },
  30619. SassParser0: function SassParser0(t0, t1, t2, t3, t4) {
  30620. var _ = this;
  30621. _._sass0$_currentIndentation = 0;
  30622. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30623. _._parseSelectors = t0;
  30624. _._stylesheet0$_isUseAllowed = true;
  30625. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inPlainCssFunction = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30626. _._stylesheet0$_globalVariables = t1;
  30627. _.warnings = t2;
  30628. _.lastSilentComment = null;
  30629. _.scanner = t3;
  30630. _._parser1$_interpolationMap = t4;
  30631. },
  30632. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30633. },
  30634. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30635. this.$this = t0;
  30636. this.child = t1;
  30637. this.children = t2;
  30638. },
  30639. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30640. },
  30641. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30642. },
  30643. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30644. },
  30645. _translateReturnValue(val) {
  30646. if (val instanceof A._Future)
  30647. return A.futureToPromise(val, type$.dynamic);
  30648. else
  30649. return val;
  30650. },
  30651. main2() {
  30652. new Uint8Array(0);
  30653. A.main();
  30654. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30655. },
  30656. _wrapMain(main) {
  30657. if (type$.dynamic_Function._is(main))
  30658. return A.allowInterop(new A._wrapMain_closure(main));
  30659. else
  30660. return A.allowInterop(new A._wrapMain_closure0(main));
  30661. },
  30662. _Exports: function _Exports() {
  30663. },
  30664. _wrapMain_closure: function _wrapMain_closure(t0) {
  30665. this.main = t0;
  30666. },
  30667. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30668. this.main = t0;
  30669. },
  30670. ScssParser$0(contents, parseSelectors, url) {
  30671. return new A.ScssParser0(parseSelectors, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null);
  30672. },
  30673. ScssParser0: function ScssParser0(t0, t1, t2, t3, t4) {
  30674. var _ = this;
  30675. _._parseSelectors = t0;
  30676. _._stylesheet0$_isUseAllowed = true;
  30677. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inPlainCssFunction = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30678. _._stylesheet0$_globalVariables = t1;
  30679. _.warnings = t2;
  30680. _.lastSilentComment = null;
  30681. _.scanner = t3;
  30682. _._parser1$_interpolationMap = t4;
  30683. },
  30684. Selector0: function Selector0() {
  30685. },
  30686. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30687. this.includeBogus = t0;
  30688. },
  30689. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30690. this.includeLeadingCombinator = t0;
  30691. },
  30692. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30693. this.$this = t0;
  30694. },
  30695. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30696. },
  30697. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30698. this.$this = t0;
  30699. },
  30700. _ContainsParentSelectorVisitor0: function _ContainsParentSelectorVisitor0() {
  30701. },
  30702. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0() {
  30703. },
  30704. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30705. },
  30706. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30707. },
  30708. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30709. },
  30710. SelectorExpression0: function SelectorExpression0(t0) {
  30711. this.span = t0;
  30712. },
  30713. _prependParent0(compound) {
  30714. var _0_3, _0_4, t2, t3, rest,
  30715. t1 = A.EvaluationContext_currentOrNull0(),
  30716. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30717. _0_0 = compound.components;
  30718. $label0$0: {
  30719. _0_3 = _0_0.length >= 1;
  30720. if (_0_3) {
  30721. _0_4 = _0_0[0];
  30722. t1 = _0_4 instanceof A.UniversalSelector0;
  30723. } else {
  30724. _0_4 = null;
  30725. t1 = false;
  30726. }
  30727. t2 = null;
  30728. if (t1) {
  30729. t1 = t2;
  30730. break $label0$0;
  30731. }
  30732. t1 = false;
  30733. if (_0_3) {
  30734. t3 = _0_4;
  30735. if (t3 instanceof A.TypeSelector0) {
  30736. t1 = _0_4;
  30737. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30738. }
  30739. }
  30740. if (t1) {
  30741. t1 = t2;
  30742. break $label0$0;
  30743. }
  30744. if (_0_3) {
  30745. t1 = _0_4;
  30746. t1 = t1 instanceof A.TypeSelector0;
  30747. } else
  30748. t1 = false;
  30749. if (t1) {
  30750. t1 = _0_3 ? _0_4 : _0_0[0];
  30751. type$.TypeSelector_2._as(t1);
  30752. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30753. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30754. B.JSArray_methods.addAll$1(t1, rest);
  30755. t1 = A.CompoundSelector$0(t1, span);
  30756. break $label0$0;
  30757. }
  30758. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30759. B.JSArray_methods.addAll$1(t1, _0_0);
  30760. t1 = A.CompoundSelector$0(t1, span);
  30761. break $label0$0;
  30762. }
  30763. return t1;
  30764. },
  30765. _function8($name, $arguments, callback) {
  30766. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30767. },
  30768. _nest_closure0: function _nest_closure0() {
  30769. },
  30770. _nest__closure1: function _nest__closure1(t0) {
  30771. this._box_0 = t0;
  30772. },
  30773. _nest__closure2: function _nest__closure2() {
  30774. },
  30775. _append_closure1: function _append_closure1() {
  30776. },
  30777. _append__closure1: function _append__closure1() {
  30778. },
  30779. _append__closure2: function _append__closure2(t0) {
  30780. this.span = t0;
  30781. },
  30782. _append___closure0: function _append___closure0(t0, t1) {
  30783. this.parent = t0;
  30784. this.span = t1;
  30785. },
  30786. _extend_closure0: function _extend_closure0() {
  30787. },
  30788. _replace_closure0: function _replace_closure0() {
  30789. },
  30790. _unify_closure0: function _unify_closure0() {
  30791. },
  30792. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30793. },
  30794. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30795. },
  30796. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30797. },
  30798. _parse_closure0: function _parse_closure0() {
  30799. },
  30800. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30801. var _ = this;
  30802. _._selector$_allowParent = t0;
  30803. _._selector$_plainCss = t1;
  30804. _.scanner = t2;
  30805. _._parser1$_interpolationMap = t3;
  30806. },
  30807. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30808. this.$this = t0;
  30809. },
  30810. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30811. this.$this = t0;
  30812. },
  30813. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30814. },
  30815. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30816. this.$this = t0;
  30817. },
  30818. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30819. this.$this = t0;
  30820. },
  30821. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30822. var t1, css, t2, prefix,
  30823. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30824. node.accept$1(visitor);
  30825. t1 = visitor._serialize0$_buffer;
  30826. css = t1.toString$0(0);
  30827. if (charset) {
  30828. t2 = new A.CodeUnits(css);
  30829. t2 = t2.any$1(t2, new A.serialize_closure0());
  30830. } else
  30831. t2 = false;
  30832. if (t2)
  30833. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30834. else
  30835. prefix = "";
  30836. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30837. return new A._Record_2_sourceMap(prefix + css, t1);
  30838. },
  30839. serializeValue0(value, inspect, quote) {
  30840. var _null = null,
  30841. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30842. value.accept$1(visitor);
  30843. return visitor._serialize0$_buffer.toString$0(0);
  30844. },
  30845. serializeSelector0(selector, inspect) {
  30846. var _null = null,
  30847. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30848. selector.accept$1(visitor);
  30849. return visitor._serialize0$_buffer.toString$0(0);
  30850. },
  30851. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30852. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30853. t2 = style == null ? B.OutputStyle_00 : style,
  30854. t3 = useSpaces ? 32 : 9,
  30855. t4 = indentWidth == null ? 2 : indentWidth,
  30856. t5 = lineFeed == null ? B.LineFeed_oJz : lineFeed;
  30857. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30858. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  30859. },
  30860. serialize_closure0: function serialize_closure0() {
  30861. },
  30862. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  30863. var _ = this;
  30864. _._serialize0$_buffer = t0;
  30865. _._serialize0$_indentation = 0;
  30866. _._serialize0$_style = t1;
  30867. _._serialize0$_inspect = t2;
  30868. _._serialize0$_quote = t3;
  30869. _._serialize0$_indentCharacter = t4;
  30870. _._serialize0$_indentWidth = t5;
  30871. _._lineFeed = t6;
  30872. },
  30873. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30874. this.$this = t0;
  30875. this.node = t1;
  30876. },
  30877. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30878. this.$this = t0;
  30879. this.node = t1;
  30880. },
  30881. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30882. this.$this = t0;
  30883. this.node = t1;
  30884. },
  30885. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30886. this.$this = t0;
  30887. this.node = t1;
  30888. },
  30889. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30890. this.$this = t0;
  30891. this.node = t1;
  30892. },
  30893. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30894. this.$this = t0;
  30895. this.node = t1;
  30896. },
  30897. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30898. this.$this = t0;
  30899. this.node = t1;
  30900. },
  30901. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30902. this.$this = t0;
  30903. this.node = t1;
  30904. },
  30905. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30906. this.$this = t0;
  30907. this.node = t1;
  30908. },
  30909. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30910. this.$this = t0;
  30911. this.node = t1;
  30912. },
  30913. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30914. },
  30915. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30916. this.$this = t0;
  30917. this.value = t1;
  30918. },
  30919. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30920. this.$this = t0;
  30921. },
  30922. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30923. this.$this = t0;
  30924. },
  30925. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30926. },
  30927. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30928. this.$this = t0;
  30929. this.value = t1;
  30930. },
  30931. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30932. this.$this = t0;
  30933. this.child = t1;
  30934. },
  30935. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30936. this.$this = t0;
  30937. this.child = t1;
  30938. },
  30939. OutputStyle0: function OutputStyle0(t0, t1) {
  30940. this.index = t0;
  30941. this._name = t1;
  30942. },
  30943. LineFeed0: function LineFeed0(t0, t1, t2, t3) {
  30944. var _ = this;
  30945. _.name = t0;
  30946. _.text = t1;
  30947. _.index = t2;
  30948. _._name = t3;
  30949. },
  30950. JSSet: function JSSet() {
  30951. },
  30952. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30953. return A.ShadowedModuleView__needsBlocklist0(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist0(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist0(inner.get$mixins(), mixins) ? new A.ShadowedModuleView0(inner, A.ShadowedModuleView__shadowedMap0(inner.get$variables(), variables, type$.Value_2), A.ShadowedModuleView__shadowedMap0(inner.get$variableNodes(), variables, type$.AstNode_2), A.ShadowedModuleView__shadowedMap0(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap0(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView0<0>")) : null;
  30954. },
  30955. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30956. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30957. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30958. },
  30959. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30960. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30961. },
  30962. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30963. var _ = this;
  30964. _._shadowed_view0$_inner = t0;
  30965. _.variables = t1;
  30966. _.variableNodes = t2;
  30967. _.functions = t3;
  30968. _.mixins = t4;
  30969. _.$ti = t5;
  30970. },
  30971. SilentComment0: function SilentComment0(t0, t1) {
  30972. this.text = t0;
  30973. this.span = t1;
  30974. },
  30975. InterpolatedSimpleSelector: function InterpolatedSimpleSelector() {
  30976. },
  30977. SimpleSelector0: function SimpleSelector0() {
  30978. },
  30979. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30980. this.$this = t0;
  30981. },
  30982. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30983. this.$this = t0;
  30984. },
  30985. JSSimpleSelectorVisitor: function JSSimpleSelectorVisitor(t0) {
  30986. this._simple_selector$_inner = t0;
  30987. },
  30988. JSSimpleSelectorVisitorObject: function JSSimpleSelectorVisitorObject() {
  30989. },
  30990. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30991. var _ = this;
  30992. _._single_unit$_unit = t0;
  30993. _._number1$_value = t1;
  30994. _.hashCache = null;
  30995. _.asSlash = t2;
  30996. },
  30997. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30998. this.$this = t0;
  30999. this.unit = t1;
  31000. },
  31001. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  31002. this.$this = t0;
  31003. },
  31004. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  31005. this._box_0 = t0;
  31006. this.$this = t1;
  31007. },
  31008. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  31009. this._box_0 = t0;
  31010. this.$this = t1;
  31011. },
  31012. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  31013. this.buffer = t0;
  31014. },
  31015. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  31016. var _ = this;
  31017. _._source_map_buffer0$_buffer = t0;
  31018. _._source_map_buffer0$_entries = t1;
  31019. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  31020. _._source_map_buffer0$_inSpan = false;
  31021. },
  31022. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  31023. this._box_0 = t0;
  31024. this.prefixLength = t1;
  31025. },
  31026. updateSourceSpanPrototype() {
  31027. var t3, t4, _i, t5,
  31028. span = A.SourceFile$fromString("", null).span$1(0, 0),
  31029. t1 = type$.SourceSpan,
  31030. t2 = type$.String;
  31031. for (t1 = [span, new A.MultiSpan0(span, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t1, t2)), new A.LazyFileSpan0(new A.updateSourceSpanPrototype_closure(span))], t3 = type$.JSClass, t4 = type$.Function, _i = 0; _i < 3; ++_i) {
  31032. t5 = t3._as(t1[_i].constructor);
  31033. A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure0(), "end", new A.updateSourceSpanPrototype_closure1(), "url", new A.updateSourceSpanPrototype_closure2(), "text", new A.updateSourceSpanPrototype_closure3(), "context", new A.updateSourceSpanPrototype_closure4()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t5));
  31034. }
  31035. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  31036. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  31037. },
  31038. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  31039. this.span = t0;
  31040. },
  31041. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  31042. },
  31043. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  31044. },
  31045. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  31046. },
  31047. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  31048. },
  31049. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  31050. },
  31051. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  31052. },
  31053. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  31054. },
  31055. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  31056. },
  31057. ColorSpace_fromName0($name, argumentName) {
  31058. var t1,
  31059. _0_0 = $name.toLowerCase();
  31060. $label0$0: {
  31061. if ("rgb" === _0_0) {
  31062. t1 = B.RgbColorSpace_i0P0;
  31063. break $label0$0;
  31064. }
  31065. if ("hwb" === _0_0) {
  31066. t1 = B.HwbColorSpace_guQ0;
  31067. break $label0$0;
  31068. }
  31069. if ("hsl" === _0_0) {
  31070. t1 = B.HslColorSpace_JQ20;
  31071. break $label0$0;
  31072. }
  31073. if ("srgb" === _0_0) {
  31074. t1 = B.SrgbColorSpace_thf0;
  31075. break $label0$0;
  31076. }
  31077. if ("srgb-linear" === _0_0) {
  31078. t1 = B.SrgbLinearColorSpace_kUj0;
  31079. break $label0$0;
  31080. }
  31081. if ("display-p3" === _0_0) {
  31082. t1 = B.DisplayP3ColorSpace_MmT0;
  31083. break $label0$0;
  31084. }
  31085. if ("a98-rgb" === _0_0) {
  31086. t1 = B.A98RgbColorSpace_lf20;
  31087. break $label0$0;
  31088. }
  31089. if ("prophoto-rgb" === _0_0) {
  31090. t1 = B.ProphotoRgbColorSpace_BDz0;
  31091. break $label0$0;
  31092. }
  31093. if ("rec2020" === _0_0) {
  31094. t1 = B.Rec2020ColorSpace_6oo0;
  31095. break $label0$0;
  31096. }
  31097. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  31098. t1 = B.XyzD65ColorSpace_WiJ0;
  31099. break $label0$0;
  31100. }
  31101. if ("xyz-d50" === _0_0) {
  31102. t1 = B.XyzD50ColorSpace_2OB0;
  31103. break $label0$0;
  31104. }
  31105. if ("lab" === _0_0) {
  31106. t1 = B.LabColorSpace_2nT0;
  31107. break $label0$0;
  31108. }
  31109. if ("lch" === _0_0) {
  31110. t1 = B.LchColorSpace_Bpv0;
  31111. break $label0$0;
  31112. }
  31113. if ("oklab" === _0_0) {
  31114. t1 = B.OklabColorSpace_5400;
  31115. break $label0$0;
  31116. }
  31117. if ("oklch" === _0_0) {
  31118. t1 = B.OklchColorSpace_9Gj0;
  31119. break $label0$0;
  31120. }
  31121. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  31122. }
  31123. return t1;
  31124. },
  31125. ColorSpace0: function ColorSpace0() {
  31126. },
  31127. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  31128. this.name = t0;
  31129. this._space$_channels = t1;
  31130. },
  31131. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  31132. this.name = t0;
  31133. this._space$_channels = t1;
  31134. },
  31135. Statement0: function Statement0() {
  31136. },
  31137. JSStatementVisitor: function JSStatementVisitor(t0) {
  31138. this._statement$_inner = t0;
  31139. },
  31140. JSStatementVisitorObject: function JSStatementVisitorObject() {
  31141. },
  31142. StatementSearchVisitor0: function StatementSearchVisitor0() {
  31143. },
  31144. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  31145. this.$this = t0;
  31146. },
  31147. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  31148. this.$this = t0;
  31149. },
  31150. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  31151. this.$this = t0;
  31152. },
  31153. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  31154. this.$this = t0;
  31155. },
  31156. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  31157. this.$this = t0;
  31158. },
  31159. StaticImport0: function StaticImport0(t0, t1, t2) {
  31160. this.url = t0;
  31161. this.modifiers = t1;
  31162. this.span = t2;
  31163. },
  31164. StderrLogger0: function StderrLogger0(t0) {
  31165. this.color = t0;
  31166. },
  31167. StringExpression_quoteText0(text) {
  31168. var quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  31169. buffer = new A.StringBuffer(""),
  31170. t1 = A.Primitives_stringFromCharCode(quote);
  31171. buffer._contents = t1;
  31172. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  31173. t1 = buffer._contents += t1;
  31174. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31175. },
  31176. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  31177. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  31178. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  31179. _1_0 = text.charCodeAt(i);
  31180. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  31181. buffer.writeCharCode$1(92);
  31182. buffer.writeCharCode$1(97);
  31183. if (i !== t2) {
  31184. _0_0 = text.charCodeAt(i + 1);
  31185. t3 = true;
  31186. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  31187. if (!(_0_0 >= 48 && _0_0 <= 57))
  31188. if (!(_0_0 >= 97 && _0_0 <= 102))
  31189. t3 = _0_0 >= 65 && _0_0 <= 70;
  31190. if (t3)
  31191. buffer.writeCharCode$1(32);
  31192. }
  31193. continue;
  31194. }
  31195. t3 = 92 === _1_0;
  31196. if (t3)
  31197. t4 = _1_0;
  31198. else
  31199. t4 = null;
  31200. if (!t3) {
  31201. t3 = false;
  31202. t5 = _1_0 === quote;
  31203. if (t5)
  31204. t4 = _1_0;
  31205. if (!t5)
  31206. if (35 === _1_0)
  31207. if ($static)
  31208. if (i < t2) {
  31209. t3 = text.charCodeAt(i + 1) === 123;
  31210. if (t3)
  31211. t4 = _1_0;
  31212. t0 = t4;
  31213. t4 = t3;
  31214. t3 = t0;
  31215. } else {
  31216. t0 = t4;
  31217. t4 = t3;
  31218. t3 = t0;
  31219. }
  31220. else {
  31221. t0 = t4;
  31222. t4 = t3;
  31223. t3 = t0;
  31224. }
  31225. else {
  31226. t0 = t4;
  31227. t4 = t3;
  31228. t3 = t0;
  31229. }
  31230. else {
  31231. t3 = t4;
  31232. t4 = true;
  31233. }
  31234. } else {
  31235. t3 = t4;
  31236. t4 = true;
  31237. }
  31238. if (t4) {
  31239. buffer.writeCharCode$1(92);
  31240. buffer.writeCharCode$1(t3);
  31241. continue;
  31242. }
  31243. buffer.writeCharCode$1(_1_0);
  31244. }
  31245. },
  31246. StringExpression__bestQuote0(strings) {
  31247. var t1, t2, t3, containsDoubleQuote, t4, t5;
  31248. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  31249. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  31250. t5 = t4.__internal$_current;
  31251. if (t5 == null)
  31252. t5 = t2._as(t5);
  31253. if (t5 === 39)
  31254. return 34;
  31255. if (t5 === 34)
  31256. containsDoubleQuote = true;
  31257. }
  31258. return containsDoubleQuote ? 39 : 34;
  31259. },
  31260. StringExpression0: function StringExpression0(t0, t1) {
  31261. this.text = t0;
  31262. this.hasQuotes = t1;
  31263. },
  31264. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  31265. var result;
  31266. if (index === 0)
  31267. return 0;
  31268. if (index > 0)
  31269. return Math.min(index - 1, lengthInCodepoints);
  31270. result = lengthInCodepoints + index;
  31271. if (result < 0 && !allowNegative)
  31272. return 0;
  31273. return result;
  31274. },
  31275. _function7($name, $arguments, callback) {
  31276. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  31277. },
  31278. module_closure25: function module_closure25() {
  31279. },
  31280. module__closure3: function module__closure3(t0) {
  31281. this.string = t0;
  31282. },
  31283. module__closure4: function module__closure4(t0) {
  31284. this.string = t0;
  31285. },
  31286. _unquote_closure0: function _unquote_closure0() {
  31287. },
  31288. _quote_closure0: function _quote_closure0() {
  31289. },
  31290. _length_closure1: function _length_closure1() {
  31291. },
  31292. _insert_closure0: function _insert_closure0() {
  31293. },
  31294. _index_closure1: function _index_closure1() {
  31295. },
  31296. _slice_closure0: function _slice_closure0() {
  31297. },
  31298. _toUpperCase_closure0: function _toUpperCase_closure0() {
  31299. },
  31300. _toLowerCase_closure0: function _toLowerCase_closure0() {
  31301. },
  31302. _uniqueId_closure0: function _uniqueId_closure0() {
  31303. },
  31304. StringExtension_toCssIdentifier(_this) {
  31305. var t1, doubleDash, _2_0, character, _3_0,
  31306. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  31307. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  31308. buffer = new A.StringBuffer(""),
  31309. scanner = A.SpanScanner$(_this, null),
  31310. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31311. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31312. if (scanner.scanChar$1(45)) {
  31313. if (scanner._string_scanner$_position === scanner.string.length)
  31314. return "\\2d";
  31315. t1 = A.Primitives_stringFromCharCode(45);
  31316. buffer._contents += t1;
  31317. doubleDash = scanner.scanChar$1(45);
  31318. if (doubleDash)
  31319. buffer._contents += t1;
  31320. } else
  31321. doubleDash = false;
  31322. if (!doubleDash)
  31323. $label0$0: {
  31324. _2_0 = scanner.peekChar$0();
  31325. if (_2_0 == null)
  31326. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31327. if (0 === _2_0)
  31328. scanner.error$1(0, _s52_);
  31329. t1 = _2_0 >>> 10 === 54;
  31330. character = _2_0;
  31331. if (t1) {
  31332. consumeSurrogatePair.call$1(character);
  31333. break $label0$0;
  31334. }
  31335. if (_2_0 >>> 10 === 55)
  31336. scanner.error$2$length(0, _s65_, 1);
  31337. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31338. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31339. else
  31340. t1 = false;
  31341. if (t1) {
  31342. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31343. buffer._contents += t1;
  31344. break $label0$0;
  31345. }
  31346. writeEscape.call$1(scanner.readChar$0());
  31347. }
  31348. for (;;) {
  31349. _3_0 = scanner.peekChar$0();
  31350. if (_3_0 == null)
  31351. break;
  31352. if (0 === _3_0)
  31353. scanner.error$1(0, _s52_);
  31354. t1 = _3_0 >>> 10 === 54;
  31355. if (t1) {
  31356. consumeSurrogatePair.call$1(_3_0);
  31357. continue;
  31358. }
  31359. if (_3_0 >>> 10 === 55)
  31360. scanner.error$2$length(0, _s65_, 1);
  31361. if (_3_0 !== 95) {
  31362. if (!(_3_0 >= 97 && _3_0 <= 122))
  31363. t1 = _3_0 >= 65 && _3_0 <= 90;
  31364. else
  31365. t1 = true;
  31366. t1 = t1 || _3_0 >= 128;
  31367. } else
  31368. t1 = true;
  31369. if (!t1)
  31370. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31371. else
  31372. t1 = true;
  31373. if (t1)
  31374. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31375. else
  31376. t1 = false;
  31377. if (t1) {
  31378. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31379. buffer._contents += t1;
  31380. continue;
  31381. }
  31382. writeEscape.call$1(scanner.readChar$0());
  31383. }
  31384. t1 = buffer._contents;
  31385. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31386. },
  31387. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31388. this.buffer = t0;
  31389. this.scanner = t1;
  31390. },
  31391. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31392. this.scanner = t0;
  31393. this.writeEscape = t1;
  31394. this.buffer = t2;
  31395. },
  31396. stringClass_closure: function stringClass_closure() {
  31397. },
  31398. stringClass__closure: function stringClass__closure() {
  31399. },
  31400. stringClass__closure0: function stringClass__closure0() {
  31401. },
  31402. stringClass__closure1: function stringClass__closure1() {
  31403. },
  31404. stringClass__closure2: function stringClass__closure2() {
  31405. },
  31406. stringClass__closure3: function stringClass__closure3() {
  31407. },
  31408. _ConstructorOptions1: function _ConstructorOptions1() {
  31409. },
  31410. _NodeSassString: function _NodeSassString() {
  31411. },
  31412. legacyStringClass_closure: function legacyStringClass_closure() {
  31413. },
  31414. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31415. },
  31416. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31417. },
  31418. SassString$0(_text, quotes) {
  31419. return new A.SassString0(_text, quotes);
  31420. },
  31421. SassString0: function SassString0(t0, t1) {
  31422. var _ = this;
  31423. _._string0$_text = t0;
  31424. _._string0$_hasQuotes = t1;
  31425. _._string0$__SassString__sassLength_FI = $;
  31426. _._string0$_hashCache = null;
  31427. },
  31428. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31429. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31430. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31431. },
  31432. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31433. var _ = this;
  31434. _._style_rule0$_selector = t0;
  31435. _.originalSelector = t1;
  31436. _.span = t2;
  31437. _.fromPlainCss = t3;
  31438. _.children = t4;
  31439. _._node$_children = t5;
  31440. _._node$_indexInParent = _._node$_parent = null;
  31441. _.isGroupEnd = false;
  31442. },
  31443. StyleRule$0(selector, children, span) {
  31444. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31445. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31446. return new A.StyleRule0(selector, null, span, t1, t2);
  31447. },
  31448. StyleRule$withParsedSelector(parsedSelector, children, span) {
  31449. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31450. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31451. return new A.StyleRule0(null, parsedSelector, span, t1, t2);
  31452. },
  31453. StyleRule0: function StyleRule0(t0, t1, t2, t3, t4) {
  31454. var _ = this;
  31455. _.selector = t0;
  31456. _.parsedSelector = t1;
  31457. _.span = t2;
  31458. _.children = t3;
  31459. _.hasDeclarations = t4;
  31460. },
  31461. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31462. this.children = t0;
  31463. this.span = t1;
  31464. },
  31465. ModifiableCssStylesheet$0(span) {
  31466. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31467. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31468. },
  31469. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31470. var _ = this;
  31471. _.span = t0;
  31472. _.children = t1;
  31473. _._node$_children = t2;
  31474. _._node$_indexInParent = _._node$_parent = null;
  31475. _.isGroupEnd = false;
  31476. },
  31477. StylesheetParser0: function StylesheetParser0() {
  31478. },
  31479. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31480. this.$this = t0;
  31481. },
  31482. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31483. this.$this = t0;
  31484. },
  31485. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31486. this.$this = t0;
  31487. },
  31488. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31489. this.$this = t0;
  31490. this.production = t1;
  31491. this.T = t2;
  31492. },
  31493. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31494. this.$this = t0;
  31495. this.requireParens = t1;
  31496. },
  31497. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31498. this.$this = t0;
  31499. },
  31500. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31501. this.$this = t0;
  31502. this.start = t1;
  31503. },
  31504. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31505. this.declaration = t0;
  31506. },
  31507. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31508. this.$this = t0;
  31509. },
  31510. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31511. this.$this = t0;
  31512. },
  31513. StylesheetParser__declarationOrBuffer_closure5: function StylesheetParser__declarationOrBuffer_closure5() {
  31514. },
  31515. StylesheetParser__declarationOrBuffer_closure6: function StylesheetParser__declarationOrBuffer_closure6(t0) {
  31516. this.$this = t0;
  31517. },
  31518. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2) {
  31519. this.$this = t0;
  31520. this.selector = t1;
  31521. this.start = t2;
  31522. },
  31523. StylesheetParser__styleRule_closure1: function StylesheetParser__styleRule_closure1(t0, t1, t2) {
  31524. this._box_0 = t0;
  31525. this.$this = t1;
  31526. this.start = t2;
  31527. },
  31528. StylesheetParser__withStyleRuleChildren_closure0: function StylesheetParser__withStyleRuleChildren_closure0(t0, t1, t2, t3, t4) {
  31529. var _ = this;
  31530. _.$this = t0;
  31531. _.nodeWithSpan = t1;
  31532. _.wasInStyleRule = t2;
  31533. _.create = t3;
  31534. _.T = t4;
  31535. },
  31536. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31537. this.$this = t0;
  31538. },
  31539. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31540. this.name = t0;
  31541. this.value = t1;
  31542. },
  31543. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31544. this.query = t0;
  31545. },
  31546. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31547. },
  31548. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31549. var _ = this;
  31550. _.$this = t0;
  31551. _.wasInControlDirective = t1;
  31552. _.variables = t2;
  31553. _.list = t3;
  31554. },
  31555. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31556. this.name = t0;
  31557. this.parameters = t1;
  31558. this.precedingComment = t2;
  31559. },
  31560. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31561. this._box_0 = t0;
  31562. this.$this = t1;
  31563. },
  31564. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31565. var _ = this;
  31566. _._box_0 = t0;
  31567. _.$this = t1;
  31568. _.wasInControlDirective = t2;
  31569. _.variable = t3;
  31570. _.from = t4;
  31571. _.to = t5;
  31572. },
  31573. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31574. this.$this = t0;
  31575. this.variables = t1;
  31576. this.identifiers = t2;
  31577. },
  31578. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31579. this.contentParameters_ = t0;
  31580. },
  31581. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31582. this.query = t0;
  31583. },
  31584. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31585. var _ = this;
  31586. _.$this = t0;
  31587. _.name = t1;
  31588. _.parameters = t2;
  31589. _.precedingComment = t3;
  31590. },
  31591. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31592. this.$this = t0;
  31593. },
  31594. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31595. var _ = this;
  31596. _._box_0 = t0;
  31597. _.$this = t1;
  31598. _.name = t2;
  31599. _.value = t3;
  31600. },
  31601. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31602. this.condition = t0;
  31603. },
  31604. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31605. this.$this = t0;
  31606. this.wasInControlDirective = t1;
  31607. this.condition = t2;
  31608. },
  31609. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31610. this._box_0 = t0;
  31611. this.name = t1;
  31612. },
  31613. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31614. this._box_0 = t0;
  31615. this.$this = t1;
  31616. this.start = t2;
  31617. },
  31618. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31619. this._box_0 = t0;
  31620. this.$this = t1;
  31621. },
  31622. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31623. this._box_0 = t0;
  31624. this.resolveOneOperation = t1;
  31625. },
  31626. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31627. var _ = this;
  31628. _._box_0 = t0;
  31629. _.$this = t1;
  31630. _.resetState = t2;
  31631. _.resolveOperations = t3;
  31632. },
  31633. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2, t3) {
  31634. var _ = this;
  31635. _._box_0 = t0;
  31636. _.$this = t1;
  31637. _.resolveOneOperation = t2;
  31638. _.addSingleExpression = t3;
  31639. },
  31640. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31641. this._box_0 = t0;
  31642. this.$this = t1;
  31643. this.resolveOperations = t2;
  31644. },
  31645. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31646. this.$this = t0;
  31647. },
  31648. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31649. },
  31650. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31651. },
  31652. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31653. },
  31654. StylesheetParser_interpolatedStringToken_closure0: function StylesheetParser_interpolatedStringToken_closure0(t0) {
  31655. this.$this = t0;
  31656. },
  31657. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31658. this.$this = t0;
  31659. this.start = t1;
  31660. },
  31661. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31662. },
  31663. StylesheetParser__interpolatedDeclarationValue_closure0: function StylesheetParser__interpolatedDeclarationValue_closure0(t0) {
  31664. this.$this = t0;
  31665. },
  31666. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31667. this.$this = t0;
  31668. },
  31669. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31670. this.$this = t0;
  31671. this.start = t1;
  31672. },
  31673. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31674. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31675. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31676. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31677. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31678. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31679. t1 = new A.Stylesheet0(span, plainCss, t1, t2, new A.UnmodifiableListView(parseTimeWarnings, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), t3, t4, t5);
  31680. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31681. return t1;
  31682. },
  31683. Stylesheet_Stylesheet$parse0(contents, syntax, parseSelectors, url) {
  31684. var error, stackTrace, url0, t1, exception, t2;
  31685. try {
  31686. switch (syntax.index) {
  31687. case 1:
  31688. t1 = new A.SassParser0(parseSelectors, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null).parse$0(0);
  31689. return t1;
  31690. case 0:
  31691. t1 = A.ScssParser$0(contents, parseSelectors, url).parse$0(0);
  31692. return t1;
  31693. case 2:
  31694. t1 = new A.CssParser0(parseSelectors, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null).parse$0(0);
  31695. return t1;
  31696. }
  31697. } catch (exception) {
  31698. t1 = A.unwrapException(exception);
  31699. if (t1 instanceof A.SassException0) {
  31700. error = t1;
  31701. stackTrace = A.getTraceFromException(exception);
  31702. t1 = error;
  31703. t2 = J.getInterceptor$z(t1);
  31704. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31705. url0 = t1.get$sourceUrl(t1);
  31706. if (url0 == null || url0.toString$0(0) === "stdin")
  31707. throw exception;
  31708. t1 = type$.Uri;
  31709. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31710. } else
  31711. throw exception;
  31712. }
  31713. },
  31714. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31715. var _ = this;
  31716. _.span = t0;
  31717. _.plainCss = t1;
  31718. _._stylesheet1$_uses = t2;
  31719. _._stylesheet1$_forwards = t3;
  31720. _.parseTimeWarnings = t4;
  31721. _.globalVariables = t5;
  31722. _.children = t6;
  31723. _.hasDeclarations = t7;
  31724. },
  31725. SupportsExpression0: function SupportsExpression0(t0) {
  31726. this.condition = t0;
  31727. },
  31728. ModifiableCssSupportsRule$0(condition, span) {
  31729. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31730. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31731. },
  31732. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31733. var _ = this;
  31734. _.condition = t0;
  31735. _.span = t1;
  31736. _.children = t2;
  31737. _._node$_children = t3;
  31738. _._node$_indexInParent = _._node$_parent = null;
  31739. _.isGroupEnd = false;
  31740. },
  31741. SupportsRule$0(condition, children, span) {
  31742. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31743. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31744. return new A.SupportsRule0(condition, span, t1, t2);
  31745. },
  31746. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31747. var _ = this;
  31748. _.condition = t0;
  31749. _.span = t1;
  31750. _.children = t2;
  31751. _.hasDeclarations = t3;
  31752. },
  31753. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31754. this._sync$_canonicalize = t0;
  31755. this._sync$_load = t1;
  31756. this._sync$_nonCanonicalSchemes = t2;
  31757. },
  31758. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31759. this.$this = t0;
  31760. this.url = t1;
  31761. },
  31762. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31763. this.$this = t0;
  31764. this.url = t1;
  31765. },
  31766. Syntax_forPath0(path) {
  31767. var t1,
  31768. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31769. $label0$0: {
  31770. if (".sass" === _0_0) {
  31771. t1 = B.Syntax_Sass_1_sass0;
  31772. break $label0$0;
  31773. }
  31774. if (".css" === _0_0) {
  31775. t1 = B.Syntax_CSS_2_css0;
  31776. break $label0$0;
  31777. }
  31778. t1 = B.Syntax_SCSS_0_scss0;
  31779. break $label0$0;
  31780. }
  31781. return t1;
  31782. },
  31783. Syntax0: function Syntax0(t0, t1, t2) {
  31784. this._syntax0$_name = t0;
  31785. this.index = t1;
  31786. this._name = t2;
  31787. },
  31788. InterpolatedTypeSelector: function InterpolatedTypeSelector(t0) {
  31789. this.name = t0;
  31790. },
  31791. TypeSelector0: function TypeSelector0(t0, t1) {
  31792. this.name = t0;
  31793. this.span = t1;
  31794. },
  31795. Types: function Types() {
  31796. },
  31797. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31798. this.operator = t0;
  31799. this.operand = t1;
  31800. this.span = t2;
  31801. },
  31802. UnaryOperator0: function UnaryOperator0(t0, t1, t2, t3) {
  31803. var _ = this;
  31804. _.name = t0;
  31805. _.operator = t1;
  31806. _.index = t2;
  31807. _._name = t3;
  31808. },
  31809. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31810. this._number1$_value = t0;
  31811. this.hashCache = null;
  31812. this.asSlash = t1;
  31813. },
  31814. InterpolatedUniversalSelector: function InterpolatedUniversalSelector(t0, t1) {
  31815. this.namespace = t0;
  31816. this.span = t1;
  31817. },
  31818. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31819. this.namespace = t0;
  31820. this.span = t1;
  31821. },
  31822. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31823. this._unprefixed_map_view0$_map = t0;
  31824. this._unprefixed_map_view0$_prefix = t1;
  31825. this.$ti = t2;
  31826. },
  31827. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31828. this._unprefixed_map_view0$_view = t0;
  31829. },
  31830. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31831. this.$this = t0;
  31832. },
  31833. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31834. this.$this = t0;
  31835. },
  31836. JSUrl0: function JSUrl0() {
  31837. },
  31838. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31839. var _ = this;
  31840. _.url = t0;
  31841. _.namespace = t1;
  31842. _.configuration = t2;
  31843. _.span = t3;
  31844. },
  31845. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31846. var _ = this;
  31847. _.declaration = t0;
  31848. _.environment = t1;
  31849. _.inDependency = t2;
  31850. _.$ti = t3;
  31851. },
  31852. fromImport0() {
  31853. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31854. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31855. return t1 === true;
  31856. },
  31857. canonicalizeContext0() {
  31858. var t1,
  31859. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31860. $label0$0: {
  31861. if (_0_0 == null)
  31862. A.throwExpression(A.StateError$(string$.canoni));
  31863. if (_0_0 instanceof A.CanonicalizeContext0) {
  31864. t1 = _0_0;
  31865. break $label0$0;
  31866. }
  31867. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31868. }
  31869. return t1;
  31870. },
  31871. inImportRule(callback, $T) {
  31872. var t1,
  31873. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31874. $label0$0: {
  31875. if (_0_0 == null) {
  31876. t1 = type$.nullable_Object;
  31877. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31878. break $label0$0;
  31879. }
  31880. if (_0_0 instanceof A.CanonicalizeContext0) {
  31881. t1 = _0_0.withFromImport$2(true, callback);
  31882. break $label0$0;
  31883. }
  31884. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31885. }
  31886. return t1;
  31887. },
  31888. resolveImportPath0(path) {
  31889. var t1,
  31890. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31891. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31892. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31893. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31894. }
  31895. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31896. if (t1 == null)
  31897. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31898. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31899. },
  31900. _tryPathWithExtensions0(path) {
  31901. var result = A._tryPath0(path + ".sass");
  31902. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31903. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31904. },
  31905. _tryPath0(path) {
  31906. var t1 = $.$get$context(),
  31907. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31908. t1 = A._setArrayType([], type$.JSArray_String);
  31909. if (A.fileExists0(partial))
  31910. t1.push(partial);
  31911. if (A.fileExists0(path))
  31912. t1.push(path);
  31913. return t1;
  31914. },
  31915. _tryPathAsDirectory0(path) {
  31916. var t1;
  31917. if (!A.dirExists0(path))
  31918. return null;
  31919. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31920. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31921. },
  31922. _exactlyOne0(paths) {
  31923. var _0_1, t1, path;
  31924. $label0$0: {
  31925. _0_1 = paths.length;
  31926. if (_0_1 <= 0) {
  31927. t1 = null;
  31928. break $label0$0;
  31929. }
  31930. if (_0_1 === 1) {
  31931. path = paths[0];
  31932. t1 = path;
  31933. break $label0$0;
  31934. }
  31935. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31936. }
  31937. return t1;
  31938. },
  31939. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31940. this.path = t0;
  31941. this.extension = t1;
  31942. },
  31943. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31944. this.path = t0;
  31945. },
  31946. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31947. this.path = t0;
  31948. },
  31949. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31950. },
  31951. jsThrow(error) {
  31952. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31953. },
  31954. attachJsStack(error, trace) {
  31955. var traceString = trace.toString$0(0),
  31956. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31957. if (firstRealLine !== -1)
  31958. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31959. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31960. },
  31961. jsForEach(object, callback) {
  31962. var t1, t2;
  31963. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31964. t2 = t1.get$current(t1);
  31965. callback.call$2(t2, object[t2]);
  31966. }
  31967. },
  31968. jsType(value) {
  31969. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31970. return typeOf !== "object" ? typeOf : A._asString(new self.Function("value", ' if (value && value.constructor && value.constructor.name) {\n return value.constructor.name;\n }\n return "object";\n ').call$1(value));
  31971. },
  31972. defineGetter(object, $name, get, value) {
  31973. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31974. },
  31975. allowInteropNamed($name, $function) {
  31976. $function = A.allowInterop($function);
  31977. A.defineGetter($function, "name", null, $name);
  31978. A._hideDartProperties($function);
  31979. return $function;
  31980. },
  31981. allowInteropCaptureThisNamed($name, $function) {
  31982. $function = A.allowInteropCaptureThis($function);
  31983. A.defineGetter($function, "name", null, $name);
  31984. A._hideDartProperties($function);
  31985. return $function;
  31986. },
  31987. _hideDartProperties(object) {
  31988. var t1, t2, t3, t4;
  31989. for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t2 = A._instanceType(t1), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  31990. t3 = t1.__internal$_current;
  31991. if (t3 == null)
  31992. t3 = t2._as(t3);
  31993. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31994. t4 = {value: object[t3], enumerable: false};
  31995. self.Object.defineProperty(object, t3, t4);
  31996. }
  31997. }
  31998. },
  31999. futureToPromise0(future) {
  32000. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  32001. },
  32002. jsToDartUrl(url) {
  32003. return A.Uri_parse(J.toString$0$(url));
  32004. },
  32005. dartToJSUrl(url) {
  32006. return new self.URL(url.toString$0(0));
  32007. },
  32008. toJSArray(iterable) {
  32009. var t1, t2,
  32010. array = new self.Array();
  32011. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  32012. t2.push$1(array, t1.get$current(t1));
  32013. return array;
  32014. },
  32015. objectToMap(object) {
  32016. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  32017. A.jsForEach(object, new A.objectToMap_closure(map));
  32018. return map;
  32019. },
  32020. mapToObject(map) {
  32021. var t1, t2,
  32022. result = new self.Object();
  32023. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32024. t2 = t1.get$current(t1);
  32025. result[t2._0] = t2._1;
  32026. }
  32027. return result;
  32028. },
  32029. jsToDartSeparator(separator) {
  32030. var t1;
  32031. $label0$0: {
  32032. if (" " === separator) {
  32033. t1 = B.ListSeparator_SrV0;
  32034. break $label0$0;
  32035. }
  32036. if ("," === separator) {
  32037. t1 = B.ListSeparator_z0K0;
  32038. break $label0$0;
  32039. }
  32040. if ("/" === separator) {
  32041. t1 = B.ListSeparator_Lul0;
  32042. break $label0$0;
  32043. }
  32044. if (separator == null) {
  32045. t1 = B.ListSeparator_undecided_null_3_undecided0;
  32046. break $label0$0;
  32047. }
  32048. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  32049. }
  32050. return t1;
  32051. },
  32052. parseSyntax(syntax) {
  32053. var t1;
  32054. $label0$0: {
  32055. if (syntax == null || "scss" === syntax) {
  32056. t1 = B.Syntax_SCSS_0_scss0;
  32057. break $label0$0;
  32058. }
  32059. if ("indented" === syntax) {
  32060. t1 = B.Syntax_Sass_1_sass0;
  32061. break $label0$0;
  32062. }
  32063. if ("css" === syntax) {
  32064. t1 = B.Syntax_CSS_2_css0;
  32065. break $label0$0;
  32066. }
  32067. t1 = A.jsThrow(new self.Error('Unknown syntax "' + syntax + '".'));
  32068. }
  32069. return t1;
  32070. },
  32071. entrypointFilename() {
  32072. var _1_0, _1_5_isSet, _1_5, t2, path,
  32073. t1 = self.require.main,
  32074. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  32075. if (_0_0 != null)
  32076. return _0_0;
  32077. else {
  32078. _1_0 = J.get$argv$x(self.process);
  32079. t1 = J.getInterceptor$asx(_1_0);
  32080. _1_5_isSet = t1.get$length(_1_0) >= 2;
  32081. if (_1_5_isSet) {
  32082. _1_5 = t1.$index(_1_0, 1);
  32083. t2 = typeof _1_5 == "string";
  32084. } else {
  32085. _1_5 = null;
  32086. t2 = false;
  32087. }
  32088. if (t2) {
  32089. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  32090. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  32091. } else
  32092. return null;
  32093. }
  32094. },
  32095. _PropertyDescriptor0: function _PropertyDescriptor0() {
  32096. },
  32097. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  32098. this.future = t0;
  32099. },
  32100. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  32101. this.resolve = t0;
  32102. },
  32103. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  32104. this.reject = t0;
  32105. },
  32106. objectToMap_closure: function objectToMap_closure(t0) {
  32107. this.map = t0;
  32108. },
  32109. _RequireMain0: function _RequireMain0() {
  32110. },
  32111. toSentence0(iter, conjunction) {
  32112. if (iter.get$length(iter) === 1)
  32113. return J.toString$0$(iter.get$first(iter));
  32114. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  32115. },
  32116. indent0(string, indentation) {
  32117. return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure0(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
  32118. },
  32119. pluralize0($name, number, plural) {
  32120. if (number === 1)
  32121. return $name;
  32122. if (plural != null)
  32123. return plural;
  32124. return $name + "s";
  32125. },
  32126. trimAscii0(string, excludeEscape) {
  32127. var t1,
  32128. start = A._firstNonWhitespace0(string);
  32129. if (start == null)
  32130. t1 = "";
  32131. else {
  32132. t1 = A._lastNonWhitespace0(string, true);
  32133. t1.toString;
  32134. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  32135. }
  32136. return t1;
  32137. },
  32138. trimAsciiRight0(string, excludeEscape) {
  32139. var end = A._lastNonWhitespace0(string, excludeEscape);
  32140. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  32141. },
  32142. _firstNonWhitespace0(string) {
  32143. var t1, i, t2;
  32144. for (t1 = string.length, i = 0; i < t1; ++i) {
  32145. t2 = string.charCodeAt(i);
  32146. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  32147. return i;
  32148. }
  32149. return null;
  32150. },
  32151. _lastNonWhitespace0(string, excludeEscape) {
  32152. var i, i0, codeUnit;
  32153. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  32154. codeUnit = string.charCodeAt(i0);
  32155. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  32156. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  32157. return i0 + 1;
  32158. else
  32159. return i0;
  32160. }
  32161. return null;
  32162. },
  32163. isPublic0(member) {
  32164. var start = member.charCodeAt(0);
  32165. return start !== 45 && start !== 95;
  32166. },
  32167. flattenVertically0(iterable, $T) {
  32168. var result,
  32169. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  32170. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), t1._eval$1("ListIterable.E"));
  32171. if (queues.length === 1)
  32172. return B.JSArray_methods.get$first(queues);
  32173. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  32174. while (queues.length !== 0) {
  32175. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  32176. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  32177. }
  32178. return result;
  32179. },
  32180. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  32181. var codeUnitIndex, i, codeUnitIndex0;
  32182. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  32183. codeUnitIndex0 = codeUnitIndex + 1;
  32184. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  32185. }
  32186. return codeUnitIndex;
  32187. },
  32188. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  32189. var codepointIndex, i;
  32190. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  32191. ++codepointIndex;
  32192. return codepointIndex;
  32193. },
  32194. frameForSpan0(span, member, url) {
  32195. var t2, t3,
  32196. t1 = url == null ? span.get$sourceUrl(span) : url;
  32197. if (t1 == null)
  32198. t1 = $.$get$_noSourceUrl0();
  32199. t2 = span.get$start(span);
  32200. t2 = t2.file.getLine$1(t2.offset);
  32201. t3 = span.get$start(span);
  32202. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  32203. },
  32204. declarationName0(span) {
  32205. var text = span.get$text();
  32206. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  32207. },
  32208. unvendor0($name) {
  32209. var i,
  32210. t1 = $name.length;
  32211. if (t1 < 2)
  32212. return $name;
  32213. if ($name.charCodeAt(0) !== 45)
  32214. return $name;
  32215. if ($name.charCodeAt(1) === 45)
  32216. return $name;
  32217. for (i = 2; i < t1; ++i)
  32218. if ($name.charCodeAt(i) === 45)
  32219. return B.JSString_methods.substring$1($name, i + 1);
  32220. return $name;
  32221. },
  32222. equalsIgnoreCase0(string1, string2) {
  32223. var t1, i;
  32224. if (string1 === string2)
  32225. return true;
  32226. if (string1 == null)
  32227. return false;
  32228. t1 = string1.length;
  32229. if (t1 !== string2.length)
  32230. return false;
  32231. for (i = 0; i < t1; ++i)
  32232. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  32233. return false;
  32234. return true;
  32235. },
  32236. startsWithIgnoreCase0(string, prefix) {
  32237. var i,
  32238. t1 = prefix.length;
  32239. if (string.length < t1)
  32240. return false;
  32241. for (i = 0; i < t1; ++i)
  32242. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  32243. return false;
  32244. return true;
  32245. },
  32246. mapInPlace0(list, $function) {
  32247. var i;
  32248. for (i = 0; i < list.length; ++i)
  32249. list[i] = $function.call$1(list[i]);
  32250. },
  32251. longestCommonSubsequence0(list1, list2, select, $T) {
  32252. var t1, _i, selections, i, i0, j, selection, j0,
  32253. _length = list1.get$length(0) + 1,
  32254. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  32255. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  32256. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  32257. _length = list1.get$length(0);
  32258. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  32259. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  32260. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  32261. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  32262. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  32263. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  32264. selections[i][j] = selection;
  32265. t1 = lengths[i0];
  32266. j0 = j + 1;
  32267. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  32268. }
  32269. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  32270. },
  32271. removeFirstWhere0(list, test, orElse) {
  32272. var i;
  32273. for (i = 0; i < list.length; ++i) {
  32274. if (!test.call$1(list[i]))
  32275. continue;
  32276. B.JSArray_methods.removeAt$1(list, i);
  32277. return;
  32278. }
  32279. orElse.call$0();
  32280. },
  32281. mapAddAll20(destination, source, $K1, $K2, $V) {
  32282. source.forEach$1(0, new A.mapAddAll2_closure0(destination, $K1, $K2, $V));
  32283. },
  32284. setAll0(map, keys, value) {
  32285. var t1;
  32286. for (t1 = keys.get$iterator(keys); t1.moveNext$0();)
  32287. map.$indexSet(0, t1.get$current(t1), value);
  32288. },
  32289. rotateSlice0(list, start, end) {
  32290. var i, next,
  32291. element = list.$index(0, end - 1);
  32292. for (i = start; i < end; ++i, element = next) {
  32293. next = list.$index(0, i);
  32294. list.$indexSet(0, i, element);
  32295. }
  32296. },
  32297. mapAsync0(iterable, callback, $E, $F) {
  32298. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  32299. },
  32300. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  32301. var $async$goto = 0,
  32302. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32303. $async$returnValue, t2, _i, t1, $async$temp1;
  32304. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32305. if ($async$errorCode === 1)
  32306. return A._asyncRethrow($async$result, $async$completer);
  32307. for (;;)
  32308. switch ($async$goto) {
  32309. case 0:
  32310. // Function start
  32311. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  32312. t2 = iterable.length, _i = 0;
  32313. case 3:
  32314. // for condition
  32315. if (!(_i < t2)) {
  32316. // goto after for
  32317. $async$goto = 5;
  32318. break;
  32319. }
  32320. $async$temp1 = t1;
  32321. $async$goto = 6;
  32322. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  32323. case 6:
  32324. // returning from await.
  32325. $async$temp1.push($async$result);
  32326. case 4:
  32327. // for update
  32328. ++_i;
  32329. // goto for condition
  32330. $async$goto = 3;
  32331. break;
  32332. case 5:
  32333. // after for
  32334. $async$returnValue = t1;
  32335. // goto return
  32336. $async$goto = 1;
  32337. break;
  32338. case 1:
  32339. // return
  32340. return A._asyncReturn($async$returnValue, $async$completer);
  32341. }
  32342. });
  32343. return A._asyncStartSync($async$mapAsync0, $async$completer);
  32344. },
  32345. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32346. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32347. },
  32348. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32349. var $async$goto = 0,
  32350. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32351. $async$returnValue, t1, value;
  32352. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32353. if ($async$errorCode === 1)
  32354. return A._asyncRethrow($async$result, $async$completer);
  32355. for (;;)
  32356. switch ($async$goto) {
  32357. case 0:
  32358. // Function start
  32359. if (map.containsKey$1(key)) {
  32360. t1 = map.$index(0, key);
  32361. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32362. // goto return
  32363. $async$goto = 1;
  32364. break;
  32365. }
  32366. $async$goto = 3;
  32367. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32368. case 3:
  32369. // returning from await.
  32370. value = $async$result;
  32371. map.$indexSet(0, key, value);
  32372. $async$returnValue = value;
  32373. // goto return
  32374. $async$goto = 1;
  32375. break;
  32376. case 1:
  32377. // return
  32378. return A._asyncReturn($async$returnValue, $async$completer);
  32379. }
  32380. });
  32381. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32382. },
  32383. copyMapOfMap0(map, $K1, $K2, $V) {
  32384. var t3, key, child,
  32385. t1 = $K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32386. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K1, t1);
  32387. for (t1 = A.MapExtensions_get_pairs0(map, $K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32388. t3 = t1.get$current(t1);
  32389. key = t3._0;
  32390. child = t3._1;
  32391. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K2, $V);
  32392. t3.addAll$1(0, child);
  32393. t2.$indexSet(0, key, t3);
  32394. }
  32395. return t2;
  32396. },
  32397. copyMapOfList0(map, $K, $E) {
  32398. var t3,
  32399. t1 = $E._eval$1("List<0>"),
  32400. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32401. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32402. t3 = t1.get$current(t1);
  32403. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32404. }
  32405. return t2;
  32406. },
  32407. consumeEscapedCharacter0(scanner) {
  32408. var _1_0, value, i, next, t1;
  32409. scanner.expectChar$1(92);
  32410. _1_0 = scanner.peekChar$0();
  32411. if (_1_0 == null)
  32412. return 65533;
  32413. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32414. scanner.error$1(0, "Expected escape sequence.");
  32415. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32416. for (value = 0, i = 0; i < 6; ++i) {
  32417. next = scanner.peekChar$0();
  32418. if (next != null) {
  32419. t1 = true;
  32420. if (!(next >= 48 && next <= 57))
  32421. if (!(next >= 97 && next <= 102))
  32422. t1 = next >= 65 && next <= 70;
  32423. t1 = !t1;
  32424. } else
  32425. t1 = true;
  32426. if (t1)
  32427. break;
  32428. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32429. }
  32430. t1 = scanner.peekChar$0();
  32431. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32432. scanner.readChar$0();
  32433. $label0$1: {
  32434. if (0 !== value)
  32435. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32436. else
  32437. t1 = true;
  32438. if (t1) {
  32439. t1 = 65533;
  32440. break $label0$1;
  32441. }
  32442. t1 = value;
  32443. break $label0$1;
  32444. }
  32445. return t1;
  32446. }
  32447. return scanner.readChar$0();
  32448. },
  32449. throwWithTrace0(error, originalError, trace) {
  32450. var t1 = A.getTrace0(originalError);
  32451. A.attachTrace0(error, t1 == null ? trace : t1);
  32452. throw A.wrapException(error);
  32453. },
  32454. attachTrace0(error, trace) {
  32455. var t1;
  32456. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32457. return;
  32458. if (trace.toString$0(0).length === 0)
  32459. return;
  32460. t1 = $.$get$_traces0();
  32461. A.Expando__checkType(error);
  32462. if (t1._jsWeakMap.get(error) == null)
  32463. t1.$indexSet(0, error, trace);
  32464. },
  32465. getTrace0(error) {
  32466. var t1;
  32467. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32468. t1 = null;
  32469. else {
  32470. t1 = $.$get$_traces0();
  32471. A.Expando__checkType(error);
  32472. t1 = t1._jsWeakMap.get(error);
  32473. }
  32474. return t1;
  32475. },
  32476. parseSignature(signature, requireParens) {
  32477. var error, stackTrace, t1, exception, t2;
  32478. try {
  32479. t1 = A.ScssParser$0(signature, false, null).parseSignature$1$requireParens(requireParens);
  32480. return t1;
  32481. } catch (exception) {
  32482. t1 = A.unwrapException(exception);
  32483. if (type$.SassFormatException_2._is(t1)) {
  32484. error = t1;
  32485. stackTrace = A.getTraceFromException(exception);
  32486. t1 = error._span_exception$_message;
  32487. t2 = J.get$span$z(error);
  32488. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32489. } else
  32490. throw exception;
  32491. }
  32492. },
  32493. indent_closure0: function indent_closure0(t0) {
  32494. this.indentation = t0;
  32495. },
  32496. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32497. this.T = t0;
  32498. },
  32499. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32500. this.result = t0;
  32501. this.T = t1;
  32502. },
  32503. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32504. this.selections = t0;
  32505. this.lengths = t1;
  32506. this.T = t2;
  32507. },
  32508. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32509. var _ = this;
  32510. _.destination = t0;
  32511. _.K1 = t1;
  32512. _.K2 = t2;
  32513. _.V = t3;
  32514. },
  32515. CssValue0: function CssValue0(t0, t1, t2) {
  32516. this.value = t0;
  32517. this.span = t1;
  32518. this.$ti = t2;
  32519. },
  32520. ValueExpression0: function ValueExpression0(t0, t1) {
  32521. this.value = t0;
  32522. this.span = t1;
  32523. },
  32524. valueClass_closure: function valueClass_closure() {
  32525. },
  32526. valueClass__closure: function valueClass__closure() {
  32527. },
  32528. valueClass__closure0: function valueClass__closure0() {
  32529. },
  32530. valueClass__closure1: function valueClass__closure1() {
  32531. },
  32532. valueClass__closure2: function valueClass__closure2() {
  32533. },
  32534. valueClass__closure3: function valueClass__closure3() {
  32535. },
  32536. valueClass__closure4: function valueClass__closure4() {
  32537. },
  32538. valueClass__closure5: function valueClass__closure5() {
  32539. },
  32540. valueClass__closure6: function valueClass__closure6() {
  32541. },
  32542. valueClass__closure7: function valueClass__closure7() {
  32543. },
  32544. valueClass__closure8: function valueClass__closure8() {
  32545. },
  32546. valueClass__closure9: function valueClass__closure9() {
  32547. },
  32548. valueClass__closure10: function valueClass__closure10() {
  32549. },
  32550. valueClass__closure11: function valueClass__closure11() {
  32551. },
  32552. valueClass__closure12: function valueClass__closure12() {
  32553. },
  32554. valueClass__closure13: function valueClass__closure13() {
  32555. },
  32556. valueClass__closure14: function valueClass__closure14() {
  32557. },
  32558. valueClass__closure15: function valueClass__closure15() {
  32559. },
  32560. valueClass__closure16: function valueClass__closure16() {
  32561. },
  32562. valueClass__closure17: function valueClass__closure17() {
  32563. },
  32564. valueClass__closure18: function valueClass__closure18() {
  32565. },
  32566. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32567. var error, stackTrace, t1, exception,
  32568. string = _this._value$_selectorString$1($name);
  32569. try {
  32570. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32571. return t1;
  32572. } catch (exception) {
  32573. t1 = A.unwrapException(exception);
  32574. if (type$.SassFormatException_2._is(t1)) {
  32575. error = t1;
  32576. stackTrace = A.getTraceFromException(exception);
  32577. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32578. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32579. } else
  32580. throw exception;
  32581. }
  32582. },
  32583. SassApiValue_assertCompoundSelector0(_this, $name) {
  32584. var error, stackTrace, t1, exception,
  32585. allowParent = false,
  32586. string = _this._value$_selectorString$1($name);
  32587. try {
  32588. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32589. return t1;
  32590. } catch (exception) {
  32591. t1 = A.unwrapException(exception);
  32592. if (type$.SassFormatException_2._is(t1)) {
  32593. error = t1;
  32594. stackTrace = A.getTraceFromException(exception);
  32595. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32596. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32597. } else
  32598. throw exception;
  32599. }
  32600. },
  32601. Value0: function Value0() {
  32602. },
  32603. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32604. this.namespace = t0;
  32605. this.name = t1;
  32606. this.span = t2;
  32607. },
  32608. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32609. if (namespace != null && global)
  32610. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32611. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32612. },
  32613. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32614. var _ = this;
  32615. _.namespace = t0;
  32616. _.name = t1;
  32617. _.expression = t2;
  32618. _.isGuarded = t3;
  32619. _.isGlobal = t4;
  32620. _.span = t5;
  32621. },
  32622. WarnRule0: function WarnRule0(t0, t1) {
  32623. this.expression = t0;
  32624. this.span = t1;
  32625. },
  32626. WhileRule$0(condition, children, span) {
  32627. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32628. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32629. return new A.WhileRule0(condition, span, t1, t2);
  32630. },
  32631. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32632. var _ = this;
  32633. _.condition = t0;
  32634. _.span = t1;
  32635. _.children = t2;
  32636. _.hasDeclarations = t3;
  32637. },
  32638. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32639. this.name = t0;
  32640. this._space$_channels = t1;
  32641. },
  32642. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32643. this.name = t0;
  32644. this._space$_channels = t1;
  32645. },
  32646. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32647. var _0_0 = A.parseSignature(signature, requireParens);
  32648. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32649. },
  32650. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32651. var _0_0 = A.parseSignature(signature, requireParens);
  32652. return new A.BuiltInCallable0(_0_0._0, A._setArrayType([new A._Record_2(_0_0._1, callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), false);
  32653. },
  32654. printString(string) {
  32655. if (typeof dartPrint == "function") {
  32656. dartPrint(string);
  32657. return;
  32658. }
  32659. if (typeof console == "object" && typeof console.log != "undefined") {
  32660. console.log(string);
  32661. return;
  32662. }
  32663. if (typeof print == "function") {
  32664. print(string);
  32665. return;
  32666. }
  32667. throw "Unable to print message: " + String(string);
  32668. },
  32669. mergeMaps(map1, map2, $K, $V) {
  32670. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32671. result.addAll$1(0, map2);
  32672. return result;
  32673. },
  32674. groupBy(values, key, $S, $T) {
  32675. var t1, t2, _i, element, t3, t4,
  32676. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32677. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32678. element = values[_i];
  32679. t3 = key.call$1(element);
  32680. t4 = map.$index(0, t3);
  32681. if (t4 == null) {
  32682. t4 = A._setArrayType([], t2);
  32683. map.$indexSet(0, t3, t4);
  32684. t3 = t4;
  32685. } else
  32686. t3 = t4;
  32687. J.add$1$ax(t3, element);
  32688. }
  32689. return map;
  32690. },
  32691. minBy(values, orderBy) {
  32692. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32693. for (t1 = values.$ti, t2 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], minValue = null, minOrderBy = null; t2.moveNext$0();) {
  32694. element = t2.__internal$_current;
  32695. if (element == null)
  32696. element = t1._as(element);
  32697. elementOrderBy = orderBy.call$1(element);
  32698. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32699. minOrderBy = elementOrderBy;
  32700. minValue = element;
  32701. }
  32702. }
  32703. return minValue;
  32704. },
  32705. IterableExtension_firstWhereOrNull(_this, test) {
  32706. var t1, element;
  32707. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32708. element = t1.get$current(t1);
  32709. if (test.call$1(element))
  32710. return element;
  32711. }
  32712. return null;
  32713. },
  32714. IterableExtension_get_firstOrNull(_this) {
  32715. var iterator = J.get$iterator$ax(_this);
  32716. if (iterator.moveNext$0())
  32717. return iterator.get$current(iterator);
  32718. return null;
  32719. },
  32720. IterableExtension_get_lastOrNull(_this) {
  32721. if (_this.get$length(0) === 0)
  32722. return null;
  32723. return _this.get$last(_this);
  32724. },
  32725. IterableExtension_get_singleOrNull(_this) {
  32726. var result,
  32727. iterator = J.get$iterator$ax(_this);
  32728. if (iterator.moveNext$0()) {
  32729. result = iterator.get$current(iterator);
  32730. if (!iterator.moveNext$0())
  32731. return result;
  32732. }
  32733. return null;
  32734. },
  32735. IterableIntegerExtension_get_maxOrNull(_this) {
  32736. var value, newValue,
  32737. t1 = _this.$ti,
  32738. iterator = new A.ListIterator(_this, _this.get$length(0), t1._eval$1("ListIterator<ListIterable.E>"));
  32739. if (iterator.moveNext$0()) {
  32740. value = iterator.__internal$_current;
  32741. if (value == null)
  32742. value = t1._eval$1("ListIterable.E")._as(value);
  32743. for (t1 = t1._eval$1("ListIterable.E"); iterator.moveNext$0();) {
  32744. newValue = iterator.__internal$_current;
  32745. if (newValue == null)
  32746. newValue = t1._as(newValue);
  32747. if (newValue > value)
  32748. value = newValue;
  32749. }
  32750. return value;
  32751. }
  32752. return null;
  32753. },
  32754. IterableIntegerExtension_get_max(_this) {
  32755. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32756. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32757. },
  32758. IterableIntegerExtension_get_sum(_this) {
  32759. var t1, t2, result, t3;
  32760. for (t1 = _this.$ti, t2 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], result = 0; t2.moveNext$0();) {
  32761. t3 = t2.__internal$_current;
  32762. result += t3 == null ? t1._as(t3) : t3;
  32763. }
  32764. return result;
  32765. },
  32766. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32767. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32768. },
  32769. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32770. return function() {
  32771. var _this = $async$_this,
  32772. convert = $async$convert,
  32773. $E = $async$$E,
  32774. $R = $async$$R;
  32775. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32776. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32777. if ($async$errorCode === 1) {
  32778. $async$errorStack.push($async$result);
  32779. $async$goto = $async$handler;
  32780. }
  32781. for (;;)
  32782. switch ($async$goto) {
  32783. case 0:
  32784. // Function start
  32785. t1 = _this.length, index = 0;
  32786. case 2:
  32787. // for condition
  32788. if (!(index < t1)) {
  32789. // goto after for
  32790. $async$goto = 4;
  32791. break;
  32792. }
  32793. $async$goto = 5;
  32794. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32795. case 5:
  32796. // after yield
  32797. case 3:
  32798. // for update
  32799. ++index;
  32800. // goto for condition
  32801. $async$goto = 2;
  32802. break;
  32803. case 4:
  32804. // after for
  32805. // implicit return
  32806. return 0;
  32807. case 1:
  32808. // rethrow
  32809. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32810. }
  32811. };
  32812. };
  32813. },
  32814. ListExtensions_elementAtOrNull(_this, index) {
  32815. var t1 = J.getInterceptor$asx(_this);
  32816. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32817. },
  32818. defaultCompare(value1, value2) {
  32819. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32820. },
  32821. current() {
  32822. var exception, t1, path, lastIndex, uri = null;
  32823. try {
  32824. uri = A.Uri_base();
  32825. } catch (exception) {
  32826. if (type$.Exception._is(A.unwrapException(exception))) {
  32827. t1 = $._current;
  32828. if (t1 != null)
  32829. return t1;
  32830. throw exception;
  32831. } else
  32832. throw exception;
  32833. }
  32834. if (J.$eq$(uri, $._currentUriBase)) {
  32835. t1 = $._current;
  32836. t1.toString;
  32837. return t1;
  32838. }
  32839. $._currentUriBase = uri;
  32840. if ($.$get$Style_platform() === $.$get$Style_url())
  32841. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32842. else {
  32843. path = uri.toFilePath$0();
  32844. lastIndex = path.length - 1;
  32845. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32846. }
  32847. return t1;
  32848. },
  32849. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32850. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32851. },
  32852. join(part1, part2, part3) {
  32853. var _null = null;
  32854. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32855. },
  32856. toUri(path) {
  32857. return $.$get$context().toUri$1(path);
  32858. },
  32859. prettyUri(uri) {
  32860. var t1 = $.$get$context();
  32861. uri.toString;
  32862. return t1.prettyUri$1(uri);
  32863. },
  32864. isAlphabetic(char) {
  32865. var t1;
  32866. if (!(char >= 65 && char <= 90))
  32867. t1 = char >= 97 && char <= 122;
  32868. else
  32869. t1 = true;
  32870. return t1;
  32871. },
  32872. driveLetterEnd(path, index) {
  32873. var t2, t3, _null = null,
  32874. t1 = path.length,
  32875. index0 = index + 2;
  32876. if (t1 < index0)
  32877. return _null;
  32878. if (!A.isAlphabetic(path.charCodeAt(index)))
  32879. return _null;
  32880. t2 = index + 1;
  32881. if (path.charCodeAt(t2) !== 58) {
  32882. t3 = index + 4;
  32883. if (t1 < t3)
  32884. return _null;
  32885. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32886. return _null;
  32887. index = index0;
  32888. }
  32889. t2 = index + 2;
  32890. if (t1 === t2)
  32891. return t2;
  32892. if (path.charCodeAt(t2) !== 47)
  32893. return _null;
  32894. return index + 3;
  32895. },
  32896. main0(args) {
  32897. var $async$goto = 0,
  32898. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32899. t1;
  32900. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32901. if ($async$errorCode === 1)
  32902. return A._asyncRethrow($async$result, $async$completer);
  32903. for (;;)
  32904. switch ($async$goto) {
  32905. case 0:
  32906. // Function start
  32907. A.printError("sass --embedded is unavailable in pure JS mode.");
  32908. t1 = A.isNodeJs() ? self.process : null;
  32909. if (t1 != null)
  32910. J.set$exitCode$x(t1, 1);
  32911. // implicit return
  32912. return A._asyncReturn(null, $async$completer);
  32913. }
  32914. });
  32915. return A._asyncStartSync($async$main0, $async$completer);
  32916. },
  32917. EvaluationContext_currentOrNull() {
  32918. var t1,
  32919. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32920. $label0$0: {
  32921. if (type$.EvaluationContext._is(_0_0)) {
  32922. t1 = _0_0;
  32923. break $label0$0;
  32924. }
  32925. t1 = null;
  32926. break $label0$0;
  32927. }
  32928. return t1;
  32929. },
  32930. warn(message) {
  32931. var t1, _null = null,
  32932. _0_0 = A.EvaluationContext_currentOrNull();
  32933. $label0$0: {
  32934. if (_0_0 != null) {
  32935. t1 = _0_0.warn$2(0, message, _null);
  32936. break $label0$0;
  32937. }
  32938. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32939. t1 = _null;
  32940. break $label0$0;
  32941. }
  32942. return t1;
  32943. },
  32944. warnForDeprecation(message, deprecation) {
  32945. var t1,
  32946. _0_0 = A.EvaluationContext_currentOrNull();
  32947. $label0$0: {
  32948. if (_0_0 != null) {
  32949. t1 = _0_0.warn$2(0, message, deprecation);
  32950. break $label0$0;
  32951. }
  32952. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32953. break $label0$0;
  32954. }
  32955. return t1;
  32956. },
  32957. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32958. var $async$goto = 0,
  32959. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32960. $async$returnValue, _1_4, t2, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32961. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32962. if ($async$errorCode === 1)
  32963. return A._asyncRethrow($async$result, $async$completer);
  32964. for (;;)
  32965. switch ($async$goto) {
  32966. case 0:
  32967. // Function start
  32968. t1 = type$.nullable_String;
  32969. t1 = A.List_List$_of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), type$.Record_2_nullable_String_and_nullable_String);
  32970. $async$goto = t1.length === 1 ? 4 : 5;
  32971. break;
  32972. case 4:
  32973. // then
  32974. _1_4 = t1[0];
  32975. $async$temp1 = A;
  32976. $async$goto = 6;
  32977. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32978. case 6:
  32979. // returning from await.
  32980. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32981. // goto break $label0$0
  32982. $async$goto = 3;
  32983. break;
  32984. case 5:
  32985. // join
  32986. t2 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32987. for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  32988. t4 = t1[_i];
  32989. t2.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32990. }
  32991. $async$goto = 7;
  32992. return A._asyncAwait(A.Future_wait(t2, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  32993. case 7:
  32994. // returning from await.
  32995. t1 = $async$result;
  32996. // goto break $label0$0
  32997. $async$goto = 3;
  32998. break;
  32999. case 3:
  33000. // break $label0$0
  33001. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  33002. errorWithStackTrace = t1.get$current(t1);
  33003. if (errorWithStackTrace == null)
  33004. continue;
  33005. code = errorWithStackTrace._0;
  33006. error = errorWithStackTrace._1;
  33007. stackTrace = errorWithStackTrace._2;
  33008. t2 = self.process;
  33009. if (t2 == null)
  33010. t2 = null;
  33011. else {
  33012. t2 = J.get$release$x(t2);
  33013. t2 = t2 == null ? null : J.get$name$x(t2);
  33014. }
  33015. t2 = J.$eq$(t2, "node") ? self.process : null;
  33016. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  33017. if (t2 == null)
  33018. t2 = 0;
  33019. t2 = Math.max(t2, code);
  33020. t3 = self.process;
  33021. if (t3 == null)
  33022. t3 = null;
  33023. else {
  33024. t3 = J.get$release$x(t3);
  33025. t3 = t3 == null ? null : J.get$name$x(t3);
  33026. }
  33027. t3 = J.$eq$(t3, "node") ? self.process : null;
  33028. if (t3 != null)
  33029. J.set$exitCode$x(t3, t2);
  33030. buffer = new A.StringBuffer("");
  33031. t2 = (printedError ? buffer._contents = "\n" : "") + error;
  33032. buffer._contents = t2;
  33033. if (stackTrace != null) {
  33034. t2 += "\n";
  33035. buffer._contents = t2;
  33036. t2 += "\n";
  33037. buffer._contents = t2;
  33038. buffer._contents = t2 + stackTrace;
  33039. }
  33040. A.printError(buffer);
  33041. printedError = true;
  33042. }
  33043. $async$returnValue = !printedError;
  33044. // goto return
  33045. $async$goto = 1;
  33046. break;
  33047. case 1:
  33048. // return
  33049. return A._asyncReturn($async$returnValue, $async$completer);
  33050. }
  33051. });
  33052. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  33053. },
  33054. CharacterExtension_get_isAlphabetic(_this) {
  33055. var t1;
  33056. if (!(_this >= 97 && _this <= 122))
  33057. t1 = _this >= 65 && _this <= 90;
  33058. else
  33059. t1 = true;
  33060. return t1;
  33061. },
  33062. CharacterExtension_get_isHex(_this) {
  33063. var t1 = true;
  33064. if (!(_this >= 48 && _this <= 57))
  33065. if (!(_this >= 97 && _this <= 102))
  33066. t1 = _this >= 65 && _this <= 70;
  33067. return t1;
  33068. },
  33069. asHex(character) {
  33070. var t1;
  33071. $label0$0: {
  33072. if (character <= 57) {
  33073. t1 = character - 48;
  33074. break $label0$0;
  33075. }
  33076. if (character <= 70) {
  33077. t1 = 10 + character - 65;
  33078. break $label0$0;
  33079. }
  33080. t1 = 10 + character - 97;
  33081. break $label0$0;
  33082. }
  33083. return t1;
  33084. },
  33085. hexCharFor(number) {
  33086. return number < 10 ? 48 + number : 87 + number;
  33087. },
  33088. opposite(character) {
  33089. var t1;
  33090. $label0$0: {
  33091. if (40 === character) {
  33092. t1 = 41;
  33093. break $label0$0;
  33094. }
  33095. if (123 === character) {
  33096. t1 = 125;
  33097. break $label0$0;
  33098. }
  33099. if (91 === character) {
  33100. t1 = 93;
  33101. break $label0$0;
  33102. }
  33103. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33104. }
  33105. return t1;
  33106. },
  33107. characterEqualsIgnoreCase(character1, character2) {
  33108. var upperCase1;
  33109. if (character1 === character2)
  33110. return true;
  33111. if ((character1 ^ character2) >>> 0 !== 32)
  33112. return false;
  33113. upperCase1 = (character1 & 4294967263) >>> 0;
  33114. return upperCase1 >= 65 && upperCase1 <= 90;
  33115. },
  33116. IterableExtension_search(_this, callback) {
  33117. var t1, _0_0;
  33118. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33119. _0_0 = callback.call$1(t1.get$current(t1));
  33120. if (_0_0 != null)
  33121. return _0_0;
  33122. }
  33123. return null;
  33124. },
  33125. IterableExtension_get_exceptLast(_this) {
  33126. var t1 = J.getInterceptor$asx(_this),
  33127. size = t1.get$length(_this) - 1;
  33128. if (size < 0)
  33129. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33130. return t1.take$1(_this, size);
  33131. },
  33132. NullableExtension_andThen(_this, fn) {
  33133. return _this == null ? null : fn.call$1(_this);
  33134. },
  33135. SetExtension_removeNull(_this, $T) {
  33136. _this.remove$1(0, null);
  33137. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  33138. },
  33139. fuzzyEquals(number1, number2) {
  33140. var t1;
  33141. if (number1 === number2)
  33142. return true;
  33143. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  33144. t1 = $.$get$_inverseEpsilon();
  33145. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33146. } else
  33147. t1 = false;
  33148. return t1;
  33149. },
  33150. fuzzyEqualsNullable(number1, number2) {
  33151. var t1;
  33152. if (number1 == number2)
  33153. return true;
  33154. if (number1 == null || number2 == null)
  33155. return false;
  33156. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  33157. t1 = $.$get$_inverseEpsilon();
  33158. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33159. } else
  33160. t1 = false;
  33161. return t1;
  33162. },
  33163. fuzzyHashCode(number) {
  33164. if (!isFinite(number))
  33165. return B.JSNumber_methods.get$hashCode(number);
  33166. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  33167. },
  33168. fuzzyLessThan(number1, number2) {
  33169. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  33170. },
  33171. fuzzyLessThanOrEquals(number1, number2) {
  33172. return number1 < number2 || A.fuzzyEquals(number1, number2);
  33173. },
  33174. fuzzyGreaterThan(number1, number2) {
  33175. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  33176. },
  33177. fuzzyGreaterThanOrEquals(number1, number2) {
  33178. return number1 > number2 || A.fuzzyEquals(number1, number2);
  33179. },
  33180. fuzzyIsInt(number) {
  33181. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33182. return false;
  33183. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  33184. },
  33185. fuzzyAsInt(number) {
  33186. var rounded;
  33187. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33188. return null;
  33189. rounded = B.JSNumber_methods.round$0(number);
  33190. return A.fuzzyEquals(number, rounded) ? rounded : null;
  33191. },
  33192. fuzzyRound(number) {
  33193. var t1;
  33194. if (number > 0) {
  33195. t1 = B.JSNumber_methods.$mod(number, 1);
  33196. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33197. } else {
  33198. t1 = B.JSNumber_methods.$mod(number, 1);
  33199. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33200. }
  33201. },
  33202. fuzzyCheckRange(number, min, max) {
  33203. if (A.fuzzyEquals(number, min))
  33204. return min;
  33205. if (A.fuzzyEquals(number, max))
  33206. return max;
  33207. if (number > min && number < max)
  33208. return number;
  33209. return null;
  33210. },
  33211. fuzzyAssertRange(number, min, max, $name) {
  33212. var result = A.fuzzyCheckRange(number, min, max);
  33213. if (result != null)
  33214. return result;
  33215. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33216. },
  33217. moduloLikeSass(num1, num2) {
  33218. var result;
  33219. if (num1 == 1 / 0 || num1 == -1 / 0)
  33220. return 0 / 0;
  33221. if (num2 == 1 / 0 || num2 == -1 / 0)
  33222. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33223. if (num2 > 0)
  33224. return B.JSNumber_methods.$mod(num1, num2);
  33225. if (num2 === 0)
  33226. return 0 / 0;
  33227. result = B.JSNumber_methods.$mod(num1, num2);
  33228. return result === 0 ? 0 : result + num2;
  33229. },
  33230. sqrt(number) {
  33231. number.assertNoUnits$1("number");
  33232. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  33233. },
  33234. sin(number) {
  33235. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33236. },
  33237. cos(number) {
  33238. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33239. },
  33240. tan(number) {
  33241. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33242. },
  33243. atan(number) {
  33244. number.assertNoUnits$1("number");
  33245. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33246. },
  33247. asin(number) {
  33248. number.assertNoUnits$1("number");
  33249. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33250. },
  33251. acos(number) {
  33252. number.assertNoUnits$1("number");
  33253. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33254. },
  33255. log(number, base) {
  33256. if (base != null)
  33257. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  33258. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  33259. },
  33260. pow0(base, exponent) {
  33261. base.assertNoUnits$1("base");
  33262. exponent.assertNoUnits$1("exponent");
  33263. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  33264. },
  33265. DoubleWithSignedZero_get_signIncludingZero(_this) {
  33266. if (_this === -0.0)
  33267. return -1;
  33268. if (_this === 0)
  33269. return 1;
  33270. return J.get$sign$in(_this);
  33271. },
  33272. SpanExtensions_trimLeft(_this) {
  33273. var t1, start = 0;
  33274. for (;;) {
  33275. t1 = _this.get$text().charCodeAt(start);
  33276. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33277. break;
  33278. ++start;
  33279. }
  33280. return A.FileSpanExtension_subspan(_this, start, null);
  33281. },
  33282. SpanExtensions_trimRight(_this) {
  33283. var t1,
  33284. end = _this.get$text().length - 1;
  33285. for (;;) {
  33286. t1 = _this.get$text().charCodeAt(end);
  33287. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33288. break;
  33289. --end;
  33290. }
  33291. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33292. },
  33293. SpanExtensions_initialIdentifier(_this) {
  33294. var i,
  33295. scanner = A.StringScanner$(_this.get$text(), null, null);
  33296. for (i = 0; false; ++i)
  33297. scanner.readChar$0();
  33298. A._scanIdentifier(scanner);
  33299. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33300. },
  33301. _scanIdentifier(scanner) {
  33302. var t1, _0_0, t2;
  33303. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33304. _0_0 = scanner.peekChar$0();
  33305. if (92 === _0_0) {
  33306. A.consumeEscapedCharacter(scanner);
  33307. continue;
  33308. }
  33309. if (A._isInt(_0_0)) {
  33310. if (_0_0 !== 95) {
  33311. if (!(_0_0 >= 97 && _0_0 <= 122))
  33312. t2 = _0_0 >= 65 && _0_0 <= 90;
  33313. else
  33314. t2 = true;
  33315. t2 = t2 || _0_0 >= 128;
  33316. } else
  33317. t2 = true;
  33318. if (!t2)
  33319. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33320. else
  33321. t2 = true;
  33322. } else
  33323. t2 = false;
  33324. if (t2) {
  33325. scanner.readChar$0();
  33326. continue;
  33327. }
  33328. break;
  33329. }
  33330. },
  33331. hueToRgb(m1, m2, hue) {
  33332. var t1;
  33333. if (hue < 0)
  33334. ++hue;
  33335. if (hue > 1)
  33336. --hue;
  33337. $label0$0: {
  33338. if (hue < 0.16666666666666666) {
  33339. t1 = m1 + (m2 - m1) * hue * 6;
  33340. break $label0$0;
  33341. }
  33342. if (hue < 0.5) {
  33343. t1 = m2;
  33344. break $label0$0;
  33345. }
  33346. if (hue < 0.6666666666666666) {
  33347. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33348. break $label0$0;
  33349. }
  33350. t1 = m1;
  33351. break $label0$0;
  33352. }
  33353. return t1;
  33354. },
  33355. srgbAndDisplayP3ToLinear(channel) {
  33356. var abs = Math.abs(channel);
  33357. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33358. },
  33359. srgbAndDisplayP3FromLinear(channel) {
  33360. var abs = Math.abs(channel);
  33361. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33362. },
  33363. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33364. var t3, t4, chroma, hue,
  33365. t1 = a == null,
  33366. t2 = t1 ? 0 : a;
  33367. t2 = Math.pow(t2, 2);
  33368. t3 = b == null;
  33369. t4 = t3 ? 0 : b;
  33370. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33371. if (missingHue || A.fuzzyEquals(chroma, 0))
  33372. hue = null;
  33373. else {
  33374. t2 = t3 ? 0 : b;
  33375. t1 = t1 ? 0 : a;
  33376. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33377. }
  33378. t1 = missingChroma ? null : chroma;
  33379. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33380. },
  33381. encodeVlq(value) {
  33382. var res, signBit, digit, t1;
  33383. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33384. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33385. res = A._setArrayType([], type$.JSArray_String);
  33386. if (value < 0) {
  33387. value = -value;
  33388. signBit = 1;
  33389. } else
  33390. signBit = 0;
  33391. value = value << 1 | signBit;
  33392. do {
  33393. digit = value & 31;
  33394. value = value >>> 5;
  33395. t1 = value > 0;
  33396. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33397. } while (t1);
  33398. return res;
  33399. },
  33400. isAllTheSame(iter) {
  33401. var firstValue, t1, t2, value;
  33402. if (iter.get$length(0) === 0)
  33403. return true;
  33404. firstValue = iter.get$first(0);
  33405. for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  33406. value = t1.__internal$_current;
  33407. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33408. return false;
  33409. }
  33410. return true;
  33411. },
  33412. replaceFirstNull(list, element) {
  33413. var index = B.JSArray_methods.indexOf$1(list, null);
  33414. if (index < 0)
  33415. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33416. list[index] = element;
  33417. },
  33418. replaceWithNull(list, element) {
  33419. var index = B.JSArray_methods.indexOf$1(list, element);
  33420. if (index < 0)
  33421. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33422. list[index] = null;
  33423. },
  33424. countCodeUnits(string, codeUnit) {
  33425. var t1, t2, count, t3;
  33426. for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  33427. t3 = t1.__internal$_current;
  33428. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33429. ++count;
  33430. }
  33431. return count;
  33432. },
  33433. findLineStart(context, text, column) {
  33434. var beginningOfLine, index, lineStart;
  33435. if (text.length === 0)
  33436. for (beginningOfLine = 0;;) {
  33437. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33438. if (index === -1)
  33439. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33440. if (index - beginningOfLine >= column)
  33441. return beginningOfLine;
  33442. beginningOfLine = index + 1;
  33443. }
  33444. index = B.JSString_methods.indexOf$1(context, text);
  33445. while (index !== -1) {
  33446. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33447. if (column === index - lineStart)
  33448. return lineStart;
  33449. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33450. }
  33451. return null;
  33452. },
  33453. validateErrorArgs(string, match, position, $length) {
  33454. var t2,
  33455. t1 = position != null;
  33456. if (t1)
  33457. if (position < 0)
  33458. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33459. else if (position > string.length)
  33460. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33461. t2 = $length != null;
  33462. if (t2 && $length < 0)
  33463. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33464. if (t1 && t2 && position + $length > string.length)
  33465. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33466. },
  33467. CharacterExtension_get_isAlphabetic0(_this) {
  33468. var t1;
  33469. if (!(_this >= 97 && _this <= 122))
  33470. t1 = _this >= 65 && _this <= 90;
  33471. else
  33472. t1 = true;
  33473. return t1;
  33474. },
  33475. CharacterExtension_get_isHex0(_this) {
  33476. var t1 = true;
  33477. if (!(_this >= 48 && _this <= 57))
  33478. if (!(_this >= 97 && _this <= 102))
  33479. t1 = _this >= 65 && _this <= 70;
  33480. return t1;
  33481. },
  33482. combineSurrogates(highSurrogate, lowSurrogate) {
  33483. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33484. },
  33485. asHex0(character) {
  33486. var t1;
  33487. $label0$0: {
  33488. if (character <= 57) {
  33489. t1 = character - 48;
  33490. break $label0$0;
  33491. }
  33492. if (character <= 70) {
  33493. t1 = 10 + character - 65;
  33494. break $label0$0;
  33495. }
  33496. t1 = 10 + character - 97;
  33497. break $label0$0;
  33498. }
  33499. return t1;
  33500. },
  33501. hexCharFor0(number) {
  33502. return number < 10 ? 48 + number : 87 + number;
  33503. },
  33504. opposite0(character) {
  33505. var t1;
  33506. $label0$0: {
  33507. if (40 === character) {
  33508. t1 = 41;
  33509. break $label0$0;
  33510. }
  33511. if (123 === character) {
  33512. t1 = 125;
  33513. break $label0$0;
  33514. }
  33515. if (91 === character) {
  33516. t1 = 93;
  33517. break $label0$0;
  33518. }
  33519. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33520. }
  33521. return t1;
  33522. },
  33523. characterEqualsIgnoreCase0(character1, character2) {
  33524. var upperCase1;
  33525. if (character1 === character2)
  33526. return true;
  33527. if ((character1 ^ character2) >>> 0 !== 32)
  33528. return false;
  33529. upperCase1 = (character1 & 4294967263) >>> 0;
  33530. return upperCase1 >= 65 && upperCase1 <= 90;
  33531. },
  33532. EvaluationContext_currentOrNull0() {
  33533. var t1,
  33534. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33535. $label0$0: {
  33536. if (type$.EvaluationContext_2._is(_0_0)) {
  33537. t1 = _0_0;
  33538. break $label0$0;
  33539. }
  33540. t1 = null;
  33541. break $label0$0;
  33542. }
  33543. return t1;
  33544. },
  33545. EvaluationContext__currentOrNull() {
  33546. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33547. if (type$.EvaluationContext_2._is(_0_0))
  33548. return _0_0;
  33549. else
  33550. return null;
  33551. },
  33552. warn0(message) {
  33553. var t1, _null = null,
  33554. _0_0 = A.EvaluationContext_currentOrNull0();
  33555. $label0$0: {
  33556. if (_0_0 != null) {
  33557. t1 = _0_0.warn$2(0, message, _null);
  33558. break $label0$0;
  33559. }
  33560. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33561. t1 = _null;
  33562. break $label0$0;
  33563. }
  33564. return t1;
  33565. },
  33566. warnForDeprecation0(message, deprecation) {
  33567. var t1,
  33568. _0_0 = A.EvaluationContext_currentOrNull0();
  33569. $label0$0: {
  33570. if (_0_0 != null) {
  33571. t1 = _0_0.warn$2(0, message, deprecation);
  33572. break $label0$0;
  33573. }
  33574. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33575. break $label0$0;
  33576. }
  33577. return t1;
  33578. },
  33579. warnForDeprecationFromApi(message, deprecation) {
  33580. var _0_0 = A.EvaluationContext__currentOrNull();
  33581. if (_0_0 != null)
  33582. _0_0.warn$2(0, message, deprecation);
  33583. else
  33584. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33585. },
  33586. IterableExtension_search0(_this, callback) {
  33587. var t1, _0_0;
  33588. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33589. _0_0 = callback.call$1(t1.get$current(t1));
  33590. if (_0_0 != null)
  33591. return _0_0;
  33592. }
  33593. return null;
  33594. },
  33595. IterableExtension_get_exceptLast0(_this) {
  33596. var t1 = J.getInterceptor$asx(_this),
  33597. size = t1.get$length(_this) - 1;
  33598. if (size < 0)
  33599. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33600. return t1.take$1(_this, size);
  33601. },
  33602. NullableExtension_andThen0(_this, fn) {
  33603. return _this == null ? null : fn.call$1(_this);
  33604. },
  33605. fuzzyEquals0(number1, number2) {
  33606. var t1;
  33607. if (number1 === number2)
  33608. return true;
  33609. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33610. t1 = $.$get$_inverseEpsilon0();
  33611. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33612. } else
  33613. t1 = false;
  33614. return t1;
  33615. },
  33616. fuzzyEqualsNullable0(number1, number2) {
  33617. var t1;
  33618. if (number1 == number2)
  33619. return true;
  33620. if (number1 == null || number2 == null)
  33621. return false;
  33622. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33623. t1 = $.$get$_inverseEpsilon0();
  33624. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33625. } else
  33626. t1 = false;
  33627. return t1;
  33628. },
  33629. fuzzyHashCode0(number) {
  33630. if (!isFinite(number))
  33631. return B.JSNumber_methods.get$hashCode(number);
  33632. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33633. },
  33634. fuzzyLessThan0(number1, number2) {
  33635. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33636. },
  33637. fuzzyLessThanOrEquals0(number1, number2) {
  33638. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33639. },
  33640. fuzzyGreaterThan0(number1, number2) {
  33641. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33642. },
  33643. fuzzyGreaterThanOrEquals0(number1, number2) {
  33644. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33645. },
  33646. fuzzyIsInt0(number) {
  33647. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33648. return false;
  33649. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33650. },
  33651. fuzzyAsInt0(number) {
  33652. var rounded;
  33653. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33654. return null;
  33655. rounded = B.JSNumber_methods.round$0(number);
  33656. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33657. },
  33658. fuzzyRound0(number) {
  33659. var t1;
  33660. if (number > 0) {
  33661. t1 = B.JSNumber_methods.$mod(number, 1);
  33662. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33663. } else {
  33664. t1 = B.JSNumber_methods.$mod(number, 1);
  33665. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33666. }
  33667. },
  33668. fuzzyCheckRange0(number, min, max) {
  33669. if (A.fuzzyEquals0(number, min))
  33670. return min;
  33671. if (A.fuzzyEquals0(number, max))
  33672. return max;
  33673. if (number > min && number < max)
  33674. return number;
  33675. return null;
  33676. },
  33677. fuzzyAssertRange0(number, min, max, $name) {
  33678. var result = A.fuzzyCheckRange0(number, min, max);
  33679. if (result != null)
  33680. return result;
  33681. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33682. },
  33683. moduloLikeSass0(num1, num2) {
  33684. var result;
  33685. if (num1 == 1 / 0 || num1 == -1 / 0)
  33686. return 0 / 0;
  33687. if (num2 == 1 / 0 || num2 == -1 / 0)
  33688. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33689. if (num2 > 0)
  33690. return B.JSNumber_methods.$mod(num1, num2);
  33691. if (num2 === 0)
  33692. return 0 / 0;
  33693. result = B.JSNumber_methods.$mod(num1, num2);
  33694. return result === 0 ? 0 : result + num2;
  33695. },
  33696. sqrt0(number) {
  33697. number.assertNoUnits$1("number");
  33698. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33699. },
  33700. sin0(number) {
  33701. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33702. },
  33703. cos0(number) {
  33704. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33705. },
  33706. tan0(number) {
  33707. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33708. },
  33709. atan0(number) {
  33710. number.assertNoUnits$1("number");
  33711. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33712. },
  33713. asin0(number) {
  33714. number.assertNoUnits$1("number");
  33715. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33716. },
  33717. acos0(number) {
  33718. number.assertNoUnits$1("number");
  33719. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33720. },
  33721. log0(number, base) {
  33722. if (base != null)
  33723. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33724. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33725. },
  33726. pow1(base, exponent) {
  33727. base.assertNoUnits$1("base");
  33728. exponent.assertNoUnits$1("exponent");
  33729. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33730. },
  33731. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33732. if (_this === -0.0)
  33733. return -1;
  33734. if (_this === 0)
  33735. return 1;
  33736. return J.get$sign$in(_this);
  33737. },
  33738. main1(args) {
  33739. return A.main$body(args);
  33740. },
  33741. main$body(args) {
  33742. var $async$goto = 0,
  33743. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33744. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33745. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33746. if ($async$errorCode === 1) {
  33747. $async$errorStack.push($async$result);
  33748. $async$goto = $async$handler;
  33749. }
  33750. for (;;)
  33751. switch ($async$goto) {
  33752. case 0:
  33753. // Function start
  33754. if (args.length >= 1 && "--embedded" === args[0]) {
  33755. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33756. // goto return
  33757. $async$goto = 1;
  33758. break;
  33759. }
  33760. options = null;
  33761. $async$handler = 4;
  33762. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33763. t2 = options._options;
  33764. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33765. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33766. break;
  33767. case 7:
  33768. // then
  33769. $async$temp1 = A;
  33770. $async$goto = 9;
  33771. return A._asyncAwait(A._loadVersion(), $async$main1);
  33772. case 9:
  33773. // returning from await.
  33774. $async$temp1.print($async$result);
  33775. t1 = A.isNodeJs() ? self.process : null;
  33776. if (t1 != null)
  33777. J.set$exitCode$x(t1, 0);
  33778. // goto return
  33779. $async$goto = 1;
  33780. break;
  33781. case 8:
  33782. // join
  33783. $async$goto = options.get$interactive() ? 10 : 11;
  33784. break;
  33785. case 10:
  33786. // then
  33787. $async$goto = 12;
  33788. return A._asyncAwait(A.repl(options), $async$main1);
  33789. case 12:
  33790. // returning from await.
  33791. // goto return
  33792. $async$goto = 1;
  33793. break;
  33794. case 11:
  33795. // join
  33796. options.get$silenceDeprecations(0);
  33797. options.get$futureDeprecations(0);
  33798. options.get$fatalDeprecations(0);
  33799. t2 = A.List_List$_of(options.get$pkgImporters(), type$.Importer_2);
  33800. t1 = t2;
  33801. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33802. t2 = type$.Uri;
  33803. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.StylesheetNode), A.ImportCache$(t1, type$.List_String._as(options._options.$index(0, "load-path"))), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.DateTime));
  33804. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33805. break;
  33806. case 13:
  33807. // then
  33808. $async$goto = 15;
  33809. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33810. case 15:
  33811. // returning from await.
  33812. // goto return
  33813. $async$goto = 1;
  33814. break;
  33815. case 14:
  33816. // join
  33817. t1 = options;
  33818. t2 = options;
  33819. t2._ensureSources$0();
  33820. t2 = t2._sourcesToDestinations;
  33821. t2.toString;
  33822. $async$goto = 16;
  33823. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33824. case 16:
  33825. // returning from await.
  33826. $async$handler = 2;
  33827. // goto after finally
  33828. $async$goto = 6;
  33829. break;
  33830. case 4:
  33831. // catch
  33832. $async$handler = 3;
  33833. $async$exception = $async$errorStack.pop();
  33834. t1 = A.unwrapException($async$exception);
  33835. if (t1 instanceof A.UsageException) {
  33836. error = t1;
  33837. A.print(error.message + "\n");
  33838. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33839. t1 = $.$get$ExecutableOptions__parser();
  33840. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33841. t1 = A.isNodeJs() ? self.process : null;
  33842. if (t1 != null)
  33843. J.set$exitCode$x(t1, 64);
  33844. } else {
  33845. error0 = t1;
  33846. stackTrace = A.getTraceFromException($async$exception);
  33847. buffer = new A.StringBuffer("");
  33848. t1 = options;
  33849. t1 = t1 == null ? null : t1.get$color();
  33850. if (t1 === true)
  33851. buffer._contents += "\x1b[31m\x1b[1m";
  33852. buffer._contents += "Unexpected exception:";
  33853. t1 = options;
  33854. t1 = t1 == null ? null : t1.get$color();
  33855. if (t1 === true)
  33856. buffer._contents += "\x1b[0m";
  33857. buffer._contents += "\n";
  33858. t1 = buffer;
  33859. t2 = A.S(error0) + "\n";
  33860. t1._contents += t2;
  33861. buffer._contents += "\n";
  33862. buffer._contents += "\n";
  33863. t2 = buffer;
  33864. t1 = A.getTrace(error0);
  33865. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33866. t2._contents += t1;
  33867. A.printError(buffer);
  33868. t1 = A.isNodeJs() ? self.process : null;
  33869. if (t1 != null)
  33870. J.set$exitCode$x(t1, 255);
  33871. }
  33872. // goto after finally
  33873. $async$goto = 6;
  33874. break;
  33875. case 3:
  33876. // uncaught
  33877. // goto rethrow
  33878. $async$goto = 2;
  33879. break;
  33880. case 6:
  33881. // after finally
  33882. case 1:
  33883. // return
  33884. return A._asyncReturn($async$returnValue, $async$completer);
  33885. case 2:
  33886. // rethrow
  33887. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33888. }
  33889. });
  33890. return A._asyncStartSync($async$main1, $async$completer);
  33891. },
  33892. _loadVersion() {
  33893. var $async$goto = 0,
  33894. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33895. $async$returnValue;
  33896. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33897. if ($async$errorCode === 1)
  33898. return A._asyncRethrow($async$result, $async$completer);
  33899. for (;;)
  33900. switch ($async$goto) {
  33901. case 0:
  33902. // Function start
  33903. $async$returnValue = "1.94.2 compiled with dart2js 3.10.1";
  33904. // goto return
  33905. $async$goto = 1;
  33906. break;
  33907. case 1:
  33908. // return
  33909. return A._asyncReturn($async$returnValue, $async$completer);
  33910. }
  33911. });
  33912. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33913. },
  33914. SpanExtensions_trimLeft0(_this) {
  33915. var t1, start = 0;
  33916. for (;;) {
  33917. t1 = _this.get$text().charCodeAt(start);
  33918. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33919. break;
  33920. ++start;
  33921. }
  33922. return A.FileSpanExtension_subspan(_this, start, null);
  33923. },
  33924. SpanExtensions_trimRight0(_this) {
  33925. var t1,
  33926. end = _this.get$text().length - 1;
  33927. for (;;) {
  33928. t1 = _this.get$text().charCodeAt(end);
  33929. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33930. break;
  33931. --end;
  33932. }
  33933. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33934. },
  33935. SpanExtensions_initialIdentifier0(_this) {
  33936. var i,
  33937. scanner = A.StringScanner$(_this.get$text(), null, null);
  33938. for (i = 0; false; ++i)
  33939. scanner.readChar$0();
  33940. A._scanIdentifier0(scanner);
  33941. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33942. },
  33943. SpanExtensions_between(_this, other) {
  33944. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33945. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33946. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33947. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33948. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33949. },
  33950. SpanExtensions_before(_this, inner) {
  33951. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33952. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33953. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33954. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33955. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33956. },
  33957. SpanExtensions_after(_this, inner) {
  33958. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33959. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33960. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33961. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33962. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33963. },
  33964. _scanIdentifier0(scanner) {
  33965. var t1, _0_0, t2;
  33966. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33967. _0_0 = scanner.peekChar$0();
  33968. if (92 === _0_0) {
  33969. A.consumeEscapedCharacter0(scanner);
  33970. continue;
  33971. }
  33972. if (A._isInt(_0_0)) {
  33973. if (_0_0 !== 95) {
  33974. if (!(_0_0 >= 97 && _0_0 <= 122))
  33975. t2 = _0_0 >= 65 && _0_0 <= 90;
  33976. else
  33977. t2 = true;
  33978. t2 = t2 || _0_0 >= 128;
  33979. } else
  33980. t2 = true;
  33981. if (!t2)
  33982. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33983. else
  33984. t2 = true;
  33985. } else
  33986. t2 = false;
  33987. if (t2) {
  33988. scanner.readChar$0();
  33989. continue;
  33990. }
  33991. break;
  33992. }
  33993. },
  33994. validateUrlScheme(scheme) {
  33995. var t1 = $.$get$_urlSchemeRegExp();
  33996. if (!t1._nativeRegExp.test(scheme))
  33997. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33998. },
  33999. hueToRgb0(m1, m2, hue) {
  34000. var t1;
  34001. if (hue < 0)
  34002. ++hue;
  34003. if (hue > 1)
  34004. --hue;
  34005. $label0$0: {
  34006. if (hue < 0.16666666666666666) {
  34007. t1 = m1 + (m2 - m1) * hue * 6;
  34008. break $label0$0;
  34009. }
  34010. if (hue < 0.5) {
  34011. t1 = m2;
  34012. break $label0$0;
  34013. }
  34014. if (hue < 0.6666666666666666) {
  34015. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  34016. break $label0$0;
  34017. }
  34018. t1 = m1;
  34019. break $label0$0;
  34020. }
  34021. return t1;
  34022. },
  34023. srgbAndDisplayP3ToLinear0(channel) {
  34024. var abs = Math.abs(channel);
  34025. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  34026. },
  34027. srgbAndDisplayP3FromLinear0(channel) {
  34028. var abs = Math.abs(channel);
  34029. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  34030. },
  34031. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  34032. var t3, t4, chroma, hue,
  34033. t1 = a == null,
  34034. t2 = t1 ? 0 : a;
  34035. t2 = Math.pow(t2, 2);
  34036. t3 = b == null;
  34037. t4 = t3 ? 0 : b;
  34038. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  34039. if (missingHue || A.fuzzyEquals0(chroma, 0))
  34040. hue = null;
  34041. else {
  34042. t2 = t3 ? 0 : b;
  34043. t1 = t1 ? 0 : a;
  34044. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  34045. }
  34046. t1 = missingChroma ? null : chroma;
  34047. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  34048. },
  34049. unwrapValue(object) {
  34050. var value;
  34051. if (object != null) {
  34052. if (object instanceof A.Value0)
  34053. return object;
  34054. value = object.dartValue;
  34055. if (value != null && value instanceof A.Value0)
  34056. return value;
  34057. if (object instanceof self.Error)
  34058. throw A.wrapException(object);
  34059. }
  34060. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  34061. },
  34062. wrapValue(value) {
  34063. var t1;
  34064. $label0$0: {
  34065. if (value instanceof A.SassColor0) {
  34066. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  34067. break $label0$0;
  34068. }
  34069. if (value instanceof A.SassList0) {
  34070. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  34071. break $label0$0;
  34072. }
  34073. if (value instanceof A.SassMap0) {
  34074. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  34075. break $label0$0;
  34076. }
  34077. if (value instanceof A.SassNumber0) {
  34078. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  34079. break $label0$0;
  34080. }
  34081. if (value instanceof A.SassString0) {
  34082. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  34083. break $label0$0;
  34084. }
  34085. t1 = value;
  34086. break $label0$0;
  34087. }
  34088. return t1;
  34089. }
  34090. },
  34091. B = {};
  34092. var holders = [A, J, B];
  34093. var $ = {};
  34094. A.JS_CONST.prototype = {};
  34095. J.Interceptor.prototype = {
  34096. $eq(receiver, other) {
  34097. return receiver === other;
  34098. },
  34099. get$hashCode(receiver) {
  34100. return A.Primitives_objectHashCode(receiver);
  34101. },
  34102. toString$0(receiver) {
  34103. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  34104. },
  34105. noSuchMethod$1(receiver, invocation) {
  34106. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  34107. },
  34108. get$runtimeType(receiver) {
  34109. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  34110. }
  34111. };
  34112. J.JSBool.prototype = {
  34113. toString$0(receiver) {
  34114. return String(receiver);
  34115. },
  34116. $or(receiver, other) {
  34117. return other || receiver;
  34118. },
  34119. get$hashCode(receiver) {
  34120. return receiver ? 519018 : 218159;
  34121. },
  34122. get$runtimeType(receiver) {
  34123. return A.createRuntimeType(type$.bool);
  34124. },
  34125. $isTrustedGetRuntimeType: 1,
  34126. $isbool: 1
  34127. };
  34128. J.JSNull.prototype = {
  34129. $eq(receiver, other) {
  34130. return null == other;
  34131. },
  34132. toString$0(receiver) {
  34133. return "null";
  34134. },
  34135. get$hashCode(receiver) {
  34136. return 0;
  34137. },
  34138. get$runtimeType(receiver) {
  34139. return A.createRuntimeType(type$.Null);
  34140. },
  34141. $isTrustedGetRuntimeType: 1,
  34142. $isNull: 1
  34143. };
  34144. J.JavaScriptObject.prototype = {$isJSObject: 1};
  34145. J.LegacyJavaScriptObject.prototype = {
  34146. get$hashCode(receiver) {
  34147. return 0;
  34148. },
  34149. toString$0(receiver) {
  34150. return String(receiver);
  34151. },
  34152. $isPromise: 1,
  34153. $isJsSystemError: 1,
  34154. $isImmutableList: 1,
  34155. $is_ConstructionOptions: 1,
  34156. $is_ChannelOptions: 1,
  34157. $is_ToGamutOptions: 1,
  34158. $is_InterpolationOptions: 1,
  34159. $is_NodeSassColor: 1,
  34160. $isCompileOptions: 1,
  34161. $isCompileStringOptions: 1,
  34162. $isNodeCompileResult: 1,
  34163. $isDeprecation1: 1,
  34164. $is_NodeException: 1,
  34165. $isJSExpressionVisitorObject: 1,
  34166. $isFiber: 1,
  34167. $isJSFunction0: 1,
  34168. $isImmutableList0: 1,
  34169. $isImmutableMap0: 1,
  34170. $isJSImporter: 1,
  34171. $isJSImporterResult: 1,
  34172. $isNodeImporterResult0: 1,
  34173. $is_ConstructorOptions: 1,
  34174. $is_NodeSassList: 1,
  34175. $isWarnOptions: 1,
  34176. $isDebugOptions: 1,
  34177. $is_NodeSassMap: 1,
  34178. $is_ConstructorOptions0: 1,
  34179. $is_NodeSassNumber: 1,
  34180. $isParserExports: 1,
  34181. $isJSClass0: 1,
  34182. $isRenderContextOptions0: 1,
  34183. $isRenderOptions: 1,
  34184. $isRenderResult: 1,
  34185. $isJSSet: 1,
  34186. $isJSSimpleSelectorVisitorObject: 1,
  34187. $isJSStatementVisitorObject: 1,
  34188. $is_ConstructorOptions1: 1,
  34189. $is_NodeSassString: 1,
  34190. $isJSUrl0: 1,
  34191. get$isTTY(obj) {
  34192. return obj.isTTY;
  34193. },
  34194. get$write(obj) {
  34195. return obj.write;
  34196. },
  34197. write$1(receiver, p0) {
  34198. return receiver.write(p0);
  34199. },
  34200. createInterface$1(receiver, p0) {
  34201. return receiver.createInterface(p0);
  34202. },
  34203. on$2(receiver, p0, p1) {
  34204. return receiver.on(p0, p1);
  34205. },
  34206. get$close(obj) {
  34207. return obj.close;
  34208. },
  34209. close$0(receiver) {
  34210. return receiver.close();
  34211. },
  34212. setPrompt$1(receiver, p0) {
  34213. return receiver.setPrompt(p0);
  34214. },
  34215. get$length(obj) {
  34216. return obj.length;
  34217. },
  34218. toString$0(receiver) {
  34219. return receiver.toString();
  34220. },
  34221. get$debug(obj) {
  34222. return obj.debug;
  34223. },
  34224. debug$2(receiver, p0, p1) {
  34225. return receiver.debug(p0, p1);
  34226. },
  34227. get$error(obj) {
  34228. return obj.error;
  34229. },
  34230. error$1(receiver, p0) {
  34231. return receiver.error(p0);
  34232. },
  34233. error$2(receiver, p0, p1) {
  34234. return receiver.error(p0, p1);
  34235. },
  34236. log$1(receiver, p0) {
  34237. return receiver.log(p0);
  34238. },
  34239. get$warn(obj) {
  34240. return obj.warn;
  34241. },
  34242. warn$1(receiver, p0) {
  34243. return receiver.warn(p0);
  34244. },
  34245. warn$2(receiver, p0, p1) {
  34246. return receiver.warn(p0, p1);
  34247. },
  34248. existsSync$1(receiver, p0) {
  34249. return receiver.existsSync(p0);
  34250. },
  34251. lstatSync$1(receiver, p0) {
  34252. return receiver.lstatSync(p0);
  34253. },
  34254. mkdirSync$1(receiver, p0) {
  34255. return receiver.mkdirSync(p0);
  34256. },
  34257. readdirSync$1(receiver, p0) {
  34258. return receiver.readdirSync(p0);
  34259. },
  34260. readFileSync$2(receiver, p0, p1) {
  34261. return receiver.readFileSync(p0, p1);
  34262. },
  34263. get$realpathSync(obj) {
  34264. return obj.realpathSync;
  34265. },
  34266. statSync$1(receiver, p0) {
  34267. return receiver.statSync(p0);
  34268. },
  34269. unlinkSync$1(receiver, p0) {
  34270. return receiver.unlinkSync(p0);
  34271. },
  34272. watch$2(receiver, p0, p1) {
  34273. return receiver.watch(p0, p1);
  34274. },
  34275. writeFileSync$2(receiver, p0, p1) {
  34276. return receiver.writeFileSync(p0, p1);
  34277. },
  34278. call$1(receiver, p0) {
  34279. return receiver.call(p0);
  34280. },
  34281. call$2(receiver, p0, p1) {
  34282. return receiver.call(p0, p1);
  34283. },
  34284. call$3$1(receiver, p0) {
  34285. return receiver.call(p0);
  34286. },
  34287. call$2$1(receiver, p0) {
  34288. return receiver.call(p0);
  34289. },
  34290. call$1$1(receiver, p0) {
  34291. return receiver.call(p0);
  34292. },
  34293. call$3(receiver, p0, p1, p2) {
  34294. return receiver.call(p0, p1, p2);
  34295. },
  34296. call$3$3(receiver, p0, p1, p2) {
  34297. return receiver.call(p0, p1, p2);
  34298. },
  34299. call$2$2(receiver, p0, p1) {
  34300. return receiver.call(p0, p1);
  34301. },
  34302. call$1$2(receiver, p0, p1) {
  34303. return receiver.call(p0, p1);
  34304. },
  34305. call$2$3(receiver, p0, p1, p2) {
  34306. return receiver.call(p0, p1, p2);
  34307. },
  34308. native$1(receiver, p0) {
  34309. return receiver.native(p0);
  34310. },
  34311. get$path(obj) {
  34312. return obj.path;
  34313. },
  34314. isDirectory$0(receiver) {
  34315. return receiver.isDirectory();
  34316. },
  34317. isFile$0(receiver) {
  34318. return receiver.isFile();
  34319. },
  34320. isSymbolicLink$0(receiver) {
  34321. return receiver.isSymbolicLink();
  34322. },
  34323. get$mtime(obj) {
  34324. return obj.mtime;
  34325. },
  34326. then$2(receiver, p0, p1) {
  34327. return receiver.then(p0, p1);
  34328. },
  34329. then$1$1(receiver, p0) {
  34330. return receiver.then(p0);
  34331. },
  34332. getTime$0(receiver) {
  34333. return receiver.getTime();
  34334. },
  34335. get$message(obj) {
  34336. return obj.message;
  34337. },
  34338. message$1(receiver, p0) {
  34339. return receiver.message(p0);
  34340. },
  34341. get$filename(obj) {
  34342. return obj.filename;
  34343. },
  34344. get$id(obj) {
  34345. return obj.id;
  34346. },
  34347. get$code(obj) {
  34348. return obj.code;
  34349. },
  34350. get$syscall(obj) {
  34351. return obj.syscall;
  34352. },
  34353. get$argv(obj) {
  34354. return obj.argv;
  34355. },
  34356. get$env(obj) {
  34357. return obj.env;
  34358. },
  34359. get$exitCode(obj) {
  34360. return obj.exitCode;
  34361. },
  34362. set$exitCode(obj, v) {
  34363. return obj.exitCode = v;
  34364. },
  34365. get$platform(obj) {
  34366. return obj.platform;
  34367. },
  34368. get$release(obj) {
  34369. return obj.release;
  34370. },
  34371. get$stderr(obj) {
  34372. return obj.stderr;
  34373. },
  34374. get$stdin(obj) {
  34375. return obj.stdin;
  34376. },
  34377. get$stdout(obj) {
  34378. return obj.stdout;
  34379. },
  34380. get$name(obj) {
  34381. return obj.name;
  34382. },
  34383. push$1(receiver, p0) {
  34384. return receiver.push(p0);
  34385. },
  34386. call$0(receiver) {
  34387. return receiver.call();
  34388. },
  34389. call$2$0(receiver) {
  34390. return receiver.call();
  34391. },
  34392. call$1$0(receiver) {
  34393. return receiver.call();
  34394. },
  34395. apply$2(receiver, p0, p1) {
  34396. return receiver.apply(p0, p1);
  34397. },
  34398. toArray$0(receiver) {
  34399. return receiver.toArray();
  34400. },
  34401. asMutable$0(receiver) {
  34402. return receiver.asMutable();
  34403. },
  34404. asImmutable$0(receiver) {
  34405. return receiver.asImmutable();
  34406. },
  34407. $set$2(receiver, p0, p1) {
  34408. return receiver.set(p0, p1);
  34409. },
  34410. forEach$1(receiver, p0) {
  34411. return receiver.forEach(p0);
  34412. },
  34413. get$file(obj) {
  34414. return obj.file;
  34415. },
  34416. get$contents(obj) {
  34417. return obj.contents;
  34418. },
  34419. get$options(obj) {
  34420. return obj.options;
  34421. },
  34422. get$data(obj) {
  34423. return obj.data;
  34424. },
  34425. get$includePaths(obj) {
  34426. return obj.includePaths;
  34427. },
  34428. get$style(obj) {
  34429. return obj.style;
  34430. },
  34431. get$indentType(obj) {
  34432. return obj.indentType;
  34433. },
  34434. get$indentWidth(obj) {
  34435. return obj.indentWidth;
  34436. },
  34437. get$linefeed(obj) {
  34438. return obj.linefeed;
  34439. },
  34440. set$context(obj, v) {
  34441. return obj.context = v;
  34442. },
  34443. createRequire$1(receiver, p0) {
  34444. return receiver.createRequire(p0);
  34445. },
  34446. resolve$1(receiver, p0) {
  34447. return receiver.resolve(p0);
  34448. },
  34449. get$$prototype(obj) {
  34450. return obj.prototype;
  34451. },
  34452. get$red(obj) {
  34453. return obj.red;
  34454. },
  34455. get$green(obj) {
  34456. return obj.green;
  34457. },
  34458. get$blue(obj) {
  34459. return obj.blue;
  34460. },
  34461. get$hue(obj) {
  34462. return obj.hue;
  34463. },
  34464. get$saturation(obj) {
  34465. return obj.saturation;
  34466. },
  34467. get$lightness(obj) {
  34468. return obj.lightness;
  34469. },
  34470. get$whiteness(obj) {
  34471. return obj.whiteness;
  34472. },
  34473. get$blackness(obj) {
  34474. return obj.blackness;
  34475. },
  34476. get$alpha(obj) {
  34477. return obj.alpha;
  34478. },
  34479. get$a(obj) {
  34480. return obj.a;
  34481. },
  34482. get$b(obj) {
  34483. return obj.b;
  34484. },
  34485. get$x(obj) {
  34486. return obj.x;
  34487. },
  34488. get$y(obj) {
  34489. return obj.y;
  34490. },
  34491. get$z(obj) {
  34492. return obj.z;
  34493. },
  34494. get$chroma(obj) {
  34495. return obj.chroma;
  34496. },
  34497. get$space(obj) {
  34498. return obj.space;
  34499. },
  34500. get$method(obj) {
  34501. return obj.method;
  34502. },
  34503. get$weight(obj) {
  34504. return obj.weight;
  34505. },
  34506. get$dartValue(obj) {
  34507. return obj.dartValue;
  34508. },
  34509. set$dartValue(obj, v) {
  34510. return obj.dartValue = v;
  34511. },
  34512. get$alertAscii(obj) {
  34513. return obj.alertAscii;
  34514. },
  34515. get$alertColor(obj) {
  34516. return obj.alertColor;
  34517. },
  34518. get$loadPaths(obj) {
  34519. return obj.loadPaths;
  34520. },
  34521. get$quietDeps(obj) {
  34522. return obj.quietDeps;
  34523. },
  34524. get$verbose(obj) {
  34525. return obj.verbose;
  34526. },
  34527. get$charset(obj) {
  34528. return obj.charset;
  34529. },
  34530. get$sourceMap(obj) {
  34531. return obj.sourceMap;
  34532. },
  34533. get$sourceMapIncludeSources(obj) {
  34534. return obj.sourceMapIncludeSources;
  34535. },
  34536. get$logger(obj) {
  34537. return obj.logger;
  34538. },
  34539. get$importers(obj) {
  34540. return obj.importers;
  34541. },
  34542. get$functions(obj) {
  34543. return obj.functions;
  34544. },
  34545. get$fatalDeprecations(obj) {
  34546. return obj.fatalDeprecations;
  34547. },
  34548. get$silenceDeprecations(obj) {
  34549. return obj.silenceDeprecations;
  34550. },
  34551. get$futureDeprecations(obj) {
  34552. return obj.futureDeprecations;
  34553. },
  34554. get$syntax(obj) {
  34555. return obj.syntax;
  34556. },
  34557. get$url(obj) {
  34558. return obj.url;
  34559. },
  34560. get$importer(obj) {
  34561. return obj.importer;
  34562. },
  34563. get$_dartException(obj) {
  34564. return obj._dartException;
  34565. },
  34566. set$renderSync(obj, v) {
  34567. return obj.renderSync = v;
  34568. },
  34569. set$compileString(obj, v) {
  34570. return obj.compileString = v;
  34571. },
  34572. set$compileStringAsync(obj, v) {
  34573. return obj.compileStringAsync = v;
  34574. },
  34575. set$compile(obj, v) {
  34576. return obj.compile = v;
  34577. },
  34578. set$compileAsync(obj, v) {
  34579. return obj.compileAsync = v;
  34580. },
  34581. set$initCompiler(obj, v) {
  34582. return obj.initCompiler = v;
  34583. },
  34584. set$initAsyncCompiler(obj, v) {
  34585. return obj.initAsyncCompiler = v;
  34586. },
  34587. set$Compiler(obj, v) {
  34588. return obj.Compiler = v;
  34589. },
  34590. set$AsyncCompiler(obj, v) {
  34591. return obj.AsyncCompiler = v;
  34592. },
  34593. set$info(obj, v) {
  34594. return obj.info = v;
  34595. },
  34596. set$Exception(obj, v) {
  34597. return obj.Exception = v;
  34598. },
  34599. set$Logger(obj, v) {
  34600. return obj.Logger = v;
  34601. },
  34602. set$NodePackageImporter(obj, v) {
  34603. return obj.NodePackageImporter = v;
  34604. },
  34605. set$deprecations(obj, v) {
  34606. return obj.deprecations = v;
  34607. },
  34608. set$Version(obj, v) {
  34609. return obj.Version = v;
  34610. },
  34611. set$Value(obj, v) {
  34612. return obj.Value = v;
  34613. },
  34614. set$SassArgumentList(obj, v) {
  34615. return obj.SassArgumentList = v;
  34616. },
  34617. set$SassCalculation(obj, v) {
  34618. return obj.SassCalculation = v;
  34619. },
  34620. set$CalculationOperation(obj, v) {
  34621. return obj.CalculationOperation = v;
  34622. },
  34623. set$CalculationInterpolation(obj, v) {
  34624. return obj.CalculationInterpolation = v;
  34625. },
  34626. set$SassBoolean(obj, v) {
  34627. return obj.SassBoolean = v;
  34628. },
  34629. set$SassColor(obj, v) {
  34630. return obj.SassColor = v;
  34631. },
  34632. set$SassFunction(obj, v) {
  34633. return obj.SassFunction = v;
  34634. },
  34635. set$SassMixin(obj, v) {
  34636. return obj.SassMixin = v;
  34637. },
  34638. set$SassList(obj, v) {
  34639. return obj.SassList = v;
  34640. },
  34641. set$SassMap(obj, v) {
  34642. return obj.SassMap = v;
  34643. },
  34644. set$SassNumber(obj, v) {
  34645. return obj.SassNumber = v;
  34646. },
  34647. set$SassString(obj, v) {
  34648. return obj.SassString = v;
  34649. },
  34650. set$sassNull(obj, v) {
  34651. return obj.sassNull = v;
  34652. },
  34653. set$sassTrue(obj, v) {
  34654. return obj.sassTrue = v;
  34655. },
  34656. set$sassFalse(obj, v) {
  34657. return obj.sassFalse = v;
  34658. },
  34659. set$render(obj, v) {
  34660. return obj.render = v;
  34661. },
  34662. set$types(obj, v) {
  34663. return obj.types = v;
  34664. },
  34665. set$NULL(obj, v) {
  34666. return obj.NULL = v;
  34667. },
  34668. set$TRUE(obj, v) {
  34669. return obj.TRUE = v;
  34670. },
  34671. set$FALSE(obj, v) {
  34672. return obj.FALSE = v;
  34673. },
  34674. set$loadParserExports_(obj, v) {
  34675. return obj.loadParserExports_ = v;
  34676. },
  34677. visitBinaryOperationExpression$1(receiver, p0) {
  34678. return receiver.visitBinaryOperationExpression(p0);
  34679. },
  34680. visitBooleanExpression$1(receiver, p0) {
  34681. return receiver.visitBooleanExpression(p0);
  34682. },
  34683. visitColorExpression$1(receiver, p0) {
  34684. return receiver.visitColorExpression(p0);
  34685. },
  34686. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34687. return receiver.visitInterpolatedFunctionExpression(p0);
  34688. },
  34689. visitFunctionExpression$1(receiver, p0) {
  34690. return receiver.visitFunctionExpression(p0);
  34691. },
  34692. visitIfExpression$1(receiver, p0) {
  34693. return receiver.visitIfExpression(p0);
  34694. },
  34695. visitListExpression$1(receiver, p0) {
  34696. return receiver.visitListExpression(p0);
  34697. },
  34698. visitMapExpression$1(receiver, p0) {
  34699. return receiver.visitMapExpression(p0);
  34700. },
  34701. visitNullExpression$1(receiver, p0) {
  34702. return receiver.visitNullExpression(p0);
  34703. },
  34704. visitNumberExpression$1(receiver, p0) {
  34705. return receiver.visitNumberExpression(p0);
  34706. },
  34707. visitParenthesizedExpression$1(receiver, p0) {
  34708. return receiver.visitParenthesizedExpression(p0);
  34709. },
  34710. visitSelectorExpression$1(receiver, p0) {
  34711. return receiver.visitSelectorExpression(p0);
  34712. },
  34713. visitStringExpression$1(receiver, p0) {
  34714. return receiver.visitStringExpression(p0);
  34715. },
  34716. visitSupportsExpression$1(receiver, p0) {
  34717. return receiver.visitSupportsExpression(p0);
  34718. },
  34719. visitUnaryOperationExpression$1(receiver, p0) {
  34720. return receiver.visitUnaryOperationExpression(p0);
  34721. },
  34722. visitValueExpression$1(receiver, p0) {
  34723. return receiver.visitValueExpression(p0);
  34724. },
  34725. visitVariableExpression$1(receiver, p0) {
  34726. return receiver.visitVariableExpression(p0);
  34727. },
  34728. get$current(obj) {
  34729. return obj.current;
  34730. },
  34731. yield$0(receiver) {
  34732. return receiver.yield();
  34733. },
  34734. run$1$1(receiver, p0) {
  34735. return receiver.run(p0);
  34736. },
  34737. run$1(receiver, p0) {
  34738. return receiver.run(p0);
  34739. },
  34740. run$0(receiver) {
  34741. return receiver.run();
  34742. },
  34743. get$canonicalize(obj) {
  34744. return obj.canonicalize;
  34745. },
  34746. canonicalize$1(receiver, p0) {
  34747. return receiver.canonicalize(p0);
  34748. },
  34749. get$load(obj) {
  34750. return obj.load;
  34751. },
  34752. load$1(receiver, p0) {
  34753. return receiver.load(p0);
  34754. },
  34755. get$findFileUrl(obj) {
  34756. return obj.findFileUrl;
  34757. },
  34758. get$nonCanonicalScheme(obj) {
  34759. return obj.nonCanonicalScheme;
  34760. },
  34761. get$sourceMapUrl(obj) {
  34762. return obj.sourceMapUrl;
  34763. },
  34764. get$separator(obj) {
  34765. return obj.separator;
  34766. },
  34767. get$brackets(obj) {
  34768. return obj.brackets;
  34769. },
  34770. get$numeratorUnits(obj) {
  34771. return obj.numeratorUnits;
  34772. },
  34773. get$denominatorUnits(obj) {
  34774. return obj.denominatorUnits;
  34775. },
  34776. get$pkgImporter(obj) {
  34777. return obj.pkgImporter;
  34778. },
  34779. get$indentedSyntax(obj) {
  34780. return obj.indentedSyntax;
  34781. },
  34782. get$omitSourceMapUrl(obj) {
  34783. return obj.omitSourceMapUrl;
  34784. },
  34785. get$outFile(obj) {
  34786. return obj.outFile;
  34787. },
  34788. get$outputStyle(obj) {
  34789. return obj.outputStyle;
  34790. },
  34791. get$fiber(obj) {
  34792. return obj.fiber;
  34793. },
  34794. get$sourceMapContents(obj) {
  34795. return obj.sourceMapContents;
  34796. },
  34797. get$sourceMapEmbed(obj) {
  34798. return obj.sourceMapEmbed;
  34799. },
  34800. get$sourceMapRoot(obj) {
  34801. return obj.sourceMapRoot;
  34802. },
  34803. set$cli_pkg_main_0_(obj, v) {
  34804. return obj.cli_pkg_main_0_ = v;
  34805. },
  34806. visitAttributeSelector$1(receiver, p0) {
  34807. return receiver.visitAttributeSelector(p0);
  34808. },
  34809. visitClassSelector$1(receiver, p0) {
  34810. return receiver.visitClassSelector(p0);
  34811. },
  34812. visitIDSelector$1(receiver, p0) {
  34813. return receiver.visitIDSelector(p0);
  34814. },
  34815. visitParentSelector$1(receiver, p0) {
  34816. return receiver.visitParentSelector(p0);
  34817. },
  34818. visitPlaceholderSelector$1(receiver, p0) {
  34819. return receiver.visitPlaceholderSelector(p0);
  34820. },
  34821. visitPseudoSelector$1(receiver, p0) {
  34822. return receiver.visitPseudoSelector(p0);
  34823. },
  34824. visitTypeSelector$1(receiver, p0) {
  34825. return receiver.visitTypeSelector(p0);
  34826. },
  34827. visitUniversalSelector$1(receiver, p0) {
  34828. return receiver.visitUniversalSelector(p0);
  34829. },
  34830. visitAtRootRule$1(receiver, p0) {
  34831. return receiver.visitAtRootRule(p0);
  34832. },
  34833. visitAtRule$1(receiver, p0) {
  34834. return receiver.visitAtRule(p0);
  34835. },
  34836. get$visitContentBlock(obj) {
  34837. return obj.visitContentBlock;
  34838. },
  34839. visitContentBlock$1(receiver, p0) {
  34840. return receiver.visitContentBlock(p0);
  34841. },
  34842. visitContentRule$1(receiver, p0) {
  34843. return receiver.visitContentRule(p0);
  34844. },
  34845. visitDebugRule$1(receiver, p0) {
  34846. return receiver.visitDebugRule(p0);
  34847. },
  34848. visitDeclaration$1(receiver, p0) {
  34849. return receiver.visitDeclaration(p0);
  34850. },
  34851. visitEachRule$1(receiver, p0) {
  34852. return receiver.visitEachRule(p0);
  34853. },
  34854. visitErrorRule$1(receiver, p0) {
  34855. return receiver.visitErrorRule(p0);
  34856. },
  34857. visitExtendRule$1(receiver, p0) {
  34858. return receiver.visitExtendRule(p0);
  34859. },
  34860. visitForRule$1(receiver, p0) {
  34861. return receiver.visitForRule(p0);
  34862. },
  34863. visitForwardRule$1(receiver, p0) {
  34864. return receiver.visitForwardRule(p0);
  34865. },
  34866. visitFunctionRule$1(receiver, p0) {
  34867. return receiver.visitFunctionRule(p0);
  34868. },
  34869. visitIfRule$1(receiver, p0) {
  34870. return receiver.visitIfRule(p0);
  34871. },
  34872. visitImportRule$1(receiver, p0) {
  34873. return receiver.visitImportRule(p0);
  34874. },
  34875. visitIncludeRule$1(receiver, p0) {
  34876. return receiver.visitIncludeRule(p0);
  34877. },
  34878. visitLoudComment$1(receiver, p0) {
  34879. return receiver.visitLoudComment(p0);
  34880. },
  34881. visitMediaRule$1(receiver, p0) {
  34882. return receiver.visitMediaRule(p0);
  34883. },
  34884. visitMixinRule$1(receiver, p0) {
  34885. return receiver.visitMixinRule(p0);
  34886. },
  34887. visitReturnRule$1(receiver, p0) {
  34888. return receiver.visitReturnRule(p0);
  34889. },
  34890. visitSilentComment$1(receiver, p0) {
  34891. return receiver.visitSilentComment(p0);
  34892. },
  34893. visitStyleRule$1(receiver, p0) {
  34894. return receiver.visitStyleRule(p0);
  34895. },
  34896. visitStylesheet$1(receiver, p0) {
  34897. return receiver.visitStylesheet(p0);
  34898. },
  34899. visitSupportsRule$1(receiver, p0) {
  34900. return receiver.visitSupportsRule(p0);
  34901. },
  34902. visitUseRule$1(receiver, p0) {
  34903. return receiver.visitUseRule(p0);
  34904. },
  34905. visitVariableDeclaration$1(receiver, p0) {
  34906. return receiver.visitVariableDeclaration(p0);
  34907. },
  34908. visitWarnRule$1(receiver, p0) {
  34909. return receiver.visitWarnRule(p0);
  34910. },
  34911. visitWhileRule$1(receiver, p0) {
  34912. return receiver.visitWhileRule(p0);
  34913. },
  34914. get$quotes(obj) {
  34915. return obj.quotes;
  34916. }
  34917. };
  34918. J.PlainJavaScriptObject.prototype = {};
  34919. J.UnknownJavaScriptObject.prototype = {};
  34920. J.JavaScriptFunction.prototype = {
  34921. toString$0(receiver) {
  34922. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34923. if (dartClosure == null)
  34924. return this.super$LegacyJavaScriptObject$toString(receiver);
  34925. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34926. },
  34927. $isFunction: 1
  34928. };
  34929. J.JavaScriptBigInt.prototype = {
  34930. get$hashCode(receiver) {
  34931. return 0;
  34932. },
  34933. toString$0(receiver) {
  34934. return String(receiver);
  34935. }
  34936. };
  34937. J.JavaScriptSymbol.prototype = {
  34938. get$hashCode(receiver) {
  34939. return 0;
  34940. },
  34941. toString$0(receiver) {
  34942. return String(receiver);
  34943. }
  34944. };
  34945. J.JSArray.prototype = {
  34946. cast$1$0(receiver, $R) {
  34947. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34948. },
  34949. add$1(receiver, value) {
  34950. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34951. receiver.push(value);
  34952. },
  34953. removeAt$1(receiver, index) {
  34954. var t1;
  34955. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34956. t1 = receiver.length;
  34957. if (index >= t1)
  34958. throw A.wrapException(A.RangeError$value(index, null, null));
  34959. return receiver.splice(index, 1)[0];
  34960. },
  34961. insert$2(receiver, index, value) {
  34962. var t1;
  34963. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34964. t1 = receiver.length;
  34965. if (index > t1)
  34966. throw A.wrapException(A.RangeError$value(index, null, null));
  34967. receiver.splice(index, 0, value);
  34968. },
  34969. insertAll$2(receiver, index, iterable) {
  34970. var insertionLength, end;
  34971. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34972. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34973. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34974. iterable = J.toList$0$ax(iterable);
  34975. insertionLength = J.get$length$asx(iterable);
  34976. receiver.length = receiver.length + insertionLength;
  34977. end = index + insertionLength;
  34978. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34979. this.setRange$3(receiver, index, end, iterable);
  34980. },
  34981. removeLast$0(receiver) {
  34982. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34983. if (receiver.length === 0)
  34984. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34985. return receiver.pop();
  34986. },
  34987. _removeWhere$2(receiver, test, removeMatching) {
  34988. var i, element, t1, retained = [],
  34989. end = receiver.length;
  34990. for (i = 0; i < end; ++i) {
  34991. element = receiver[i];
  34992. if (!test.call$1(element))
  34993. retained.push(element);
  34994. if (receiver.length !== end)
  34995. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34996. }
  34997. t1 = retained.length;
  34998. if (t1 === end)
  34999. return;
  35000. this.set$length(receiver, t1);
  35001. for (i = 0; i < retained.length; ++i)
  35002. receiver[i] = retained[i];
  35003. },
  35004. where$1(receiver, f) {
  35005. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  35006. },
  35007. expand$1$1(receiver, f, $T) {
  35008. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  35009. },
  35010. addAll$1(receiver, collection) {
  35011. var t1;
  35012. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  35013. if (Array.isArray(collection)) {
  35014. this._addAllFromArray$1(receiver, collection);
  35015. return;
  35016. }
  35017. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  35018. receiver.push(t1.get$current(t1));
  35019. },
  35020. _addAllFromArray$1(receiver, array) {
  35021. var i,
  35022. len = array.length;
  35023. if (len === 0)
  35024. return;
  35025. if (receiver === array)
  35026. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35027. for (i = 0; i < len; ++i)
  35028. receiver.push(array[i]);
  35029. },
  35030. clear$0(receiver) {
  35031. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  35032. receiver.length = 0;
  35033. },
  35034. forEach$1(receiver, f) {
  35035. var i,
  35036. end = receiver.length;
  35037. for (i = 0; i < end; ++i) {
  35038. f.call$1(receiver[i]);
  35039. if (receiver.length !== end)
  35040. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35041. }
  35042. },
  35043. map$1$1(receiver, f, $T) {
  35044. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35045. },
  35046. join$1(receiver, separator) {
  35047. var i,
  35048. list = A.List_List$filled(receiver.length, "", false, type$.String);
  35049. for (i = 0; i < receiver.length; ++i)
  35050. list[i] = A.S(receiver[i]);
  35051. return list.join(separator);
  35052. },
  35053. join$0(receiver) {
  35054. return this.join$1(receiver, "");
  35055. },
  35056. take$1(receiver, n) {
  35057. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  35058. },
  35059. skip$1(receiver, n) {
  35060. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  35061. },
  35062. fold$1$2(receiver, initialValue, combine) {
  35063. var value, i,
  35064. $length = receiver.length;
  35065. for (value = initialValue, i = 0; i < $length; ++i) {
  35066. value = combine.call$2(value, receiver[i]);
  35067. if (receiver.length !== $length)
  35068. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35069. }
  35070. return value;
  35071. },
  35072. fold$2(receiver, initialValue, combine) {
  35073. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  35074. },
  35075. firstWhere$1(receiver, test) {
  35076. var i, element,
  35077. end = receiver.length;
  35078. for (i = 0; i < end; ++i) {
  35079. element = receiver[i];
  35080. if (test.call$1(element))
  35081. return element;
  35082. if (receiver.length !== end)
  35083. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35084. }
  35085. throw A.wrapException(A.IterableElementError_noElement());
  35086. },
  35087. elementAt$1(receiver, index) {
  35088. return receiver[index];
  35089. },
  35090. sublist$2(receiver, start, end) {
  35091. var end0 = receiver.length;
  35092. if (start > end0)
  35093. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  35094. if (end == null)
  35095. end = end0;
  35096. else if (end < start || end > end0)
  35097. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  35098. if (start === end)
  35099. return A._setArrayType([], A._arrayInstanceType(receiver));
  35100. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  35101. },
  35102. sublist$1(receiver, start) {
  35103. return this.sublist$2(receiver, start, null);
  35104. },
  35105. getRange$2(receiver, start, end) {
  35106. A.RangeError_checkValidRange(start, end, receiver.length);
  35107. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  35108. },
  35109. get$first(receiver) {
  35110. if (receiver.length > 0)
  35111. return receiver[0];
  35112. throw A.wrapException(A.IterableElementError_noElement());
  35113. },
  35114. get$last(receiver) {
  35115. var t1 = receiver.length;
  35116. if (t1 > 0)
  35117. return receiver[t1 - 1];
  35118. throw A.wrapException(A.IterableElementError_noElement());
  35119. },
  35120. get$single(receiver) {
  35121. var t1 = receiver.length;
  35122. if (t1 === 1)
  35123. return receiver[0];
  35124. if (t1 === 0)
  35125. throw A.wrapException(A.IterableElementError_noElement());
  35126. throw A.wrapException(A.IterableElementError_tooMany());
  35127. },
  35128. removeRange$2(receiver, start, end) {
  35129. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  35130. A.RangeError_checkValidRange(start, end, receiver.length);
  35131. receiver.splice(start, end - start);
  35132. },
  35133. setRange$4(receiver, start, end, iterable, skipCount) {
  35134. var $length, otherList, otherStart, t1, i;
  35135. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  35136. A.RangeError_checkValidRange(start, end, receiver.length);
  35137. $length = end - start;
  35138. if ($length === 0)
  35139. return;
  35140. A.RangeError_checkNotNegative(skipCount, "skipCount");
  35141. if (type$.List_dynamic._is(iterable)) {
  35142. otherList = iterable;
  35143. otherStart = skipCount;
  35144. } else {
  35145. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  35146. otherStart = 0;
  35147. }
  35148. t1 = J.getInterceptor$asx(otherList);
  35149. if (otherStart + $length > t1.get$length(otherList))
  35150. throw A.wrapException(A.IterableElementError_tooFew());
  35151. if (otherStart < start)
  35152. for (i = $length - 1; i >= 0; --i)
  35153. receiver[start + i] = t1.$index(otherList, otherStart + i);
  35154. else
  35155. for (i = 0; i < $length; ++i)
  35156. receiver[start + i] = t1.$index(otherList, otherStart + i);
  35157. },
  35158. setRange$3(receiver, start, end, iterable) {
  35159. return this.setRange$4(receiver, start, end, iterable, 0);
  35160. },
  35161. fillRange$3(receiver, start, end, fillValue) {
  35162. var i;
  35163. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  35164. A.RangeError_checkValidRange(start, end, receiver.length);
  35165. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  35166. for (i = start; i < end; ++i)
  35167. receiver[i] = fillValue;
  35168. },
  35169. any$1(receiver, test) {
  35170. var i,
  35171. end = receiver.length;
  35172. for (i = 0; i < end; ++i) {
  35173. if (test.call$1(receiver[i]))
  35174. return true;
  35175. if (receiver.length !== end)
  35176. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35177. }
  35178. return false;
  35179. },
  35180. every$1(receiver, test) {
  35181. var i,
  35182. end = receiver.length;
  35183. for (i = 0; i < end; ++i) {
  35184. if (!test.call$1(receiver[i]))
  35185. return false;
  35186. if (receiver.length !== end)
  35187. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  35188. }
  35189. return true;
  35190. },
  35191. get$reversed(receiver) {
  35192. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  35193. },
  35194. sort$1(receiver, compare) {
  35195. var len, a, b, undefineds, i;
  35196. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  35197. len = receiver.length;
  35198. if (len < 2)
  35199. return;
  35200. if (compare == null)
  35201. compare = J._interceptors_JSArray__compareAny$closure();
  35202. if (len === 2) {
  35203. a = receiver[0];
  35204. b = receiver[1];
  35205. if (compare.call$2(a, b) > 0) {
  35206. receiver[0] = b;
  35207. receiver[1] = a;
  35208. }
  35209. return;
  35210. }
  35211. undefineds = 0;
  35212. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  35213. for (i = 0; i < receiver.length; ++i)
  35214. if (receiver[i] === void 0) {
  35215. receiver[i] = null;
  35216. ++undefineds;
  35217. }
  35218. receiver.sort(A.convertDartClosureToJS(compare, 2));
  35219. if (undefineds > 0)
  35220. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  35221. },
  35222. sort$0(receiver) {
  35223. return this.sort$1(receiver, null);
  35224. },
  35225. _replaceSomeNullsWithUndefined$1(receiver, count) {
  35226. var i0,
  35227. i = receiver.length;
  35228. for (; i0 = i - 1, i > 0; i = i0)
  35229. if (receiver[i0] === null) {
  35230. receiver[i0] = void 0;
  35231. --count;
  35232. if (count === 0)
  35233. break;
  35234. }
  35235. },
  35236. indexOf$1(receiver, element) {
  35237. var i,
  35238. $length = receiver.length;
  35239. if (0 >= $length)
  35240. return -1;
  35241. for (i = 0; i < $length; ++i)
  35242. if (J.$eq$(receiver[i], element))
  35243. return i;
  35244. return -1;
  35245. },
  35246. contains$1(receiver, other) {
  35247. var i;
  35248. for (i = 0; i < receiver.length; ++i)
  35249. if (J.$eq$(receiver[i], other))
  35250. return true;
  35251. return false;
  35252. },
  35253. get$isEmpty(receiver) {
  35254. return receiver.length === 0;
  35255. },
  35256. get$isNotEmpty(receiver) {
  35257. return receiver.length !== 0;
  35258. },
  35259. toString$0(receiver) {
  35260. return A.Iterable_iterableToFullString(receiver, "[", "]");
  35261. },
  35262. toList$1$growable(receiver, growable) {
  35263. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  35264. return t1;
  35265. },
  35266. toList$0(receiver) {
  35267. return this.toList$1$growable(receiver, true);
  35268. },
  35269. toSet$0(receiver) {
  35270. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35271. },
  35272. get$iterator(receiver) {
  35273. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  35274. },
  35275. get$hashCode(receiver) {
  35276. return A.Primitives_objectHashCode(receiver);
  35277. },
  35278. get$length(receiver) {
  35279. return receiver.length;
  35280. },
  35281. set$length(receiver, newLength) {
  35282. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  35283. if (newLength < 0)
  35284. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  35285. if (newLength > receiver.length)
  35286. A._arrayInstanceType(receiver)._precomputed1._as(null);
  35287. receiver.length = newLength;
  35288. },
  35289. $index(receiver, index) {
  35290. if (!(index >= 0 && index < receiver.length))
  35291. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35292. return receiver[index];
  35293. },
  35294. $indexSet(receiver, index, value) {
  35295. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  35296. if (!(index >= 0 && index < receiver.length))
  35297. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35298. receiver[index] = value;
  35299. },
  35300. $add(receiver, other) {
  35301. var t1 = A.List_List$_of(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35302. this.addAll$1(t1, other);
  35303. return t1;
  35304. },
  35305. indexWhere$1(receiver, test) {
  35306. var i;
  35307. if (0 >= receiver.length)
  35308. return -1;
  35309. for (i = 0; i < receiver.length; ++i)
  35310. if (test.call$1(receiver[i]))
  35311. return i;
  35312. return -1;
  35313. },
  35314. $isEfficientLengthIterable: 1,
  35315. $isIterable: 1,
  35316. $isList: 1
  35317. };
  35318. J.JSArraySafeToStringHook.prototype = {
  35319. tryFormat$1(array) {
  35320. var flags, info, base;
  35321. if (!Array.isArray(array))
  35322. return null;
  35323. flags = array.$flags | 0;
  35324. if ((flags & 4) !== 0)
  35325. info = "const, ";
  35326. else if ((flags & 2) !== 0)
  35327. info = "unmodifiable, ";
  35328. else
  35329. info = (flags & 1) !== 0 ? "fixed, " : "";
  35330. base = "Instance of '" + A.Primitives_objectTypeName(array) + "'";
  35331. if (info === "")
  35332. return base;
  35333. return base + " (" + info + "length: " + array.length + ")";
  35334. }
  35335. };
  35336. J.JSUnmodifiableArray.prototype = {};
  35337. J.ArrayIterator.prototype = {
  35338. get$current(_) {
  35339. var t1 = this._current;
  35340. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35341. },
  35342. moveNext$0() {
  35343. var t2, _this = this,
  35344. t1 = _this._iterable,
  35345. $length = t1.length;
  35346. if (_this._length !== $length)
  35347. throw A.wrapException(A.throwConcurrentModificationError(t1));
  35348. t2 = _this._index;
  35349. if (t2 >= $length) {
  35350. _this._current = null;
  35351. return false;
  35352. }
  35353. _this._current = t1[t2];
  35354. _this._index = t2 + 1;
  35355. return true;
  35356. }
  35357. };
  35358. J.JSNumber.prototype = {
  35359. compareTo$1(receiver, b) {
  35360. var bIsNegative;
  35361. if (receiver < b)
  35362. return -1;
  35363. else if (receiver > b)
  35364. return 1;
  35365. else if (receiver === b) {
  35366. if (receiver === 0) {
  35367. bIsNegative = this.get$isNegative(b);
  35368. if (this.get$isNegative(receiver) === bIsNegative)
  35369. return 0;
  35370. if (this.get$isNegative(receiver))
  35371. return -1;
  35372. return 1;
  35373. }
  35374. return 0;
  35375. } else if (isNaN(receiver)) {
  35376. if (isNaN(b))
  35377. return 0;
  35378. return 1;
  35379. } else
  35380. return -1;
  35381. },
  35382. get$isNegative(receiver) {
  35383. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35384. },
  35385. get$sign(receiver) {
  35386. var t1;
  35387. if (receiver > 0)
  35388. t1 = 1;
  35389. else
  35390. t1 = receiver < 0 ? -1 : receiver;
  35391. return t1;
  35392. },
  35393. ceil$0(receiver) {
  35394. var truncated, d;
  35395. if (receiver >= 0) {
  35396. if (receiver <= 2147483647) {
  35397. truncated = receiver | 0;
  35398. return receiver === truncated ? truncated : truncated + 1;
  35399. }
  35400. } else if (receiver >= -2147483648)
  35401. return receiver | 0;
  35402. d = Math.ceil(receiver);
  35403. if (isFinite(d))
  35404. return d;
  35405. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35406. },
  35407. floor$0(receiver) {
  35408. var truncated, d;
  35409. if (receiver >= 0) {
  35410. if (receiver <= 2147483647)
  35411. return receiver | 0;
  35412. } else if (receiver >= -2147483648) {
  35413. truncated = receiver | 0;
  35414. return receiver === truncated ? truncated : truncated - 1;
  35415. }
  35416. d = Math.floor(receiver);
  35417. if (isFinite(d))
  35418. return d;
  35419. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35420. },
  35421. round$0(receiver) {
  35422. if (receiver > 0) {
  35423. if (receiver !== 1 / 0)
  35424. return Math.round(receiver);
  35425. } else if (receiver > -1 / 0)
  35426. return 0 - Math.round(0 - receiver);
  35427. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35428. },
  35429. clamp$2(receiver, lowerLimit, upperLimit) {
  35430. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35431. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35432. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35433. return lowerLimit;
  35434. if (this.compareTo$1(receiver, upperLimit) > 0)
  35435. return upperLimit;
  35436. return receiver;
  35437. },
  35438. toRadixString$1(receiver, radix) {
  35439. var result, match, exponent, t1;
  35440. if (radix < 2 || radix > 36)
  35441. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35442. result = receiver.toString(radix);
  35443. if (result.charCodeAt(result.length - 1) !== 41)
  35444. return result;
  35445. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35446. if (match == null)
  35447. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35448. result = match[1];
  35449. exponent = +match[3];
  35450. t1 = match[2];
  35451. if (t1 != null) {
  35452. result += t1;
  35453. exponent -= t1.length;
  35454. }
  35455. return result + B.JSString_methods.$mul("0", exponent);
  35456. },
  35457. toString$0(receiver) {
  35458. if (receiver === 0 && 1 / receiver < 0)
  35459. return "-0.0";
  35460. else
  35461. return "" + receiver;
  35462. },
  35463. get$hashCode(receiver) {
  35464. var absolute, floorLog2, factor, scaled,
  35465. intValue = receiver | 0;
  35466. if (receiver === intValue)
  35467. return intValue & 536870911;
  35468. absolute = Math.abs(receiver);
  35469. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35470. factor = Math.pow(2, floorLog2);
  35471. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35472. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35473. },
  35474. $mod(receiver, other) {
  35475. var result = receiver % other;
  35476. if (result === 0)
  35477. return 0;
  35478. if (result > 0)
  35479. return result;
  35480. if (other < 0)
  35481. return result - other;
  35482. else
  35483. return result + other;
  35484. },
  35485. $tdiv(receiver, other) {
  35486. if ((receiver | 0) === receiver)
  35487. if (other >= 1 || other < -1)
  35488. return receiver / other | 0;
  35489. return this._tdivSlow$1(receiver, other);
  35490. },
  35491. _tdivFast$1(receiver, other) {
  35492. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35493. },
  35494. _tdivSlow$1(receiver, other) {
  35495. var quotient = receiver / other;
  35496. if (quotient >= -2147483648 && quotient <= 2147483647)
  35497. return quotient | 0;
  35498. if (quotient > 0) {
  35499. if (quotient !== 1 / 0)
  35500. return Math.floor(quotient);
  35501. } else if (quotient > -1 / 0)
  35502. return Math.ceil(quotient);
  35503. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35504. },
  35505. _shrOtherPositive$1(receiver, other) {
  35506. var t1;
  35507. if (receiver > 0)
  35508. t1 = this._shrBothPositive$1(receiver, other);
  35509. else {
  35510. t1 = other > 31 ? 31 : other;
  35511. t1 = receiver >> t1 >>> 0;
  35512. }
  35513. return t1;
  35514. },
  35515. _shrReceiverPositive$1(receiver, other) {
  35516. if (0 > other)
  35517. throw A.wrapException(A.argumentErrorValue(other));
  35518. return this._shrBothPositive$1(receiver, other);
  35519. },
  35520. _shrBothPositive$1(receiver, other) {
  35521. return other > 31 ? 0 : receiver >>> other;
  35522. },
  35523. get$runtimeType(receiver) {
  35524. return A.createRuntimeType(type$.num);
  35525. },
  35526. $isComparable: 1,
  35527. $isdouble: 1,
  35528. $isnum: 1
  35529. };
  35530. J.JSInt.prototype = {
  35531. get$sign(receiver) {
  35532. var t1;
  35533. if (receiver > 0)
  35534. t1 = 1;
  35535. else
  35536. t1 = receiver < 0 ? -1 : receiver;
  35537. return t1;
  35538. },
  35539. get$runtimeType(receiver) {
  35540. return A.createRuntimeType(type$.int);
  35541. },
  35542. $isTrustedGetRuntimeType: 1,
  35543. $isint: 1
  35544. };
  35545. J.JSNumNotInt.prototype = {
  35546. get$runtimeType(receiver) {
  35547. return A.createRuntimeType(type$.double);
  35548. },
  35549. $isTrustedGetRuntimeType: 1
  35550. };
  35551. J.JSString.prototype = {
  35552. codeUnitAt$1(receiver, index) {
  35553. if (index < 0)
  35554. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35555. if (index >= receiver.length)
  35556. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35557. return receiver.charCodeAt(index);
  35558. },
  35559. allMatches$2(receiver, string, start) {
  35560. var t1 = string.length;
  35561. if (start > t1)
  35562. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35563. return new A._StringAllMatchesIterable(string, receiver, start);
  35564. },
  35565. allMatches$1(receiver, string) {
  35566. return this.allMatches$2(receiver, string, 0);
  35567. },
  35568. matchAsPrefix$2(receiver, string, start) {
  35569. var t1, i, _null = null;
  35570. if (start < 0 || start > string.length)
  35571. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35572. t1 = receiver.length;
  35573. if (start + t1 > string.length)
  35574. return _null;
  35575. for (i = 0; i < t1; ++i)
  35576. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35577. return _null;
  35578. return new A.StringMatch(start, receiver);
  35579. },
  35580. $add(receiver, other) {
  35581. return receiver + other;
  35582. },
  35583. endsWith$1(receiver, other) {
  35584. var otherLength = other.length,
  35585. t1 = receiver.length;
  35586. if (otherLength > t1)
  35587. return false;
  35588. return other === this.substring$1(receiver, t1 - otherLength);
  35589. },
  35590. replaceFirst$2(receiver, from, to) {
  35591. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35592. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35593. },
  35594. split$1(receiver, pattern) {
  35595. var t1;
  35596. if (typeof pattern == "string")
  35597. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35598. else {
  35599. if (pattern instanceof A.JSSyntaxRegExp) {
  35600. t1 = pattern._hasCapturesCache;
  35601. t1 = !(t1 == null ? pattern._hasCapturesCache = pattern._computeHasCaptures$0() : t1);
  35602. } else
  35603. t1 = false;
  35604. if (t1)
  35605. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35606. else
  35607. return this._defaultSplit$1(receiver, pattern);
  35608. }
  35609. },
  35610. replaceRange$3(receiver, start, end, replacement) {
  35611. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35612. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35613. },
  35614. _defaultSplit$1(receiver, pattern) {
  35615. var t1, start, $length, match, matchStart, matchEnd,
  35616. result = A._setArrayType([], type$.JSArray_String);
  35617. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35618. match = t1.get$current(t1);
  35619. matchStart = match.get$start(match);
  35620. matchEnd = match.get$end(match);
  35621. $length = matchEnd - matchStart;
  35622. if ($length === 0 && start === matchStart)
  35623. continue;
  35624. result.push(this.substring$2(receiver, start, matchStart));
  35625. start = matchEnd;
  35626. }
  35627. if (start < receiver.length || $length > 0)
  35628. result.push(this.substring$1(receiver, start));
  35629. return result;
  35630. },
  35631. startsWith$2(receiver, pattern, index) {
  35632. var endIndex;
  35633. if (index < 0 || index > receiver.length)
  35634. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35635. if (typeof pattern == "string") {
  35636. endIndex = index + pattern.length;
  35637. if (endIndex > receiver.length)
  35638. return false;
  35639. return pattern === receiver.substring(index, endIndex);
  35640. }
  35641. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35642. },
  35643. startsWith$1(receiver, pattern) {
  35644. return this.startsWith$2(receiver, pattern, 0);
  35645. },
  35646. substring$2(receiver, start, end) {
  35647. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35648. },
  35649. substring$1(receiver, start) {
  35650. return this.substring$2(receiver, start, null);
  35651. },
  35652. trim$0(receiver) {
  35653. var startIndex, t1, endIndex0,
  35654. result = receiver.trim(),
  35655. endIndex = result.length;
  35656. if (endIndex === 0)
  35657. return result;
  35658. if (result.charCodeAt(0) === 133) {
  35659. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35660. if (startIndex === endIndex)
  35661. return "";
  35662. } else
  35663. startIndex = 0;
  35664. t1 = endIndex - 1;
  35665. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35666. if (startIndex === 0 && endIndex0 === endIndex)
  35667. return result;
  35668. return result.substring(startIndex, endIndex0);
  35669. },
  35670. trimLeft$0(receiver) {
  35671. var result = receiver.trimStart();
  35672. if (result.length === 0)
  35673. return result;
  35674. if (result.charCodeAt(0) !== 133)
  35675. return result;
  35676. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35677. },
  35678. trimRight$0(receiver) {
  35679. var t1,
  35680. result = receiver.trimEnd(),
  35681. endIndex = result.length;
  35682. if (endIndex === 0)
  35683. return result;
  35684. t1 = endIndex - 1;
  35685. if (result.charCodeAt(t1) !== 133)
  35686. return result;
  35687. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35688. },
  35689. $mul(receiver, times) {
  35690. var s, result;
  35691. if (0 >= times)
  35692. return "";
  35693. if (times === 1 || receiver.length === 0)
  35694. return receiver;
  35695. if (times !== times >>> 0)
  35696. throw A.wrapException(B.C_OutOfMemoryError);
  35697. for (s = receiver, result = "";;) {
  35698. if ((times & 1) === 1)
  35699. result = s + result;
  35700. times = times >>> 1;
  35701. if (times === 0)
  35702. break;
  35703. s += s;
  35704. }
  35705. return result;
  35706. },
  35707. padLeft$2(receiver, width, padding) {
  35708. var delta = width - receiver.length;
  35709. if (delta <= 0)
  35710. return receiver;
  35711. return this.$mul(padding, delta) + receiver;
  35712. },
  35713. padRight$1(receiver, width) {
  35714. var delta = width - receiver.length;
  35715. if (delta <= 0)
  35716. return receiver;
  35717. return receiver + this.$mul(" ", delta);
  35718. },
  35719. indexOf$2(receiver, pattern, start) {
  35720. var t1;
  35721. if (start < 0 || start > receiver.length)
  35722. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35723. t1 = receiver.indexOf(pattern, start);
  35724. return t1;
  35725. },
  35726. indexOf$1(receiver, pattern) {
  35727. return this.indexOf$2(receiver, pattern, 0);
  35728. },
  35729. lastIndexOf$2(receiver, pattern, start) {
  35730. var t1, t2, i;
  35731. if (start == null)
  35732. start = receiver.length;
  35733. else if (start < 0 || start > receiver.length)
  35734. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35735. if (typeof pattern == "string") {
  35736. t1 = pattern.length;
  35737. t2 = receiver.length;
  35738. if (start + t1 > t2)
  35739. start = t2 - t1;
  35740. return receiver.lastIndexOf(pattern, start);
  35741. }
  35742. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35743. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35744. return i;
  35745. return -1;
  35746. },
  35747. lastIndexOf$1(receiver, pattern) {
  35748. return this.lastIndexOf$2(receiver, pattern, null);
  35749. },
  35750. contains$2(receiver, other, startIndex) {
  35751. var t1 = receiver.length;
  35752. if (startIndex > t1)
  35753. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35754. return A.stringContainsUnchecked(receiver, other, startIndex);
  35755. },
  35756. contains$1(receiver, other) {
  35757. return this.contains$2(receiver, other, 0);
  35758. },
  35759. compareTo$1(receiver, other) {
  35760. var t1;
  35761. if (receiver === other)
  35762. t1 = 0;
  35763. else
  35764. t1 = receiver < other ? -1 : 1;
  35765. return t1;
  35766. },
  35767. toString$0(receiver) {
  35768. return receiver;
  35769. },
  35770. get$hashCode(receiver) {
  35771. var t1, hash, i;
  35772. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35773. hash = hash + receiver.charCodeAt(i) & 536870911;
  35774. hash = hash + ((hash & 524287) << 10) & 536870911;
  35775. hash ^= hash >> 6;
  35776. }
  35777. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35778. hash ^= hash >> 11;
  35779. return hash + ((hash & 16383) << 15) & 536870911;
  35780. },
  35781. get$runtimeType(receiver) {
  35782. return A.createRuntimeType(type$.String);
  35783. },
  35784. get$length(receiver) {
  35785. return receiver.length;
  35786. },
  35787. $isTrustedGetRuntimeType: 1,
  35788. $isComparable: 1,
  35789. $isString: 1
  35790. };
  35791. A._CastIterableBase.prototype = {
  35792. get$iterator(_) {
  35793. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35794. },
  35795. get$length(_) {
  35796. return J.get$length$asx(this.get$_source());
  35797. },
  35798. get$isEmpty(_) {
  35799. return J.get$isEmpty$asx(this.get$_source());
  35800. },
  35801. get$isNotEmpty(_) {
  35802. return J.get$isNotEmpty$asx(this.get$_source());
  35803. },
  35804. skip$1(_, count) {
  35805. var t1 = A._instanceType(this);
  35806. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35807. },
  35808. take$1(_, count) {
  35809. var t1 = A._instanceType(this);
  35810. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35811. },
  35812. elementAt$1(_, index) {
  35813. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35814. },
  35815. get$first(_) {
  35816. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35817. },
  35818. get$last(_) {
  35819. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35820. },
  35821. get$single(_) {
  35822. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35823. },
  35824. contains$1(_, other) {
  35825. return J.contains$1$asx(this.get$_source(), other);
  35826. },
  35827. toString$0(_) {
  35828. return J.toString$0$(this.get$_source());
  35829. }
  35830. };
  35831. A.CastIterator.prototype = {
  35832. moveNext$0() {
  35833. return this._source.moveNext$0();
  35834. },
  35835. get$current(_) {
  35836. var t1 = this._source;
  35837. return this.$ti._rest[1]._as(t1.get$current(t1));
  35838. }
  35839. };
  35840. A.CastIterable.prototype = {
  35841. get$_source() {
  35842. return this._source;
  35843. }
  35844. };
  35845. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35846. A._CastListBase.prototype = {
  35847. $index(_, index) {
  35848. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35849. },
  35850. $indexSet(_, index, value) {
  35851. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35852. },
  35853. set$length(_, $length) {
  35854. J.set$length$asx(this._source, $length);
  35855. },
  35856. add$1(_, value) {
  35857. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35858. },
  35859. addAll$1(_, values) {
  35860. var t1 = this.$ti;
  35861. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35862. },
  35863. sort$1(_, compare) {
  35864. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35865. J.sort$1$ax(this._source, t1);
  35866. },
  35867. getRange$2(_, start, end) {
  35868. var t1 = this.$ti;
  35869. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35870. },
  35871. setRange$4(_, start, end, iterable, skipCount) {
  35872. var t1 = this.$ti;
  35873. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35874. },
  35875. removeRange$2(_, start, end) {
  35876. J.removeRange$2$ax(this._source, start, end);
  35877. },
  35878. fillRange$3(_, start, end, fillValue) {
  35879. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35880. },
  35881. $isEfficientLengthIterable: 1,
  35882. $isList: 1
  35883. };
  35884. A._CastListBase_sort_closure.prototype = {
  35885. call$2(v1, v2) {
  35886. var t1 = this.$this.$ti._rest[1];
  35887. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35888. },
  35889. $signature() {
  35890. return this.$this.$ti._eval$1("int(1,1)");
  35891. }
  35892. };
  35893. A.CastList.prototype = {
  35894. cast$1$0(_, $R) {
  35895. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35896. },
  35897. get$_source() {
  35898. return this._source;
  35899. }
  35900. };
  35901. A.CastSet.prototype = {
  35902. add$1(_, value) {
  35903. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35904. },
  35905. addAll$1(_, elements) {
  35906. var t1 = this.$ti;
  35907. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35908. },
  35909. difference$1(other) {
  35910. var _this = this;
  35911. if (_this._emptySet != null)
  35912. return _this._conditionalAdd$2(other, false);
  35913. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35914. },
  35915. _conditionalAdd$2(other, otherContains) {
  35916. var t3, castElement,
  35917. emptySet = this._emptySet,
  35918. t1 = this.$ti,
  35919. t2 = t1._rest[1],
  35920. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35921. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35922. castElement = t1._as(t2.get$current(t2));
  35923. if (otherContains === t3.contains$1(0, castElement))
  35924. result.add$1(0, castElement);
  35925. }
  35926. return result;
  35927. },
  35928. toSet$0(_) {
  35929. var emptySet = this._emptySet,
  35930. t1 = this.$ti._rest[1],
  35931. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35932. result.addAll$1(0, this);
  35933. return result;
  35934. },
  35935. $isEfficientLengthIterable: 1,
  35936. $isSet: 1,
  35937. get$_source() {
  35938. return this._source;
  35939. }
  35940. };
  35941. A.CastMap.prototype = {
  35942. cast$2$0(_, $RK, $RV) {
  35943. return new A.CastMap(this._source, this.$ti._eval$1("@<1,2>")._bind$1($RK)._bind$1($RV)._eval$1("CastMap<1,2,3,4>"));
  35944. },
  35945. containsKey$1(key) {
  35946. return this._source.containsKey$1(key);
  35947. },
  35948. $index(_, key) {
  35949. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35950. },
  35951. $indexSet(_, key, value) {
  35952. var t1 = this.$ti;
  35953. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35954. },
  35955. addAll$1(_, other) {
  35956. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35957. },
  35958. remove$1(_, key) {
  35959. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35960. },
  35961. forEach$1(_, f) {
  35962. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35963. },
  35964. get$keys(_) {
  35965. var t1 = this._source,
  35966. t2 = this.$ti;
  35967. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35968. },
  35969. get$values(_) {
  35970. var t1 = this._source,
  35971. t2 = this.$ti;
  35972. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35973. },
  35974. get$length(_) {
  35975. var t1 = this._source;
  35976. return t1.get$length(t1);
  35977. },
  35978. get$isEmpty(_) {
  35979. var t1 = this._source;
  35980. return t1.get$isEmpty(t1);
  35981. },
  35982. get$isNotEmpty(_) {
  35983. var t1 = this._source;
  35984. return t1.get$isNotEmpty(t1);
  35985. },
  35986. get$entries(_) {
  35987. var t1 = this._source;
  35988. t1 = t1.get$entries(t1);
  35989. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35990. }
  35991. };
  35992. A.CastMap_forEach_closure.prototype = {
  35993. call$2(key, value) {
  35994. var t1 = this.$this.$ti;
  35995. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35996. },
  35997. $signature() {
  35998. return this.$this.$ti._eval$1("~(1,2)");
  35999. }
  36000. };
  36001. A.CastMap_entries_closure.prototype = {
  36002. call$1(e) {
  36003. var t1 = this.$this.$ti;
  36004. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  36005. },
  36006. $signature() {
  36007. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  36008. }
  36009. };
  36010. A.LateError.prototype = {
  36011. toString$0(_) {
  36012. return "LateInitializationError: " + this._message;
  36013. }
  36014. };
  36015. A.CodeUnits.prototype = {
  36016. get$length(_) {
  36017. return this._string.length;
  36018. },
  36019. $index(_, i) {
  36020. return this._string.charCodeAt(i);
  36021. }
  36022. };
  36023. A.nullFuture_closure.prototype = {
  36024. call$0() {
  36025. return A.Future_Future$value(null, type$.void);
  36026. },
  36027. $signature: 30
  36028. };
  36029. A.SentinelValue.prototype = {};
  36030. A.EfficientLengthIterable.prototype = {};
  36031. A.ListIterable.prototype = {
  36032. get$iterator(_) {
  36033. var _this = this;
  36034. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  36035. },
  36036. get$isEmpty(_) {
  36037. return this.get$length(this) === 0;
  36038. },
  36039. get$first(_) {
  36040. if (this.get$length(this) === 0)
  36041. throw A.wrapException(A.IterableElementError_noElement());
  36042. return this.elementAt$1(0, 0);
  36043. },
  36044. get$last(_) {
  36045. var _this = this;
  36046. if (_this.get$length(_this) === 0)
  36047. throw A.wrapException(A.IterableElementError_noElement());
  36048. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  36049. },
  36050. get$single(_) {
  36051. var _this = this;
  36052. if (_this.get$length(_this) === 0)
  36053. throw A.wrapException(A.IterableElementError_noElement());
  36054. if (_this.get$length(_this) > 1)
  36055. throw A.wrapException(A.IterableElementError_tooMany());
  36056. return _this.elementAt$1(0, 0);
  36057. },
  36058. contains$1(_, element) {
  36059. var i, _this = this,
  36060. $length = _this.get$length(_this);
  36061. for (i = 0; i < $length; ++i) {
  36062. if (J.$eq$(_this.elementAt$1(0, i), element))
  36063. return true;
  36064. if ($length !== _this.get$length(_this))
  36065. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36066. }
  36067. return false;
  36068. },
  36069. every$1(_, test) {
  36070. var i, _this = this,
  36071. $length = _this.get$length(_this);
  36072. for (i = 0; i < $length; ++i) {
  36073. if (!test.call$1(_this.elementAt$1(0, i)))
  36074. return false;
  36075. if ($length !== _this.get$length(_this))
  36076. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36077. }
  36078. return true;
  36079. },
  36080. any$1(_, test) {
  36081. var i, _this = this,
  36082. $length = _this.get$length(_this);
  36083. for (i = 0; i < $length; ++i) {
  36084. if (test.call$1(_this.elementAt$1(0, i)))
  36085. return true;
  36086. if ($length !== _this.get$length(_this))
  36087. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36088. }
  36089. return false;
  36090. },
  36091. join$1(_, separator) {
  36092. var first, t1, i, _this = this,
  36093. $length = _this.get$length(_this);
  36094. if (separator.length !== 0) {
  36095. if ($length === 0)
  36096. return "";
  36097. first = A.S(_this.elementAt$1(0, 0));
  36098. if ($length !== _this.get$length(_this))
  36099. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36100. for (t1 = first, i = 1; i < $length; ++i) {
  36101. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  36102. if ($length !== _this.get$length(_this))
  36103. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36104. }
  36105. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36106. } else {
  36107. for (i = 0, t1 = ""; i < $length; ++i) {
  36108. t1 += A.S(_this.elementAt$1(0, i));
  36109. if ($length !== _this.get$length(_this))
  36110. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36111. }
  36112. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36113. }
  36114. },
  36115. join$0(_) {
  36116. return this.join$1(0, "");
  36117. },
  36118. where$1(_, test) {
  36119. return this.super$Iterable$where(0, test);
  36120. },
  36121. map$1$1(_, toElement, $T) {
  36122. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  36123. },
  36124. reduce$1(_, combine) {
  36125. var value, i, _this = this,
  36126. $length = _this.get$length(_this);
  36127. if ($length === 0)
  36128. throw A.wrapException(A.IterableElementError_noElement());
  36129. value = _this.elementAt$1(0, 0);
  36130. for (i = 1; i < $length; ++i) {
  36131. value = combine.call$2(value, _this.elementAt$1(0, i));
  36132. if ($length !== _this.get$length(_this))
  36133. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36134. }
  36135. return value;
  36136. },
  36137. fold$1$2(_, initialValue, combine) {
  36138. var value, i, _this = this,
  36139. $length = _this.get$length(_this);
  36140. for (value = initialValue, i = 0; i < $length; ++i) {
  36141. value = combine.call$2(value, _this.elementAt$1(0, i));
  36142. if ($length !== _this.get$length(_this))
  36143. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36144. }
  36145. return value;
  36146. },
  36147. fold$2(_, initialValue, combine) {
  36148. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  36149. },
  36150. skip$1(_, count) {
  36151. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  36152. },
  36153. take$1(_, count) {
  36154. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  36155. },
  36156. toList$1$growable(_, growable) {
  36157. var t1 = A.List_List$_of(this, A._instanceType(this)._eval$1("ListIterable.E"));
  36158. return t1;
  36159. },
  36160. toList$0(_) {
  36161. return this.toList$1$growable(0, true);
  36162. },
  36163. toSet$0(_) {
  36164. var i, _this = this,
  36165. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  36166. for (i = 0; i < _this.get$length(_this); ++i)
  36167. result.add$1(0, _this.elementAt$1(0, i));
  36168. return result;
  36169. }
  36170. };
  36171. A.SubListIterable.prototype = {
  36172. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  36173. var endOrLength,
  36174. t1 = this._start;
  36175. A.RangeError_checkNotNegative(t1, "start");
  36176. endOrLength = this._endOrLength;
  36177. if (endOrLength != null) {
  36178. A.RangeError_checkNotNegative(endOrLength, "end");
  36179. if (t1 > endOrLength)
  36180. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  36181. }
  36182. },
  36183. get$_endIndex() {
  36184. var $length = J.get$length$asx(this.__internal$_iterable),
  36185. endOrLength = this._endOrLength;
  36186. if (endOrLength == null || endOrLength > $length)
  36187. return $length;
  36188. return endOrLength;
  36189. },
  36190. get$_startIndex() {
  36191. var $length = J.get$length$asx(this.__internal$_iterable),
  36192. t1 = this._start;
  36193. if (t1 > $length)
  36194. return $length;
  36195. return t1;
  36196. },
  36197. get$length(_) {
  36198. var endOrLength,
  36199. $length = J.get$length$asx(this.__internal$_iterable),
  36200. t1 = this._start;
  36201. if (t1 >= $length)
  36202. return 0;
  36203. endOrLength = this._endOrLength;
  36204. if (endOrLength == null || endOrLength >= $length)
  36205. return $length - t1;
  36206. return endOrLength - t1;
  36207. },
  36208. elementAt$1(_, index) {
  36209. var _this = this,
  36210. realIndex = _this.get$_startIndex() + index;
  36211. if (index < 0 || realIndex >= _this.get$_endIndex())
  36212. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  36213. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  36214. },
  36215. skip$1(_, count) {
  36216. var newStart, endOrLength, _this = this;
  36217. A.RangeError_checkNotNegative(count, "count");
  36218. newStart = _this._start + count;
  36219. endOrLength = _this._endOrLength;
  36220. if (endOrLength != null && newStart >= endOrLength)
  36221. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  36222. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  36223. },
  36224. take$1(_, count) {
  36225. var endOrLength, t1, newEnd, _this = this;
  36226. A.RangeError_checkNotNegative(count, "count");
  36227. endOrLength = _this._endOrLength;
  36228. t1 = _this._start;
  36229. newEnd = t1 + count;
  36230. if (endOrLength == null)
  36231. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  36232. else {
  36233. if (endOrLength < newEnd)
  36234. return _this;
  36235. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  36236. }
  36237. },
  36238. toList$1$growable(_, growable) {
  36239. var $length, result, i, _this = this,
  36240. start = _this._start,
  36241. t1 = _this.__internal$_iterable,
  36242. t2 = J.getInterceptor$asx(t1),
  36243. end = t2.get$length(t1),
  36244. endOrLength = _this._endOrLength;
  36245. if (endOrLength != null && endOrLength < end)
  36246. end = endOrLength;
  36247. $length = end - start;
  36248. if ($length <= 0) {
  36249. t1 = _this.$ti._precomputed1;
  36250. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  36251. }
  36252. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  36253. for (i = 1; i < $length; ++i) {
  36254. result[i] = t2.elementAt$1(t1, start + i);
  36255. if (t2.get$length(t1) < end)
  36256. throw A.wrapException(A.ConcurrentModificationError$(_this));
  36257. }
  36258. return result;
  36259. },
  36260. toList$0(_) {
  36261. return this.toList$1$growable(0, true);
  36262. }
  36263. };
  36264. A.ListIterator.prototype = {
  36265. get$current(_) {
  36266. var t1 = this.__internal$_current;
  36267. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36268. },
  36269. moveNext$0() {
  36270. var t3, _this = this,
  36271. t1 = _this.__internal$_iterable,
  36272. t2 = J.getInterceptor$asx(t1),
  36273. $length = t2.get$length(t1);
  36274. if (_this.__internal$_length !== $length)
  36275. throw A.wrapException(A.ConcurrentModificationError$(t1));
  36276. t3 = _this.__internal$_index;
  36277. if (t3 >= $length) {
  36278. _this.__internal$_current = null;
  36279. return false;
  36280. }
  36281. _this.__internal$_current = t2.elementAt$1(t1, t3);
  36282. ++_this.__internal$_index;
  36283. return true;
  36284. }
  36285. };
  36286. A.MappedIterable.prototype = {
  36287. get$iterator(_) {
  36288. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  36289. },
  36290. get$length(_) {
  36291. return J.get$length$asx(this.__internal$_iterable);
  36292. },
  36293. get$isEmpty(_) {
  36294. return J.get$isEmpty$asx(this.__internal$_iterable);
  36295. },
  36296. get$first(_) {
  36297. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  36298. },
  36299. get$last(_) {
  36300. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  36301. },
  36302. get$single(_) {
  36303. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  36304. },
  36305. elementAt$1(_, index) {
  36306. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  36307. }
  36308. };
  36309. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  36310. A.MappedIterator.prototype = {
  36311. moveNext$0() {
  36312. var _this = this,
  36313. t1 = _this._iterator;
  36314. if (t1.moveNext$0()) {
  36315. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  36316. return true;
  36317. }
  36318. _this.__internal$_current = null;
  36319. return false;
  36320. },
  36321. get$current(_) {
  36322. var t1 = this.__internal$_current;
  36323. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36324. }
  36325. };
  36326. A.MappedListIterable.prototype = {
  36327. get$length(_) {
  36328. return J.get$length$asx(this._source);
  36329. },
  36330. elementAt$1(_, index) {
  36331. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  36332. }
  36333. };
  36334. A.WhereIterable.prototype = {
  36335. get$iterator(_) {
  36336. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36337. },
  36338. map$1$1(_, toElement, $T) {
  36339. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  36340. }
  36341. };
  36342. A.WhereIterator.prototype = {
  36343. moveNext$0() {
  36344. var t1, t2;
  36345. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  36346. if (t2.call$1(t1.get$current(t1)))
  36347. return true;
  36348. return false;
  36349. },
  36350. get$current(_) {
  36351. var t1 = this._iterator;
  36352. return t1.get$current(t1);
  36353. }
  36354. };
  36355. A.ExpandIterable.prototype = {
  36356. get$iterator(_) {
  36357. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  36358. }
  36359. };
  36360. A.ExpandIterator.prototype = {
  36361. get$current(_) {
  36362. var t1 = this.__internal$_current;
  36363. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36364. },
  36365. moveNext$0() {
  36366. var t2, t3, _this = this,
  36367. t1 = _this._currentExpansion;
  36368. if (t1 == null)
  36369. return false;
  36370. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36371. _this.__internal$_current = null;
  36372. if (t2.moveNext$0()) {
  36373. _this._currentExpansion = null;
  36374. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36375. _this._currentExpansion = t1;
  36376. } else
  36377. return false;
  36378. }
  36379. t1 = _this._currentExpansion;
  36380. _this.__internal$_current = t1.get$current(t1);
  36381. return true;
  36382. }
  36383. };
  36384. A.TakeIterable.prototype = {
  36385. get$iterator(_) {
  36386. var t1 = this.__internal$_iterable;
  36387. return new A.TakeIterator(t1.get$iterator(t1), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36388. }
  36389. };
  36390. A.EfficientLengthTakeIterable.prototype = {
  36391. get$length(_) {
  36392. var t1 = this.__internal$_iterable,
  36393. iterableLength = t1.get$length(t1);
  36394. t1 = this._takeCount;
  36395. if (iterableLength > t1)
  36396. return t1;
  36397. return iterableLength;
  36398. },
  36399. $isEfficientLengthIterable: 1
  36400. };
  36401. A.TakeIterator.prototype = {
  36402. moveNext$0() {
  36403. if (--this._remaining >= 0)
  36404. return this._iterator.moveNext$0();
  36405. this._remaining = -1;
  36406. return false;
  36407. },
  36408. get$current(_) {
  36409. var t1;
  36410. if (this._remaining < 0) {
  36411. this.$ti._precomputed1._as(null);
  36412. return null;
  36413. }
  36414. t1 = this._iterator;
  36415. return t1.get$current(t1);
  36416. }
  36417. };
  36418. A.SkipIterable.prototype = {
  36419. skip$1(_, count) {
  36420. A.ArgumentError_checkNotNull(count, "count");
  36421. A.RangeError_checkNotNegative(count, "count");
  36422. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36423. },
  36424. get$iterator(_) {
  36425. var t1 = this.__internal$_iterable;
  36426. return new A.SkipIterator(t1.get$iterator(t1), this._skipCount);
  36427. }
  36428. };
  36429. A.EfficientLengthSkipIterable.prototype = {
  36430. get$length(_) {
  36431. var t1 = this.__internal$_iterable,
  36432. $length = t1.get$length(t1) - this._skipCount;
  36433. if ($length >= 0)
  36434. return $length;
  36435. return 0;
  36436. },
  36437. skip$1(_, count) {
  36438. A.ArgumentError_checkNotNull(count, "count");
  36439. A.RangeError_checkNotNegative(count, "count");
  36440. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36441. },
  36442. $isEfficientLengthIterable: 1
  36443. };
  36444. A.SkipIterator.prototype = {
  36445. moveNext$0() {
  36446. var t1, i;
  36447. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36448. t1.moveNext$0();
  36449. this._skipCount = 0;
  36450. return t1.moveNext$0();
  36451. },
  36452. get$current(_) {
  36453. var t1 = this._iterator;
  36454. return t1.get$current(t1);
  36455. }
  36456. };
  36457. A.SkipWhileIterable.prototype = {
  36458. get$iterator(_) {
  36459. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36460. }
  36461. };
  36462. A.SkipWhileIterator.prototype = {
  36463. moveNext$0() {
  36464. var t1, t2, _this = this;
  36465. if (!_this._hasSkipped) {
  36466. _this._hasSkipped = true;
  36467. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36468. if (!t2.call$1(t1.get$current(t1)))
  36469. return true;
  36470. }
  36471. return _this._iterator.moveNext$0();
  36472. },
  36473. get$current(_) {
  36474. var t1 = this._iterator;
  36475. return t1.get$current(t1);
  36476. }
  36477. };
  36478. A.EmptyIterable.prototype = {
  36479. get$iterator(_) {
  36480. return B.C_EmptyIterator;
  36481. },
  36482. get$isEmpty(_) {
  36483. return true;
  36484. },
  36485. get$length(_) {
  36486. return 0;
  36487. },
  36488. get$first(_) {
  36489. throw A.wrapException(A.IterableElementError_noElement());
  36490. },
  36491. get$last(_) {
  36492. throw A.wrapException(A.IterableElementError_noElement());
  36493. },
  36494. get$single(_) {
  36495. throw A.wrapException(A.IterableElementError_noElement());
  36496. },
  36497. elementAt$1(_, index) {
  36498. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36499. },
  36500. contains$1(_, element) {
  36501. return false;
  36502. },
  36503. every$1(_, test) {
  36504. return true;
  36505. },
  36506. any$1(_, test) {
  36507. return false;
  36508. },
  36509. join$1(_, separator) {
  36510. return "";
  36511. },
  36512. where$1(_, test) {
  36513. return this;
  36514. },
  36515. map$1$1(_, toElement, $T) {
  36516. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36517. },
  36518. skip$1(_, count) {
  36519. A.RangeError_checkNotNegative(count, "count");
  36520. return this;
  36521. },
  36522. take$1(_, count) {
  36523. A.RangeError_checkNotNegative(count, "count");
  36524. return this;
  36525. },
  36526. toList$1$growable(_, growable) {
  36527. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36528. return t1;
  36529. },
  36530. toList$0(_) {
  36531. return this.toList$1$growable(0, true);
  36532. },
  36533. toSet$0(_) {
  36534. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36535. }
  36536. };
  36537. A.EmptyIterator.prototype = {
  36538. moveNext$0() {
  36539. return false;
  36540. },
  36541. get$current(_) {
  36542. throw A.wrapException(A.IterableElementError_noElement());
  36543. }
  36544. };
  36545. A.FollowedByIterable.prototype = {
  36546. get$iterator(_) {
  36547. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36548. },
  36549. get$length(_) {
  36550. var t1 = this._second;
  36551. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36552. },
  36553. get$isEmpty(_) {
  36554. var t1;
  36555. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36556. t1 = this._second;
  36557. t1 = t1.get$isEmpty(t1);
  36558. } else
  36559. t1 = false;
  36560. return t1;
  36561. },
  36562. get$isNotEmpty(_) {
  36563. var t1;
  36564. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36565. t1 = this._second;
  36566. t1 = t1.get$isNotEmpty(t1);
  36567. } else
  36568. t1 = true;
  36569. return t1;
  36570. },
  36571. contains$1(_, value) {
  36572. var t1;
  36573. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36574. t1 = this._second;
  36575. t1 = t1.contains$1(t1, value);
  36576. } else
  36577. t1 = true;
  36578. return t1;
  36579. },
  36580. get$first(_) {
  36581. var t1,
  36582. iterator = J.get$iterator$ax(this.__internal$_first);
  36583. if (iterator.moveNext$0())
  36584. return iterator.get$current(iterator);
  36585. t1 = this._second;
  36586. return t1.get$first(t1);
  36587. },
  36588. get$last(_) {
  36589. var last,
  36590. t1 = this._second,
  36591. iterator = t1.get$iterator(t1);
  36592. if (iterator.moveNext$0()) {
  36593. last = iterator.get$current(iterator);
  36594. while (iterator.moveNext$0())
  36595. last = iterator.get$current(iterator);
  36596. return last;
  36597. }
  36598. return J.get$last$ax(this.__internal$_first);
  36599. }
  36600. };
  36601. A.EfficientLengthFollowedByIterable.prototype = {
  36602. elementAt$1(_, index) {
  36603. var t1 = this.__internal$_first,
  36604. t2 = J.getInterceptor$asx(t1),
  36605. firstLength = t2.get$length(t1);
  36606. if (index < firstLength)
  36607. return t2.elementAt$1(t1, index);
  36608. t1 = this._second;
  36609. return t1.elementAt$1(t1, index - firstLength);
  36610. },
  36611. get$first(_) {
  36612. var t1 = this.__internal$_first,
  36613. t2 = J.getInterceptor$asx(t1);
  36614. if (t2.get$isNotEmpty(t1))
  36615. return t2.get$first(t1);
  36616. t1 = this._second;
  36617. return t1.get$first(t1);
  36618. },
  36619. get$last(_) {
  36620. var t1 = this._second;
  36621. if (t1.get$isNotEmpty(t1))
  36622. return t1.get$last(t1);
  36623. return J.get$last$ax(this.__internal$_first);
  36624. },
  36625. $isEfficientLengthIterable: 1
  36626. };
  36627. A.FollowedByIterator.prototype = {
  36628. moveNext$0() {
  36629. var t1, _this = this;
  36630. if (_this._currentIterator.moveNext$0())
  36631. return true;
  36632. t1 = _this._nextIterable;
  36633. if (t1 != null) {
  36634. t1 = t1.get$iterator(t1);
  36635. _this._currentIterator = t1;
  36636. _this._nextIterable = null;
  36637. return t1.moveNext$0();
  36638. }
  36639. return false;
  36640. },
  36641. get$current(_) {
  36642. var t1 = this._currentIterator;
  36643. return t1.get$current(t1);
  36644. }
  36645. };
  36646. A.WhereTypeIterable.prototype = {
  36647. get$iterator(_) {
  36648. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36649. }
  36650. };
  36651. A.WhereTypeIterator.prototype = {
  36652. moveNext$0() {
  36653. var t1, t2;
  36654. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36655. if (t2._is(t1.get$current(t1)))
  36656. return true;
  36657. return false;
  36658. },
  36659. get$current(_) {
  36660. var t1 = this._source;
  36661. return this.$ti._precomputed1._as(t1.get$current(t1));
  36662. }
  36663. };
  36664. A.NonNullsIterable.prototype = {
  36665. get$_firstNonNull() {
  36666. var t1, element;
  36667. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36668. element = t1.get$current(t1);
  36669. if (element != null)
  36670. return element;
  36671. }
  36672. return null;
  36673. },
  36674. get$isEmpty(_) {
  36675. return this.get$_firstNonNull() == null;
  36676. },
  36677. get$isNotEmpty(_) {
  36678. return this.get$_firstNonNull() != null;
  36679. },
  36680. get$first(_) {
  36681. var t1 = this.get$_firstNonNull();
  36682. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36683. },
  36684. get$iterator(_) {
  36685. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36686. }
  36687. };
  36688. A.NonNullsIterator.prototype = {
  36689. moveNext$0() {
  36690. var t1, next;
  36691. this.__internal$_current = null;
  36692. for (t1 = this._source; t1.moveNext$0();) {
  36693. next = t1.get$current(t1);
  36694. if (next != null) {
  36695. this.__internal$_current = next;
  36696. return true;
  36697. }
  36698. }
  36699. return false;
  36700. },
  36701. get$current(_) {
  36702. var t1 = this.__internal$_current;
  36703. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36704. }
  36705. };
  36706. A.FixedLengthListMixin.prototype = {
  36707. set$length(receiver, newLength) {
  36708. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36709. },
  36710. add$1(receiver, value) {
  36711. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36712. },
  36713. addAll$1(receiver, iterable) {
  36714. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36715. },
  36716. removeRange$2(receiver, start, end) {
  36717. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36718. }
  36719. };
  36720. A.UnmodifiableListMixin.prototype = {
  36721. $indexSet(_, index, value) {
  36722. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36723. },
  36724. set$length(_, newLength) {
  36725. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36726. },
  36727. add$1(_, value) {
  36728. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36729. },
  36730. addAll$1(_, iterable) {
  36731. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36732. },
  36733. sort$1(_, compare) {
  36734. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36735. },
  36736. setRange$4(_, start, end, iterable, skipCount) {
  36737. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36738. },
  36739. removeRange$2(_, start, end) {
  36740. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36741. },
  36742. fillRange$3(_, start, end, fillValue) {
  36743. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36744. }
  36745. };
  36746. A.UnmodifiableListBase.prototype = {};
  36747. A.ReversedListIterable.prototype = {
  36748. get$length(_) {
  36749. return J.get$length$asx(this._source);
  36750. },
  36751. elementAt$1(_, index) {
  36752. var t1 = this._source,
  36753. t2 = J.getInterceptor$asx(t1);
  36754. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36755. }
  36756. };
  36757. A.Symbol.prototype = {
  36758. get$hashCode(_) {
  36759. var hash = this._hashCode;
  36760. if (hash != null)
  36761. return hash;
  36762. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36763. this._hashCode = hash;
  36764. return hash;
  36765. },
  36766. toString$0(_) {
  36767. return 'Symbol("' + this.__internal$_name + '")';
  36768. },
  36769. $eq(_, other) {
  36770. if (other == null)
  36771. return false;
  36772. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36773. },
  36774. $isSymbol0: 1
  36775. };
  36776. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36777. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36778. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36779. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36780. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36781. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36782. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36783. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36784. A._Record_3_deprecation_message_span.prototype = {
  36785. get$message(_) {
  36786. return this._1;
  36787. },
  36788. $recipe: "+deprecation,message,span(1,2,3)",
  36789. $shape: 11
  36790. };
  36791. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36792. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36793. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36794. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36795. A.ConstantMapView.prototype = {};
  36796. A.ConstantMap.prototype = {
  36797. cast$2$0(_, $RK, $RV) {
  36798. var t1 = A._instanceType(this);
  36799. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], $RK, $RV);
  36800. },
  36801. get$isEmpty(_) {
  36802. return this.get$length(this) === 0;
  36803. },
  36804. get$isNotEmpty(_) {
  36805. return this.get$length(this) !== 0;
  36806. },
  36807. toString$0(_) {
  36808. return A.MapBase_mapToString(this);
  36809. },
  36810. $indexSet(_, key, value) {
  36811. A.ConstantMap__throwUnmodifiable();
  36812. },
  36813. remove$1(_, key) {
  36814. A.ConstantMap__throwUnmodifiable();
  36815. },
  36816. addAll$1(_, other) {
  36817. A.ConstantMap__throwUnmodifiable();
  36818. },
  36819. get$entries(_) {
  36820. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36821. },
  36822. entries$body$ConstantMap($async$_) {
  36823. var $async$self = this;
  36824. return function() {
  36825. var _ = $async$_;
  36826. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36827. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36828. if ($async$errorCode === 1) {
  36829. $async$errorStack.push($async$result);
  36830. $async$goto = $async$handler;
  36831. }
  36832. for (;;)
  36833. switch ($async$goto) {
  36834. case 0:
  36835. // Function start
  36836. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36837. case 2:
  36838. // for condition
  36839. if (!t1.moveNext$0()) {
  36840. // goto after for
  36841. $async$goto = 3;
  36842. break;
  36843. }
  36844. key = t1.get$current(t1);
  36845. $async$goto = 4;
  36846. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36847. case 4:
  36848. // after yield
  36849. // goto for condition
  36850. $async$goto = 2;
  36851. break;
  36852. case 3:
  36853. // after for
  36854. // implicit return
  36855. return 0;
  36856. case 1:
  36857. // rethrow
  36858. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36859. }
  36860. };
  36861. };
  36862. },
  36863. $isMap: 1
  36864. };
  36865. A.ConstantStringMap.prototype = {
  36866. get$length(_) {
  36867. return this._values.length;
  36868. },
  36869. get$_keys() {
  36870. var keys = this.$keys;
  36871. if (keys == null) {
  36872. keys = Object.keys(this._jsIndex);
  36873. this.$keys = keys;
  36874. }
  36875. return keys;
  36876. },
  36877. containsKey$1(key) {
  36878. if (typeof key != "string")
  36879. return false;
  36880. if ("__proto__" === key)
  36881. return false;
  36882. return this._jsIndex.hasOwnProperty(key);
  36883. },
  36884. $index(_, key) {
  36885. if (!this.containsKey$1(key))
  36886. return null;
  36887. return this._values[this._jsIndex[key]];
  36888. },
  36889. forEach$1(_, f) {
  36890. var t1, i,
  36891. keys = this.get$_keys(),
  36892. values = this._values;
  36893. for (t1 = keys.length, i = 0; i < t1; ++i)
  36894. f.call$2(keys[i], values[i]);
  36895. },
  36896. get$keys(_) {
  36897. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36898. },
  36899. get$values(_) {
  36900. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36901. }
  36902. };
  36903. A._KeysOrValues.prototype = {
  36904. get$length(_) {
  36905. return this._elements.length;
  36906. },
  36907. get$isEmpty(_) {
  36908. return 0 === this._elements.length;
  36909. },
  36910. get$isNotEmpty(_) {
  36911. return 0 !== this._elements.length;
  36912. },
  36913. get$iterator(_) {
  36914. var t1 = this._elements;
  36915. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36916. }
  36917. };
  36918. A._KeysOrValuesOrElementsIterator.prototype = {
  36919. get$current(_) {
  36920. var t1 = this.__js_helper$_current;
  36921. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36922. },
  36923. moveNext$0() {
  36924. var _this = this,
  36925. t1 = _this.__js_helper$_index;
  36926. if (t1 >= _this.__js_helper$_length) {
  36927. _this.__js_helper$_current = null;
  36928. return false;
  36929. }
  36930. _this.__js_helper$_current = _this._elements[t1];
  36931. _this.__js_helper$_index = t1 + 1;
  36932. return true;
  36933. }
  36934. };
  36935. A.ConstantSet.prototype = {
  36936. add$1(_, value) {
  36937. A.ConstantSet__throwUnmodifiable();
  36938. },
  36939. addAll$1(_, elements) {
  36940. A.ConstantSet__throwUnmodifiable();
  36941. },
  36942. remove$1(_, value) {
  36943. A.ConstantSet__throwUnmodifiable();
  36944. }
  36945. };
  36946. A.ConstantStringSet.prototype = {
  36947. get$length(_) {
  36948. return this.__js_helper$_length;
  36949. },
  36950. get$isEmpty(_) {
  36951. return this.__js_helper$_length === 0;
  36952. },
  36953. get$isNotEmpty(_) {
  36954. return this.__js_helper$_length !== 0;
  36955. },
  36956. get$iterator(_) {
  36957. var t1, _this = this,
  36958. keys = _this.$keys;
  36959. if (keys == null) {
  36960. keys = Object.keys(_this._jsIndex);
  36961. _this.$keys = keys;
  36962. }
  36963. t1 = keys;
  36964. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36965. },
  36966. contains$1(_, key) {
  36967. if (typeof key != "string")
  36968. return false;
  36969. if ("__proto__" === key)
  36970. return false;
  36971. return this._jsIndex.hasOwnProperty(key);
  36972. },
  36973. toSet$0(_) {
  36974. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36975. }
  36976. };
  36977. A.GeneralConstantSet.prototype = {
  36978. get$length(_) {
  36979. return this._elements.length;
  36980. },
  36981. get$isEmpty(_) {
  36982. return this._elements.length === 0;
  36983. },
  36984. get$isNotEmpty(_) {
  36985. return this._elements.length !== 0;
  36986. },
  36987. get$iterator(_) {
  36988. var t1 = this._elements;
  36989. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36990. },
  36991. _getMap$0() {
  36992. var t1, t2, _i, key, _this = this,
  36993. backingMap = _this.$map;
  36994. if (backingMap == null) {
  36995. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36996. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36997. key = t1[_i];
  36998. backingMap.$indexSet(0, key, key);
  36999. }
  37000. _this.$map = backingMap;
  37001. }
  37002. return backingMap;
  37003. },
  37004. contains$1(_, key) {
  37005. return this._getMap$0().containsKey$1(key);
  37006. },
  37007. toSet$0(_) {
  37008. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  37009. }
  37010. };
  37011. A.Instantiation.prototype = {
  37012. Instantiation$1(_genericClosure) {
  37013. if (false)
  37014. A.instantiatedGenericFunctionType(0, 0);
  37015. },
  37016. $eq(_, other) {
  37017. if (other == null)
  37018. return false;
  37019. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  37020. },
  37021. get$hashCode(_) {
  37022. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  37023. },
  37024. toString$0(_) {
  37025. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  37026. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  37027. }
  37028. };
  37029. A.Instantiation1.prototype = {
  37030. call$0() {
  37031. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  37032. },
  37033. call$2(a0, a1) {
  37034. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  37035. },
  37036. call$3(a0, a1, a2) {
  37037. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  37038. },
  37039. call$4(a0, a1, a2, a3) {
  37040. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  37041. },
  37042. $signature() {
  37043. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  37044. }
  37045. };
  37046. A.JSInvocationMirror.prototype = {
  37047. get$memberName() {
  37048. var t1 = this.__js_helper$_memberName;
  37049. if (t1 instanceof A.Symbol)
  37050. return t1;
  37051. return this.__js_helper$_memberName = new A.Symbol(t1);
  37052. },
  37053. get$positionalArguments() {
  37054. var t1, t2, argumentCount, list, index, _this = this;
  37055. if (_this.__js_helper$_kind === 1)
  37056. return B.List_empty6;
  37057. t1 = _this._arguments;
  37058. t2 = J.getInterceptor$asx(t1);
  37059. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  37060. if (argumentCount === 0)
  37061. return B.List_empty6;
  37062. list = [];
  37063. for (index = 0; index < argumentCount; ++index)
  37064. list.push(t2.$index(t1, index));
  37065. list.$flags = 3;
  37066. return list;
  37067. },
  37068. get$namedArguments() {
  37069. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  37070. if (_this.__js_helper$_kind !== 0)
  37071. return B.Map_empty2;
  37072. t1 = _this._namedArgumentNames;
  37073. t2 = J.getInterceptor$asx(t1);
  37074. namedArgumentCount = t2.get$length(t1);
  37075. t3 = _this._arguments;
  37076. t4 = J.getInterceptor$asx(t3);
  37077. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  37078. if (namedArgumentCount === 0)
  37079. return B.Map_empty2;
  37080. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  37081. for (i = 0; i < namedArgumentCount; ++i)
  37082. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  37083. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  37084. }
  37085. };
  37086. A.Primitives_functionNoSuchMethod_closure.prototype = {
  37087. call$2($name, argument) {
  37088. var t1 = this._box_0;
  37089. t1.names = t1.names + "$" + $name;
  37090. this.namedArgumentList.push($name);
  37091. this.$arguments.push(argument);
  37092. ++t1.argumentCount;
  37093. },
  37094. $signature: 139
  37095. };
  37096. A.SafeToStringHook.prototype = {};
  37097. A.TypeErrorDecoder.prototype = {
  37098. matchTypeError$1(message) {
  37099. var result, t1, _this = this,
  37100. match = new RegExp(_this._pattern).exec(message);
  37101. if (match == null)
  37102. return null;
  37103. result = Object.create(null);
  37104. t1 = _this._arguments;
  37105. if (t1 !== -1)
  37106. result.arguments = match[t1 + 1];
  37107. t1 = _this._argumentsExpr;
  37108. if (t1 !== -1)
  37109. result.argumentsExpr = match[t1 + 1];
  37110. t1 = _this._expr;
  37111. if (t1 !== -1)
  37112. result.expr = match[t1 + 1];
  37113. t1 = _this._method;
  37114. if (t1 !== -1)
  37115. result.method = match[t1 + 1];
  37116. t1 = _this._receiver;
  37117. if (t1 !== -1)
  37118. result.receiver = match[t1 + 1];
  37119. return result;
  37120. }
  37121. };
  37122. A.NullError.prototype = {
  37123. toString$0(_) {
  37124. return "Null check operator used on a null value";
  37125. }
  37126. };
  37127. A.JsNoSuchMethodError.prototype = {
  37128. toString$0(_) {
  37129. var t2, _this = this,
  37130. _s38_ = "NoSuchMethodError: method not found: '",
  37131. t1 = _this._method;
  37132. if (t1 == null)
  37133. return "NoSuchMethodError: " + _this.__js_helper$_message;
  37134. t2 = _this._receiver;
  37135. if (t2 == null)
  37136. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  37137. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  37138. }
  37139. };
  37140. A.UnknownJsTypeError.prototype = {
  37141. toString$0(_) {
  37142. var t1 = this.__js_helper$_message;
  37143. return t1.length === 0 ? "Error" : "Error: " + t1;
  37144. }
  37145. };
  37146. A.NullThrownFromJavaScriptException.prototype = {
  37147. toString$0(_) {
  37148. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  37149. },
  37150. $isException: 1
  37151. };
  37152. A.ExceptionAndStackTrace.prototype = {};
  37153. A._StackTrace.prototype = {
  37154. toString$0(_) {
  37155. var trace,
  37156. t1 = this._trace;
  37157. if (t1 != null)
  37158. return t1;
  37159. t1 = this._exception;
  37160. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  37161. return this._trace = trace == null ? "" : trace;
  37162. },
  37163. $isStackTrace: 1
  37164. };
  37165. A.Closure.prototype = {
  37166. toString$0(_) {
  37167. var $constructor = this.constructor,
  37168. $name = $constructor == null ? null : $constructor.name;
  37169. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  37170. },
  37171. $isFunction: 1,
  37172. get$$call() {
  37173. return this;
  37174. },
  37175. "call*": "call$1",
  37176. $requiredArgCount: 1,
  37177. $defaultValues: null
  37178. };
  37179. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  37180. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  37181. A.TearOffClosure.prototype = {};
  37182. A.StaticClosure.prototype = {
  37183. toString$0(_) {
  37184. var $name = this.$static_name;
  37185. if ($name == null)
  37186. return "Closure of unknown static method";
  37187. return "Closure '" + A.unminifyOrTag($name) + "'";
  37188. }
  37189. };
  37190. A.BoundClosure.prototype = {
  37191. $eq(_, other) {
  37192. if (other == null)
  37193. return false;
  37194. if (this === other)
  37195. return true;
  37196. if (!(other instanceof A.BoundClosure))
  37197. return false;
  37198. return this.$_target === other.$_target && this._receiver === other._receiver;
  37199. },
  37200. get$hashCode(_) {
  37201. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  37202. },
  37203. toString$0(_) {
  37204. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  37205. }
  37206. };
  37207. A.RuntimeError.prototype = {
  37208. toString$0(_) {
  37209. return "RuntimeError: " + this.message;
  37210. },
  37211. get$message(receiver) {
  37212. return this.message;
  37213. }
  37214. };
  37215. A._Required.prototype = {};
  37216. A.JsLinkedHashMap.prototype = {
  37217. get$length(_) {
  37218. return this.__js_helper$_length;
  37219. },
  37220. get$isEmpty(_) {
  37221. return this.__js_helper$_length === 0;
  37222. },
  37223. get$isNotEmpty(_) {
  37224. return this.__js_helper$_length !== 0;
  37225. },
  37226. get$keys(_) {
  37227. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  37228. },
  37229. get$values(_) {
  37230. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  37231. },
  37232. get$entries(_) {
  37233. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  37234. },
  37235. containsKey$1(key) {
  37236. var strings, nums;
  37237. if (typeof key == "string") {
  37238. strings = this._strings;
  37239. if (strings == null)
  37240. return false;
  37241. return strings[key] != null;
  37242. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37243. nums = this._nums;
  37244. if (nums == null)
  37245. return false;
  37246. return nums[key] != null;
  37247. } else
  37248. return this.internalContainsKey$1(key);
  37249. },
  37250. internalContainsKey$1(key) {
  37251. var rest = this.__js_helper$_rest;
  37252. if (rest == null)
  37253. return false;
  37254. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  37255. },
  37256. addAll$1(_, other) {
  37257. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  37258. },
  37259. $index(_, key) {
  37260. var strings, cell, t1, nums, _null = null;
  37261. if (typeof key == "string") {
  37262. strings = this._strings;
  37263. if (strings == null)
  37264. return _null;
  37265. cell = strings[key];
  37266. t1 = cell == null ? _null : cell.hashMapCellValue;
  37267. return t1;
  37268. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37269. nums = this._nums;
  37270. if (nums == null)
  37271. return _null;
  37272. cell = nums[key];
  37273. t1 = cell == null ? _null : cell.hashMapCellValue;
  37274. return t1;
  37275. } else
  37276. return this.internalGet$1(key);
  37277. },
  37278. internalGet$1(key) {
  37279. var bucket, index,
  37280. rest = this.__js_helper$_rest;
  37281. if (rest == null)
  37282. return null;
  37283. bucket = rest[this.internalComputeHashCode$1(key)];
  37284. index = this.internalFindBucketIndex$2(bucket, key);
  37285. if (index < 0)
  37286. return null;
  37287. return bucket[index].hashMapCellValue;
  37288. },
  37289. $indexSet(_, key, value) {
  37290. var strings, nums, _this = this;
  37291. if (typeof key == "string") {
  37292. strings = _this._strings;
  37293. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  37294. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37295. nums = _this._nums;
  37296. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  37297. } else
  37298. _this.internalSet$2(key, value);
  37299. },
  37300. internalSet$2(key, value) {
  37301. var hash, bucket, index, _this = this,
  37302. rest = _this.__js_helper$_rest;
  37303. if (rest == null)
  37304. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  37305. hash = _this.internalComputeHashCode$1(key);
  37306. bucket = rest[hash];
  37307. if (bucket == null)
  37308. rest[hash] = [_this._newLinkedCell$2(key, value)];
  37309. else {
  37310. index = _this.internalFindBucketIndex$2(bucket, key);
  37311. if (index >= 0)
  37312. bucket[index].hashMapCellValue = value;
  37313. else
  37314. bucket.push(_this._newLinkedCell$2(key, value));
  37315. }
  37316. },
  37317. putIfAbsent$2(key, ifAbsent) {
  37318. var t1, value, _this = this;
  37319. if (_this.containsKey$1(key)) {
  37320. t1 = _this.$index(0, key);
  37321. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  37322. }
  37323. value = ifAbsent.call$0();
  37324. _this.$indexSet(0, key, value);
  37325. return value;
  37326. },
  37327. remove$1(_, key) {
  37328. var _this = this;
  37329. if (typeof key == "string")
  37330. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  37331. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  37332. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  37333. else
  37334. return _this.internalRemove$1(key);
  37335. },
  37336. internalRemove$1(key) {
  37337. var hash, bucket, index, cell, _this = this,
  37338. rest = _this.__js_helper$_rest;
  37339. if (rest == null)
  37340. return null;
  37341. hash = _this.internalComputeHashCode$1(key);
  37342. bucket = rest[hash];
  37343. index = _this.internalFindBucketIndex$2(bucket, key);
  37344. if (index < 0)
  37345. return null;
  37346. cell = bucket.splice(index, 1)[0];
  37347. _this.__js_helper$_unlinkCell$1(cell);
  37348. if (bucket.length === 0)
  37349. delete rest[hash];
  37350. return cell.hashMapCellValue;
  37351. },
  37352. clear$0(_) {
  37353. var _this = this;
  37354. if (_this.__js_helper$_length > 0) {
  37355. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  37356. _this.__js_helper$_length = 0;
  37357. _this._modified$0();
  37358. }
  37359. },
  37360. forEach$1(_, action) {
  37361. var _this = this,
  37362. cell = _this._first,
  37363. modifications = _this._modifications;
  37364. while (cell != null) {
  37365. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37366. if (modifications !== _this._modifications)
  37367. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37368. cell = cell._next;
  37369. }
  37370. },
  37371. _addHashTableEntry$3(table, key, value) {
  37372. var cell = table[key];
  37373. if (cell == null)
  37374. table[key] = this._newLinkedCell$2(key, value);
  37375. else
  37376. cell.hashMapCellValue = value;
  37377. },
  37378. __js_helper$_removeHashTableEntry$2(table, key) {
  37379. var cell;
  37380. if (table == null)
  37381. return null;
  37382. cell = table[key];
  37383. if (cell == null)
  37384. return null;
  37385. this.__js_helper$_unlinkCell$1(cell);
  37386. delete table[key];
  37387. return cell.hashMapCellValue;
  37388. },
  37389. _modified$0() {
  37390. this._modifications = this._modifications + 1 & 1073741823;
  37391. },
  37392. _newLinkedCell$2(key, value) {
  37393. var t1, _this = this,
  37394. cell = new A.LinkedHashMapCell(key, value);
  37395. if (_this._first == null)
  37396. _this._first = _this._last = cell;
  37397. else {
  37398. t1 = _this._last;
  37399. t1.toString;
  37400. cell._previous = t1;
  37401. _this._last = t1._next = cell;
  37402. }
  37403. ++_this.__js_helper$_length;
  37404. _this._modified$0();
  37405. return cell;
  37406. },
  37407. __js_helper$_unlinkCell$1(cell) {
  37408. var _this = this,
  37409. previous = cell._previous,
  37410. next = cell._next;
  37411. if (previous == null)
  37412. _this._first = next;
  37413. else
  37414. previous._next = next;
  37415. if (next == null)
  37416. _this._last = previous;
  37417. else
  37418. next._previous = previous;
  37419. --_this.__js_helper$_length;
  37420. _this._modified$0();
  37421. },
  37422. internalComputeHashCode$1(key) {
  37423. return J.get$hashCode$(key) & 1073741823;
  37424. },
  37425. internalFindBucketIndex$2(bucket, key) {
  37426. var $length, i;
  37427. if (bucket == null)
  37428. return -1;
  37429. $length = bucket.length;
  37430. for (i = 0; i < $length; ++i)
  37431. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37432. return i;
  37433. return -1;
  37434. },
  37435. toString$0(_) {
  37436. return A.MapBase_mapToString(this);
  37437. },
  37438. _newHashTable$0() {
  37439. var table = Object.create(null);
  37440. table["<non-identifier-key>"] = table;
  37441. delete table["<non-identifier-key>"];
  37442. return table;
  37443. }
  37444. };
  37445. A.JsLinkedHashMap_addAll_closure.prototype = {
  37446. call$2(key, value) {
  37447. this.$this.$indexSet(0, key, value);
  37448. },
  37449. $signature() {
  37450. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37451. }
  37452. };
  37453. A.LinkedHashMapCell.prototype = {};
  37454. A.LinkedHashMapKeysIterable.prototype = {
  37455. get$length(_) {
  37456. return this.__js_helper$_map.__js_helper$_length;
  37457. },
  37458. get$isEmpty(_) {
  37459. return this.__js_helper$_map.__js_helper$_length === 0;
  37460. },
  37461. get$iterator(_) {
  37462. var t1 = this.__js_helper$_map;
  37463. return new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first);
  37464. },
  37465. contains$1(_, element) {
  37466. return this.__js_helper$_map.containsKey$1(element);
  37467. }
  37468. };
  37469. A.LinkedHashMapKeyIterator.prototype = {
  37470. get$current(_) {
  37471. return this.__js_helper$_current;
  37472. },
  37473. moveNext$0() {
  37474. var cell, _this = this,
  37475. t1 = _this.__js_helper$_map;
  37476. if (_this._modifications !== t1._modifications)
  37477. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37478. cell = _this._cell;
  37479. if (cell == null) {
  37480. _this.__js_helper$_current = null;
  37481. return false;
  37482. } else {
  37483. _this.__js_helper$_current = cell.hashMapCellKey;
  37484. _this._cell = cell._next;
  37485. return true;
  37486. }
  37487. }
  37488. };
  37489. A.LinkedHashMapValuesIterable.prototype = {
  37490. get$length(_) {
  37491. return this.__js_helper$_map.__js_helper$_length;
  37492. },
  37493. get$isEmpty(_) {
  37494. return this.__js_helper$_map.__js_helper$_length === 0;
  37495. },
  37496. get$iterator(_) {
  37497. var t1 = this.__js_helper$_map;
  37498. return new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first);
  37499. }
  37500. };
  37501. A.LinkedHashMapValueIterator.prototype = {
  37502. get$current(_) {
  37503. return this.__js_helper$_current;
  37504. },
  37505. moveNext$0() {
  37506. var cell, _this = this,
  37507. t1 = _this.__js_helper$_map;
  37508. if (_this._modifications !== t1._modifications)
  37509. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37510. cell = _this._cell;
  37511. if (cell == null) {
  37512. _this.__js_helper$_current = null;
  37513. return false;
  37514. } else {
  37515. _this.__js_helper$_current = cell.hashMapCellValue;
  37516. _this._cell = cell._next;
  37517. return true;
  37518. }
  37519. }
  37520. };
  37521. A.LinkedHashMapEntriesIterable.prototype = {
  37522. get$length(_) {
  37523. return this.__js_helper$_map.__js_helper$_length;
  37524. },
  37525. get$isEmpty(_) {
  37526. return this.__js_helper$_map.__js_helper$_length === 0;
  37527. },
  37528. get$iterator(_) {
  37529. var t1 = this.__js_helper$_map;
  37530. return new A.LinkedHashMapEntryIterator(t1, t1._modifications, t1._first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37531. }
  37532. };
  37533. A.LinkedHashMapEntryIterator.prototype = {
  37534. get$current(_) {
  37535. var t1 = this.__js_helper$_current;
  37536. t1.toString;
  37537. return t1;
  37538. },
  37539. moveNext$0() {
  37540. var cell, _this = this,
  37541. t1 = _this.__js_helper$_map;
  37542. if (_this._modifications !== t1._modifications)
  37543. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37544. cell = _this._cell;
  37545. if (cell == null) {
  37546. _this.__js_helper$_current = null;
  37547. return false;
  37548. } else {
  37549. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37550. _this._cell = cell._next;
  37551. return true;
  37552. }
  37553. }
  37554. };
  37555. A.JsIdentityLinkedHashMap.prototype = {
  37556. internalComputeHashCode$1(key) {
  37557. return A.objectHashCode(key) & 1073741823;
  37558. },
  37559. internalFindBucketIndex$2(bucket, key) {
  37560. var $length, i, t1;
  37561. if (bucket == null)
  37562. return -1;
  37563. $length = bucket.length;
  37564. for (i = 0; i < $length; ++i) {
  37565. t1 = bucket[i].hashMapCellKey;
  37566. if (t1 == null ? key == null : t1 === key)
  37567. return i;
  37568. }
  37569. return -1;
  37570. }
  37571. };
  37572. A.JsConstantLinkedHashMap.prototype = {
  37573. internalComputeHashCode$1(key) {
  37574. return A.constantHashCode(key) & 1073741823;
  37575. },
  37576. internalFindBucketIndex$2(bucket, key) {
  37577. var $length, i;
  37578. if (bucket == null)
  37579. return -1;
  37580. $length = bucket.length;
  37581. for (i = 0; i < $length; ++i)
  37582. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37583. return i;
  37584. return -1;
  37585. }
  37586. };
  37587. A.initHooks_closure.prototype = {
  37588. call$1(o) {
  37589. return this.getTag(o);
  37590. },
  37591. $signature: 95
  37592. };
  37593. A.initHooks_closure0.prototype = {
  37594. call$2(o, tag) {
  37595. return this.getUnknownTag(o, tag);
  37596. },
  37597. $signature: 356
  37598. };
  37599. A.initHooks_closure1.prototype = {
  37600. call$1(tag) {
  37601. return this.prototypeForTag(tag);
  37602. },
  37603. $signature: 183
  37604. };
  37605. A._Record.prototype = {
  37606. toString$0(_) {
  37607. return this._toString$1(false);
  37608. },
  37609. _toString$1(safe) {
  37610. var t2, separator, i, key, value,
  37611. keys = this._fieldKeys$0(),
  37612. values = this._getFieldValues$0(),
  37613. t1 = (safe ? "Record " : "") + "(";
  37614. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37615. t1 += separator;
  37616. key = keys[i];
  37617. if (typeof key == "string")
  37618. t1 = t1 + key + ": ";
  37619. value = values[i];
  37620. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37621. }
  37622. t1 += ")";
  37623. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37624. },
  37625. _fieldKeys$0() {
  37626. var t1,
  37627. shapeTag = this.$shape;
  37628. while ($._Record__computedFieldKeys.length <= shapeTag)
  37629. $._Record__computedFieldKeys.push(null);
  37630. t1 = $._Record__computedFieldKeys[shapeTag];
  37631. if (t1 == null) {
  37632. t1 = this._computeFieldKeys$0();
  37633. $._Record__computedFieldKeys[shapeTag] = t1;
  37634. }
  37635. return t1;
  37636. },
  37637. _computeFieldKeys$0() {
  37638. var i, names, last,
  37639. recipe = this.$recipe,
  37640. position = recipe.indexOf("("),
  37641. joinedNames = recipe.substring(1, position),
  37642. fields = recipe.substring(position),
  37643. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37644. t1 = type$.Object,
  37645. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37646. for (i = 0; i < arity; ++i)
  37647. result[i] = i;
  37648. if (joinedNames !== "") {
  37649. names = joinedNames.split(",");
  37650. i = names.length;
  37651. for (last = arity; i > 0;) {
  37652. --last;
  37653. --i;
  37654. result[last] = names[i];
  37655. }
  37656. }
  37657. return A.List_List$unmodifiable(result, t1);
  37658. }
  37659. };
  37660. A._Record2.prototype = {
  37661. _getFieldValues$0() {
  37662. return [this._0, this._1];
  37663. },
  37664. $eq(_, other) {
  37665. if (other == null)
  37666. return false;
  37667. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37668. },
  37669. get$hashCode(_) {
  37670. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37671. }
  37672. };
  37673. A._Record1.prototype = {
  37674. _getFieldValues$0() {
  37675. return [this._0];
  37676. },
  37677. $eq(_, other) {
  37678. if (other == null)
  37679. return false;
  37680. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37681. },
  37682. get$hashCode(_) {
  37683. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37684. }
  37685. };
  37686. A._Record3.prototype = {
  37687. _getFieldValues$0() {
  37688. return [this._0, this._1, this._2];
  37689. },
  37690. $eq(_, other) {
  37691. var _this = this;
  37692. if (other == null)
  37693. return false;
  37694. return other instanceof A._Record3 && _this.$shape === other.$shape && J.$eq$(_this._0, other._0) && J.$eq$(_this._1, other._1) && J.$eq$(_this._2, other._2);
  37695. },
  37696. get$hashCode(_) {
  37697. var _this = this;
  37698. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37699. }
  37700. };
  37701. A._RecordN.prototype = {
  37702. _getFieldValues$0() {
  37703. return this._values;
  37704. },
  37705. $eq(_, other) {
  37706. if (other == null)
  37707. return false;
  37708. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37709. },
  37710. get$hashCode(_) {
  37711. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37712. }
  37713. };
  37714. A.JSSyntaxRegExp.prototype = {
  37715. toString$0(_) {
  37716. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37717. },
  37718. get$_nativeGlobalVersion() {
  37719. var _this = this,
  37720. t1 = _this._nativeGlobalRegExp;
  37721. if (t1 != null)
  37722. return t1;
  37723. t1 = _this._nativeRegExp;
  37724. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "g");
  37725. },
  37726. get$_nativeAnchoredVersion() {
  37727. var _this = this,
  37728. t1 = _this._nativeAnchoredRegExp;
  37729. if (t1 != null)
  37730. return t1;
  37731. t1 = _this._nativeRegExp;
  37732. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "y");
  37733. },
  37734. _computeHasCaptures$0() {
  37735. var t2,
  37736. t1 = this.pattern;
  37737. if (!B.JSString_methods.contains$1(t1, "("))
  37738. return false;
  37739. t2 = this._nativeRegExp.unicode ? "u" : "";
  37740. return new RegExp("(?:)|" + t1, t2).exec("").length > 1;
  37741. },
  37742. firstMatch$1(string) {
  37743. var m = this._nativeRegExp.exec(string);
  37744. if (m == null)
  37745. return null;
  37746. return new A._MatchImplementation(m);
  37747. },
  37748. allMatches$2(_, string, start) {
  37749. var t1 = string.length;
  37750. if (start > t1)
  37751. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37752. return new A._AllMatchesIterable(this, string, start);
  37753. },
  37754. allMatches$1(_, string) {
  37755. return this.allMatches$2(0, string, 0);
  37756. },
  37757. _execGlobal$2(string, start) {
  37758. var match,
  37759. regexp = this.get$_nativeGlobalVersion();
  37760. regexp.lastIndex = start;
  37761. match = regexp.exec(string);
  37762. if (match == null)
  37763. return null;
  37764. return new A._MatchImplementation(match);
  37765. },
  37766. _execAnchored$2(string, start) {
  37767. var match,
  37768. regexp = this.get$_nativeAnchoredVersion();
  37769. regexp.lastIndex = start;
  37770. match = regexp.exec(string);
  37771. if (match == null)
  37772. return null;
  37773. return new A._MatchImplementation(match);
  37774. },
  37775. matchAsPrefix$2(_, string, start) {
  37776. if (start < 0 || start > string.length)
  37777. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37778. return this._execAnchored$2(string, start);
  37779. }
  37780. };
  37781. A._MatchImplementation.prototype = {
  37782. get$start(_) {
  37783. return this._match.index;
  37784. },
  37785. get$end(_) {
  37786. var t1 = this._match;
  37787. return t1.index + t1[0].length;
  37788. },
  37789. namedGroup$1($name) {
  37790. var result,
  37791. groups = this._match.groups;
  37792. if (groups != null) {
  37793. result = groups[$name];
  37794. if (result != null || $name in groups)
  37795. return result;
  37796. }
  37797. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37798. },
  37799. $isMatch: 1,
  37800. $isRegExpMatch: 1
  37801. };
  37802. A._AllMatchesIterable.prototype = {
  37803. get$iterator(_) {
  37804. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37805. }
  37806. };
  37807. A._AllMatchesIterator.prototype = {
  37808. get$current(_) {
  37809. var t1 = this.__js_helper$_current;
  37810. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37811. },
  37812. moveNext$0() {
  37813. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37814. string = _this.__js_helper$_string;
  37815. if (string == null)
  37816. return false;
  37817. t1 = _this._nextIndex;
  37818. t2 = string.length;
  37819. if (t1 <= t2) {
  37820. t3 = _this._regExp;
  37821. match = t3._execGlobal$2(string, t1);
  37822. if (match != null) {
  37823. _this.__js_helper$_current = match;
  37824. nextIndex = match.get$end(0);
  37825. if (match._match.index === nextIndex) {
  37826. t1 = false;
  37827. if (t3._nativeRegExp.unicode) {
  37828. t3 = _this._nextIndex;
  37829. t4 = t3 + 1;
  37830. if (t4 < t2) {
  37831. t2 = string.charCodeAt(t3);
  37832. if (t2 >= 55296 && t2 <= 56319) {
  37833. t1 = string.charCodeAt(t4);
  37834. t1 = t1 >= 56320 && t1 <= 57343;
  37835. }
  37836. }
  37837. }
  37838. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37839. }
  37840. _this._nextIndex = nextIndex;
  37841. return true;
  37842. }
  37843. }
  37844. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37845. return false;
  37846. }
  37847. };
  37848. A.StringMatch.prototype = {
  37849. get$end(_) {
  37850. return this.start + this.pattern.length;
  37851. },
  37852. $isMatch: 1,
  37853. get$start(receiver) {
  37854. return this.start;
  37855. }
  37856. };
  37857. A._StringAllMatchesIterable.prototype = {
  37858. get$iterator(_) {
  37859. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37860. },
  37861. get$first(_) {
  37862. var t1 = this._pattern,
  37863. index = this._input.indexOf(t1, this.__js_helper$_index);
  37864. if (index >= 0)
  37865. return new A.StringMatch(index, t1);
  37866. throw A.wrapException(A.IterableElementError_noElement());
  37867. }
  37868. };
  37869. A._StringAllMatchesIterator.prototype = {
  37870. moveNext$0() {
  37871. var index, end, _this = this,
  37872. t1 = _this.__js_helper$_index,
  37873. t2 = _this._pattern,
  37874. t3 = t2.length,
  37875. t4 = _this._input,
  37876. t5 = t4.length;
  37877. if (t1 + t3 > t5) {
  37878. _this.__js_helper$_current = null;
  37879. return false;
  37880. }
  37881. index = t4.indexOf(t2, t1);
  37882. if (index < 0) {
  37883. _this.__js_helper$_index = t5 + 1;
  37884. _this.__js_helper$_current = null;
  37885. return false;
  37886. }
  37887. end = index + t3;
  37888. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37889. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37890. return true;
  37891. },
  37892. get$current(_) {
  37893. var t1 = this.__js_helper$_current;
  37894. t1.toString;
  37895. return t1;
  37896. }
  37897. };
  37898. A._Cell.prototype = {
  37899. readLocal$1$0() {
  37900. var t1 = this.__late_helper$_value;
  37901. if (t1 === this)
  37902. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37903. return t1;
  37904. },
  37905. readLocal$0() {
  37906. return this.readLocal$1$0(type$.dynamic);
  37907. },
  37908. _readLocal$0() {
  37909. var t1 = this.__late_helper$_value;
  37910. if (t1 === this)
  37911. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37912. return t1;
  37913. }
  37914. };
  37915. A.NativeByteBuffer.prototype = {
  37916. get$runtimeType(receiver) {
  37917. return B.Type_ByteBuffer_rqD;
  37918. },
  37919. $isTrustedGetRuntimeType: 1,
  37920. $isByteBuffer: 1
  37921. };
  37922. A.NativeTypedData.prototype = {
  37923. _invalidPosition$3(receiver, position, $length, $name) {
  37924. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37925. throw A.wrapException(t1);
  37926. },
  37927. _checkPosition$3(receiver, position, $length, $name) {
  37928. if (position >>> 0 !== position || position > $length)
  37929. this._invalidPosition$3(receiver, position, $length, $name);
  37930. }
  37931. };
  37932. A.NativeByteData.prototype = {
  37933. get$runtimeType(receiver) {
  37934. return B.Type_ByteData_9dB;
  37935. },
  37936. $isTrustedGetRuntimeType: 1,
  37937. $isByteData: 1
  37938. };
  37939. A.NativeTypedArray.prototype = {
  37940. get$length(receiver) {
  37941. return receiver.length;
  37942. },
  37943. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37944. var count, sourceLength,
  37945. targetLength = receiver.length;
  37946. this._checkPosition$3(receiver, start, targetLength, "start");
  37947. this._checkPosition$3(receiver, end, targetLength, "end");
  37948. if (start > end)
  37949. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37950. count = end - start;
  37951. if (skipCount < 0)
  37952. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37953. sourceLength = source.length;
  37954. if (sourceLength - skipCount < count)
  37955. throw A.wrapException(A.StateError$("Not enough elements"));
  37956. if (skipCount !== 0 || sourceLength !== count)
  37957. source = source.subarray(skipCount, skipCount + count);
  37958. receiver.set(source, start);
  37959. },
  37960. $isJavaScriptIndexingBehavior: 1
  37961. };
  37962. A.NativeTypedArrayOfDouble.prototype = {
  37963. $index(receiver, index) {
  37964. A._checkValidIndex(index, receiver, receiver.length);
  37965. return receiver[index];
  37966. },
  37967. $indexSet(receiver, index, value) {
  37968. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37969. A._checkValidIndex(index, receiver, receiver.length);
  37970. receiver[index] = value;
  37971. },
  37972. setRange$4(receiver, start, end, iterable, skipCount) {
  37973. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37974. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37975. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37976. return;
  37977. }
  37978. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37979. },
  37980. $isEfficientLengthIterable: 1,
  37981. $isIterable: 1,
  37982. $isList: 1
  37983. };
  37984. A.NativeTypedArrayOfInt.prototype = {
  37985. $indexSet(receiver, index, value) {
  37986. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37987. A._checkValidIndex(index, receiver, receiver.length);
  37988. receiver[index] = value;
  37989. },
  37990. setRange$4(receiver, start, end, iterable, skipCount) {
  37991. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37992. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37993. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37994. return;
  37995. }
  37996. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37997. },
  37998. $isEfficientLengthIterable: 1,
  37999. $isIterable: 1,
  38000. $isList: 1
  38001. };
  38002. A.NativeFloat32List.prototype = {
  38003. get$runtimeType(receiver) {
  38004. return B.Type_Float32List_9Kz;
  38005. },
  38006. sublist$2(receiver, start, end) {
  38007. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38008. },
  38009. sublist$1(receiver, start) {
  38010. return this.sublist$2(receiver, start, null);
  38011. },
  38012. $isTrustedGetRuntimeType: 1,
  38013. $isFloat32List: 1
  38014. };
  38015. A.NativeFloat64List.prototype = {
  38016. get$runtimeType(receiver) {
  38017. return B.Type_Float64List_9Kz;
  38018. },
  38019. sublist$2(receiver, start, end) {
  38020. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38021. },
  38022. sublist$1(receiver, start) {
  38023. return this.sublist$2(receiver, start, null);
  38024. },
  38025. $isTrustedGetRuntimeType: 1,
  38026. $isFloat64List: 1
  38027. };
  38028. A.NativeInt16List.prototype = {
  38029. get$runtimeType(receiver) {
  38030. return B.Type_Int16List_s5h;
  38031. },
  38032. $index(receiver, index) {
  38033. A._checkValidIndex(index, receiver, receiver.length);
  38034. return receiver[index];
  38035. },
  38036. sublist$2(receiver, start, end) {
  38037. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38038. },
  38039. sublist$1(receiver, start) {
  38040. return this.sublist$2(receiver, start, null);
  38041. },
  38042. $isTrustedGetRuntimeType: 1,
  38043. $isInt16List: 1
  38044. };
  38045. A.NativeInt32List.prototype = {
  38046. get$runtimeType(receiver) {
  38047. return B.Type_Int32List_O8Z;
  38048. },
  38049. $index(receiver, index) {
  38050. A._checkValidIndex(index, receiver, receiver.length);
  38051. return receiver[index];
  38052. },
  38053. sublist$2(receiver, start, end) {
  38054. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38055. },
  38056. sublist$1(receiver, start) {
  38057. return this.sublist$2(receiver, start, null);
  38058. },
  38059. $isTrustedGetRuntimeType: 1,
  38060. $isInt32List: 1
  38061. };
  38062. A.NativeInt8List.prototype = {
  38063. get$runtimeType(receiver) {
  38064. return B.Type_Int8List_rFV;
  38065. },
  38066. $index(receiver, index) {
  38067. A._checkValidIndex(index, receiver, receiver.length);
  38068. return receiver[index];
  38069. },
  38070. sublist$2(receiver, start, end) {
  38071. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38072. },
  38073. sublist$1(receiver, start) {
  38074. return this.sublist$2(receiver, start, null);
  38075. },
  38076. $isTrustedGetRuntimeType: 1,
  38077. $isInt8List: 1
  38078. };
  38079. A.NativeUint16List.prototype = {
  38080. get$runtimeType(receiver) {
  38081. return B.Type_Uint16List_kmP;
  38082. },
  38083. $index(receiver, index) {
  38084. A._checkValidIndex(index, receiver, receiver.length);
  38085. return receiver[index];
  38086. },
  38087. sublist$2(receiver, start, end) {
  38088. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38089. },
  38090. sublist$1(receiver, start) {
  38091. return this.sublist$2(receiver, start, null);
  38092. },
  38093. $isTrustedGetRuntimeType: 1,
  38094. $isUint16List: 1
  38095. };
  38096. A.NativeUint32List.prototype = {
  38097. get$runtimeType(receiver) {
  38098. return B.Type_Uint32List_kmP;
  38099. },
  38100. $index(receiver, index) {
  38101. A._checkValidIndex(index, receiver, receiver.length);
  38102. return receiver[index];
  38103. },
  38104. sublist$2(receiver, start, end) {
  38105. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38106. },
  38107. sublist$1(receiver, start) {
  38108. return this.sublist$2(receiver, start, null);
  38109. },
  38110. $isTrustedGetRuntimeType: 1,
  38111. $isUint32List: 1
  38112. };
  38113. A.NativeUint8ClampedList.prototype = {
  38114. get$runtimeType(receiver) {
  38115. return B.Type_Uint8ClampedList_04U;
  38116. },
  38117. get$length(receiver) {
  38118. return receiver.length;
  38119. },
  38120. $index(receiver, index) {
  38121. A._checkValidIndex(index, receiver, receiver.length);
  38122. return receiver[index];
  38123. },
  38124. sublist$2(receiver, start, end) {
  38125. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38126. },
  38127. sublist$1(receiver, start) {
  38128. return this.sublist$2(receiver, start, null);
  38129. },
  38130. $isTrustedGetRuntimeType: 1,
  38131. $isUint8ClampedList: 1
  38132. };
  38133. A.NativeUint8List.prototype = {
  38134. get$runtimeType(receiver) {
  38135. return B.Type_Uint8List_8Eb;
  38136. },
  38137. get$length(receiver) {
  38138. return receiver.length;
  38139. },
  38140. $index(receiver, index) {
  38141. A._checkValidIndex(index, receiver, receiver.length);
  38142. return receiver[index];
  38143. },
  38144. sublist$2(receiver, start, end) {
  38145. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  38146. },
  38147. sublist$1(receiver, start) {
  38148. return this.sublist$2(receiver, start, null);
  38149. },
  38150. $isTrustedGetRuntimeType: 1,
  38151. $isNativeUint8List: 1,
  38152. $isUint8List: 1
  38153. };
  38154. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  38155. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  38156. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  38157. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  38158. A.Rti.prototype = {
  38159. _eval$1(recipe) {
  38160. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  38161. },
  38162. _bind$1(typeOrTuple) {
  38163. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  38164. }
  38165. };
  38166. A._FunctionParameters.prototype = {};
  38167. A._Type.prototype = {
  38168. toString$0(_) {
  38169. return A._rtiToString(this._rti, null);
  38170. }
  38171. };
  38172. A._Error.prototype = {
  38173. toString$0(_) {
  38174. return this.__rti$_message;
  38175. }
  38176. };
  38177. A._TypeError.prototype = {
  38178. get$message(_) {
  38179. return this.__rti$_message;
  38180. },
  38181. $isTypeError: 1
  38182. };
  38183. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  38184. call$1(__wc0_formal) {
  38185. var t1 = this._box_0,
  38186. f = t1.storedCallback;
  38187. t1.storedCallback = null;
  38188. f.call$0();
  38189. },
  38190. $signature: 66
  38191. };
  38192. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  38193. call$1(callback) {
  38194. var t1, t2;
  38195. this._box_0.storedCallback = callback;
  38196. t1 = this.div;
  38197. t2 = this.span;
  38198. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  38199. },
  38200. $signature: 37
  38201. };
  38202. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  38203. call$0() {
  38204. this.callback.call$0();
  38205. },
  38206. $signature: 1
  38207. };
  38208. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  38209. call$0() {
  38210. this.callback.call$0();
  38211. },
  38212. $signature: 1
  38213. };
  38214. A._TimerImpl.prototype = {
  38215. _TimerImpl$2(milliseconds, callback) {
  38216. if (self.setTimeout != null)
  38217. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  38218. else
  38219. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  38220. },
  38221. _TimerImpl$periodic$2(milliseconds, callback) {
  38222. if (self.setTimeout != null)
  38223. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  38224. else
  38225. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  38226. },
  38227. cancel$0() {
  38228. if (self.setTimeout != null) {
  38229. var t1 = this._handle;
  38230. if (t1 == null)
  38231. return;
  38232. if (this._once)
  38233. self.clearTimeout(t1);
  38234. else
  38235. self.clearInterval(t1);
  38236. this._handle = null;
  38237. } else
  38238. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  38239. }
  38240. };
  38241. A._TimerImpl_internalCallback.prototype = {
  38242. call$0() {
  38243. var t1 = this.$this;
  38244. t1._handle = null;
  38245. t1._tick = 1;
  38246. this.callback.call$0();
  38247. },
  38248. $signature: 0
  38249. };
  38250. A._TimerImpl$periodic_closure.prototype = {
  38251. call$0() {
  38252. var duration, _this = this,
  38253. t1 = _this.$this,
  38254. tick = t1._tick + 1,
  38255. t2 = _this.milliseconds;
  38256. if (t2 > 0) {
  38257. duration = Date.now() - _this.start;
  38258. if (duration > (tick + 1) * t2)
  38259. tick = B.JSInt_methods.$tdiv(duration, t2);
  38260. }
  38261. t1._tick = tick;
  38262. _this.callback.call$1(t1);
  38263. },
  38264. $signature: 1
  38265. };
  38266. A._AsyncAwaitCompleter.prototype = {
  38267. complete$1(value) {
  38268. var t1, _this = this;
  38269. if (value == null)
  38270. value = _this.$ti._precomputed1._as(value);
  38271. if (!_this.isSync)
  38272. _this._future._asyncComplete$1(value);
  38273. else {
  38274. t1 = _this._future;
  38275. if (_this.$ti._eval$1("Future<1>")._is(value))
  38276. t1._chainFuture$1(value);
  38277. else
  38278. t1._completeWithValue$1(value);
  38279. }
  38280. },
  38281. completeError$2(e, st) {
  38282. var t1 = this._future;
  38283. if (this.isSync)
  38284. t1._completeErrorObject$1(new A.AsyncError(e, st));
  38285. else
  38286. t1._asyncCompleteErrorObject$1(new A.AsyncError(e, st));
  38287. }
  38288. };
  38289. A._awaitOnObject_closure.prototype = {
  38290. call$1(result) {
  38291. return this.bodyFunction.call$2(0, result);
  38292. },
  38293. $signature: 70
  38294. };
  38295. A._awaitOnObject_closure0.prototype = {
  38296. call$2(error, stackTrace) {
  38297. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  38298. },
  38299. $signature: 385
  38300. };
  38301. A._wrapJsFunctionForAsync_closure.prototype = {
  38302. call$2(errorCode, result) {
  38303. this.$protected(errorCode, result);
  38304. },
  38305. $signature: 395
  38306. };
  38307. A._SyncStarIterator.prototype = {
  38308. get$current(_) {
  38309. return this._async$_current;
  38310. },
  38311. _resumeBody$2(errorCode, errorValue) {
  38312. var body, t1, exception;
  38313. errorCode = errorCode;
  38314. errorValue = errorValue;
  38315. body = this._body;
  38316. for (;;)
  38317. try {
  38318. t1 = body(this, errorCode, errorValue);
  38319. return t1;
  38320. } catch (exception) {
  38321. errorValue = exception;
  38322. errorCode = 1;
  38323. }
  38324. },
  38325. moveNext$0() {
  38326. var nestedIterator, t1, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  38327. for (;;) {
  38328. nestedIterator = _this._nestedIterator;
  38329. if (nestedIterator != null)
  38330. try {
  38331. if (nestedIterator.moveNext$0()) {
  38332. t1 = nestedIterator;
  38333. _this._async$_current = t1.get$current(t1);
  38334. return true;
  38335. } else
  38336. _this._nestedIterator = null;
  38337. } catch (exception) {
  38338. errorValue = exception;
  38339. errorCode = 1;
  38340. _this._nestedIterator = null;
  38341. }
  38342. value = _this._resumeBody$2(errorCode, errorValue);
  38343. if (1 === value)
  38344. return true;
  38345. if (0 === value) {
  38346. _this._async$_current = null;
  38347. suspendedBodies = _this._suspendedBodies;
  38348. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38349. _this._body = A._SyncStarIterator__terminatedBody;
  38350. return false;
  38351. }
  38352. _this._body = suspendedBodies.pop();
  38353. errorCode = 0;
  38354. errorValue = null;
  38355. continue;
  38356. }
  38357. if (2 === value) {
  38358. errorCode = 0;
  38359. errorValue = null;
  38360. continue;
  38361. }
  38362. if (3 === value) {
  38363. errorValue = _this._datum;
  38364. _this._datum = null;
  38365. suspendedBodies = _this._suspendedBodies;
  38366. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38367. _this._async$_current = null;
  38368. _this._body = A._SyncStarIterator__terminatedBody;
  38369. throw errorValue;
  38370. return false;
  38371. }
  38372. _this._body = suspendedBodies.pop();
  38373. errorCode = 1;
  38374. continue;
  38375. }
  38376. throw A.wrapException(A.StateError$("sync*"));
  38377. }
  38378. return false;
  38379. },
  38380. _yieldStar$1(iterable) {
  38381. var t1, t2, _this = this;
  38382. if (iterable instanceof A._SyncStarIterable) {
  38383. t1 = iterable._outerHelper();
  38384. t2 = _this._suspendedBodies;
  38385. if (t2 == null)
  38386. t2 = _this._suspendedBodies = [];
  38387. t2.push(_this._body);
  38388. _this._body = t1;
  38389. return 2;
  38390. } else {
  38391. _this._nestedIterator = J.get$iterator$ax(iterable);
  38392. return 2;
  38393. }
  38394. }
  38395. };
  38396. A._SyncStarIterable.prototype = {
  38397. get$iterator(_) {
  38398. return new A._SyncStarIterator(this._outerHelper());
  38399. }
  38400. };
  38401. A.AsyncError.prototype = {
  38402. toString$0(_) {
  38403. return A.S(this.error);
  38404. },
  38405. $isError: 1,
  38406. get$stackTrace() {
  38407. return this.stackTrace;
  38408. }
  38409. };
  38410. A.Future_wait_handleError.prototype = {
  38411. call$2(theError, theStackTrace) {
  38412. var _this = this,
  38413. t1 = _this._box_0,
  38414. t2 = --t1.remaining;
  38415. if (t1.values != null) {
  38416. t1.values = null;
  38417. t1.error = theError;
  38418. t1.stackTrace = theStackTrace;
  38419. if (t2 === 0 || _this.eagerError)
  38420. _this._future._completeErrorObject$1(new A.AsyncError(theError, theStackTrace));
  38421. } else if (t2 === 0 && !_this.eagerError) {
  38422. t2 = t1.error;
  38423. t2.toString;
  38424. t1 = t1.stackTrace;
  38425. t1.toString;
  38426. _this._future._completeErrorObject$1(new A.AsyncError(t2, t1));
  38427. }
  38428. },
  38429. $signature: 76
  38430. };
  38431. A.Future_wait_closure.prototype = {
  38432. call$1(value) {
  38433. var t1, value0, t3, t4, _i, t5, _this = this,
  38434. t2 = _this._box_0,
  38435. remainingResults = --t2.remaining,
  38436. valueList = t2.values;
  38437. if (valueList != null) {
  38438. J.$indexSet$ax(valueList, _this.pos, value);
  38439. if (J.$eq$(remainingResults, 0)) {
  38440. t2 = _this.T;
  38441. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38442. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38443. value0 = t3[_i];
  38444. t5 = value0;
  38445. if (t5 == null)
  38446. t5 = t2._as(t5);
  38447. J.add$1$ax(t1, t5);
  38448. }
  38449. _this._future._completeWithValue$1(t1);
  38450. }
  38451. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38452. t1 = t2.error;
  38453. t1.toString;
  38454. t2 = t2.stackTrace;
  38455. t2.toString;
  38456. _this._future._completeErrorObject$1(new A.AsyncError(t1, t2));
  38457. }
  38458. },
  38459. $signature() {
  38460. return this.T._eval$1("Null(0)");
  38461. }
  38462. };
  38463. A._Completer.prototype = {
  38464. completeError$2(error, stackTrace) {
  38465. if ((this.future._state & 30) !== 0)
  38466. throw A.wrapException(A.StateError$("Future already completed"));
  38467. this._completeErrorObject$1(A._interceptUserError(error, stackTrace));
  38468. },
  38469. completeError$1(error) {
  38470. return this.completeError$2(error, null);
  38471. }
  38472. };
  38473. A._AsyncCompleter.prototype = {
  38474. complete$1(value) {
  38475. var t1 = this.future;
  38476. if ((t1._state & 30) !== 0)
  38477. throw A.wrapException(A.StateError$("Future already completed"));
  38478. t1._asyncComplete$1(value);
  38479. },
  38480. complete$0() {
  38481. return this.complete$1(null);
  38482. },
  38483. _completeErrorObject$1(error) {
  38484. this.future._asyncCompleteErrorObject$1(error);
  38485. }
  38486. };
  38487. A._SyncCompleter.prototype = {
  38488. complete$1(value) {
  38489. var t1 = this.future;
  38490. if ((t1._state & 30) !== 0)
  38491. throw A.wrapException(A.StateError$("Future already completed"));
  38492. t1._complete$1(value);
  38493. },
  38494. _completeErrorObject$1(error) {
  38495. this.future._completeErrorObject$1(error);
  38496. }
  38497. };
  38498. A._FutureListener.prototype = {
  38499. matchesErrorTest$1(asyncError) {
  38500. if ((this.state & 15) !== 6)
  38501. return true;
  38502. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38503. },
  38504. handleError$1(asyncError) {
  38505. var exception,
  38506. errorCallback = this.errorCallback,
  38507. result = null,
  38508. t1 = type$.dynamic,
  38509. t2 = type$.Object,
  38510. t3 = asyncError.error,
  38511. t4 = this.result._zone;
  38512. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38513. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38514. else
  38515. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38516. try {
  38517. t1 = result;
  38518. return t1;
  38519. } catch (exception) {
  38520. if (type$.TypeError._is(A.unwrapException(exception))) {
  38521. if ((this.state & 1) !== 0)
  38522. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38523. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38524. } else
  38525. throw exception;
  38526. }
  38527. }
  38528. };
  38529. A._Future.prototype = {
  38530. then$1$2$onError(_, f, onError, $R) {
  38531. var result, t1,
  38532. currentZone = $.Zone__current;
  38533. if (currentZone === B.C__RootZone) {
  38534. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38535. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38536. } else {
  38537. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38538. if (onError != null)
  38539. onError = A._registerErrorHandler(onError, currentZone);
  38540. }
  38541. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38542. t1 = onError == null ? 1 : 3;
  38543. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38544. return result;
  38545. },
  38546. then$1$1(_, f, $R) {
  38547. return this.then$1$2$onError(0, f, null, $R);
  38548. },
  38549. _thenAwait$1$2(f, onError, $E) {
  38550. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38551. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38552. return result;
  38553. },
  38554. catchError$1(onError) {
  38555. var t1 = this.$ti,
  38556. t2 = $.Zone__current,
  38557. result = new A._Future(t2, t1);
  38558. if (t2 !== B.C__RootZone)
  38559. onError = A._registerErrorHandler(onError, t2);
  38560. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38561. return result;
  38562. },
  38563. whenComplete$1(action) {
  38564. var t1 = this.$ti,
  38565. t2 = $.Zone__current,
  38566. result = new A._Future(t2, t1);
  38567. if (t2 !== B.C__RootZone)
  38568. action = t2.registerCallback$1$1(action, type$.dynamic);
  38569. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38570. return result;
  38571. },
  38572. _setErrorObject$1(error) {
  38573. this._state = this._state & 1 | 16;
  38574. this._resultOrListeners = error;
  38575. },
  38576. _cloneResult$1(source) {
  38577. this._state = source._state & 30 | this._state & 1;
  38578. this._resultOrListeners = source._resultOrListeners;
  38579. },
  38580. _addListener$1(listener) {
  38581. var _this = this,
  38582. t1 = _this._state;
  38583. if (t1 <= 3) {
  38584. listener._nextListener = _this._resultOrListeners;
  38585. _this._resultOrListeners = listener;
  38586. } else {
  38587. if ((t1 & 4) !== 0) {
  38588. t1 = _this._resultOrListeners;
  38589. if ((t1._state & 24) === 0) {
  38590. t1._addListener$1(listener);
  38591. return;
  38592. }
  38593. _this._cloneResult$1(t1);
  38594. }
  38595. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38596. }
  38597. },
  38598. _prependListeners$1(listeners) {
  38599. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38600. _box_0.listeners = listeners;
  38601. if (listeners == null)
  38602. return;
  38603. t1 = _this._state;
  38604. if (t1 <= 3) {
  38605. existingListeners = _this._resultOrListeners;
  38606. _this._resultOrListeners = listeners;
  38607. if (existingListeners != null) {
  38608. next = listeners._nextListener;
  38609. for (cursor = listeners; next != null; cursor = next, next = next0)
  38610. next0 = next._nextListener;
  38611. cursor._nextListener = existingListeners;
  38612. }
  38613. } else {
  38614. if ((t1 & 4) !== 0) {
  38615. t1 = _this._resultOrListeners;
  38616. if ((t1._state & 24) === 0) {
  38617. t1._prependListeners$1(listeners);
  38618. return;
  38619. }
  38620. _this._cloneResult$1(t1);
  38621. }
  38622. _box_0.listeners = _this._reverseListeners$1(listeners);
  38623. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38624. }
  38625. },
  38626. _removeListeners$0() {
  38627. var current = this._resultOrListeners;
  38628. this._resultOrListeners = null;
  38629. return this._reverseListeners$1(current);
  38630. },
  38631. _reverseListeners$1(listeners) {
  38632. var current, prev, next;
  38633. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38634. next = current._nextListener;
  38635. current._nextListener = prev;
  38636. }
  38637. return prev;
  38638. },
  38639. _complete$1(value) {
  38640. var listeners, _this = this;
  38641. if (_this.$ti._eval$1("Future<1>")._is(value))
  38642. A._Future__chainCoreFuture(value, _this, true);
  38643. else {
  38644. listeners = _this._removeListeners$0();
  38645. _this._state = 8;
  38646. _this._resultOrListeners = value;
  38647. A._Future__propagateToListeners(_this, listeners);
  38648. }
  38649. },
  38650. _completeWithValue$1(value) {
  38651. var _this = this,
  38652. listeners = _this._removeListeners$0();
  38653. _this._state = 8;
  38654. _this._resultOrListeners = value;
  38655. A._Future__propagateToListeners(_this, listeners);
  38656. },
  38657. _completeWithResultOf$1(source) {
  38658. var t1, t2, listeners, _this = this;
  38659. if ((source._state & 16) !== 0) {
  38660. t1 = _this._zone;
  38661. t2 = source._zone;
  38662. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38663. } else
  38664. t1 = false;
  38665. if (t1)
  38666. return;
  38667. listeners = _this._removeListeners$0();
  38668. _this._cloneResult$1(source);
  38669. A._Future__propagateToListeners(_this, listeners);
  38670. },
  38671. _completeErrorObject$1(error) {
  38672. var listeners = this._removeListeners$0();
  38673. this._setErrorObject$1(error);
  38674. A._Future__propagateToListeners(this, listeners);
  38675. },
  38676. _completeError$2(error, stackTrace) {
  38677. this._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  38678. },
  38679. _asyncComplete$1(value) {
  38680. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38681. this._chainFuture$1(value);
  38682. return;
  38683. }
  38684. this._asyncCompleteWithValue$1(value);
  38685. },
  38686. _asyncCompleteWithValue$1(value) {
  38687. this._state ^= 2;
  38688. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38689. },
  38690. _chainFuture$1(value) {
  38691. A._Future__chainCoreFuture(value, this, false);
  38692. return;
  38693. },
  38694. _asyncCompleteErrorObject$1(error) {
  38695. this._state ^= 2;
  38696. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteErrorObject_closure(this, error));
  38697. },
  38698. $isFuture: 1
  38699. };
  38700. A._Future__addListener_closure.prototype = {
  38701. call$0() {
  38702. A._Future__propagateToListeners(this.$this, this.listener);
  38703. },
  38704. $signature: 0
  38705. };
  38706. A._Future__prependListeners_closure.prototype = {
  38707. call$0() {
  38708. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38709. },
  38710. $signature: 0
  38711. };
  38712. A._Future__chainCoreFuture_closure.prototype = {
  38713. call$0() {
  38714. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38715. },
  38716. $signature: 0
  38717. };
  38718. A._Future__asyncCompleteWithValue_closure.prototype = {
  38719. call$0() {
  38720. this.$this._completeWithValue$1(this.value);
  38721. },
  38722. $signature: 0
  38723. };
  38724. A._Future__asyncCompleteErrorObject_closure.prototype = {
  38725. call$0() {
  38726. this.$this._completeErrorObject$1(this.error);
  38727. },
  38728. $signature: 0
  38729. };
  38730. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38731. call$0() {
  38732. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38733. try {
  38734. t1 = _this._box_0.listener;
  38735. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38736. } catch (exception) {
  38737. e = A.unwrapException(exception);
  38738. s = A.getTraceFromException(exception);
  38739. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38740. t1 = _this._box_0;
  38741. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38742. } else {
  38743. t1 = e;
  38744. t2 = s;
  38745. if (t2 == null)
  38746. t2 = A.AsyncError_defaultStackTrace(t1);
  38747. t3 = _this._box_0;
  38748. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38749. t1 = t3;
  38750. }
  38751. t1.listenerHasError = true;
  38752. return;
  38753. }
  38754. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38755. if ((completeResult._state & 16) !== 0) {
  38756. t1 = _this._box_0;
  38757. t1.listenerValueOrError = completeResult._resultOrListeners;
  38758. t1.listenerHasError = true;
  38759. }
  38760. return;
  38761. }
  38762. if (completeResult instanceof A._Future) {
  38763. originalSource = _this._box_1.source;
  38764. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38765. completeResult.then$1$2$onError(0, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38766. t1 = _this._box_0;
  38767. t1.listenerValueOrError = joinedResult;
  38768. t1.listenerHasError = false;
  38769. }
  38770. },
  38771. $signature: 0
  38772. };
  38773. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38774. call$1(__wc0_formal) {
  38775. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38776. },
  38777. $signature: 66
  38778. };
  38779. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38780. call$2(e, s) {
  38781. this.joinedResult._completeErrorObject$1(new A.AsyncError(e, s));
  38782. },
  38783. $signature: 56
  38784. };
  38785. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38786. call$0() {
  38787. var e, s, t1, t2, t3, exception;
  38788. try {
  38789. t1 = this._box_0;
  38790. t2 = t1.listener;
  38791. t3 = t2.$ti;
  38792. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38793. } catch (exception) {
  38794. e = A.unwrapException(exception);
  38795. s = A.getTraceFromException(exception);
  38796. t1 = e;
  38797. t2 = s;
  38798. if (t2 == null)
  38799. t2 = A.AsyncError_defaultStackTrace(t1);
  38800. t3 = this._box_0;
  38801. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38802. t3.listenerHasError = true;
  38803. }
  38804. },
  38805. $signature: 0
  38806. };
  38807. A._Future__propagateToListeners_handleError.prototype = {
  38808. call$0() {
  38809. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38810. try {
  38811. asyncError = _this._box_1.source._resultOrListeners;
  38812. t1 = _this._box_0;
  38813. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38814. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38815. t1.listenerHasError = false;
  38816. }
  38817. } catch (exception) {
  38818. e = A.unwrapException(exception);
  38819. s = A.getTraceFromException(exception);
  38820. t1 = _this._box_1.source._resultOrListeners;
  38821. if (t1.error === e) {
  38822. t2 = _this._box_0;
  38823. t2.listenerValueOrError = t1;
  38824. t1 = t2;
  38825. } else {
  38826. t1 = e;
  38827. t2 = s;
  38828. if (t2 == null)
  38829. t2 = A.AsyncError_defaultStackTrace(t1);
  38830. t3 = _this._box_0;
  38831. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38832. t1 = t3;
  38833. }
  38834. t1.listenerHasError = true;
  38835. }
  38836. },
  38837. $signature: 0
  38838. };
  38839. A._AsyncCallbackEntry.prototype = {};
  38840. A.Stream.prototype = {
  38841. get$isBroadcast() {
  38842. return false;
  38843. },
  38844. get$length(_) {
  38845. var t1 = {},
  38846. future = new A._Future($.Zone__current, type$._Future_int);
  38847. t1.count = 0;
  38848. this.listen$4$cancelOnError$onDone$onError(0, new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError());
  38849. return future;
  38850. }
  38851. };
  38852. A.Stream_Stream$fromFuture_closure.prototype = {
  38853. call$1(value) {
  38854. var t1 = this.controller;
  38855. t1._async$_add$1(value);
  38856. t1._closeUnchecked$0();
  38857. },
  38858. $signature() {
  38859. return this.T._eval$1("Null(0)");
  38860. }
  38861. };
  38862. A.Stream_Stream$fromFuture_closure0.prototype = {
  38863. call$2(error, stackTrace) {
  38864. var t1 = this.controller;
  38865. t1._addError$2(error, stackTrace);
  38866. t1._closeUnchecked$0();
  38867. },
  38868. $signature: 368
  38869. };
  38870. A.Stream_length_closure.prototype = {
  38871. call$1(__wc0_formal) {
  38872. ++this._box_0.count;
  38873. },
  38874. $signature() {
  38875. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38876. }
  38877. };
  38878. A.Stream_length_closure0.prototype = {
  38879. call$0() {
  38880. this.future._complete$1(this._box_0.count);
  38881. },
  38882. $signature: 0
  38883. };
  38884. A._StreamController.prototype = {
  38885. get$stream() {
  38886. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38887. },
  38888. get$_pendingEvents() {
  38889. if ((this._state & 8) === 0)
  38890. return this._varData;
  38891. return this._varData._varData;
  38892. },
  38893. _ensurePendingEvents$0() {
  38894. var events, state, _this = this;
  38895. if ((_this._state & 8) === 0) {
  38896. events = _this._varData;
  38897. return events == null ? _this._varData = new A._PendingEvents() : events;
  38898. }
  38899. state = _this._varData;
  38900. events = state._varData;
  38901. return events == null ? state._varData = new A._PendingEvents() : events;
  38902. },
  38903. get$_subscription() {
  38904. var varData = this._varData;
  38905. return (this._state & 8) !== 0 ? varData._varData : varData;
  38906. },
  38907. _badEventState$0() {
  38908. if ((this._state & 4) !== 0)
  38909. return new A.StateError("Cannot add event after closing");
  38910. return new A.StateError("Cannot add event while adding a stream");
  38911. },
  38912. addStream$2$cancelOnError(source, cancelOnError) {
  38913. var t2, t3, t4, _this = this,
  38914. t1 = _this._state;
  38915. if (t1 >= 4)
  38916. throw A.wrapException(_this._badEventState$0());
  38917. if ((t1 & 2) !== 0) {
  38918. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38919. t1._asyncComplete$1(null);
  38920. return t1;
  38921. }
  38922. t1 = _this._varData;
  38923. t2 = cancelOnError === true;
  38924. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38925. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38926. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38927. t2 = _this._state;
  38928. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38929. t4.pause$0(0);
  38930. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38931. _this._state |= 8;
  38932. return t3;
  38933. },
  38934. _ensureDoneFuture$0() {
  38935. var t1 = this._doneFuture;
  38936. if (t1 == null)
  38937. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38938. return t1;
  38939. },
  38940. add$1(_, value) {
  38941. if (this._state >= 4)
  38942. throw A.wrapException(this._badEventState$0());
  38943. this._async$_add$1(value);
  38944. },
  38945. addError$2(error, stackTrace) {
  38946. var _0_0;
  38947. if (this._state >= 4)
  38948. throw A.wrapException(this._badEventState$0());
  38949. _0_0 = A._interceptUserError(error, stackTrace);
  38950. this._addError$2(_0_0.error, _0_0.stackTrace);
  38951. },
  38952. addError$1(error) {
  38953. return this.addError$2(error, null);
  38954. },
  38955. close$0(_) {
  38956. var _this = this,
  38957. t1 = _this._state;
  38958. if ((t1 & 4) !== 0)
  38959. return _this._ensureDoneFuture$0();
  38960. if (t1 >= 4)
  38961. throw A.wrapException(_this._badEventState$0());
  38962. _this._closeUnchecked$0();
  38963. return _this._ensureDoneFuture$0();
  38964. },
  38965. _closeUnchecked$0() {
  38966. var t1 = this._state |= 4;
  38967. if ((t1 & 1) !== 0)
  38968. this._sendDone$0();
  38969. else if ((t1 & 3) === 0)
  38970. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38971. },
  38972. _async$_add$1(value) {
  38973. var t1 = this._state;
  38974. if ((t1 & 1) !== 0)
  38975. this._sendData$1(value);
  38976. else if ((t1 & 3) === 0)
  38977. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38978. },
  38979. _addError$2(error, stackTrace) {
  38980. var t1 = this._state;
  38981. if ((t1 & 1) !== 0)
  38982. this._sendError$2(error, stackTrace);
  38983. else if ((t1 & 3) === 0)
  38984. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38985. },
  38986. _close$0() {
  38987. var addState = this._varData;
  38988. this._varData = addState._varData;
  38989. this._state &= 4294967287;
  38990. addState.addStreamFuture._asyncComplete$1(null);
  38991. },
  38992. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38993. var subscription, pendingEvents, addState, _this = this;
  38994. if ((_this._state & 3) !== 0)
  38995. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38996. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38997. pendingEvents = _this.get$_pendingEvents();
  38998. if (((_this._state |= 1) & 8) !== 0) {
  38999. addState = _this._varData;
  39000. addState._varData = subscription;
  39001. addState.addSubscription.resume$0(0);
  39002. } else
  39003. _this._varData = subscription;
  39004. subscription._setPendingEvents$1(pendingEvents);
  39005. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  39006. return subscription;
  39007. },
  39008. _recordCancel$1(subscription) {
  39009. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  39010. if ((_this._state & 8) !== 0)
  39011. result = _this._varData.cancel$0();
  39012. _this._varData = null;
  39013. _this._state = _this._state & 4294967286 | 2;
  39014. onCancel = _this.onCancel;
  39015. if (onCancel != null)
  39016. if (result == null)
  39017. try {
  39018. cancelResult = onCancel.call$0();
  39019. if (cancelResult instanceof A._Future)
  39020. result = cancelResult;
  39021. } catch (exception) {
  39022. e = A.unwrapException(exception);
  39023. s = A.getTraceFromException(exception);
  39024. result0 = new A._Future($.Zone__current, type$._Future_void);
  39025. result0._asyncCompleteErrorObject$1(new A.AsyncError(e, s));
  39026. result = result0;
  39027. }
  39028. else
  39029. result = result.whenComplete$1(onCancel);
  39030. t1 = new A._StreamController__recordCancel_complete(_this);
  39031. if (result != null)
  39032. result = result.whenComplete$1(t1);
  39033. else
  39034. t1.call$0();
  39035. return result;
  39036. },
  39037. _recordPause$1(subscription) {
  39038. if ((this._state & 8) !== 0)
  39039. this._varData.addSubscription.pause$0(0);
  39040. A._runGuarded(this.onPause);
  39041. },
  39042. _recordResume$1(subscription) {
  39043. if ((this._state & 8) !== 0)
  39044. this._varData.addSubscription.resume$0(0);
  39045. A._runGuarded(this.onResume);
  39046. },
  39047. $isEventSink: 1,
  39048. set$onPause(val) {
  39049. return this.onPause = val;
  39050. },
  39051. set$onResume(val) {
  39052. return this.onResume = val;
  39053. },
  39054. set$onCancel(val) {
  39055. return this.onCancel = val;
  39056. }
  39057. };
  39058. A._StreamController__subscribe_closure.prototype = {
  39059. call$0() {
  39060. A._runGuarded(this.$this.onListen);
  39061. },
  39062. $signature: 0
  39063. };
  39064. A._StreamController__recordCancel_complete.prototype = {
  39065. call$0() {
  39066. var doneFuture = this.$this._doneFuture;
  39067. if (doneFuture != null && (doneFuture._state & 30) === 0)
  39068. doneFuture._asyncComplete$1(null);
  39069. },
  39070. $signature: 0
  39071. };
  39072. A._SyncStreamControllerDispatch.prototype = {
  39073. _sendData$1(data) {
  39074. this.get$_subscription()._async$_add$1(data);
  39075. },
  39076. _sendError$2(error, stackTrace) {
  39077. this.get$_subscription()._addError$2(error, stackTrace);
  39078. },
  39079. _sendDone$0() {
  39080. this.get$_subscription()._close$0();
  39081. }
  39082. };
  39083. A._AsyncStreamControllerDispatch.prototype = {
  39084. _sendData$1(data) {
  39085. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  39086. },
  39087. _sendError$2(error, stackTrace) {
  39088. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  39089. },
  39090. _sendDone$0() {
  39091. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  39092. }
  39093. };
  39094. A._AsyncStreamController.prototype = {};
  39095. A._SyncStreamController.prototype = {};
  39096. A._ControllerStream.prototype = {
  39097. get$hashCode(_) {
  39098. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  39099. },
  39100. $eq(_, other) {
  39101. if (other == null)
  39102. return false;
  39103. if (this === other)
  39104. return true;
  39105. return other instanceof A._ControllerStream && other._controller === this._controller;
  39106. }
  39107. };
  39108. A._ControllerSubscription.prototype = {
  39109. _async$_onCancel$0() {
  39110. return this._controller._recordCancel$1(this);
  39111. },
  39112. _async$_onPause$0() {
  39113. this._controller._recordPause$1(this);
  39114. },
  39115. _async$_onResume$0() {
  39116. this._controller._recordResume$1(this);
  39117. }
  39118. };
  39119. A._AddStreamState.prototype = {
  39120. cancel$0() {
  39121. var cancel = this.addSubscription.cancel$0();
  39122. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  39123. }
  39124. };
  39125. A._AddStreamState_makeErrorHandler_closure.prototype = {
  39126. call$2(e, s) {
  39127. var t1 = this.controller;
  39128. t1._addError$2(e, s);
  39129. t1._close$0();
  39130. },
  39131. $signature: 56
  39132. };
  39133. A._AddStreamState_cancel_closure.prototype = {
  39134. call$0() {
  39135. this.$this.addStreamFuture._asyncComplete$1(null);
  39136. },
  39137. $signature: 1
  39138. };
  39139. A._StreamControllerAddStreamState.prototype = {};
  39140. A._BufferingStreamSubscription.prototype = {
  39141. _setPendingEvents$1(pendingEvents) {
  39142. var _this = this;
  39143. if (pendingEvents == null)
  39144. return;
  39145. _this._pending = pendingEvents;
  39146. if (pendingEvents.lastPendingEvent != null) {
  39147. _this._state = (_this._state | 128) >>> 0;
  39148. pendingEvents.schedule$1(_this);
  39149. }
  39150. },
  39151. pause$1(_, resumeSignal) {
  39152. var t2, t3, _this = this,
  39153. t1 = _this._state;
  39154. if ((t1 & 8) !== 0)
  39155. return;
  39156. t2 = (t1 + 256 | 4) >>> 0;
  39157. _this._state = t2;
  39158. if (t1 < 256) {
  39159. t3 = _this._pending;
  39160. if (t3 != null)
  39161. if (t3._state === 1)
  39162. t3._state = 3;
  39163. }
  39164. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  39165. _this._guardCallback$1(_this.get$_async$_onPause());
  39166. },
  39167. pause$0(_) {
  39168. return this.pause$1(0, null);
  39169. },
  39170. resume$0(_) {
  39171. var _this = this,
  39172. t1 = _this._state;
  39173. if ((t1 & 8) !== 0)
  39174. return;
  39175. if (t1 >= 256) {
  39176. t1 = _this._state = t1 - 256;
  39177. if (t1 < 256)
  39178. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  39179. _this._pending.schedule$1(_this);
  39180. else {
  39181. t1 = (t1 & 4294967291) >>> 0;
  39182. _this._state = t1;
  39183. if ((t1 & 64) === 0)
  39184. _this._guardCallback$1(_this.get$_async$_onResume());
  39185. }
  39186. }
  39187. },
  39188. cancel$0() {
  39189. var _this = this,
  39190. t1 = (_this._state & 4294967279) >>> 0;
  39191. _this._state = t1;
  39192. if ((t1 & 8) === 0)
  39193. _this._cancel$0();
  39194. t1 = _this._cancelFuture;
  39195. return t1 == null ? $.$get$Future__nullFuture() : t1;
  39196. },
  39197. _cancel$0() {
  39198. var t2, _this = this,
  39199. t1 = _this._state = (_this._state | 8) >>> 0;
  39200. if ((t1 & 128) !== 0) {
  39201. t2 = _this._pending;
  39202. if (t2._state === 1)
  39203. t2._state = 3;
  39204. }
  39205. if ((t1 & 64) === 0)
  39206. _this._pending = null;
  39207. _this._cancelFuture = _this._async$_onCancel$0();
  39208. },
  39209. _async$_add$1(data) {
  39210. var t1 = this._state;
  39211. if ((t1 & 8) !== 0)
  39212. return;
  39213. if (t1 < 64)
  39214. this._sendData$1(data);
  39215. else
  39216. this._addPending$1(new A._DelayedData(data));
  39217. },
  39218. _addError$2(error, stackTrace) {
  39219. var t1;
  39220. if (type$.Error._is(error))
  39221. A.Primitives_trySetStackTrace(error, stackTrace);
  39222. t1 = this._state;
  39223. if ((t1 & 8) !== 0)
  39224. return;
  39225. if (t1 < 64)
  39226. this._sendError$2(error, stackTrace);
  39227. else
  39228. this._addPending$1(new A._DelayedError(error, stackTrace));
  39229. },
  39230. _close$0() {
  39231. var _this = this,
  39232. t1 = _this._state;
  39233. if ((t1 & 8) !== 0)
  39234. return;
  39235. t1 = (t1 | 2) >>> 0;
  39236. _this._state = t1;
  39237. if (t1 < 64)
  39238. _this._sendDone$0();
  39239. else
  39240. _this._addPending$1(B.C__DelayedDone);
  39241. },
  39242. _async$_onPause$0() {
  39243. },
  39244. _async$_onResume$0() {
  39245. },
  39246. _async$_onCancel$0() {
  39247. return null;
  39248. },
  39249. _addPending$1($event) {
  39250. var t1, _this = this,
  39251. pending = _this._pending;
  39252. if (pending == null)
  39253. pending = _this._pending = new A._PendingEvents();
  39254. pending.add$1(0, $event);
  39255. t1 = _this._state;
  39256. if ((t1 & 128) === 0) {
  39257. t1 = (t1 | 128) >>> 0;
  39258. _this._state = t1;
  39259. if (t1 < 256)
  39260. pending.schedule$1(_this);
  39261. }
  39262. },
  39263. _sendData$1(data) {
  39264. var _this = this,
  39265. t1 = _this._state;
  39266. _this._state = (t1 | 64) >>> 0;
  39267. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  39268. _this._state = (_this._state & 4294967231) >>> 0;
  39269. _this._checkState$1((t1 & 4) !== 0);
  39270. },
  39271. _sendError$2(error, stackTrace) {
  39272. var cancelFuture, _this = this,
  39273. t1 = _this._state,
  39274. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  39275. if ((t1 & 1) !== 0) {
  39276. _this._state = (t1 | 16) >>> 0;
  39277. _this._cancel$0();
  39278. cancelFuture = _this._cancelFuture;
  39279. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39280. cancelFuture.whenComplete$1(t2);
  39281. else
  39282. t2.call$0();
  39283. } else {
  39284. t2.call$0();
  39285. _this._checkState$1((t1 & 4) !== 0);
  39286. }
  39287. },
  39288. _sendDone$0() {
  39289. var cancelFuture, _this = this,
  39290. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  39291. _this._cancel$0();
  39292. _this._state = (_this._state | 16) >>> 0;
  39293. cancelFuture = _this._cancelFuture;
  39294. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39295. cancelFuture.whenComplete$1(t1);
  39296. else
  39297. t1.call$0();
  39298. },
  39299. _guardCallback$1(callback) {
  39300. var _this = this,
  39301. t1 = _this._state;
  39302. _this._state = (t1 | 64) >>> 0;
  39303. callback.call$0();
  39304. _this._state = (_this._state & 4294967231) >>> 0;
  39305. _this._checkState$1((t1 & 4) !== 0);
  39306. },
  39307. _checkState$1(wasInputPaused) {
  39308. var t2, isInputPaused, _this = this,
  39309. t1 = _this._state;
  39310. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  39311. t1 = _this._state = (t1 & 4294967167) >>> 0;
  39312. t2 = false;
  39313. if ((t1 & 4) !== 0)
  39314. if (t1 < 256) {
  39315. t2 = _this._pending;
  39316. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  39317. t2 = t2 !== false;
  39318. }
  39319. if (t2) {
  39320. t1 = (t1 & 4294967291) >>> 0;
  39321. _this._state = t1;
  39322. }
  39323. }
  39324. for (;; wasInputPaused = isInputPaused) {
  39325. if ((t1 & 8) !== 0) {
  39326. _this._pending = null;
  39327. return;
  39328. }
  39329. isInputPaused = (t1 & 4) !== 0;
  39330. if (wasInputPaused === isInputPaused)
  39331. break;
  39332. _this._state = (t1 ^ 64) >>> 0;
  39333. if (isInputPaused)
  39334. _this._async$_onPause$0();
  39335. else
  39336. _this._async$_onResume$0();
  39337. t1 = (_this._state & 4294967231) >>> 0;
  39338. _this._state = t1;
  39339. }
  39340. if ((t1 & 128) !== 0 && t1 < 256)
  39341. _this._pending.schedule$1(_this);
  39342. },
  39343. $isStreamSubscription: 1
  39344. };
  39345. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  39346. call$0() {
  39347. var onError, t3, t4,
  39348. t1 = this.$this,
  39349. t2 = t1._state;
  39350. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  39351. return;
  39352. t1._state = (t2 | 64) >>> 0;
  39353. onError = t1._onError;
  39354. t2 = this.error;
  39355. t3 = type$.Object;
  39356. t4 = t1._zone;
  39357. if (type$.void_Function_Object_StackTrace._is(onError))
  39358. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  39359. else
  39360. t4.runUnaryGuarded$1$2(onError, t2, t3);
  39361. t1._state = (t1._state & 4294967231) >>> 0;
  39362. },
  39363. $signature: 0
  39364. };
  39365. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39366. call$0() {
  39367. var t1 = this.$this,
  39368. t2 = t1._state;
  39369. if ((t2 & 16) === 0)
  39370. return;
  39371. t1._state = (t2 | 74) >>> 0;
  39372. t1._zone.runGuarded$1(t1._onDone);
  39373. t1._state = (t1._state & 4294967231) >>> 0;
  39374. },
  39375. $signature: 0
  39376. };
  39377. A._StreamImpl.prototype = {
  39378. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39379. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39380. },
  39381. listen$1(_, onData) {
  39382. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39383. },
  39384. listen$3$onDone$onError(_, onData, onDone, onError) {
  39385. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39386. }
  39387. };
  39388. A._DelayedEvent.prototype = {
  39389. get$next() {
  39390. return this.next;
  39391. },
  39392. set$next(val) {
  39393. return this.next = val;
  39394. }
  39395. };
  39396. A._DelayedData.prototype = {
  39397. perform$1(dispatch) {
  39398. dispatch._sendData$1(this.value);
  39399. }
  39400. };
  39401. A._DelayedError.prototype = {
  39402. perform$1(dispatch) {
  39403. dispatch._sendError$2(this.error, this.stackTrace);
  39404. }
  39405. };
  39406. A._DelayedDone.prototype = {
  39407. perform$1(dispatch) {
  39408. dispatch._sendDone$0();
  39409. },
  39410. get$next() {
  39411. return null;
  39412. },
  39413. set$next(__wc0_formal) {
  39414. throw A.wrapException(A.StateError$("No events after a done."));
  39415. }
  39416. };
  39417. A._PendingEvents.prototype = {
  39418. schedule$1(dispatch) {
  39419. var _this = this,
  39420. t1 = _this._state;
  39421. if (t1 === 1)
  39422. return;
  39423. if (t1 >= 1) {
  39424. _this._state = 1;
  39425. return;
  39426. }
  39427. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39428. _this._state = 1;
  39429. },
  39430. add$1(_, $event) {
  39431. var _this = this,
  39432. lastEvent = _this.lastPendingEvent;
  39433. if (lastEvent == null)
  39434. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39435. else {
  39436. lastEvent.set$next($event);
  39437. _this.lastPendingEvent = $event;
  39438. }
  39439. }
  39440. };
  39441. A._PendingEvents_schedule_closure.prototype = {
  39442. call$0() {
  39443. var $event, nextEvent,
  39444. t1 = this.$this,
  39445. oldState = t1._state;
  39446. t1._state = 0;
  39447. if (oldState === 3)
  39448. return;
  39449. $event = t1.firstPendingEvent;
  39450. nextEvent = $event.get$next();
  39451. t1.firstPendingEvent = nextEvent;
  39452. if (nextEvent == null)
  39453. t1.lastPendingEvent = null;
  39454. $event.perform$1(this.dispatch);
  39455. },
  39456. $signature: 0
  39457. };
  39458. A._StreamIterator.prototype = {
  39459. get$current(_) {
  39460. if (this._async$_hasValue)
  39461. return this._stateData;
  39462. return null;
  39463. },
  39464. moveNext$0() {
  39465. var future, _this = this,
  39466. subscription = _this._subscription;
  39467. if (subscription != null) {
  39468. if (_this._async$_hasValue) {
  39469. future = new A._Future($.Zone__current, type$._Future_bool);
  39470. _this._stateData = future;
  39471. _this._async$_hasValue = false;
  39472. subscription.resume$0(0);
  39473. return future;
  39474. }
  39475. throw A.wrapException(A.StateError$("Already waiting for next."));
  39476. }
  39477. return _this._initializeOrDone$0();
  39478. },
  39479. _initializeOrDone$0() {
  39480. var future, subscription, _this = this,
  39481. stateData = _this._stateData;
  39482. if (stateData != null) {
  39483. future = new A._Future($.Zone__current, type$._Future_bool);
  39484. _this._stateData = future;
  39485. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39486. if (_this._stateData != null)
  39487. _this._subscription = subscription;
  39488. return future;
  39489. }
  39490. return $.$get$Future__falseFuture();
  39491. },
  39492. cancel$0() {
  39493. var _this = this,
  39494. subscription = _this._subscription,
  39495. stateData = _this._stateData;
  39496. _this._stateData = null;
  39497. if (subscription != null) {
  39498. _this._subscription = null;
  39499. if (!_this._async$_hasValue)
  39500. stateData._asyncComplete$1(false);
  39501. else
  39502. _this._async$_hasValue = false;
  39503. return subscription.cancel$0();
  39504. }
  39505. return $.$get$Future__nullFuture();
  39506. },
  39507. _onData$1(data) {
  39508. var moveNextFuture, t1, _this = this;
  39509. if (_this._subscription == null)
  39510. return;
  39511. moveNextFuture = _this._stateData;
  39512. _this._stateData = data;
  39513. _this._async$_hasValue = true;
  39514. moveNextFuture._complete$1(true);
  39515. if (_this._async$_hasValue) {
  39516. t1 = _this._subscription;
  39517. if (t1 != null)
  39518. t1.pause$0(0);
  39519. }
  39520. },
  39521. _onError$2(error, stackTrace) {
  39522. var _this = this,
  39523. subscription = _this._subscription,
  39524. moveNextFuture = _this._stateData;
  39525. _this._stateData = _this._subscription = null;
  39526. if (subscription != null)
  39527. moveNextFuture._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  39528. else
  39529. moveNextFuture._asyncCompleteErrorObject$1(new A.AsyncError(error, stackTrace));
  39530. },
  39531. _onDone$0() {
  39532. var _this = this,
  39533. subscription = _this._subscription,
  39534. moveNextFuture = _this._stateData;
  39535. _this._stateData = _this._subscription = null;
  39536. if (subscription != null)
  39537. moveNextFuture._completeWithValue$1(false);
  39538. else
  39539. moveNextFuture._asyncCompleteWithValue$1(false);
  39540. }
  39541. };
  39542. A._ForwardingStream.prototype = {
  39543. get$isBroadcast() {
  39544. return this._async$_source.get$isBroadcast();
  39545. },
  39546. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39547. var t1 = this.$ti,
  39548. t2 = $.Zone__current,
  39549. t3 = cancelOnError === true ? 1 : 0,
  39550. t4 = onError != null ? 32 : 0,
  39551. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39552. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39553. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39554. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39555. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39556. return t1;
  39557. },
  39558. listen$1(_, onData) {
  39559. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39560. },
  39561. listen$3$onDone$onError(_, onData, onDone, onError) {
  39562. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39563. }
  39564. };
  39565. A._ForwardingStreamSubscription.prototype = {
  39566. _async$_add$1(data) {
  39567. if ((this._state & 2) !== 0)
  39568. return;
  39569. this.super$_BufferingStreamSubscription$_add(data);
  39570. },
  39571. _addError$2(error, stackTrace) {
  39572. if ((this._state & 2) !== 0)
  39573. return;
  39574. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39575. },
  39576. _async$_onPause$0() {
  39577. var t1 = this._subscription;
  39578. if (t1 != null)
  39579. t1.pause$0(0);
  39580. },
  39581. _async$_onResume$0() {
  39582. var t1 = this._subscription;
  39583. if (t1 != null)
  39584. t1.resume$0(0);
  39585. },
  39586. _async$_onCancel$0() {
  39587. var subscription = this._subscription;
  39588. if (subscription != null) {
  39589. this._subscription = null;
  39590. return subscription.cancel$0();
  39591. }
  39592. return null;
  39593. },
  39594. _handleData$1(data) {
  39595. this._stream._handleData$2(data, this);
  39596. },
  39597. _handleError$2(error, stackTrace) {
  39598. this._addError$2(error, stackTrace);
  39599. },
  39600. _handleDone$0() {
  39601. this._close$0();
  39602. }
  39603. };
  39604. A._MapStream.prototype = {
  39605. _handleData$2(inputEvent, sink) {
  39606. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39607. try {
  39608. outputEvent = this._transform.call$1(inputEvent);
  39609. } catch (exception) {
  39610. e = A.unwrapException(exception);
  39611. s = A.getTraceFromException(exception);
  39612. error = e;
  39613. stackTrace = s;
  39614. replacement = A._interceptError(error, stackTrace);
  39615. if (replacement != null) {
  39616. error = replacement.error;
  39617. stackTrace = replacement.stackTrace;
  39618. }
  39619. sink._addError$2(error, stackTrace);
  39620. return;
  39621. }
  39622. sink._async$_add$1(outputEvent);
  39623. }
  39624. };
  39625. A._ZoneFunction.prototype = {};
  39626. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39627. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39628. A._Zone.prototype = {
  39629. _processUncaughtError$3(zone, error, stackTrace) {
  39630. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39631. implementation = this.get$_handleUncaughtError(),
  39632. implZone = implementation.zone;
  39633. if (implZone === B.C__RootZone) {
  39634. A._rootHandleError(error, stackTrace);
  39635. return;
  39636. }
  39637. handler = implementation.$function;
  39638. parentDelegate = implZone.get$_parentDelegate();
  39639. t1 = J.get$parent$z(implZone);
  39640. t1.toString;
  39641. parentZone = t1;
  39642. currentZone = $.Zone__current;
  39643. try {
  39644. $.Zone__current = parentZone;
  39645. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39646. $.Zone__current = currentZone;
  39647. } catch (exception) {
  39648. e = A.unwrapException(exception);
  39649. s = A.getTraceFromException(exception);
  39650. $.Zone__current = currentZone;
  39651. t1 = error === e ? stackTrace : s;
  39652. parentZone._processUncaughtError$3(implZone, e, t1);
  39653. }
  39654. },
  39655. $isZone: 1
  39656. };
  39657. A._CustomZone.prototype = {
  39658. get$_delegate() {
  39659. var t1 = this._delegateCache;
  39660. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39661. },
  39662. get$_parentDelegate() {
  39663. return this.parent.get$_delegate();
  39664. },
  39665. get$errorZone() {
  39666. return this._handleUncaughtError.zone;
  39667. },
  39668. runGuarded$1(f) {
  39669. var e, s, exception;
  39670. try {
  39671. this.run$1$1(0, f, type$.void);
  39672. } catch (exception) {
  39673. e = A.unwrapException(exception);
  39674. s = A.getTraceFromException(exception);
  39675. this._processUncaughtError$3(this, e, s);
  39676. }
  39677. },
  39678. runUnaryGuarded$1$2(f, arg, $T) {
  39679. var e, s, exception;
  39680. try {
  39681. this.runUnary$2$2(f, arg, type$.void, $T);
  39682. } catch (exception) {
  39683. e = A.unwrapException(exception);
  39684. s = A.getTraceFromException(exception);
  39685. this._processUncaughtError$3(this, e, s);
  39686. }
  39687. },
  39688. runBinaryGuarded$2$3(f, arg1, arg2, $T1, $T2) {
  39689. var e, s, exception;
  39690. try {
  39691. this.runBinary$3$3(f, arg1, arg2, type$.void, $T1, $T2);
  39692. } catch (exception) {
  39693. e = A.unwrapException(exception);
  39694. s = A.getTraceFromException(exception);
  39695. this._processUncaughtError$3(this, e, s);
  39696. }
  39697. },
  39698. bindCallback$1$1(f, $R) {
  39699. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39700. },
  39701. bindUnaryCallback$2$1(f, $R, $T) {
  39702. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39703. },
  39704. bindCallbackGuarded$1(f) {
  39705. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39706. },
  39707. $index(_, key) {
  39708. var value,
  39709. t1 = this._async$_map,
  39710. result = t1.$index(0, key);
  39711. if (result != null || t1.containsKey$1(key))
  39712. return result;
  39713. value = this.parent.$index(0, key);
  39714. if (value != null)
  39715. t1.$indexSet(0, key, value);
  39716. return value;
  39717. },
  39718. handleUncaughtError$2(error, stackTrace) {
  39719. this._processUncaughtError$3(this, error, stackTrace);
  39720. },
  39721. fork$2$specification$zoneValues(specification, zoneValues) {
  39722. var implementation = this._fork,
  39723. t1 = implementation.zone;
  39724. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39725. },
  39726. run$1$1(_, f) {
  39727. var implementation = this._run,
  39728. t1 = implementation.zone;
  39729. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39730. },
  39731. runUnary$2$2(f, arg) {
  39732. var implementation = this._runUnary,
  39733. t1 = implementation.zone;
  39734. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39735. },
  39736. runBinary$3$3(f, arg1, arg2) {
  39737. var implementation = this._runBinary,
  39738. t1 = implementation.zone;
  39739. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39740. },
  39741. registerCallback$1$1(callback) {
  39742. var implementation = this._registerCallback,
  39743. t1 = implementation.zone;
  39744. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39745. },
  39746. registerUnaryCallback$2$1(callback) {
  39747. var implementation = this._registerUnaryCallback,
  39748. t1 = implementation.zone;
  39749. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39750. },
  39751. registerBinaryCallback$3$1(callback) {
  39752. var implementation = this._registerBinaryCallback,
  39753. t1 = implementation.zone;
  39754. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39755. },
  39756. errorCallback$2(error, stackTrace) {
  39757. var implementation = this._errorCallback,
  39758. implementationZone = implementation.zone;
  39759. if (implementationZone === B.C__RootZone)
  39760. return null;
  39761. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39762. },
  39763. scheduleMicrotask$1(f) {
  39764. var implementation = this._scheduleMicrotask,
  39765. t1 = implementation.zone;
  39766. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39767. },
  39768. createTimer$2(duration, f) {
  39769. var implementation = this._createTimer,
  39770. t1 = implementation.zone;
  39771. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39772. },
  39773. print$1(line) {
  39774. var implementation = this._print,
  39775. t1 = implementation.zone;
  39776. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39777. },
  39778. get$_run() {
  39779. return this._run;
  39780. },
  39781. get$_runUnary() {
  39782. return this._runUnary;
  39783. },
  39784. get$_runBinary() {
  39785. return this._runBinary;
  39786. },
  39787. get$_registerCallback() {
  39788. return this._registerCallback;
  39789. },
  39790. get$_registerUnaryCallback() {
  39791. return this._registerUnaryCallback;
  39792. },
  39793. get$_registerBinaryCallback() {
  39794. return this._registerBinaryCallback;
  39795. },
  39796. get$_errorCallback() {
  39797. return this._errorCallback;
  39798. },
  39799. get$_scheduleMicrotask() {
  39800. return this._scheduleMicrotask;
  39801. },
  39802. get$_createTimer() {
  39803. return this._createTimer;
  39804. },
  39805. get$_createPeriodicTimer() {
  39806. return this._createPeriodicTimer;
  39807. },
  39808. get$_print() {
  39809. return this._print;
  39810. },
  39811. get$_fork() {
  39812. return this._fork;
  39813. },
  39814. get$_handleUncaughtError() {
  39815. return this._handleUncaughtError;
  39816. },
  39817. get$parent(receiver) {
  39818. return this.parent;
  39819. },
  39820. get$_async$_map() {
  39821. return this._async$_map;
  39822. }
  39823. };
  39824. A._CustomZone_bindCallback_closure.prototype = {
  39825. call$0() {
  39826. return this.$this.run$1$1(0, this.registered, this.R);
  39827. },
  39828. $signature() {
  39829. return this.R._eval$1("0()");
  39830. }
  39831. };
  39832. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39833. call$1(arg) {
  39834. var _this = this;
  39835. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39836. },
  39837. $signature() {
  39838. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39839. }
  39840. };
  39841. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39842. call$0() {
  39843. return this.$this.runGuarded$1(this.registered);
  39844. },
  39845. $signature: 0
  39846. };
  39847. A._rootHandleError_closure.prototype = {
  39848. call$0() {
  39849. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39850. },
  39851. $signature: 0
  39852. };
  39853. A._RootZone.prototype = {
  39854. get$_run() {
  39855. return B._ZoneFunction__RootZone__rootRun;
  39856. },
  39857. get$_runUnary() {
  39858. return B._ZoneFunction__RootZone__rootRunUnary;
  39859. },
  39860. get$_runBinary() {
  39861. return B._ZoneFunction__RootZone__rootRunBinary;
  39862. },
  39863. get$_registerCallback() {
  39864. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39865. },
  39866. get$_registerUnaryCallback() {
  39867. return B._ZoneFunction_Xkh;
  39868. },
  39869. get$_registerBinaryCallback() {
  39870. return B._ZoneFunction_e9o;
  39871. },
  39872. get$_errorCallback() {
  39873. return B._ZoneFunction__RootZone__rootErrorCallback;
  39874. },
  39875. get$_scheduleMicrotask() {
  39876. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39877. },
  39878. get$_createTimer() {
  39879. return B._ZoneFunction__RootZone__rootCreateTimer;
  39880. },
  39881. get$_createPeriodicTimer() {
  39882. return B._ZoneFunction_PAY;
  39883. },
  39884. get$_print() {
  39885. return B._ZoneFunction__RootZone__rootPrint;
  39886. },
  39887. get$_fork() {
  39888. return B._ZoneFunction__RootZone__rootFork;
  39889. },
  39890. get$_handleUncaughtError() {
  39891. return B._ZoneFunction_KjJ;
  39892. },
  39893. get$parent(_) {
  39894. return null;
  39895. },
  39896. get$_async$_map() {
  39897. return $.$get$_RootZone__rootMap();
  39898. },
  39899. get$_delegate() {
  39900. var t1 = $._RootZone__rootDelegate;
  39901. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39902. },
  39903. get$_parentDelegate() {
  39904. var t1 = $._RootZone__rootDelegate;
  39905. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39906. },
  39907. get$errorZone() {
  39908. return this;
  39909. },
  39910. runGuarded$1(f) {
  39911. var e, s, exception;
  39912. try {
  39913. if (B.C__RootZone === $.Zone__current) {
  39914. f.call$0();
  39915. return;
  39916. }
  39917. A._rootRun(null, null, this, f);
  39918. } catch (exception) {
  39919. e = A.unwrapException(exception);
  39920. s = A.getTraceFromException(exception);
  39921. A._rootHandleError(e, s);
  39922. }
  39923. },
  39924. runUnaryGuarded$1$2(f, arg) {
  39925. var e, s, exception;
  39926. try {
  39927. if (B.C__RootZone === $.Zone__current) {
  39928. f.call$1(arg);
  39929. return;
  39930. }
  39931. A._rootRunUnary(null, null, this, f, arg);
  39932. } catch (exception) {
  39933. e = A.unwrapException(exception);
  39934. s = A.getTraceFromException(exception);
  39935. A._rootHandleError(e, s);
  39936. }
  39937. },
  39938. runBinaryGuarded$2$3(f, arg1, arg2) {
  39939. var e, s, exception;
  39940. try {
  39941. if (B.C__RootZone === $.Zone__current) {
  39942. f.call$2(arg1, arg2);
  39943. return;
  39944. }
  39945. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39946. } catch (exception) {
  39947. e = A.unwrapException(exception);
  39948. s = A.getTraceFromException(exception);
  39949. A._rootHandleError(e, s);
  39950. }
  39951. },
  39952. bindCallback$1$1(f, $R) {
  39953. return new A._RootZone_bindCallback_closure(this, f, $R);
  39954. },
  39955. bindUnaryCallback$2$1(f, $R, $T) {
  39956. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39957. },
  39958. bindCallbackGuarded$1(f) {
  39959. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39960. },
  39961. $index(_, key) {
  39962. return null;
  39963. },
  39964. handleUncaughtError$2(error, stackTrace) {
  39965. A._rootHandleError(error, stackTrace);
  39966. },
  39967. fork$2$specification$zoneValues(specification, zoneValues) {
  39968. return A._rootFork(null, null, this, specification, zoneValues);
  39969. },
  39970. run$1$1(_, f) {
  39971. if ($.Zone__current === B.C__RootZone)
  39972. return f.call$0();
  39973. return A._rootRun(null, null, this, f);
  39974. },
  39975. runUnary$2$2(f, arg) {
  39976. if ($.Zone__current === B.C__RootZone)
  39977. return f.call$1(arg);
  39978. return A._rootRunUnary(null, null, this, f, arg);
  39979. },
  39980. runBinary$3$3(f, arg1, arg2) {
  39981. if ($.Zone__current === B.C__RootZone)
  39982. return f.call$2(arg1, arg2);
  39983. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39984. },
  39985. registerCallback$1$1(f) {
  39986. return f;
  39987. },
  39988. registerUnaryCallback$2$1(f) {
  39989. return f;
  39990. },
  39991. registerBinaryCallback$3$1(f) {
  39992. return f;
  39993. },
  39994. errorCallback$2(error, stackTrace) {
  39995. return null;
  39996. },
  39997. scheduleMicrotask$1(f) {
  39998. A._rootScheduleMicrotask(null, null, this, f);
  39999. },
  40000. createTimer$2(duration, f) {
  40001. return A.Timer__createTimer(duration, f);
  40002. },
  40003. print$1(line) {
  40004. A.printString(line);
  40005. }
  40006. };
  40007. A._RootZone_bindCallback_closure.prototype = {
  40008. call$0() {
  40009. return this.$this.run$1$1(0, this.f, this.R);
  40010. },
  40011. $signature() {
  40012. return this.R._eval$1("0()");
  40013. }
  40014. };
  40015. A._RootZone_bindUnaryCallback_closure.prototype = {
  40016. call$1(arg) {
  40017. var _this = this;
  40018. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  40019. },
  40020. $signature() {
  40021. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  40022. }
  40023. };
  40024. A._RootZone_bindCallbackGuarded_closure.prototype = {
  40025. call$0() {
  40026. return this.$this.runGuarded$1(this.f);
  40027. },
  40028. $signature: 0
  40029. };
  40030. A._HashMap.prototype = {
  40031. get$length(_) {
  40032. return this._collection$_length;
  40033. },
  40034. get$isEmpty(_) {
  40035. return this._collection$_length === 0;
  40036. },
  40037. get$isNotEmpty(_) {
  40038. return this._collection$_length !== 0;
  40039. },
  40040. get$keys(_) {
  40041. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  40042. },
  40043. get$values(_) {
  40044. var t1 = A._instanceType(this);
  40045. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  40046. },
  40047. containsKey$1(key) {
  40048. var strings, nums;
  40049. if (typeof key == "string" && key !== "__proto__") {
  40050. strings = this._collection$_strings;
  40051. return strings == null ? false : strings[key] != null;
  40052. } else if (typeof key == "number" && (key & 1073741823) === key) {
  40053. nums = this._collection$_nums;
  40054. return nums == null ? false : nums[key] != null;
  40055. } else
  40056. return this._containsKey$1(key);
  40057. },
  40058. _containsKey$1(key) {
  40059. var rest = this._collection$_rest;
  40060. if (rest == null)
  40061. return false;
  40062. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  40063. },
  40064. addAll$1(_, other) {
  40065. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  40066. },
  40067. $index(_, key) {
  40068. var strings, t1, nums;
  40069. if (typeof key == "string" && key !== "__proto__") {
  40070. strings = this._collection$_strings;
  40071. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  40072. return t1;
  40073. } else if (typeof key == "number" && (key & 1073741823) === key) {
  40074. nums = this._collection$_nums;
  40075. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  40076. return t1;
  40077. } else
  40078. return this._get$1(key);
  40079. },
  40080. _get$1(key) {
  40081. var bucket, index,
  40082. rest = this._collection$_rest;
  40083. if (rest == null)
  40084. return null;
  40085. bucket = this._getBucket$2(rest, key);
  40086. index = this._findBucketIndex$2(bucket, key);
  40087. return index < 0 ? null : bucket[index + 1];
  40088. },
  40089. $indexSet(_, key, value) {
  40090. var strings, nums, _this = this;
  40091. if (typeof key == "string" && key !== "__proto__") {
  40092. strings = _this._collection$_strings;
  40093. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  40094. } else if (typeof key == "number" && (key & 1073741823) === key) {
  40095. nums = _this._collection$_nums;
  40096. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  40097. } else
  40098. _this._set$2(key, value);
  40099. },
  40100. _set$2(key, value) {
  40101. var hash, bucket, index, _this = this,
  40102. rest = _this._collection$_rest;
  40103. if (rest == null)
  40104. rest = _this._collection$_rest = A._HashMap__newHashTable();
  40105. hash = _this._computeHashCode$1(key);
  40106. bucket = rest[hash];
  40107. if (bucket == null) {
  40108. A._HashMap__setTableEntry(rest, hash, [key, value]);
  40109. ++_this._collection$_length;
  40110. _this._collection$_keys = null;
  40111. } else {
  40112. index = _this._findBucketIndex$2(bucket, key);
  40113. if (index >= 0)
  40114. bucket[index + 1] = value;
  40115. else {
  40116. bucket.push(key, value);
  40117. ++_this._collection$_length;
  40118. _this._collection$_keys = null;
  40119. }
  40120. }
  40121. },
  40122. remove$1(_, key) {
  40123. var t1;
  40124. if (key !== "__proto__")
  40125. return this._removeHashTableEntry$2(this._collection$_strings, key);
  40126. else {
  40127. t1 = this._remove$1(key);
  40128. return t1;
  40129. }
  40130. },
  40131. _remove$1(key) {
  40132. var hash, bucket, index, result, _this = this,
  40133. rest = _this._collection$_rest;
  40134. if (rest == null)
  40135. return null;
  40136. hash = _this._computeHashCode$1(key);
  40137. bucket = rest[hash];
  40138. index = _this._findBucketIndex$2(bucket, key);
  40139. if (index < 0)
  40140. return null;
  40141. --_this._collection$_length;
  40142. _this._collection$_keys = null;
  40143. result = bucket.splice(index, 2)[1];
  40144. if (0 === bucket.length)
  40145. delete rest[hash];
  40146. return result;
  40147. },
  40148. forEach$1(_, action) {
  40149. var $length, t1, i, key, t2, _this = this,
  40150. keys = _this._computeKeys$0();
  40151. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  40152. key = keys[i];
  40153. t2 = _this.$index(0, key);
  40154. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  40155. if (keys !== _this._collection$_keys)
  40156. throw A.wrapException(A.ConcurrentModificationError$(_this));
  40157. }
  40158. },
  40159. _computeKeys$0() {
  40160. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  40161. result = _this._collection$_keys;
  40162. if (result != null)
  40163. return result;
  40164. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  40165. strings = _this._collection$_strings;
  40166. index = 0;
  40167. if (strings != null) {
  40168. names = Object.getOwnPropertyNames(strings);
  40169. entries = names.length;
  40170. for (i = 0; i < entries; ++i) {
  40171. result[index] = names[i];
  40172. ++index;
  40173. }
  40174. }
  40175. nums = _this._collection$_nums;
  40176. if (nums != null) {
  40177. names = Object.getOwnPropertyNames(nums);
  40178. entries = names.length;
  40179. for (i = 0; i < entries; ++i) {
  40180. result[index] = +names[i];
  40181. ++index;
  40182. }
  40183. }
  40184. rest = _this._collection$_rest;
  40185. if (rest != null) {
  40186. names = Object.getOwnPropertyNames(rest);
  40187. entries = names.length;
  40188. for (i = 0; i < entries; ++i) {
  40189. bucket = rest[names[i]];
  40190. $length = bucket.length;
  40191. for (i0 = 0; i0 < $length; i0 += 2) {
  40192. result[index] = bucket[i0];
  40193. ++index;
  40194. }
  40195. }
  40196. }
  40197. return _this._collection$_keys = result;
  40198. },
  40199. _collection$_addHashTableEntry$3(table, key, value) {
  40200. if (table[key] == null) {
  40201. ++this._collection$_length;
  40202. this._collection$_keys = null;
  40203. }
  40204. A._HashMap__setTableEntry(table, key, value);
  40205. },
  40206. _removeHashTableEntry$2(table, key) {
  40207. var value;
  40208. if (table != null && table[key] != null) {
  40209. value = A._HashMap__getTableEntry(table, key);
  40210. delete table[key];
  40211. --this._collection$_length;
  40212. this._collection$_keys = null;
  40213. return value;
  40214. } else
  40215. return null;
  40216. },
  40217. _computeHashCode$1(key) {
  40218. return J.get$hashCode$(key) & 1073741823;
  40219. },
  40220. _getBucket$2(table, key) {
  40221. return table[this._computeHashCode$1(key)];
  40222. },
  40223. _findBucketIndex$2(bucket, key) {
  40224. var $length, i;
  40225. if (bucket == null)
  40226. return -1;
  40227. $length = bucket.length;
  40228. for (i = 0; i < $length; i += 2)
  40229. if (J.$eq$(bucket[i], key))
  40230. return i;
  40231. return -1;
  40232. }
  40233. };
  40234. A._HashMap_values_closure.prototype = {
  40235. call$1(each) {
  40236. var t1 = this.$this,
  40237. t2 = t1.$index(0, each);
  40238. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  40239. },
  40240. $signature() {
  40241. return A._instanceType(this.$this)._eval$1("2(1)");
  40242. }
  40243. };
  40244. A._HashMap_addAll_closure.prototype = {
  40245. call$2(key, value) {
  40246. this.$this.$indexSet(0, key, value);
  40247. },
  40248. $signature() {
  40249. return A._instanceType(this.$this)._eval$1("~(1,2)");
  40250. }
  40251. };
  40252. A._IdentityHashMap.prototype = {
  40253. _computeHashCode$1(key) {
  40254. return A.objectHashCode(key) & 1073741823;
  40255. },
  40256. _findBucketIndex$2(bucket, key) {
  40257. var $length, i, t1;
  40258. if (bucket == null)
  40259. return -1;
  40260. $length = bucket.length;
  40261. for (i = 0; i < $length; i += 2) {
  40262. t1 = bucket[i];
  40263. if (t1 == null ? key == null : t1 === key)
  40264. return i;
  40265. }
  40266. return -1;
  40267. }
  40268. };
  40269. A._HashMapKeyIterable.prototype = {
  40270. get$length(_) {
  40271. return this._map._collection$_length;
  40272. },
  40273. get$isEmpty(_) {
  40274. return this._map._collection$_length === 0;
  40275. },
  40276. get$isNotEmpty(_) {
  40277. return this._map._collection$_length !== 0;
  40278. },
  40279. get$iterator(_) {
  40280. var t1 = this._map;
  40281. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  40282. },
  40283. contains$1(_, element) {
  40284. return this._map.containsKey$1(element);
  40285. }
  40286. };
  40287. A._HashMapKeyIterator.prototype = {
  40288. get$current(_) {
  40289. var t1 = this._collection$_current;
  40290. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40291. },
  40292. moveNext$0() {
  40293. var _this = this,
  40294. keys = _this._collection$_keys,
  40295. offset = _this._offset,
  40296. t1 = _this._map;
  40297. if (keys !== t1._collection$_keys)
  40298. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40299. else if (offset >= keys.length) {
  40300. _this._collection$_current = null;
  40301. return false;
  40302. } else {
  40303. _this._collection$_current = keys[offset];
  40304. _this._offset = offset + 1;
  40305. return true;
  40306. }
  40307. }
  40308. };
  40309. A._LinkedCustomHashMap.prototype = {
  40310. $index(_, key) {
  40311. if (!this._validKey.call$1(key))
  40312. return null;
  40313. return this.super$JsLinkedHashMap$internalGet(key);
  40314. },
  40315. $indexSet(_, key, value) {
  40316. this.super$JsLinkedHashMap$internalSet(key, value);
  40317. },
  40318. containsKey$1(key) {
  40319. if (!this._validKey.call$1(key))
  40320. return false;
  40321. return this.super$JsLinkedHashMap$internalContainsKey(key);
  40322. },
  40323. remove$1(_, key) {
  40324. if (!this._validKey.call$1(key))
  40325. return null;
  40326. return this.super$JsLinkedHashMap$internalRemove(key);
  40327. },
  40328. internalComputeHashCode$1(key) {
  40329. return this._hashCode.call$1(key) & 1073741823;
  40330. },
  40331. internalFindBucketIndex$2(bucket, key) {
  40332. var $length, t1, i;
  40333. if (bucket == null)
  40334. return -1;
  40335. $length = bucket.length;
  40336. for (t1 = this._equals, i = 0; i < $length; ++i)
  40337. if (t1.call$2(bucket[i].hashMapCellKey, key))
  40338. return i;
  40339. return -1;
  40340. }
  40341. };
  40342. A._LinkedCustomHashMap_closure.prototype = {
  40343. call$1(v) {
  40344. return this.K._is(v);
  40345. },
  40346. $signature: 9
  40347. };
  40348. A._LinkedHashSet.prototype = {
  40349. _newSet$0() {
  40350. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  40351. },
  40352. _newSimilarSet$1$0($R) {
  40353. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  40354. },
  40355. _newSimilarSet$0() {
  40356. return this._newSimilarSet$1$0(type$.dynamic);
  40357. },
  40358. get$iterator(_) {
  40359. var _this = this,
  40360. t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  40361. t1._collection$_cell = _this._collection$_first;
  40362. return t1;
  40363. },
  40364. get$length(_) {
  40365. return this._collection$_length;
  40366. },
  40367. get$isEmpty(_) {
  40368. return this._collection$_length === 0;
  40369. },
  40370. get$isNotEmpty(_) {
  40371. return this._collection$_length !== 0;
  40372. },
  40373. contains$1(_, object) {
  40374. var strings, nums;
  40375. if (typeof object == "string" && object !== "__proto__") {
  40376. strings = this._collection$_strings;
  40377. if (strings == null)
  40378. return false;
  40379. return strings[object] != null;
  40380. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40381. nums = this._collection$_nums;
  40382. if (nums == null)
  40383. return false;
  40384. return nums[object] != null;
  40385. } else
  40386. return this._contains$1(object);
  40387. },
  40388. _contains$1(object) {
  40389. var rest = this._collection$_rest;
  40390. if (rest == null)
  40391. return false;
  40392. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40393. },
  40394. get$first(_) {
  40395. var first = this._collection$_first;
  40396. if (first == null)
  40397. throw A.wrapException(A.StateError$("No elements"));
  40398. return first._element;
  40399. },
  40400. get$last(_) {
  40401. var last = this._collection$_last;
  40402. if (last == null)
  40403. throw A.wrapException(A.StateError$("No elements"));
  40404. return last._element;
  40405. },
  40406. add$1(_, element) {
  40407. var strings, nums, _this = this;
  40408. if (typeof element == "string" && element !== "__proto__") {
  40409. strings = _this._collection$_strings;
  40410. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  40411. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40412. nums = _this._collection$_nums;
  40413. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  40414. } else
  40415. return _this._add$1(element);
  40416. },
  40417. _add$1(element) {
  40418. var hash, bucket, _this = this,
  40419. rest = _this._collection$_rest;
  40420. if (rest == null)
  40421. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40422. hash = _this._computeHashCode$1(element);
  40423. bucket = rest[hash];
  40424. if (bucket == null)
  40425. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  40426. else {
  40427. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40428. return false;
  40429. bucket.push(_this._collection$_newLinkedCell$1(element));
  40430. }
  40431. return true;
  40432. },
  40433. remove$1(_, object) {
  40434. var _this = this;
  40435. if (typeof object == "string" && object !== "__proto__")
  40436. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  40437. else if (typeof object == "number" && (object & 1073741823) === object)
  40438. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  40439. else
  40440. return _this._remove$1(object);
  40441. },
  40442. _remove$1(object) {
  40443. var hash, bucket, index, cell, _this = this,
  40444. rest = _this._collection$_rest;
  40445. if (rest == null)
  40446. return false;
  40447. hash = _this._computeHashCode$1(object);
  40448. bucket = rest[hash];
  40449. index = _this._findBucketIndex$2(bucket, object);
  40450. if (index < 0)
  40451. return false;
  40452. cell = bucket.splice(index, 1)[0];
  40453. if (0 === bucket.length)
  40454. delete rest[hash];
  40455. _this._unlinkCell$1(cell);
  40456. return true;
  40457. },
  40458. _collection$_addHashTableEntry$2(table, element) {
  40459. if (table[element] != null)
  40460. return false;
  40461. table[element] = this._collection$_newLinkedCell$1(element);
  40462. return true;
  40463. },
  40464. _removeHashTableEntry$2(table, element) {
  40465. var cell;
  40466. if (table == null)
  40467. return false;
  40468. cell = table[element];
  40469. if (cell == null)
  40470. return false;
  40471. this._unlinkCell$1(cell);
  40472. delete table[element];
  40473. return true;
  40474. },
  40475. _collection$_modified$0() {
  40476. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  40477. },
  40478. _collection$_newLinkedCell$1(element) {
  40479. var t1, _this = this,
  40480. cell = new A._LinkedHashSetCell(element);
  40481. if (_this._collection$_first == null)
  40482. _this._collection$_first = _this._collection$_last = cell;
  40483. else {
  40484. t1 = _this._collection$_last;
  40485. t1.toString;
  40486. cell._collection$_previous = t1;
  40487. _this._collection$_last = t1._collection$_next = cell;
  40488. }
  40489. ++_this._collection$_length;
  40490. _this._collection$_modified$0();
  40491. return cell;
  40492. },
  40493. _unlinkCell$1(cell) {
  40494. var _this = this,
  40495. previous = cell._collection$_previous,
  40496. next = cell._collection$_next;
  40497. if (previous == null)
  40498. _this._collection$_first = next;
  40499. else
  40500. previous._collection$_next = next;
  40501. if (next == null)
  40502. _this._collection$_last = previous;
  40503. else
  40504. next._collection$_previous = previous;
  40505. --_this._collection$_length;
  40506. _this._collection$_modified$0();
  40507. },
  40508. _computeHashCode$1(element) {
  40509. return J.get$hashCode$(element) & 1073741823;
  40510. },
  40511. _findBucketIndex$2(bucket, element) {
  40512. var $length, i;
  40513. if (bucket == null)
  40514. return -1;
  40515. $length = bucket.length;
  40516. for (i = 0; i < $length; ++i)
  40517. if (J.$eq$(bucket[i]._element, element))
  40518. return i;
  40519. return -1;
  40520. }
  40521. };
  40522. A._LinkedIdentityHashSet.prototype = {
  40523. _newSet$0() {
  40524. return new A._LinkedIdentityHashSet(this.$ti);
  40525. },
  40526. _newSimilarSet$1$0($R) {
  40527. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40528. },
  40529. _newSimilarSet$0() {
  40530. return this._newSimilarSet$1$0(type$.dynamic);
  40531. },
  40532. _computeHashCode$1(key) {
  40533. return A.objectHashCode(key) & 1073741823;
  40534. },
  40535. _findBucketIndex$2(bucket, element) {
  40536. var $length, i, t1;
  40537. if (bucket == null)
  40538. return -1;
  40539. $length = bucket.length;
  40540. for (i = 0; i < $length; ++i) {
  40541. t1 = bucket[i]._element;
  40542. if (t1 == null ? element == null : t1 === element)
  40543. return i;
  40544. }
  40545. return -1;
  40546. }
  40547. };
  40548. A._LinkedHashSetCell.prototype = {};
  40549. A._LinkedHashSetIterator.prototype = {
  40550. get$current(_) {
  40551. var t1 = this._collection$_current;
  40552. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40553. },
  40554. moveNext$0() {
  40555. var _this = this,
  40556. cell = _this._collection$_cell,
  40557. t1 = _this._set;
  40558. if (_this._collection$_modifications !== t1._collection$_modifications)
  40559. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40560. else if (cell == null) {
  40561. _this._collection$_current = null;
  40562. return false;
  40563. } else {
  40564. _this._collection$_current = cell._element;
  40565. _this._collection$_cell = cell._collection$_next;
  40566. return true;
  40567. }
  40568. }
  40569. };
  40570. A.UnmodifiableListView.prototype = {
  40571. cast$1$0(_, $R) {
  40572. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40573. },
  40574. get$length(_) {
  40575. return J.get$length$asx(this._collection$_source);
  40576. },
  40577. $index(_, index) {
  40578. return J.elementAt$1$ax(this._collection$_source, index);
  40579. }
  40580. };
  40581. A.HashMap_HashMap$from_closure.prototype = {
  40582. call$2(k, v) {
  40583. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40584. },
  40585. $signature: 158
  40586. };
  40587. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40588. call$2(k, v) {
  40589. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40590. },
  40591. $signature: 158
  40592. };
  40593. A.ListBase.prototype = {
  40594. get$iterator(receiver) {
  40595. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40596. },
  40597. elementAt$1(receiver, index) {
  40598. return this.$index(receiver, index);
  40599. },
  40600. forEach$1(receiver, action) {
  40601. var i,
  40602. $length = this.get$length(receiver);
  40603. for (i = 0; i < $length; ++i) {
  40604. action.call$1(this.$index(receiver, i));
  40605. if ($length !== this.get$length(receiver))
  40606. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40607. }
  40608. },
  40609. get$isEmpty(receiver) {
  40610. return this.get$length(receiver) === 0;
  40611. },
  40612. get$isNotEmpty(receiver) {
  40613. return !this.get$isEmpty(receiver);
  40614. },
  40615. get$first(receiver) {
  40616. if (this.get$length(receiver) === 0)
  40617. throw A.wrapException(A.IterableElementError_noElement());
  40618. return this.$index(receiver, 0);
  40619. },
  40620. get$last(receiver) {
  40621. if (this.get$length(receiver) === 0)
  40622. throw A.wrapException(A.IterableElementError_noElement());
  40623. return this.$index(receiver, this.get$length(receiver) - 1);
  40624. },
  40625. get$single(receiver) {
  40626. if (this.get$length(receiver) === 0)
  40627. throw A.wrapException(A.IterableElementError_noElement());
  40628. if (this.get$length(receiver) > 1)
  40629. throw A.wrapException(A.IterableElementError_tooMany());
  40630. return this.$index(receiver, 0);
  40631. },
  40632. contains$1(receiver, element) {
  40633. var i,
  40634. $length = this.get$length(receiver);
  40635. for (i = 0; i < $length; ++i) {
  40636. if (J.$eq$(this.$index(receiver, i), element))
  40637. return true;
  40638. if ($length !== this.get$length(receiver))
  40639. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40640. }
  40641. return false;
  40642. },
  40643. every$1(receiver, test) {
  40644. var i,
  40645. $length = this.get$length(receiver);
  40646. for (i = 0; i < $length; ++i) {
  40647. if (!test.call$1(this.$index(receiver, i)))
  40648. return false;
  40649. if ($length !== this.get$length(receiver))
  40650. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40651. }
  40652. return true;
  40653. },
  40654. any$1(receiver, test) {
  40655. var i,
  40656. $length = this.get$length(receiver);
  40657. for (i = 0; i < $length; ++i) {
  40658. if (test.call$1(this.$index(receiver, i)))
  40659. return true;
  40660. if ($length !== this.get$length(receiver))
  40661. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40662. }
  40663. return false;
  40664. },
  40665. lastWhere$2$orElse(receiver, test, orElse) {
  40666. var i, element,
  40667. $length = this.get$length(receiver);
  40668. for (i = $length - 1; i >= 0; --i) {
  40669. element = this.$index(receiver, i);
  40670. if (test.call$1(element))
  40671. return element;
  40672. if ($length !== this.get$length(receiver))
  40673. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40674. }
  40675. if (orElse != null)
  40676. return orElse.call$0();
  40677. throw A.wrapException(A.IterableElementError_noElement());
  40678. },
  40679. join$1(receiver, separator) {
  40680. var t1;
  40681. if (this.get$length(receiver) === 0)
  40682. return "";
  40683. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40684. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40685. },
  40686. where$1(receiver, test) {
  40687. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40688. },
  40689. map$1$1(receiver, f, $T) {
  40690. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40691. },
  40692. expand$1$1(receiver, f, $T) {
  40693. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40694. },
  40695. skip$1(receiver, count) {
  40696. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40697. },
  40698. take$1(receiver, count) {
  40699. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40700. },
  40701. toList$1$growable(receiver, growable) {
  40702. var t1, first, result, i, _this = this;
  40703. if (_this.get$isEmpty(receiver)) {
  40704. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40705. return t1;
  40706. }
  40707. first = _this.$index(receiver, 0);
  40708. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40709. for (i = 1; i < _this.get$length(receiver); ++i)
  40710. result[i] = _this.$index(receiver, i);
  40711. return result;
  40712. },
  40713. toList$0(receiver) {
  40714. return this.toList$1$growable(receiver, true);
  40715. },
  40716. toSet$0(receiver) {
  40717. var i,
  40718. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40719. for (i = 0; i < this.get$length(receiver); ++i)
  40720. result.add$1(0, this.$index(receiver, i));
  40721. return result;
  40722. },
  40723. add$1(receiver, element) {
  40724. var t1 = this.get$length(receiver);
  40725. this.set$length(receiver, t1 + 1);
  40726. this.$indexSet(receiver, t1, element);
  40727. },
  40728. addAll$1(receiver, iterable) {
  40729. var t1,
  40730. i = this.get$length(receiver);
  40731. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40732. this.add$1(receiver, t1.get$current(t1));
  40733. ++i;
  40734. }
  40735. },
  40736. _closeGap$2(receiver, start, end) {
  40737. var i, _this = this,
  40738. $length = _this.get$length(receiver),
  40739. size = end - start;
  40740. for (i = end; i < $length; ++i)
  40741. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40742. _this.set$length(receiver, $length - size);
  40743. },
  40744. cast$1$0(receiver, $R) {
  40745. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40746. },
  40747. sort$1(receiver, compare) {
  40748. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40749. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40750. },
  40751. sublist$2(receiver, start, end) {
  40752. var t1,
  40753. listLength = this.get$length(receiver);
  40754. A.RangeError_checkValidRange(start, listLength, listLength);
  40755. t1 = A.List_List$_of(this.getRange$2(receiver, start, listLength), A.instanceType(receiver)._eval$1("ListBase.E"));
  40756. return t1;
  40757. },
  40758. sublist$1(receiver, start) {
  40759. return this.sublist$2(receiver, start, null);
  40760. },
  40761. getRange$2(receiver, start, end) {
  40762. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40763. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40764. },
  40765. removeRange$2(receiver, start, end) {
  40766. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40767. if (end > start)
  40768. this._closeGap$2(receiver, start, end);
  40769. },
  40770. fillRange$3(receiver, start, end, fill) {
  40771. var i,
  40772. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  40773. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40774. for (i = start; i < end; ++i)
  40775. this.$indexSet(receiver, i, value);
  40776. },
  40777. setRange$4(receiver, start, end, iterable, skipCount) {
  40778. var $length, otherStart, otherList, t1, i;
  40779. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40780. $length = end - start;
  40781. if ($length === 0)
  40782. return;
  40783. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40784. if (type$.List_dynamic._is(iterable)) {
  40785. otherStart = skipCount;
  40786. otherList = iterable;
  40787. } else {
  40788. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40789. otherStart = 0;
  40790. }
  40791. t1 = J.getInterceptor$asx(otherList);
  40792. if (otherStart + $length > t1.get$length(otherList))
  40793. throw A.wrapException(A.IterableElementError_tooFew());
  40794. if (otherStart < start)
  40795. for (i = $length - 1; i >= 0; --i)
  40796. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40797. else
  40798. for (i = 0; i < $length; ++i)
  40799. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40800. },
  40801. get$reversed(receiver) {
  40802. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40803. },
  40804. toString$0(receiver) {
  40805. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40806. },
  40807. $isEfficientLengthIterable: 1,
  40808. $isIterable: 1,
  40809. $isList: 1
  40810. };
  40811. A.MapBase.prototype = {
  40812. cast$2$0(_, $RK, $RV) {
  40813. var t1 = A._instanceType(this);
  40814. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), $RK, $RV);
  40815. },
  40816. forEach$1(_, action) {
  40817. var t1, t2, key, t3, _this = this;
  40818. for (t1 = _this.get$keys(_this), t1 = t1.get$iterator(t1), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40819. key = t1.get$current(t1);
  40820. t3 = _this.$index(0, key);
  40821. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40822. }
  40823. },
  40824. addAll$1(_, other) {
  40825. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40826. },
  40827. get$entries(_) {
  40828. var _this = this,
  40829. t1 = _this.get$keys(_this);
  40830. return t1.map$1$1(t1, new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40831. },
  40832. containsKey$1(key) {
  40833. var t1 = this.get$keys(this);
  40834. return t1.contains$1(t1, key);
  40835. },
  40836. get$length(_) {
  40837. var t1 = this.get$keys(this);
  40838. return t1.get$length(t1);
  40839. },
  40840. get$isEmpty(_) {
  40841. var t1 = this.get$keys(this);
  40842. return t1.get$isEmpty(t1);
  40843. },
  40844. get$isNotEmpty(_) {
  40845. var t1 = this.get$keys(this);
  40846. return t1.get$isNotEmpty(t1);
  40847. },
  40848. get$values(_) {
  40849. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40850. },
  40851. toString$0(_) {
  40852. return A.MapBase_mapToString(this);
  40853. },
  40854. $isMap: 1
  40855. };
  40856. A.MapBase_addAll_closure.prototype = {
  40857. call$2(key, value) {
  40858. this.$this.$indexSet(0, key, value);
  40859. },
  40860. $signature() {
  40861. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40862. }
  40863. };
  40864. A.MapBase_entries_closure.prototype = {
  40865. call$1(key) {
  40866. var t1 = this.$this,
  40867. t2 = t1.$index(0, key);
  40868. if (t2 == null)
  40869. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40870. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40871. },
  40872. $signature() {
  40873. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40874. }
  40875. };
  40876. A.MapBase_mapToString_closure.prototype = {
  40877. call$2(k, v) {
  40878. var t2,
  40879. t1 = this._box_0;
  40880. if (!t1.first)
  40881. this.result._contents += ", ";
  40882. t1.first = false;
  40883. t1 = this.result;
  40884. t2 = A.S(k);
  40885. t1._contents = (t1._contents += t2) + ": ";
  40886. t2 = A.S(v);
  40887. t1._contents += t2;
  40888. },
  40889. $signature: 163
  40890. };
  40891. A.UnmodifiableMapBase.prototype = {};
  40892. A._MapBaseValueIterable.prototype = {
  40893. get$length(_) {
  40894. var t1 = this._map;
  40895. return t1.get$length(t1);
  40896. },
  40897. get$isEmpty(_) {
  40898. var t1 = this._map;
  40899. return t1.get$isEmpty(t1);
  40900. },
  40901. get$isNotEmpty(_) {
  40902. var t1 = this._map;
  40903. return t1.get$isNotEmpty(t1);
  40904. },
  40905. get$first(_) {
  40906. var t1 = this._map,
  40907. t2 = t1.get$keys(t1);
  40908. t2 = t1.$index(0, t2.get$first(t2));
  40909. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40910. },
  40911. get$single(_) {
  40912. var t1 = this._map,
  40913. t2 = t1.get$keys(t1);
  40914. t2 = t1.$index(0, t2.get$single(t2));
  40915. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40916. },
  40917. get$last(_) {
  40918. var t1 = this._map,
  40919. t2 = t1.get$keys(t1);
  40920. t2 = t1.$index(0, t2.get$last(t2));
  40921. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40922. },
  40923. get$iterator(_) {
  40924. var t1 = this._map,
  40925. t2 = t1.get$keys(t1);
  40926. return new A._MapBaseValueIterator(t2.get$iterator(t2), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40927. }
  40928. };
  40929. A._MapBaseValueIterator.prototype = {
  40930. moveNext$0() {
  40931. var _this = this,
  40932. t1 = _this._collection$_keys;
  40933. if (t1.moveNext$0()) {
  40934. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40935. return true;
  40936. }
  40937. _this._collection$_current = null;
  40938. return false;
  40939. },
  40940. get$current(_) {
  40941. var t1 = this._collection$_current;
  40942. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40943. }
  40944. };
  40945. A._UnmodifiableMapMixin.prototype = {
  40946. $indexSet(_, key, value) {
  40947. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40948. },
  40949. addAll$1(_, other) {
  40950. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40951. },
  40952. remove$1(_, key) {
  40953. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40954. }
  40955. };
  40956. A.MapView.prototype = {
  40957. cast$2$0(_, $RK, $RV) {
  40958. return this._map.cast$2$0(0, $RK, $RV);
  40959. },
  40960. $index(_, key) {
  40961. return this._map.$index(0, key);
  40962. },
  40963. $indexSet(_, key, value) {
  40964. this._map.$indexSet(0, key, value);
  40965. },
  40966. addAll$1(_, other) {
  40967. this._map.addAll$1(0, other);
  40968. },
  40969. containsKey$1(key) {
  40970. return this._map.containsKey$1(key);
  40971. },
  40972. forEach$1(_, action) {
  40973. this._map.forEach$1(0, action);
  40974. },
  40975. get$isEmpty(_) {
  40976. var t1 = this._map;
  40977. return t1.get$isEmpty(t1);
  40978. },
  40979. get$isNotEmpty(_) {
  40980. var t1 = this._map;
  40981. return t1.get$isNotEmpty(t1);
  40982. },
  40983. get$length(_) {
  40984. var t1 = this._map;
  40985. return t1.get$length(t1);
  40986. },
  40987. get$keys(_) {
  40988. var t1 = this._map;
  40989. return t1.get$keys(t1);
  40990. },
  40991. remove$1(_, key) {
  40992. return this._map.remove$1(0, key);
  40993. },
  40994. toString$0(_) {
  40995. return this._map.toString$0(0);
  40996. },
  40997. get$values(_) {
  40998. var t1 = this._map;
  40999. return t1.get$values(t1);
  41000. },
  41001. get$entries(_) {
  41002. var t1 = this._map;
  41003. return t1.get$entries(t1);
  41004. },
  41005. $isMap: 1
  41006. };
  41007. A.UnmodifiableMapView.prototype = {
  41008. cast$2$0(_, $RK, $RV) {
  41009. return new A.UnmodifiableMapView(this._map.cast$2$0(0, $RK, $RV), $RK._eval$1("@<0>")._bind$1($RV)._eval$1("UnmodifiableMapView<1,2>"));
  41010. }
  41011. };
  41012. A.ListQueue.prototype = {
  41013. get$iterator(_) {
  41014. var _this = this;
  41015. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  41016. },
  41017. get$isEmpty(_) {
  41018. return this._head === this._tail;
  41019. },
  41020. get$length(_) {
  41021. return (this._tail - this._head & this._table.length - 1) >>> 0;
  41022. },
  41023. get$first(_) {
  41024. var _this = this,
  41025. t1 = _this._head;
  41026. if (t1 === _this._tail)
  41027. throw A.wrapException(A.IterableElementError_noElement());
  41028. t1 = _this._table[t1];
  41029. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  41030. },
  41031. get$last(_) {
  41032. var _this = this,
  41033. t1 = _this._head,
  41034. t2 = _this._tail;
  41035. if (t1 === t2)
  41036. throw A.wrapException(A.IterableElementError_noElement());
  41037. t1 = _this._table;
  41038. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  41039. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  41040. },
  41041. get$single(_) {
  41042. var t1, _this = this;
  41043. if (_this._head === _this._tail)
  41044. throw A.wrapException(A.IterableElementError_noElement());
  41045. if (_this.get$length(0) > 1)
  41046. throw A.wrapException(A.IterableElementError_tooMany());
  41047. t1 = _this._table[_this._head];
  41048. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  41049. },
  41050. elementAt$1(_, index) {
  41051. var t1, _this = this;
  41052. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  41053. t1 = _this._table;
  41054. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  41055. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  41056. },
  41057. toList$1$growable(_, growable) {
  41058. var t1, list, t2, t3, i, t4, _this = this,
  41059. mask = _this._table.length - 1,
  41060. $length = (_this._tail - _this._head & mask) >>> 0;
  41061. if ($length === 0) {
  41062. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  41063. return t1;
  41064. }
  41065. t1 = _this.$ti._precomputed1;
  41066. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  41067. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  41068. t4 = t2[(t3 + i & mask) >>> 0];
  41069. list[i] = t4 == null ? t1._as(t4) : t4;
  41070. }
  41071. return list;
  41072. },
  41073. toList$0(_) {
  41074. return this.toList$1$growable(0, true);
  41075. },
  41076. addAll$1(_, elements) {
  41077. var newTable, endSpace, preSpace, _this = this,
  41078. addCount = elements.length,
  41079. $length = _this.get$length(0),
  41080. t1 = $length + addCount,
  41081. t2 = _this._table,
  41082. t3 = t2.length;
  41083. if (t1 >= t3) {
  41084. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t1 + (t1 >>> 1)), null, false, _this.$ti._eval$1("1?"));
  41085. _this._tail = _this._collection$_writeToList$1(newTable);
  41086. _this._table = newTable;
  41087. _this._head = 0;
  41088. B.JSArray_methods.setRange$4(newTable, $length, t1, elements, 0);
  41089. _this._tail += addCount;
  41090. } else {
  41091. t1 = _this._tail;
  41092. endSpace = t3 - t1;
  41093. if (addCount < endSpace) {
  41094. B.JSArray_methods.setRange$4(t2, t1, t1 + addCount, elements, 0);
  41095. _this._tail += addCount;
  41096. } else {
  41097. preSpace = addCount - endSpace;
  41098. B.JSArray_methods.setRange$4(t2, t1, t1 + endSpace, elements, 0);
  41099. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  41100. _this._tail = preSpace;
  41101. }
  41102. }
  41103. ++_this._modificationCount;
  41104. },
  41105. clear$0(_) {
  41106. var t2, t3, _this = this,
  41107. i = _this._head,
  41108. t1 = _this._tail;
  41109. if (i !== t1) {
  41110. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  41111. t2[i] = null;
  41112. _this._head = _this._tail = 0;
  41113. ++_this._modificationCount;
  41114. }
  41115. },
  41116. toString$0(_) {
  41117. return A.Iterable_iterableToFullString(this, "{", "}");
  41118. },
  41119. addFirst$1(value) {
  41120. var _this = this,
  41121. t1 = _this._head,
  41122. t2 = _this._table;
  41123. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  41124. t2[t1] = value;
  41125. if (t1 === _this._tail)
  41126. _this._grow$0();
  41127. ++_this._modificationCount;
  41128. },
  41129. removeFirst$0() {
  41130. var t2, result, _this = this,
  41131. t1 = _this._head;
  41132. if (t1 === _this._tail)
  41133. throw A.wrapException(A.IterableElementError_noElement());
  41134. ++_this._modificationCount;
  41135. t2 = _this._table;
  41136. result = t2[t1];
  41137. if (result == null)
  41138. result = _this.$ti._precomputed1._as(result);
  41139. t2[t1] = null;
  41140. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  41141. return result;
  41142. },
  41143. _add$1(element) {
  41144. var _this = this,
  41145. t1 = _this._table,
  41146. t2 = _this._tail;
  41147. t1[t2] = element;
  41148. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  41149. _this._tail = t1;
  41150. if (_this._head === t1)
  41151. _this._grow$0();
  41152. ++_this._modificationCount;
  41153. },
  41154. _grow$0() {
  41155. var _this = this,
  41156. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  41157. t1 = _this._table,
  41158. t2 = _this._head,
  41159. split = t1.length - t2;
  41160. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  41161. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  41162. _this._head = 0;
  41163. _this._tail = _this._table.length;
  41164. _this._table = newTable;
  41165. },
  41166. _collection$_writeToList$1(target) {
  41167. var $length, firstPartSize, _this = this,
  41168. t1 = _this._head,
  41169. t2 = _this._tail,
  41170. t3 = _this._table;
  41171. if (t1 <= t2) {
  41172. $length = t2 - t1;
  41173. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  41174. return $length;
  41175. } else {
  41176. firstPartSize = t3.length - t1;
  41177. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  41178. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  41179. return _this._tail + firstPartSize;
  41180. }
  41181. },
  41182. $isQueue: 1
  41183. };
  41184. A._ListQueueIterator.prototype = {
  41185. get$current(_) {
  41186. var t1 = this._collection$_current;
  41187. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  41188. },
  41189. moveNext$0() {
  41190. var t2, _this = this,
  41191. t1 = _this._queue;
  41192. if (_this._modificationCount !== t1._modificationCount)
  41193. A.throwExpression(A.ConcurrentModificationError$(t1));
  41194. t2 = _this._collection$_position;
  41195. if (t2 === _this._collection$_end) {
  41196. _this._collection$_current = null;
  41197. return false;
  41198. }
  41199. t1 = t1._table;
  41200. _this._collection$_current = t1[t2];
  41201. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  41202. return true;
  41203. }
  41204. };
  41205. A.SetBase.prototype = {
  41206. get$isEmpty(_) {
  41207. return this.get$length(this) === 0;
  41208. },
  41209. get$isNotEmpty(_) {
  41210. return this.get$length(this) !== 0;
  41211. },
  41212. addAll$1(_, elements) {
  41213. var t1;
  41214. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  41215. this.add$1(0, t1.get$current(t1));
  41216. },
  41217. removeAll$1(elements) {
  41218. var t1;
  41219. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  41220. this.remove$1(0, t1.get$current(t1));
  41221. },
  41222. difference$1(other) {
  41223. var t1, t2, element,
  41224. result = this.toSet$0(0);
  41225. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  41226. element = t1.get$current(t1);
  41227. if (t2.contains$1(0, element))
  41228. result.remove$1(0, element);
  41229. }
  41230. return result;
  41231. },
  41232. toList$1$growable(_, growable) {
  41233. var t1 = A.List_List$_of(this, A._instanceType(this)._precomputed1);
  41234. return t1;
  41235. },
  41236. toList$0(_) {
  41237. return this.toList$1$growable(0, true);
  41238. },
  41239. map$1$1(_, f, $T) {
  41240. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  41241. },
  41242. get$single(_) {
  41243. var it, _this = this;
  41244. if (_this.get$length(_this) > 1)
  41245. throw A.wrapException(A.IterableElementError_tooMany());
  41246. it = _this.get$iterator(_this);
  41247. if (!it.moveNext$0())
  41248. throw A.wrapException(A.IterableElementError_noElement());
  41249. return it.get$current(it);
  41250. },
  41251. toString$0(_) {
  41252. return A.Iterable_iterableToFullString(this, "{", "}");
  41253. },
  41254. where$1(_, f) {
  41255. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  41256. },
  41257. forEach$1(_, f) {
  41258. var t1;
  41259. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41260. f.call$1(t1.get$current(t1));
  41261. },
  41262. every$1(_, f) {
  41263. var t1;
  41264. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41265. if (!f.call$1(t1.get$current(t1)))
  41266. return false;
  41267. return true;
  41268. },
  41269. any$1(_, test) {
  41270. var t1;
  41271. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41272. if (test.call$1(t1.get$current(t1)))
  41273. return true;
  41274. return false;
  41275. },
  41276. take$1(_, n) {
  41277. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  41278. },
  41279. skip$1(_, n) {
  41280. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  41281. },
  41282. get$first(_) {
  41283. var it = this.get$iterator(this);
  41284. if (!it.moveNext$0())
  41285. throw A.wrapException(A.IterableElementError_noElement());
  41286. return it.get$current(it);
  41287. },
  41288. get$last(_) {
  41289. var result,
  41290. it = this.get$iterator(this);
  41291. if (!it.moveNext$0())
  41292. throw A.wrapException(A.IterableElementError_noElement());
  41293. do
  41294. result = it.get$current(it);
  41295. while (it.moveNext$0());
  41296. return result;
  41297. },
  41298. elementAt$1(_, index) {
  41299. var iterator, skipCount;
  41300. A.RangeError_checkNotNegative(index, "index");
  41301. iterator = this.get$iterator(this);
  41302. for (skipCount = index; iterator.moveNext$0();) {
  41303. if (skipCount === 0)
  41304. return iterator.get$current(iterator);
  41305. --skipCount;
  41306. }
  41307. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  41308. },
  41309. $isEfficientLengthIterable: 1,
  41310. $isIterable: 1,
  41311. $isSet: 1
  41312. };
  41313. A._SetBase.prototype = {
  41314. difference$1(other) {
  41315. var t1, t2, element, _this = this,
  41316. result = _this._newSet$0();
  41317. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41318. element = t1._collection$_current;
  41319. if (element == null)
  41320. element = t2._as(element);
  41321. if (!other.contains$1(0, element))
  41322. result.add$1(0, element);
  41323. }
  41324. return result;
  41325. },
  41326. intersection$1(other) {
  41327. var t1, t2, element, _this = this,
  41328. result = _this._newSet$0();
  41329. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41330. element = t1._collection$_current;
  41331. if (element == null)
  41332. element = t2._as(element);
  41333. if (other.contains$1(0, element))
  41334. result.add$1(0, element);
  41335. }
  41336. return result;
  41337. },
  41338. toSet$0(_) {
  41339. var t1 = this._newSet$0();
  41340. t1.addAll$1(0, this);
  41341. return t1;
  41342. }
  41343. };
  41344. A._UnmodifiableSetMixin.prototype = {
  41345. add$1(_, value) {
  41346. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41347. },
  41348. addAll$1(_, elements) {
  41349. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41350. },
  41351. remove$1(_, value) {
  41352. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41353. }
  41354. };
  41355. A.UnmodifiableSetView.prototype = {
  41356. contains$1(_, element) {
  41357. return this._collection$_source.contains$1(0, element);
  41358. },
  41359. get$length(_) {
  41360. return this._collection$_source._collection$_length;
  41361. },
  41362. get$iterator(_) {
  41363. var t1 = this._collection$_source;
  41364. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1);
  41365. },
  41366. toSet$0(_) {
  41367. return this._collection$_source.toSet$0(0);
  41368. }
  41369. };
  41370. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41371. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41372. A._JsonMap.prototype = {
  41373. $index(_, key) {
  41374. var result,
  41375. t1 = this._processed;
  41376. if (t1 == null)
  41377. return this._data.$index(0, key);
  41378. else if (typeof key != "string")
  41379. return null;
  41380. else {
  41381. result = t1[key];
  41382. return typeof result == "undefined" ? this._process$1(key) : result;
  41383. }
  41384. },
  41385. get$length(_) {
  41386. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41387. },
  41388. get$isEmpty(_) {
  41389. return this.get$length(0) === 0;
  41390. },
  41391. get$isNotEmpty(_) {
  41392. return this.get$length(0) > 0;
  41393. },
  41394. get$keys(_) {
  41395. var t1;
  41396. if (this._processed == null) {
  41397. t1 = this._data;
  41398. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41399. }
  41400. return new A._JsonMapKeyIterable(this);
  41401. },
  41402. get$values(_) {
  41403. var t1, _this = this;
  41404. if (_this._processed == null) {
  41405. t1 = _this._data;
  41406. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41407. }
  41408. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41409. },
  41410. $indexSet(_, key, value) {
  41411. var processed, original, _this = this;
  41412. if (_this._processed == null)
  41413. _this._data.$indexSet(0, key, value);
  41414. else if (_this.containsKey$1(key)) {
  41415. processed = _this._processed;
  41416. processed[key] = value;
  41417. original = _this._original;
  41418. if (original == null ? processed != null : original !== processed)
  41419. original[key] = null;
  41420. } else
  41421. _this._upgrade$0().$indexSet(0, key, value);
  41422. },
  41423. addAll$1(_, other) {
  41424. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41425. },
  41426. containsKey$1(key) {
  41427. if (this._processed == null)
  41428. return this._data.containsKey$1(key);
  41429. if (typeof key != "string")
  41430. return false;
  41431. return Object.prototype.hasOwnProperty.call(this._original, key);
  41432. },
  41433. remove$1(_, key) {
  41434. if (this._processed != null && !this.containsKey$1(key))
  41435. return null;
  41436. return this._upgrade$0().remove$1(0, key);
  41437. },
  41438. forEach$1(_, f) {
  41439. var keys, i, key, value, _this = this;
  41440. if (_this._processed == null)
  41441. return _this._data.forEach$1(0, f);
  41442. keys = _this._convert$_computeKeys$0();
  41443. for (i = 0; i < keys.length; ++i) {
  41444. key = keys[i];
  41445. value = _this._processed[key];
  41446. if (typeof value == "undefined") {
  41447. value = A._convertJsonToDartLazy(_this._original[key]);
  41448. _this._processed[key] = value;
  41449. }
  41450. f.call$2(key, value);
  41451. if (keys !== _this._data)
  41452. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41453. }
  41454. },
  41455. _convert$_computeKeys$0() {
  41456. var keys = this._data;
  41457. if (keys == null)
  41458. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41459. return keys;
  41460. },
  41461. _upgrade$0() {
  41462. var result, keys, i, t1, key, _this = this;
  41463. if (_this._processed == null)
  41464. return _this._data;
  41465. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41466. keys = _this._convert$_computeKeys$0();
  41467. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41468. key = keys[i];
  41469. result.$indexSet(0, key, _this.$index(0, key));
  41470. }
  41471. if (t1 === 0)
  41472. keys.push("");
  41473. else
  41474. B.JSArray_methods.clear$0(keys);
  41475. _this._original = _this._processed = null;
  41476. return _this._data = result;
  41477. },
  41478. _process$1(key) {
  41479. var result;
  41480. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41481. return null;
  41482. result = A._convertJsonToDartLazy(this._original[key]);
  41483. return this._processed[key] = result;
  41484. }
  41485. };
  41486. A._JsonMap_values_closure.prototype = {
  41487. call$1(each) {
  41488. return this.$this.$index(0, each);
  41489. },
  41490. $signature: 183
  41491. };
  41492. A._JsonMap_addAll_closure.prototype = {
  41493. call$2(key, value) {
  41494. this.$this.$indexSet(0, key, value);
  41495. },
  41496. $signature: 139
  41497. };
  41498. A._JsonMapKeyIterable.prototype = {
  41499. get$length(_) {
  41500. return this._convert$_parent.get$length(0);
  41501. },
  41502. elementAt$1(_, index) {
  41503. var t1 = this._convert$_parent;
  41504. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41505. },
  41506. get$iterator(_) {
  41507. var t1 = this._convert$_parent;
  41508. if (t1._processed == null) {
  41509. t1 = t1.get$keys(0);
  41510. t1 = t1.get$iterator(t1);
  41511. } else {
  41512. t1 = t1._convert$_computeKeys$0();
  41513. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41514. }
  41515. return t1;
  41516. },
  41517. contains$1(_, key) {
  41518. return this._convert$_parent.containsKey$1(key);
  41519. }
  41520. };
  41521. A._Utf8Decoder__decoder_closure.prototype = {
  41522. call$0() {
  41523. var t1, exception;
  41524. try {
  41525. t1 = new TextDecoder("utf-8", {fatal: true});
  41526. return t1;
  41527. } catch (exception) {
  41528. }
  41529. return null;
  41530. },
  41531. $signature: 65
  41532. };
  41533. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41534. call$0() {
  41535. var t1, exception;
  41536. try {
  41537. t1 = new TextDecoder("utf-8", {fatal: false});
  41538. return t1;
  41539. } catch (exception) {
  41540. }
  41541. return null;
  41542. },
  41543. $signature: 65
  41544. };
  41545. A.AsciiCodec.prototype = {
  41546. encode$1(source) {
  41547. return B.AsciiEncoder_127.convert$1(source);
  41548. }
  41549. };
  41550. A._UnicodeSubsetEncoder.prototype = {
  41551. convert$1(string) {
  41552. var t1, i, codeUnit,
  41553. end = A.RangeError_checkValidRange(0, null, string.length),
  41554. result = new Uint8Array(end);
  41555. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41556. codeUnit = string.charCodeAt(i);
  41557. if ((codeUnit & t1) !== 0)
  41558. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41559. result[i] = codeUnit;
  41560. }
  41561. return result;
  41562. }
  41563. };
  41564. A.AsciiEncoder.prototype = {};
  41565. A.Base64Codec.prototype = {
  41566. normalize$3(source, start, end) {
  41567. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41568. _s31_ = "Invalid base64 encoding length ";
  41569. end = A.RangeError_checkValidRange(start, end, source.length);
  41570. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41571. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41572. i0 = i + 1;
  41573. char = source.charCodeAt(i);
  41574. if (char === 37) {
  41575. i1 = i0 + 2;
  41576. if (i1 <= end) {
  41577. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41578. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41579. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41580. if (char0 === 37)
  41581. char0 = -1;
  41582. i0 = i1;
  41583. } else
  41584. char0 = -1;
  41585. } else
  41586. char0 = char;
  41587. if (0 <= char0 && char0 <= 127) {
  41588. value = inverseAlphabet[char0];
  41589. if (value >= 0) {
  41590. char0 = string$.ABCDEF.charCodeAt(value);
  41591. if (char0 === char)
  41592. continue;
  41593. char = char0;
  41594. } else {
  41595. if (value === -1) {
  41596. if (firstPadding < 0) {
  41597. t1 = buffer == null ? null : buffer._contents.length;
  41598. if (t1 == null)
  41599. t1 = 0;
  41600. firstPadding = t1 + (i - sliceStart);
  41601. firstPaddingSourceIndex = i;
  41602. }
  41603. ++paddingCount;
  41604. if (char === 61)
  41605. continue;
  41606. }
  41607. char = char0;
  41608. }
  41609. if (value !== -2) {
  41610. if (buffer == null) {
  41611. buffer = new A.StringBuffer("");
  41612. t1 = buffer;
  41613. } else
  41614. t1 = buffer;
  41615. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41616. t2 = A.Primitives_stringFromCharCode(char);
  41617. t1._contents += t2;
  41618. sliceStart = i0;
  41619. continue;
  41620. }
  41621. }
  41622. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41623. }
  41624. if (buffer != null) {
  41625. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41626. t1 = buffer._contents += t1;
  41627. t2 = t1.length;
  41628. if (firstPadding >= 0)
  41629. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41630. else {
  41631. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41632. if (endLength === 1)
  41633. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41634. while (endLength < 4) {
  41635. t1 += "=";
  41636. buffer._contents = t1;
  41637. ++endLength;
  41638. }
  41639. }
  41640. t1 = buffer._contents;
  41641. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41642. }
  41643. $length = end - start;
  41644. if (firstPadding >= 0)
  41645. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41646. else {
  41647. endLength = B.JSInt_methods.$mod($length, 4);
  41648. if (endLength === 1)
  41649. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41650. if (endLength > 1)
  41651. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41652. }
  41653. return source;
  41654. }
  41655. };
  41656. A.Base64Encoder.prototype = {
  41657. startChunkedConversion$1(sink) {
  41658. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41659. }
  41660. };
  41661. A._Base64Encoder.prototype = {
  41662. createBuffer$1(bufferLength) {
  41663. return new Uint8Array(bufferLength);
  41664. },
  41665. encode$4(bytes, start, end, isLast) {
  41666. var output, _this = this,
  41667. byteCount = (_this._convert$_state & 3) + (end - start),
  41668. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41669. bufferLength = fullChunks * 4;
  41670. if (isLast && byteCount - fullChunks * 3 > 0)
  41671. bufferLength += 4;
  41672. output = _this.createBuffer$1(bufferLength);
  41673. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41674. if (bufferLength > 0)
  41675. return output;
  41676. return null;
  41677. }
  41678. };
  41679. A._Base64EncoderSink.prototype = {};
  41680. A._Utf8Base64EncoderSink.prototype = {
  41681. _convert$_add$4(source, start, end, isLast) {
  41682. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41683. if (buffer != null)
  41684. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41685. }
  41686. };
  41687. A.ByteConversionSink.prototype = {};
  41688. A.Codec.prototype = {};
  41689. A.Converter.prototype = {};
  41690. A.Encoding.prototype = {};
  41691. A.JsonUnsupportedObjectError.prototype = {
  41692. toString$0(_) {
  41693. var safeString = A.Error_safeToString(this.unsupportedObject);
  41694. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41695. }
  41696. };
  41697. A.JsonCyclicError.prototype = {
  41698. toString$0(_) {
  41699. return "Cyclic error in JSON stringify";
  41700. }
  41701. };
  41702. A.JsonCodec.prototype = {
  41703. decode$1(source) {
  41704. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41705. return t1;
  41706. },
  41707. encode$2$toEncodable(value, toEncodable) {
  41708. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41709. return t1;
  41710. },
  41711. get$encoder() {
  41712. return B.JsonEncoder_null;
  41713. },
  41714. get$decoder() {
  41715. return B.JsonDecoder_null;
  41716. }
  41717. };
  41718. A.JsonEncoder.prototype = {};
  41719. A.JsonDecoder.prototype = {};
  41720. A._JsonStringifier.prototype = {
  41721. writeStringContent$1(s) {
  41722. var offset, i, charCode, t1, t2, _this = this,
  41723. $length = s.length;
  41724. for (offset = 0, i = 0; i < $length; ++i) {
  41725. charCode = s.charCodeAt(i);
  41726. if (charCode > 92) {
  41727. if (charCode >= 55296) {
  41728. t1 = charCode & 64512;
  41729. if (t1 === 55296) {
  41730. t2 = i + 1;
  41731. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41732. } else
  41733. t2 = false;
  41734. if (!t2)
  41735. if (t1 === 56320) {
  41736. t1 = i - 1;
  41737. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41738. } else
  41739. t1 = false;
  41740. else
  41741. t1 = true;
  41742. if (t1) {
  41743. if (i > offset)
  41744. _this.writeStringSlice$3(s, offset, i);
  41745. offset = i + 1;
  41746. _this.writeCharCode$1(92);
  41747. _this.writeCharCode$1(117);
  41748. _this.writeCharCode$1(100);
  41749. t1 = charCode >>> 8 & 15;
  41750. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41751. t1 = charCode >>> 4 & 15;
  41752. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41753. t1 = charCode & 15;
  41754. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41755. }
  41756. }
  41757. continue;
  41758. }
  41759. if (charCode < 32) {
  41760. if (i > offset)
  41761. _this.writeStringSlice$3(s, offset, i);
  41762. offset = i + 1;
  41763. _this.writeCharCode$1(92);
  41764. switch (charCode) {
  41765. case 8:
  41766. _this.writeCharCode$1(98);
  41767. break;
  41768. case 9:
  41769. _this.writeCharCode$1(116);
  41770. break;
  41771. case 10:
  41772. _this.writeCharCode$1(110);
  41773. break;
  41774. case 12:
  41775. _this.writeCharCode$1(102);
  41776. break;
  41777. case 13:
  41778. _this.writeCharCode$1(114);
  41779. break;
  41780. default:
  41781. _this.writeCharCode$1(117);
  41782. _this.writeCharCode$1(48);
  41783. _this.writeCharCode$1(48);
  41784. t1 = charCode >>> 4 & 15;
  41785. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41786. t1 = charCode & 15;
  41787. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41788. break;
  41789. }
  41790. } else if (charCode === 34 || charCode === 92) {
  41791. if (i > offset)
  41792. _this.writeStringSlice$3(s, offset, i);
  41793. offset = i + 1;
  41794. _this.writeCharCode$1(92);
  41795. _this.writeCharCode$1(charCode);
  41796. }
  41797. }
  41798. if (offset === 0)
  41799. _this.writeString$1(s);
  41800. else if (offset < $length)
  41801. _this.writeStringSlice$3(s, offset, $length);
  41802. },
  41803. _checkCycle$1(object) {
  41804. var t1, t2, i, t3;
  41805. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41806. t3 = t1[i];
  41807. if (object == null ? t3 == null : object === t3)
  41808. throw A.wrapException(new A.JsonCyclicError(object, null));
  41809. }
  41810. t1.push(object);
  41811. },
  41812. writeObject$1(object) {
  41813. var customJson, e, t1, exception, _this = this;
  41814. if (_this.writeJsonValue$1(object))
  41815. return;
  41816. _this._checkCycle$1(object);
  41817. try {
  41818. customJson = _this._toEncodable.call$1(object);
  41819. if (!_this.writeJsonValue$1(customJson)) {
  41820. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41821. throw A.wrapException(t1);
  41822. }
  41823. _this._seen.pop();
  41824. } catch (exception) {
  41825. e = A.unwrapException(exception);
  41826. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41827. throw A.wrapException(t1);
  41828. }
  41829. },
  41830. writeJsonValue$1(object) {
  41831. var success, _this = this;
  41832. if (typeof object == "number") {
  41833. if (!isFinite(object))
  41834. return false;
  41835. _this.writeNumber$1(object);
  41836. return true;
  41837. } else if (object === true) {
  41838. _this.writeString$1("true");
  41839. return true;
  41840. } else if (object === false) {
  41841. _this.writeString$1("false");
  41842. return true;
  41843. } else if (object == null) {
  41844. _this.writeString$1("null");
  41845. return true;
  41846. } else if (typeof object == "string") {
  41847. _this.writeString$1('"');
  41848. _this.writeStringContent$1(object);
  41849. _this.writeString$1('"');
  41850. return true;
  41851. } else if (type$.List_dynamic._is(object)) {
  41852. _this._checkCycle$1(object);
  41853. _this.writeList$1(object);
  41854. _this._seen.pop();
  41855. return true;
  41856. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41857. _this._checkCycle$1(object);
  41858. success = _this.writeMap$1(object);
  41859. _this._seen.pop();
  41860. return success;
  41861. } else
  41862. return false;
  41863. },
  41864. writeList$1(list) {
  41865. var t1, i, _this = this;
  41866. _this.writeString$1("[");
  41867. t1 = J.getInterceptor$asx(list);
  41868. if (t1.get$isNotEmpty(list)) {
  41869. _this.writeObject$1(t1.$index(list, 0));
  41870. for (i = 1; i < t1.get$length(list); ++i) {
  41871. _this.writeString$1(",");
  41872. _this.writeObject$1(t1.$index(list, i));
  41873. }
  41874. }
  41875. _this.writeString$1("]");
  41876. },
  41877. writeMap$1(map) {
  41878. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41879. if (map.get$isEmpty(map)) {
  41880. _this.writeString$1("{}");
  41881. return true;
  41882. }
  41883. t1 = map.get$length(map) * 2;
  41884. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41885. i = _box_0.i = 0;
  41886. _box_0.allStringKeys = true;
  41887. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41888. if (!_box_0.allStringKeys)
  41889. return false;
  41890. _this.writeString$1("{");
  41891. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41892. _this.writeString$1(separator);
  41893. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41894. _this.writeString$1('":');
  41895. _this.writeObject$1(keyValueList[i + 1]);
  41896. }
  41897. _this.writeString$1("}");
  41898. return true;
  41899. }
  41900. };
  41901. A._JsonStringifier_writeMap_closure.prototype = {
  41902. call$2(key, value) {
  41903. var t1, t2, t3, i;
  41904. if (typeof key != "string")
  41905. this._box_0.allStringKeys = false;
  41906. t1 = this.keyValueList;
  41907. t2 = this._box_0;
  41908. t3 = t2.i;
  41909. i = t2.i = t3 + 1;
  41910. t1[t3] = key;
  41911. t2.i = i + 1;
  41912. t1[i] = value;
  41913. },
  41914. $signature: 163
  41915. };
  41916. A._JsonStringStringifier.prototype = {
  41917. get$_partialResult() {
  41918. var t1 = this._sink._contents;
  41919. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41920. },
  41921. writeNumber$1(number) {
  41922. this._sink._contents += B.JSNumber_methods.toString$0(number);
  41923. },
  41924. writeString$1(string) {
  41925. this._sink._contents += string;
  41926. },
  41927. writeStringSlice$3(string, start, end) {
  41928. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41929. },
  41930. writeCharCode$1(charCode) {
  41931. var t1 = this._sink,
  41932. t2 = A.Primitives_stringFromCharCode(charCode);
  41933. t1._contents += t2;
  41934. }
  41935. };
  41936. A.StringConversionSink.prototype = {};
  41937. A._StringSinkConversionSink.prototype = {
  41938. close$0(_) {
  41939. }
  41940. };
  41941. A._StringCallbackSink.prototype = {
  41942. close$0(_) {
  41943. var t1 = this._stringSink,
  41944. t2 = t1._contents;
  41945. t1._contents = "";
  41946. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41947. },
  41948. asUtf8Sink$1(allowMalformed) {
  41949. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41950. }
  41951. };
  41952. A._Utf8StringSinkAdapter.prototype = {
  41953. close$0(_) {
  41954. this._decoder.flush$1(this._stringSink);
  41955. this._sink.close$0(0);
  41956. },
  41957. add$1(_, chunk) {
  41958. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41959. },
  41960. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41961. var t1 = this._stringSink,
  41962. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41963. t1._contents += t2;
  41964. if (isLast)
  41965. this.close$0(0);
  41966. }
  41967. };
  41968. A.Utf8Codec.prototype = {
  41969. encode$1(string) {
  41970. return B.C_Utf8Encoder.convert$1(string);
  41971. }
  41972. };
  41973. A.Utf8Encoder.prototype = {
  41974. convert$1(string) {
  41975. var t1, encoder,
  41976. end = A.RangeError_checkValidRange(0, null, string.length);
  41977. if (end === 0)
  41978. return new Uint8Array(0);
  41979. t1 = new Uint8Array(end * 3);
  41980. encoder = new A._Utf8Encoder(t1);
  41981. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41982. encoder._writeReplacementCharacter$0();
  41983. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41984. }
  41985. };
  41986. A._Utf8Encoder.prototype = {
  41987. _writeReplacementCharacter$0() {
  41988. var _this = this,
  41989. t1 = _this._buffer,
  41990. t2 = _this._bufferIndex,
  41991. t3 = _this._bufferIndex = t2 + 1;
  41992. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41993. t1[t2] = 239;
  41994. t2 = _this._bufferIndex = t3 + 1;
  41995. t1[t3] = 191;
  41996. _this._bufferIndex = t2 + 1;
  41997. t1[t2] = 189;
  41998. },
  41999. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  42000. var rune, t1, t2, t3, _this = this;
  42001. if ((nextCodeUnit & 64512) === 56320) {
  42002. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  42003. t1 = _this._buffer;
  42004. t2 = _this._bufferIndex;
  42005. t3 = _this._bufferIndex = t2 + 1;
  42006. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  42007. t1[t2] = rune >>> 18 | 240;
  42008. t2 = _this._bufferIndex = t3 + 1;
  42009. t1[t3] = rune >>> 12 & 63 | 128;
  42010. t3 = _this._bufferIndex = t2 + 1;
  42011. t1[t2] = rune >>> 6 & 63 | 128;
  42012. _this._bufferIndex = t3 + 1;
  42013. t1[t3] = rune & 63 | 128;
  42014. return true;
  42015. } else {
  42016. _this._writeReplacementCharacter$0();
  42017. return false;
  42018. }
  42019. },
  42020. _fillBuffer$3(str, start, end) {
  42021. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  42022. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  42023. --end;
  42024. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  42025. codeUnit = str.charCodeAt(stringIndex);
  42026. if (codeUnit <= 127) {
  42027. t4 = _this._bufferIndex;
  42028. if (t4 >= t3)
  42029. break;
  42030. _this._bufferIndex = t4 + 1;
  42031. t2 & 2 && A.throwUnsupportedOperation(t1);
  42032. t1[t4] = codeUnit;
  42033. } else {
  42034. t4 = codeUnit & 64512;
  42035. if (t4 === 55296) {
  42036. if (_this._bufferIndex + 4 > t3)
  42037. break;
  42038. stringIndex0 = stringIndex + 1;
  42039. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  42040. stringIndex = stringIndex0;
  42041. } else if (t4 === 56320) {
  42042. if (_this._bufferIndex + 3 > t3)
  42043. break;
  42044. _this._writeReplacementCharacter$0();
  42045. } else if (codeUnit <= 2047) {
  42046. t4 = _this._bufferIndex;
  42047. t5 = t4 + 1;
  42048. if (t5 >= t3)
  42049. break;
  42050. _this._bufferIndex = t5;
  42051. t2 & 2 && A.throwUnsupportedOperation(t1);
  42052. t1[t4] = codeUnit >>> 6 | 192;
  42053. _this._bufferIndex = t5 + 1;
  42054. t1[t5] = codeUnit & 63 | 128;
  42055. } else {
  42056. t4 = _this._bufferIndex;
  42057. if (t4 + 2 >= t3)
  42058. break;
  42059. t5 = _this._bufferIndex = t4 + 1;
  42060. t2 & 2 && A.throwUnsupportedOperation(t1);
  42061. t1[t4] = codeUnit >>> 12 | 224;
  42062. t4 = _this._bufferIndex = t5 + 1;
  42063. t1[t5] = codeUnit >>> 6 & 63 | 128;
  42064. _this._bufferIndex = t4 + 1;
  42065. t1[t4] = codeUnit & 63 | 128;
  42066. }
  42067. }
  42068. }
  42069. return stringIndex;
  42070. }
  42071. };
  42072. A.Utf8Decoder.prototype = {
  42073. convert$1(codeUnits) {
  42074. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  42075. }
  42076. };
  42077. A._Utf8Decoder.prototype = {
  42078. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  42079. var casted, bytes, errorOffset, t1, result, message, _this = this,
  42080. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  42081. if (start === end)
  42082. return "";
  42083. if (codeUnits instanceof Uint8Array) {
  42084. casted = codeUnits;
  42085. bytes = casted;
  42086. errorOffset = 0;
  42087. } else {
  42088. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  42089. end -= start;
  42090. errorOffset = start;
  42091. start = 0;
  42092. }
  42093. if (single && end - start >= 15) {
  42094. t1 = _this.allowMalformed;
  42095. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  42096. if (result != null) {
  42097. if (!t1)
  42098. return result;
  42099. if (result.indexOf("\ufffd") < 0)
  42100. return result;
  42101. }
  42102. }
  42103. result = _this._decodeRecursive$4(bytes, start, end, single);
  42104. t1 = _this._convert$_state;
  42105. if ((t1 & 1) !== 0) {
  42106. message = A._Utf8Decoder_errorDescription(t1);
  42107. _this._convert$_state = 0;
  42108. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  42109. }
  42110. return result;
  42111. },
  42112. _decodeRecursive$4(bytes, start, end, single) {
  42113. var mid, s1, _this = this;
  42114. if (end - start > 1000) {
  42115. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  42116. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  42117. if ((_this._convert$_state & 1) !== 0)
  42118. return s1;
  42119. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  42120. }
  42121. return _this.decodeGeneral$4(bytes, start, end, single);
  42122. },
  42123. flush$1(sink) {
  42124. var t1,
  42125. state = this._convert$_state;
  42126. this._convert$_state = 0;
  42127. if (state <= 32)
  42128. return;
  42129. if (this.allowMalformed) {
  42130. t1 = A.Primitives_stringFromCharCode(65533);
  42131. sink._contents += t1;
  42132. } else
  42133. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  42134. },
  42135. decodeGeneral$4(bytes, start, end, single) {
  42136. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  42137. state = _this._convert$_state,
  42138. char = _this._charOrIndex,
  42139. buffer = new A.StringBuffer(""),
  42140. i = start + 1,
  42141. byte = bytes[start];
  42142. $label0$0:
  42143. for (t1 = _this.allowMalformed;;) {
  42144. for (;; i = i0) {
  42145. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  42146. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  42147. state = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(state + type);
  42148. if (state === 0) {
  42149. t2 = A.Primitives_stringFromCharCode(char);
  42150. buffer._contents += t2;
  42151. if (i === end)
  42152. break $label0$0;
  42153. break;
  42154. } else if ((state & 1) !== 0) {
  42155. if (t1)
  42156. switch (state) {
  42157. case 69:
  42158. case 67:
  42159. t2 = A.Primitives_stringFromCharCode(_65533);
  42160. buffer._contents += t2;
  42161. break;
  42162. case 65:
  42163. t2 = A.Primitives_stringFromCharCode(_65533);
  42164. buffer._contents += t2;
  42165. --i;
  42166. break;
  42167. default:
  42168. t2 = A.Primitives_stringFromCharCode(_65533);
  42169. buffer._contents = (buffer._contents += t2) + t2;
  42170. break;
  42171. }
  42172. else {
  42173. _this._convert$_state = state;
  42174. _this._charOrIndex = i - 1;
  42175. return "";
  42176. }
  42177. state = 0;
  42178. }
  42179. if (i === end)
  42180. break $label0$0;
  42181. i0 = i + 1;
  42182. byte = bytes[i];
  42183. }
  42184. i0 = i + 1;
  42185. byte = bytes[i];
  42186. if (byte < 128) {
  42187. for (;;) {
  42188. if (!(i0 < end)) {
  42189. markEnd = end;
  42190. break;
  42191. }
  42192. i1 = i0 + 1;
  42193. byte = bytes[i0];
  42194. if (byte >= 128) {
  42195. markEnd = i1 - 1;
  42196. i0 = i1;
  42197. break;
  42198. }
  42199. i0 = i1;
  42200. }
  42201. if (markEnd - i < 20)
  42202. for (m = i; m < markEnd; ++m) {
  42203. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  42204. buffer._contents += t2;
  42205. }
  42206. else {
  42207. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  42208. buffer._contents += t2;
  42209. }
  42210. if (markEnd === end)
  42211. break $label0$0;
  42212. i = i0;
  42213. } else
  42214. i = i0;
  42215. }
  42216. if (single && state > 32)
  42217. if (t1) {
  42218. t1 = A.Primitives_stringFromCharCode(_65533);
  42219. buffer._contents += t1;
  42220. } else {
  42221. _this._convert$_state = 77;
  42222. _this._charOrIndex = end;
  42223. return "";
  42224. }
  42225. _this._convert$_state = state;
  42226. _this._charOrIndex = char;
  42227. t1 = buffer._contents;
  42228. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42229. }
  42230. };
  42231. A.NoSuchMethodError_toString_closure.prototype = {
  42232. call$2(key, value) {
  42233. var t1 = this.sb,
  42234. t2 = this._box_0,
  42235. t3 = (t1._contents += t2.comma) + key.__internal$_name;
  42236. t1._contents = t3;
  42237. t1._contents = t3 + ": ";
  42238. t3 = A.Error_safeToString(value);
  42239. t1._contents += t3;
  42240. t2.comma = ", ";
  42241. },
  42242. $signature: 342
  42243. };
  42244. A.DateTime.prototype = {
  42245. $eq(_, other) {
  42246. var t1;
  42247. if (other == null)
  42248. return false;
  42249. t1 = false;
  42250. if (other instanceof A.DateTime)
  42251. if (this._value === other._value)
  42252. t1 = this._microsecond === other._microsecond;
  42253. return t1;
  42254. },
  42255. get$hashCode(_) {
  42256. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  42257. },
  42258. isAfter$1(other) {
  42259. var t1 = this._value,
  42260. t2 = other._value;
  42261. if (t1 <= t2)
  42262. t1 = t1 === t2 && this._microsecond > other._microsecond;
  42263. else
  42264. t1 = true;
  42265. return t1;
  42266. },
  42267. compareTo$1(_, other) {
  42268. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  42269. if (r !== 0)
  42270. return r;
  42271. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  42272. },
  42273. toString$0(_) {
  42274. var _this = this,
  42275. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  42276. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  42277. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  42278. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  42279. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  42280. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  42281. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  42282. t1 = _this._microsecond,
  42283. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  42284. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  42285. },
  42286. $isComparable: 1
  42287. };
  42288. A.Duration.prototype = {
  42289. $eq(_, other) {
  42290. if (other == null)
  42291. return false;
  42292. return other instanceof A.Duration && this._duration === other._duration;
  42293. },
  42294. get$hashCode(_) {
  42295. return B.JSInt_methods.get$hashCode(this._duration);
  42296. },
  42297. compareTo$1(_, other) {
  42298. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  42299. },
  42300. toString$0(_) {
  42301. var sign, minutes, minutesPadding, seconds, secondsPadding,
  42302. microseconds = this._duration,
  42303. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  42304. microseconds0 = microseconds % 3600000000;
  42305. if (microseconds < 0) {
  42306. hours = 0 - hours;
  42307. microseconds = 0 - microseconds0;
  42308. sign = "-";
  42309. } else {
  42310. microseconds = microseconds0;
  42311. sign = "";
  42312. }
  42313. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  42314. microseconds %= 60000000;
  42315. minutesPadding = minutes < 10 ? "0" : "";
  42316. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  42317. secondsPadding = seconds < 10 ? "0" : "";
  42318. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  42319. },
  42320. $isComparable: 1
  42321. };
  42322. A._Enum.prototype = {
  42323. toString$0(_) {
  42324. return this._enumToString$0();
  42325. }
  42326. };
  42327. A.Error.prototype = {
  42328. get$stackTrace() {
  42329. return A.Primitives_extractStackTrace(this);
  42330. }
  42331. };
  42332. A.AssertionError.prototype = {
  42333. toString$0(_) {
  42334. var t1 = this.message;
  42335. if (t1 != null)
  42336. return "Assertion failed: " + A.Error_safeToString(t1);
  42337. return "Assertion failed";
  42338. },
  42339. get$message(receiver) {
  42340. return this.message;
  42341. }
  42342. };
  42343. A.TypeError.prototype = {};
  42344. A.ArgumentError.prototype = {
  42345. get$_errorName() {
  42346. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  42347. },
  42348. get$_errorExplanation() {
  42349. return "";
  42350. },
  42351. toString$0(_) {
  42352. var _this = this,
  42353. $name = _this.name,
  42354. nameString = $name == null ? "" : " (" + $name + ")",
  42355. message = _this.message,
  42356. messageString = message == null ? "" : ": " + A.S(message),
  42357. prefix = _this.get$_errorName() + nameString + messageString;
  42358. if (!_this._hasValue)
  42359. return prefix;
  42360. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42361. },
  42362. get$invalidValue() {
  42363. return this.invalidValue;
  42364. },
  42365. get$message(receiver) {
  42366. return this.message;
  42367. }
  42368. };
  42369. A.RangeError.prototype = {
  42370. get$invalidValue() {
  42371. return this.invalidValue;
  42372. },
  42373. get$_errorName() {
  42374. return "RangeError";
  42375. },
  42376. get$_errorExplanation() {
  42377. var explanation,
  42378. start = this.start,
  42379. end = this.end;
  42380. if (start == null)
  42381. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42382. else if (end == null)
  42383. explanation = ": Not greater than or equal to " + A.S(start);
  42384. else if (end > start)
  42385. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42386. else
  42387. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42388. return explanation;
  42389. }
  42390. };
  42391. A.IndexError.prototype = {
  42392. get$invalidValue() {
  42393. return this.invalidValue;
  42394. },
  42395. get$_errorName() {
  42396. return "RangeError";
  42397. },
  42398. get$_errorExplanation() {
  42399. if (this.invalidValue < 0)
  42400. return ": index must not be negative";
  42401. var t1 = this.length;
  42402. if (t1 === 0)
  42403. return ": no indices are valid";
  42404. return ": index should be less than " + t1;
  42405. },
  42406. $isRangeError: 1,
  42407. get$length(receiver) {
  42408. return this.length;
  42409. }
  42410. };
  42411. A.NoSuchMethodError.prototype = {
  42412. toString$0(_) {
  42413. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42414. sb = new A.StringBuffer("");
  42415. _box_0.comma = "";
  42416. $arguments = _this._core$_arguments;
  42417. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42418. argument = $arguments[_i];
  42419. sb._contents = t2 + t3;
  42420. t2 = A.Error_safeToString(argument);
  42421. t2 = sb._contents += t2;
  42422. _box_0.comma = ", ";
  42423. }
  42424. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42425. receiverText = A.Error_safeToString(_this._core$_receiver);
  42426. actualParameters = sb.toString$0(0);
  42427. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42428. }
  42429. };
  42430. A.UnsupportedError.prototype = {
  42431. toString$0(_) {
  42432. return "Unsupported operation: " + this.message;
  42433. },
  42434. get$message(receiver) {
  42435. return this.message;
  42436. }
  42437. };
  42438. A.UnimplementedError.prototype = {
  42439. toString$0(_) {
  42440. return "UnimplementedError: " + this.message;
  42441. },
  42442. get$message(receiver) {
  42443. return this.message;
  42444. }
  42445. };
  42446. A.StateError.prototype = {
  42447. toString$0(_) {
  42448. return "Bad state: " + this.message;
  42449. },
  42450. get$message(receiver) {
  42451. return this.message;
  42452. }
  42453. };
  42454. A.ConcurrentModificationError.prototype = {
  42455. toString$0(_) {
  42456. var t1 = this.modifiedObject;
  42457. if (t1 == null)
  42458. return "Concurrent modification during iteration.";
  42459. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42460. }
  42461. };
  42462. A.OutOfMemoryError.prototype = {
  42463. toString$0(_) {
  42464. return "Out of Memory";
  42465. },
  42466. get$stackTrace() {
  42467. return null;
  42468. },
  42469. $isError: 1
  42470. };
  42471. A.StackOverflowError.prototype = {
  42472. toString$0(_) {
  42473. return "Stack Overflow";
  42474. },
  42475. get$stackTrace() {
  42476. return null;
  42477. },
  42478. $isError: 1
  42479. };
  42480. A._Exception.prototype = {
  42481. toString$0(_) {
  42482. return "Exception: " + this.message;
  42483. },
  42484. $isException: 1,
  42485. get$message(receiver) {
  42486. return this.message;
  42487. }
  42488. };
  42489. A.FormatException.prototype = {
  42490. toString$0(_) {
  42491. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42492. message = this.message,
  42493. report = "" !== message ? "FormatException: " + message : "FormatException",
  42494. offset = this.offset,
  42495. source = this.source;
  42496. if (typeof source == "string") {
  42497. if (offset != null)
  42498. t1 = offset < 0 || offset > source.length;
  42499. else
  42500. t1 = false;
  42501. if (t1)
  42502. offset = null;
  42503. if (offset == null) {
  42504. if (source.length > 78)
  42505. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42506. return report + "\n" + source;
  42507. }
  42508. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42509. char = source.charCodeAt(i);
  42510. if (char === 10) {
  42511. if (lineStart !== i || !previousCharWasCR)
  42512. ++lineNum;
  42513. lineStart = i + 1;
  42514. previousCharWasCR = false;
  42515. } else if (char === 13) {
  42516. ++lineNum;
  42517. lineStart = i + 1;
  42518. previousCharWasCR = true;
  42519. }
  42520. }
  42521. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42522. lineEnd = source.length;
  42523. for (i = offset; i < lineEnd; ++i) {
  42524. char = source.charCodeAt(i);
  42525. if (char === 10 || char === 13) {
  42526. lineEnd = i;
  42527. break;
  42528. }
  42529. }
  42530. prefix = "";
  42531. if (lineEnd - lineStart > 78) {
  42532. postfix = "...";
  42533. if (offset - lineStart < 75) {
  42534. end = lineStart + 75;
  42535. start = lineStart;
  42536. } else {
  42537. if (lineEnd - offset < 75) {
  42538. start = lineEnd - 75;
  42539. end = lineEnd;
  42540. postfix = "";
  42541. } else {
  42542. start = offset - 36;
  42543. end = offset + 36;
  42544. }
  42545. prefix = "...";
  42546. }
  42547. } else {
  42548. end = lineEnd;
  42549. start = lineStart;
  42550. postfix = "";
  42551. }
  42552. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42553. } else
  42554. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42555. },
  42556. $isException: 1,
  42557. get$message(receiver) {
  42558. return this.message;
  42559. }
  42560. };
  42561. A.Iterable.prototype = {
  42562. cast$1$0(_, $R) {
  42563. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42564. },
  42565. followedBy$1(_, other) {
  42566. var _this = this;
  42567. if (type$.EfficientLengthIterable_dynamic._is(_this))
  42568. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, A._instanceType(_this)._eval$1("Iterable.E"));
  42569. return new A.FollowedByIterable(_this, other, A._instanceType(_this)._eval$1("FollowedByIterable<Iterable.E>"));
  42570. },
  42571. map$1$1(_, toElement, $T) {
  42572. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42573. },
  42574. where$1(_, test) {
  42575. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42576. },
  42577. expand$1$1(_, toElements, $T) {
  42578. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42579. },
  42580. contains$1(_, element) {
  42581. var t1;
  42582. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42583. if (J.$eq$(t1.get$current(t1), element))
  42584. return true;
  42585. return false;
  42586. },
  42587. forEach$1(_, action) {
  42588. var t1;
  42589. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42590. action.call$1(t1.get$current(t1));
  42591. },
  42592. fold$1$2(_, initialValue, combine) {
  42593. var t1, value;
  42594. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42595. value = combine.call$2(value, t1.get$current(t1));
  42596. return value;
  42597. },
  42598. fold$2(_, initialValue, combine) {
  42599. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42600. },
  42601. every$1(_, test) {
  42602. var t1;
  42603. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42604. if (!test.call$1(t1.get$current(t1)))
  42605. return false;
  42606. return true;
  42607. },
  42608. join$1(_, separator) {
  42609. var first, t1,
  42610. iterator = this.get$iterator(this);
  42611. if (!iterator.moveNext$0())
  42612. return "";
  42613. first = J.toString$0$(iterator.get$current(iterator));
  42614. if (!iterator.moveNext$0())
  42615. return first;
  42616. if (separator.length === 0) {
  42617. t1 = first;
  42618. do
  42619. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42620. while (iterator.moveNext$0());
  42621. } else {
  42622. t1 = first;
  42623. do
  42624. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42625. while (iterator.moveNext$0());
  42626. }
  42627. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42628. },
  42629. any$1(_, test) {
  42630. var t1;
  42631. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42632. if (test.call$1(t1.get$current(t1)))
  42633. return true;
  42634. return false;
  42635. },
  42636. toList$1$growable(_, growable) {
  42637. var t1 = A._instanceType(this)._eval$1("Iterable.E");
  42638. if (growable)
  42639. t1 = A.List_List$_of(this, t1);
  42640. else {
  42641. t1 = A.List_List$_of(this, t1);
  42642. t1.$flags = 1;
  42643. t1 = t1;
  42644. }
  42645. return t1;
  42646. },
  42647. toList$0(_) {
  42648. return this.toList$1$growable(0, true);
  42649. },
  42650. toSet$0(_) {
  42651. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42652. },
  42653. get$length(_) {
  42654. var count,
  42655. it = this.get$iterator(this);
  42656. for (count = 0; it.moveNext$0();)
  42657. ++count;
  42658. return count;
  42659. },
  42660. get$isEmpty(_) {
  42661. return !this.get$iterator(this).moveNext$0();
  42662. },
  42663. get$isNotEmpty(_) {
  42664. return !this.get$isEmpty(this);
  42665. },
  42666. take$1(_, count) {
  42667. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42668. },
  42669. skip$1(_, count) {
  42670. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42671. },
  42672. skipWhile$1(_, test) {
  42673. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42674. },
  42675. get$first(_) {
  42676. var it = this.get$iterator(this);
  42677. if (!it.moveNext$0())
  42678. throw A.wrapException(A.IterableElementError_noElement());
  42679. return it.get$current(it);
  42680. },
  42681. get$last(_) {
  42682. var result,
  42683. it = this.get$iterator(this);
  42684. if (!it.moveNext$0())
  42685. throw A.wrapException(A.IterableElementError_noElement());
  42686. do
  42687. result = it.get$current(it);
  42688. while (it.moveNext$0());
  42689. return result;
  42690. },
  42691. get$single(_) {
  42692. var result,
  42693. it = this.get$iterator(this);
  42694. if (!it.moveNext$0())
  42695. throw A.wrapException(A.IterableElementError_noElement());
  42696. result = it.get$current(it);
  42697. if (it.moveNext$0())
  42698. throw A.wrapException(A.IterableElementError_tooMany());
  42699. return result;
  42700. },
  42701. elementAt$1(_, index) {
  42702. var iterator, skipCount;
  42703. A.RangeError_checkNotNegative(index, "index");
  42704. iterator = this.get$iterator(this);
  42705. for (skipCount = index; iterator.moveNext$0();) {
  42706. if (skipCount === 0)
  42707. return iterator.get$current(iterator);
  42708. --skipCount;
  42709. }
  42710. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42711. },
  42712. toString$0(_) {
  42713. return A.Iterable_iterableToShortString(this, "(", ")");
  42714. }
  42715. };
  42716. A._GeneratorIterable.prototype = {
  42717. elementAt$1(_, index) {
  42718. A.IndexError_check(index, this.length, this, null, null);
  42719. return this._generator.call$1(index);
  42720. },
  42721. get$length(receiver) {
  42722. return this.length;
  42723. }
  42724. };
  42725. A.MapEntry.prototype = {
  42726. toString$0(_) {
  42727. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42728. }
  42729. };
  42730. A.Null.prototype = {
  42731. get$hashCode(_) {
  42732. return A.Object.prototype.get$hashCode.call(this, 0);
  42733. },
  42734. toString$0(_) {
  42735. return "null";
  42736. }
  42737. };
  42738. A.Object.prototype = {$isObject: 1,
  42739. $eq(_, other) {
  42740. return this === other;
  42741. },
  42742. get$hashCode(_) {
  42743. return A.Primitives_objectHashCode(this);
  42744. },
  42745. toString$0(_) {
  42746. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42747. },
  42748. noSuchMethod$1(_, invocation) {
  42749. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42750. },
  42751. get$runtimeType(_) {
  42752. return A.getRuntimeTypeOfDartObject(this);
  42753. },
  42754. toString() {
  42755. return this.toString$0(this);
  42756. }
  42757. };
  42758. A._StringStackTrace.prototype = {
  42759. toString$0(_) {
  42760. return this._stackTrace;
  42761. },
  42762. $isStackTrace: 1
  42763. };
  42764. A.Runes.prototype = {
  42765. get$iterator(_) {
  42766. return new A.RuneIterator(this.string);
  42767. },
  42768. get$last(_) {
  42769. var code, previousCode,
  42770. t1 = this.string,
  42771. t2 = t1.length;
  42772. if (t2 === 0)
  42773. throw A.wrapException(A.StateError$("No elements."));
  42774. code = t1.charCodeAt(t2 - 1);
  42775. if ((code & 64512) === 56320 && t2 > 1) {
  42776. previousCode = t1.charCodeAt(t2 - 2);
  42777. if ((previousCode & 64512) === 55296)
  42778. return A._combineSurrogatePair(previousCode, code);
  42779. }
  42780. return code;
  42781. }
  42782. };
  42783. A.RuneIterator.prototype = {
  42784. get$current(_) {
  42785. return this._currentCodePoint;
  42786. },
  42787. moveNext$0() {
  42788. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42789. t1 = _this._position = _this._nextPosition,
  42790. t2 = _this.string,
  42791. t3 = t2.length;
  42792. if (t1 === t3) {
  42793. _this._currentCodePoint = -1;
  42794. return false;
  42795. }
  42796. codeUnit = t2.charCodeAt(t1);
  42797. nextPosition = t1 + 1;
  42798. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42799. nextCodeUnit = t2.charCodeAt(nextPosition);
  42800. if ((nextCodeUnit & 64512) === 56320) {
  42801. _this._nextPosition = nextPosition + 1;
  42802. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42803. return true;
  42804. }
  42805. }
  42806. _this._nextPosition = nextPosition;
  42807. _this._currentCodePoint = codeUnit;
  42808. return true;
  42809. }
  42810. };
  42811. A.StringBuffer.prototype = {
  42812. get$length(_) {
  42813. return this._contents.length;
  42814. },
  42815. write$1(_, obj) {
  42816. var t1 = A.S(obj);
  42817. this._contents += t1;
  42818. },
  42819. writeCharCode$1(charCode) {
  42820. var t1 = A.Primitives_stringFromCharCode(charCode);
  42821. this._contents += t1;
  42822. },
  42823. toString$0(_) {
  42824. var t1 = this._contents;
  42825. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42826. }
  42827. };
  42828. A.Uri_parseIPv6Address_error.prototype = {
  42829. call$2(msg, position) {
  42830. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42831. },
  42832. $signature: 322
  42833. };
  42834. A._Uri.prototype = {
  42835. get$_text() {
  42836. var t1, t2, t3, t4, _this = this,
  42837. value = _this.___Uri__text_FI;
  42838. if (value === $) {
  42839. t1 = _this.scheme;
  42840. t2 = t1.length !== 0 ? t1 + ":" : "";
  42841. t3 = _this._host;
  42842. t4 = t3 == null;
  42843. if (!t4 || t1 === "file") {
  42844. t1 = t2 + "//";
  42845. t2 = _this._userInfo;
  42846. if (t2.length !== 0)
  42847. t1 = t1 + t2 + "@";
  42848. if (!t4)
  42849. t1 += t3;
  42850. t2 = _this._port;
  42851. if (t2 != null)
  42852. t1 = t1 + ":" + A.S(t2);
  42853. } else
  42854. t1 = t2;
  42855. t1 += _this.path;
  42856. t2 = _this._query;
  42857. if (t2 != null)
  42858. t1 = t1 + "?" + t2;
  42859. t2 = _this._fragment;
  42860. if (t2 != null)
  42861. t1 = t1 + "#" + t2;
  42862. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42863. }
  42864. return value;
  42865. },
  42866. get$pathSegments() {
  42867. var pathToSplit, result, _this = this,
  42868. value = _this.___Uri_pathSegments_FI;
  42869. if (value === $) {
  42870. pathToSplit = _this.path;
  42871. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42872. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42873. result = pathToSplit.length === 0 ? B.List_empty : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), A.core_Uri_decodeComponent$closure(), type$.MappedListIterable_String_dynamic), type$.String);
  42874. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42875. value = _this.___Uri_pathSegments_FI = result;
  42876. }
  42877. return value;
  42878. },
  42879. get$hashCode(_) {
  42880. var result, _this = this,
  42881. value = _this.___Uri_hashCode_FI;
  42882. if (value === $) {
  42883. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42884. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42885. _this.___Uri_hashCode_FI = result;
  42886. value = result;
  42887. }
  42888. return value;
  42889. },
  42890. get$userInfo() {
  42891. return this._userInfo;
  42892. },
  42893. get$host() {
  42894. var host = this._host;
  42895. if (host == null)
  42896. return "";
  42897. if (B.JSString_methods.startsWith$1(host, "[") && !B.JSString_methods.startsWith$2(host, "v", 1))
  42898. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42899. return host;
  42900. },
  42901. get$port(_) {
  42902. var t1 = this._port;
  42903. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42904. },
  42905. get$query() {
  42906. var t1 = this._query;
  42907. return t1 == null ? "" : t1;
  42908. },
  42909. get$fragment() {
  42910. var t1 = this._fragment;
  42911. return t1 == null ? "" : t1;
  42912. },
  42913. isScheme$1(scheme) {
  42914. var thisScheme = this.scheme;
  42915. if (scheme.length !== thisScheme.length)
  42916. return false;
  42917. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42918. },
  42919. replace$1$scheme(scheme) {
  42920. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42921. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42922. isFile = scheme === "file";
  42923. userInfo = _this._userInfo;
  42924. port = _this._port;
  42925. if (scheme !== _this.scheme)
  42926. port = A._Uri__makePort(port, scheme);
  42927. host = _this._host;
  42928. if (!(host != null))
  42929. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42930. currentPath = _this.path;
  42931. if (!isFile)
  42932. t1 = host != null && currentPath.length !== 0;
  42933. else
  42934. t1 = true;
  42935. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42936. currentPath = "/" + currentPath;
  42937. path = currentPath;
  42938. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42939. },
  42940. _mergePaths$2(base, reference) {
  42941. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42942. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42943. refStart += 3;
  42944. ++backCount;
  42945. }
  42946. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42947. for (;;) {
  42948. if (!(baseEnd > 0 && backCount > 0))
  42949. break;
  42950. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42951. if (newEnd < 0)
  42952. break;
  42953. delta = baseEnd - newEnd;
  42954. t1 = delta !== 2;
  42955. t2 = false;
  42956. if (!t1 || delta === 3)
  42957. if (base.charCodeAt(newEnd + 1) === 46)
  42958. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42959. else
  42960. t1 = t2;
  42961. else
  42962. t1 = t2;
  42963. if (t1)
  42964. break;
  42965. --backCount;
  42966. baseEnd = newEnd;
  42967. }
  42968. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42969. },
  42970. resolve$1(_, reference) {
  42971. return this.resolveUri$1(A.Uri_parse(reference));
  42972. },
  42973. resolveUri$1(reference) {
  42974. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42975. if (reference.get$scheme().length !== 0) {
  42976. if (type$._PlatformUri._is(reference))
  42977. return reference;
  42978. targetScheme = reference.get$scheme();
  42979. if (reference.get$hasAuthority()) {
  42980. targetUserInfo = reference.get$userInfo();
  42981. targetHost = reference.get$host();
  42982. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42983. } else {
  42984. targetPort = _null;
  42985. targetHost = targetPort;
  42986. targetUserInfo = "";
  42987. }
  42988. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42989. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42990. split = 0;
  42991. } else {
  42992. targetScheme = _this.scheme;
  42993. if (reference.get$hasAuthority()) {
  42994. if (type$._PlatformUri._is(reference))
  42995. return reference.replace$1$scheme(targetScheme);
  42996. targetUserInfo = reference.get$userInfo();
  42997. targetHost = reference.get$host();
  42998. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42999. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  43000. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  43001. split = 1;
  43002. } else {
  43003. targetUserInfo = _this._userInfo;
  43004. targetHost = _this._host;
  43005. targetPort = _this._port;
  43006. targetPath = _this.path;
  43007. if (reference.get$hasEmptyPath())
  43008. if (reference.get$hasQuery()) {
  43009. targetQuery = reference.get$query();
  43010. split = 3;
  43011. } else {
  43012. targetQuery = _this._query;
  43013. split = 4;
  43014. }
  43015. else {
  43016. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  43017. if (packageNameEnd > 0) {
  43018. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  43019. targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference)));
  43020. } else if (reference.get$hasAbsolutePath())
  43021. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  43022. else if (targetPath.length === 0)
  43023. if (targetHost == null)
  43024. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  43025. else
  43026. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  43027. else {
  43028. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  43029. t1 = targetScheme.length === 0;
  43030. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  43031. targetPath = A._Uri__removeDotSegments(mergedPath);
  43032. else
  43033. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  43034. }
  43035. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  43036. split = 2;
  43037. }
  43038. }
  43039. }
  43040. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  43041. if (!type$._PlatformUri._is(reference)) {
  43042. if (split === 0)
  43043. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  43044. if (split <= 1) {
  43045. t1 = targetUserInfo.length;
  43046. if (t1 !== 0)
  43047. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, t1);
  43048. if (targetPort != null)
  43049. targetPort = A._Uri__makePort(targetPort, targetScheme);
  43050. if (targetHost != null && targetHost.length !== 0)
  43051. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  43052. }
  43053. t1 = split <= 3;
  43054. if (t1)
  43055. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  43056. if (t1 && targetQuery != null)
  43057. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  43058. if (fragment != null)
  43059. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  43060. }
  43061. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  43062. },
  43063. get$hasAuthority() {
  43064. return this._host != null;
  43065. },
  43066. get$hasPort() {
  43067. return this._port != null;
  43068. },
  43069. get$hasQuery() {
  43070. return this._query != null;
  43071. },
  43072. get$hasFragment() {
  43073. return this._fragment != null;
  43074. },
  43075. get$hasEmptyPath() {
  43076. return this.path.length === 0;
  43077. },
  43078. get$hasAbsolutePath() {
  43079. return B.JSString_methods.startsWith$1(this.path, "/");
  43080. },
  43081. toFilePath$0() {
  43082. var pathSegments, _this = this,
  43083. t1 = _this.scheme;
  43084. if (t1 !== "" && t1 !== "file")
  43085. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  43086. t1 = _this._query;
  43087. if ((t1 == null ? "" : t1) !== "")
  43088. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43089. t1 = _this._fragment;
  43090. if ((t1 == null ? "" : t1) !== "")
  43091. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43092. t1 = $.$get$_Uri__isWindowsCached();
  43093. if (t1)
  43094. t1 = A._Uri__toWindowsFilePath(_this);
  43095. else {
  43096. if (_this._host != null && _this.get$host() !== "")
  43097. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43098. pathSegments = _this.get$pathSegments();
  43099. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  43100. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/");
  43101. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  43102. }
  43103. return t1;
  43104. },
  43105. toString$0(_) {
  43106. return this.get$_text();
  43107. },
  43108. $eq(_, other) {
  43109. var t1, t2, t3, _this = this;
  43110. if (other == null)
  43111. return false;
  43112. if (_this === other)
  43113. return true;
  43114. t1 = false;
  43115. if (type$.Uri._is(other))
  43116. if (_this.scheme === other.get$scheme())
  43117. if (_this._host != null === other.get$hasAuthority())
  43118. if (_this._userInfo === other.get$userInfo())
  43119. if (_this.get$host() === other.get$host())
  43120. if (_this.get$port(0) === other.get$port(other))
  43121. if (_this.path === other.get$path(other)) {
  43122. t2 = _this._query;
  43123. t3 = t2 == null;
  43124. if (!t3 === other.get$hasQuery()) {
  43125. if (t3)
  43126. t2 = "";
  43127. if (t2 === other.get$query()) {
  43128. t2 = _this._fragment;
  43129. t3 = t2 == null;
  43130. if (!t3 === other.get$hasFragment()) {
  43131. t1 = t3 ? "" : t2;
  43132. t1 = t1 === other.get$fragment();
  43133. }
  43134. }
  43135. }
  43136. }
  43137. return t1;
  43138. },
  43139. $isUri: 1,
  43140. $is_PlatformUri: 1,
  43141. get$scheme() {
  43142. return this.scheme;
  43143. },
  43144. get$path(receiver) {
  43145. return this.path;
  43146. }
  43147. };
  43148. A._Uri__makePath_closure.prototype = {
  43149. call$1(s) {
  43150. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  43151. },
  43152. $signature: 6
  43153. };
  43154. A.UriData.prototype = {
  43155. get$uri() {
  43156. var t2, queryIndex, end, query, _this = this, _null = null,
  43157. t1 = _this._uriCache;
  43158. if (t1 == null) {
  43159. t1 = _this._text;
  43160. t2 = _this._separatorIndices[0] + 1;
  43161. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  43162. end = t1.length;
  43163. if (queryIndex >= 0) {
  43164. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  43165. end = queryIndex;
  43166. } else
  43167. query = _null;
  43168. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  43169. }
  43170. return t1;
  43171. },
  43172. toString$0(_) {
  43173. var t1 = this._text;
  43174. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  43175. }
  43176. };
  43177. A._SimpleUri.prototype = {
  43178. get$hasAuthority() {
  43179. return this._hostStart > 0;
  43180. },
  43181. get$hasPort() {
  43182. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  43183. },
  43184. get$hasQuery() {
  43185. return this._queryStart < this._fragmentStart;
  43186. },
  43187. get$hasFragment() {
  43188. return this._fragmentStart < this._uri.length;
  43189. },
  43190. get$hasAbsolutePath() {
  43191. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  43192. },
  43193. get$hasEmptyPath() {
  43194. return this._pathStart === this._queryStart;
  43195. },
  43196. get$scheme() {
  43197. var t1 = this._schemeCache;
  43198. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  43199. },
  43200. _computeScheme$0() {
  43201. var t2, _this = this,
  43202. t1 = _this._schemeEnd;
  43203. if (t1 <= 0)
  43204. return "";
  43205. t2 = t1 === 4;
  43206. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  43207. return "http";
  43208. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  43209. return "https";
  43210. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  43211. return "file";
  43212. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  43213. return "package";
  43214. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  43215. },
  43216. get$userInfo() {
  43217. var t1 = this._hostStart,
  43218. t2 = this._schemeEnd + 3;
  43219. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  43220. },
  43221. get$host() {
  43222. var t1 = this._hostStart;
  43223. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  43224. },
  43225. get$port(_) {
  43226. var t1, _this = this;
  43227. if (_this.get$hasPort())
  43228. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  43229. t1 = _this._schemeEnd;
  43230. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  43231. return 80;
  43232. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  43233. return 443;
  43234. return 0;
  43235. },
  43236. get$path(_) {
  43237. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  43238. },
  43239. get$query() {
  43240. var t1 = this._queryStart,
  43241. t2 = this._fragmentStart;
  43242. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  43243. },
  43244. get$fragment() {
  43245. var t1 = this._fragmentStart,
  43246. t2 = this._uri;
  43247. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  43248. },
  43249. get$pathSegments() {
  43250. var parts, i,
  43251. start = this._pathStart,
  43252. end = this._queryStart,
  43253. t1 = this._uri;
  43254. if (B.JSString_methods.startsWith$2(t1, "/", start))
  43255. ++start;
  43256. if (start === end)
  43257. return B.List_empty;
  43258. parts = A._setArrayType([], type$.JSArray_String);
  43259. for (i = start; i < end; ++i)
  43260. if (t1.charCodeAt(i) === 47) {
  43261. parts.push(B.JSString_methods.substring$2(t1, start, i));
  43262. start = i + 1;
  43263. }
  43264. parts.push(B.JSString_methods.substring$2(t1, start, end));
  43265. return A.List_List$unmodifiable(parts, type$.String);
  43266. },
  43267. _isPort$1(port) {
  43268. var portDigitStart = this._portStart + 1;
  43269. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  43270. },
  43271. removeFragment$0() {
  43272. var _this = this,
  43273. t1 = _this._fragmentStart,
  43274. t2 = _this._uri;
  43275. if (t1 >= t2.length)
  43276. return _this;
  43277. return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache);
  43278. },
  43279. replace$1$scheme(scheme) {
  43280. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  43281. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  43282. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  43283. isFile = scheme === "file";
  43284. t1 = _this._hostStart;
  43285. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  43286. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  43287. if (schemeChanged)
  43288. port = A._Uri__makePort(port, scheme);
  43289. t1 = _this._hostStart;
  43290. if (t1 > 0)
  43291. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  43292. else
  43293. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  43294. t1 = _this._uri;
  43295. t2 = _this._queryStart;
  43296. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  43297. if (!isFile)
  43298. t3 = host != null && path.length !== 0;
  43299. else
  43300. t3 = true;
  43301. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  43302. path = "/" + path;
  43303. t3 = _this._fragmentStart;
  43304. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  43305. t2 = _this._fragmentStart;
  43306. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  43307. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  43308. },
  43309. resolve$1(_, reference) {
  43310. return this.resolveUri$1(A.Uri_parse(reference));
  43311. },
  43312. resolveUri$1(reference) {
  43313. if (reference instanceof A._SimpleUri)
  43314. return this._simpleMerge$2(this, reference);
  43315. return this._toNonSimple$0().resolveUri$1(reference);
  43316. },
  43317. _simpleMerge$2(base, ref) {
  43318. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  43319. t1 = ref._schemeEnd;
  43320. if (t1 > 0)
  43321. return ref;
  43322. t2 = ref._hostStart;
  43323. if (t2 > 0) {
  43324. t3 = base._schemeEnd;
  43325. if (t3 <= 0)
  43326. return ref;
  43327. t4 = t3 === 4;
  43328. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  43329. isSimple = ref._pathStart !== ref._queryStart;
  43330. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  43331. isSimple = !ref._isPort$1("80");
  43332. else
  43333. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  43334. if (isSimple) {
  43335. delta = t3 + 1;
  43336. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache);
  43337. } else
  43338. return this._toNonSimple$0().resolveUri$1(ref);
  43339. }
  43340. refStart = ref._pathStart;
  43341. t1 = ref._queryStart;
  43342. if (refStart === t1) {
  43343. t2 = ref._fragmentStart;
  43344. if (t1 < t2) {
  43345. t3 = base._queryStart;
  43346. delta = t3 - t1;
  43347. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache);
  43348. }
  43349. t1 = ref._uri;
  43350. if (t2 < t1.length) {
  43351. t3 = base._fragmentStart;
  43352. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache);
  43353. }
  43354. return base.removeFragment$0();
  43355. }
  43356. t2 = ref._uri;
  43357. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43358. basePathStart = base._pathStart;
  43359. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43360. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43361. delta = basePathStart0 - refStart;
  43362. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  43363. }
  43364. baseStart = base._pathStart;
  43365. baseEnd = base._queryStart;
  43366. if (baseStart === baseEnd && base._hostStart > 0) {
  43367. while (B.JSString_methods.startsWith$2(t2, "../", refStart))
  43368. refStart += 3;
  43369. delta = baseStart - refStart + 1;
  43370. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  43371. }
  43372. baseUri = base._uri;
  43373. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43374. if (packageNameEnd >= 0)
  43375. baseStart0 = packageNameEnd;
  43376. else
  43377. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43378. baseStart0 += 3;
  43379. backCount = 0;
  43380. for (;;) {
  43381. refStart0 = refStart + 3;
  43382. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43383. break;
  43384. ++backCount;
  43385. refStart = refStart0;
  43386. }
  43387. for (insert = ""; baseEnd > baseStart0;) {
  43388. --baseEnd;
  43389. if (baseUri.charCodeAt(baseEnd) === 47) {
  43390. if (backCount === 0) {
  43391. insert = "/";
  43392. break;
  43393. }
  43394. --backCount;
  43395. insert = "/";
  43396. }
  43397. }
  43398. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43399. refStart -= backCount * 3;
  43400. insert = "";
  43401. }
  43402. delta = baseEnd - refStart + insert.length;
  43403. return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  43404. },
  43405. toFilePath$0() {
  43406. var t2, t3, _this = this,
  43407. t1 = _this._schemeEnd;
  43408. if (t1 >= 0) {
  43409. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43410. t1 = t2;
  43411. } else
  43412. t1 = false;
  43413. if (t1)
  43414. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43415. t1 = _this._queryStart;
  43416. t2 = _this._uri;
  43417. if (t1 < t2.length) {
  43418. if (t1 < _this._fragmentStart)
  43419. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43420. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43421. }
  43422. t3 = $.$get$_Uri__isWindowsCached();
  43423. if (t3)
  43424. t1 = A._Uri__toWindowsFilePath(_this);
  43425. else {
  43426. if (_this._hostStart < _this._portStart)
  43427. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43428. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43429. }
  43430. return t1;
  43431. },
  43432. get$hashCode(_) {
  43433. var t1 = this._hashCodeCache;
  43434. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43435. },
  43436. $eq(_, other) {
  43437. if (other == null)
  43438. return false;
  43439. if (this === other)
  43440. return true;
  43441. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43442. },
  43443. _toNonSimple$0() {
  43444. var _this = this, _null = null,
  43445. t1 = _this.get$scheme(),
  43446. t2 = _this.get$userInfo(),
  43447. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43448. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43449. t5 = _this._uri,
  43450. t6 = _this._queryStart,
  43451. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43452. t8 = _this._fragmentStart;
  43453. t6 = t6 < t8 ? _this.get$query() : _null;
  43454. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43455. },
  43456. toString$0(_) {
  43457. return this._uri;
  43458. },
  43459. $isUri: 1,
  43460. $is_PlatformUri: 1
  43461. };
  43462. A._DataUri.prototype = {};
  43463. A.Expando.prototype = {
  43464. $indexSet(_, object, value) {
  43465. if (object instanceof A._Record)
  43466. A.Expando__badExpandoKey(object);
  43467. this._jsWeakMap.set(object, value);
  43468. },
  43469. toString$0(_) {
  43470. return "Expando:null";
  43471. }
  43472. };
  43473. A.NullRejectionException.prototype = {
  43474. toString$0(_) {
  43475. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43476. },
  43477. $isException: 1
  43478. };
  43479. A.jsify__convert.prototype = {
  43480. call$1(o) {
  43481. var t1, convertedMap, key, convertedList;
  43482. if (A._noJsifyRequired(o))
  43483. return o;
  43484. t1 = this._convertedObjects;
  43485. if (t1.containsKey$1(o))
  43486. return t1.$index(0, o);
  43487. if (type$.Map_dynamic_dynamic._is(o)) {
  43488. convertedMap = {};
  43489. t1.$indexSet(0, o, convertedMap);
  43490. for (t1 = o.get$keys(o), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43491. key = t1.get$current(t1);
  43492. convertedMap[key] = this.call$1(o.$index(0, key));
  43493. }
  43494. return convertedMap;
  43495. } else if (type$.Iterable_dynamic._is(o)) {
  43496. convertedList = [];
  43497. t1.$indexSet(0, o, convertedList);
  43498. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43499. return convertedList;
  43500. } else
  43501. return o;
  43502. },
  43503. $signature: 314
  43504. };
  43505. A.promiseToFuture_closure.prototype = {
  43506. call$1(r) {
  43507. return this.completer.complete$1(r);
  43508. },
  43509. $signature: 70
  43510. };
  43511. A.promiseToFuture_closure0.prototype = {
  43512. call$1(e) {
  43513. if (e == null)
  43514. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43515. return this.completer.completeError$1(e);
  43516. },
  43517. $signature: 70
  43518. };
  43519. A._JSRandom.prototype = {
  43520. nextInt$1(max) {
  43521. if (max <= 0 || max > 4294967296)
  43522. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43523. return Math.random() * max >>> 0;
  43524. },
  43525. nextDouble$0() {
  43526. return Math.random();
  43527. }
  43528. };
  43529. A.ArgParser.prototype = {
  43530. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43531. var _null = null;
  43532. this._addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, false, negatable);
  43533. },
  43534. addFlag$2$hide($name, hide) {
  43535. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43536. },
  43537. addFlag$2$help($name, help) {
  43538. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43539. },
  43540. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43541. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43542. },
  43543. addFlag$3$help$negatable($name, help, negatable) {
  43544. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43545. },
  43546. addFlag$3$abbr$help($name, abbr, help) {
  43547. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43548. },
  43549. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43550. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43551. },
  43552. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43553. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43554. },
  43555. addOption$2$hide($name, hide) {
  43556. var _null = null;
  43557. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43558. },
  43559. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43560. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43561. },
  43562. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43563. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43564. },
  43565. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43566. var t1 = A._setArrayType([], type$.JSArray_String);
  43567. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43568. },
  43569. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43570. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43571. },
  43572. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43573. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43574. },
  43575. addMultiOption$2$help($name, help) {
  43576. var _null = null;
  43577. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43578. },
  43579. _addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, mandatory, negatable, splitCommas) {
  43580. var existing, t2, t3, option, _i, _this = this, _null = null,
  43581. t1 = A._setArrayType([$name], type$.JSArray_String);
  43582. B.JSArray_methods.addAll$1(t1, aliases);
  43583. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43584. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43585. t1 = abbr != null;
  43586. if (t1) {
  43587. existing = _this.findByAbbreviation$1(abbr);
  43588. if (existing != null)
  43589. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43590. }
  43591. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43592. if (allowedHelp == null)
  43593. t3 = _null;
  43594. else {
  43595. t3 = type$.String;
  43596. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43597. }
  43598. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, false, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43599. if ($name.length === 0)
  43600. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43601. else if (B.JSString_methods.startsWith$1($name, "-"))
  43602. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43603. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43604. if (t2.test($name))
  43605. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43606. if (t1) {
  43607. if (abbr.length !== 1)
  43608. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43609. else if (abbr === "-")
  43610. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43611. if (t2.test(abbr))
  43612. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43613. }
  43614. _this._arg_parser$_options.$indexSet(0, $name, option);
  43615. _this._optionsAndSeparators.push(option);
  43616. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43617. t1.$indexSet(0, aliases[_i], $name);
  43618. },
  43619. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43620. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, false, splitCommas);
  43621. },
  43622. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43623. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, mandatory, false, null);
  43624. },
  43625. _addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, negatable) {
  43626. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, false, negatable, null);
  43627. },
  43628. findByAbbreviation$1(abbr) {
  43629. var t1, t2;
  43630. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43631. t2 = t1.get$current(t1);
  43632. if (t2.abbr === abbr)
  43633. return t2;
  43634. }
  43635. return null;
  43636. },
  43637. findByNameOrAlias$1($name) {
  43638. var t1 = this._aliases.$index(0, $name);
  43639. if (t1 == null)
  43640. t1 = $name;
  43641. return this.options._map.$index(0, t1);
  43642. }
  43643. };
  43644. A.ArgParser__addOption_closure.prototype = {
  43645. call$1($name) {
  43646. return this.$this.findByNameOrAlias$1($name) != null;
  43647. },
  43648. $signature: 5
  43649. };
  43650. A.ArgParserException.prototype = {};
  43651. A.ArgResults.prototype = {
  43652. $index(_, $name) {
  43653. var t1 = this._parser.options._map;
  43654. if (!t1.containsKey$1($name))
  43655. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43656. t1 = t1.$index(0, $name);
  43657. t1.toString;
  43658. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43659. },
  43660. wasParsed$1($name) {
  43661. if (!this._parser.options._map.containsKey$1($name))
  43662. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43663. return this._parsed.containsKey$1($name);
  43664. }
  43665. };
  43666. A.Option.prototype = {
  43667. valueOrDefault$1(value) {
  43668. var t1;
  43669. if (value != null)
  43670. return value;
  43671. if (this.type === B.OptionType_1Ol) {
  43672. t1 = this.defaultsTo;
  43673. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43674. }
  43675. return this.defaultsTo;
  43676. }
  43677. };
  43678. A.OptionType.prototype = {};
  43679. A.Parser0.prototype = {
  43680. parse$0(_) {
  43681. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43682. t2 = _this._args;
  43683. t2.toList$0(0);
  43684. commandResults = null;
  43685. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43686. t7 = t2._head;
  43687. if (t7 === t2._tail)
  43688. A.throwExpression(A.IterableElementError_noElement());
  43689. t7 = t2._table[t7];
  43690. t8 = t7 == null;
  43691. if ((t8 ? t6._as(t7) : t7) === "--") {
  43692. t2.removeFirst$0();
  43693. break;
  43694. }
  43695. if (t8)
  43696. t7 = t6._as(t7);
  43697. command = t5._map.$index(0, t7);
  43698. if (command != null) {
  43699. t5 = t3.length;
  43700. t7 = t2._head;
  43701. if (t7 === t2._tail)
  43702. A.throwExpression(A.IterableElementError_noElement());
  43703. t7 = t2._table[t7];
  43704. t6 = t7 == null ? t6._as(t7) : t7;
  43705. if (t5 !== 0)
  43706. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43707. commandName = t2.removeFirst$0();
  43708. t5 = type$.JSArray_String;
  43709. t6 = A._setArrayType([], t5);
  43710. B.JSArray_methods.addAll$1(t6, t3);
  43711. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43712. try {
  43713. commandResults = J.parse$0$z(commandParser);
  43714. } catch (exception) {
  43715. t2 = A.unwrapException(exception);
  43716. if (t2 instanceof A.ArgParserException) {
  43717. error = t2;
  43718. t2 = error.message;
  43719. t1 = A._setArrayType([commandName], t5);
  43720. J.addAll$1$ax(t1, error.commands);
  43721. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43722. } else
  43723. throw exception;
  43724. }
  43725. B.JSArray_methods.clear$0(t3);
  43726. break;
  43727. }
  43728. if (_this._parseSoloOption$0())
  43729. continue;
  43730. if (_this._parseAbbreviation$1(_this))
  43731. continue;
  43732. if (_this._parseLongOption$0())
  43733. continue;
  43734. t3.push(t2.removeFirst$0());
  43735. }
  43736. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43737. B.JSArray_methods.addAll$1(t3, t2);
  43738. t2.clear$0(0);
  43739. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43740. },
  43741. _readNextArgAsValue$2(option, arg) {
  43742. var _this = this,
  43743. t1 = _this._args;
  43744. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43745. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43746. t1.removeFirst$0();
  43747. },
  43748. _parseSoloOption$0() {
  43749. var opt,
  43750. t1 = this._args;
  43751. if (t1.get$first(0).length !== 2)
  43752. return false;
  43753. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43754. return false;
  43755. opt = t1.get$first(0)[1];
  43756. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43757. return false;
  43758. this._handleSoloOption$1(opt);
  43759. return true;
  43760. },
  43761. _handleSoloOption$1(opt) {
  43762. var t1, _this = this,
  43763. option = _this._grammar.findByAbbreviation$1(opt);
  43764. if (option == null) {
  43765. t1 = _this._parser$_parent;
  43766. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43767. t1._handleSoloOption$1(opt);
  43768. return true;
  43769. }
  43770. _this._args.removeFirst$0();
  43771. if (option.type === B.OptionType_tI9)
  43772. _this._results.$indexSet(0, option.name, true);
  43773. else
  43774. _this._readNextArgAsValue$2(option, "-" + opt);
  43775. return true;
  43776. },
  43777. _parseAbbreviation$1(innermostCommand) {
  43778. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43779. t1 = this._args;
  43780. if (t1.get$first(0).length < 2)
  43781. return false;
  43782. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43783. return false;
  43784. t2 = t1.$ti._precomputed1;
  43785. index = 1;
  43786. for (;;) {
  43787. t3 = t1._head;
  43788. if (t3 === t1._tail)
  43789. A.throwExpression(A.IterableElementError_noElement());
  43790. t3 = t1._table[t3];
  43791. t4 = t3 == null;
  43792. if (index < (t4 ? t2._as(t3) : t3).length) {
  43793. t5 = true;
  43794. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43795. if (!(t3 >= 65 && t3 <= 90))
  43796. if (!(t3 >= 97 && t3 <= 122))
  43797. t3 = t3 >= 48 && t3 <= 57;
  43798. else
  43799. t3 = t5;
  43800. else
  43801. t3 = t5;
  43802. } else
  43803. t3 = false;
  43804. if (!t3)
  43805. break;
  43806. ++index;
  43807. }
  43808. if (index === 1)
  43809. return false;
  43810. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43811. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43812. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43813. return false;
  43814. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43815. return true;
  43816. },
  43817. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43818. var t1, i, i0, _this = this,
  43819. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43820. first = _this._grammar.findByAbbreviation$1(c);
  43821. if (first == null) {
  43822. t1 = _this._parser$_parent;
  43823. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43824. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43825. return true;
  43826. } else {
  43827. t1 = "-" + c;
  43828. if (first.type !== B.OptionType_tI9)
  43829. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43830. else {
  43831. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43832. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43833. i0 = i + 1;
  43834. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43835. }
  43836. }
  43837. }
  43838. _this._args.removeFirst$0();
  43839. return true;
  43840. },
  43841. _parseShortFlag$1(c) {
  43842. var t1, _this = this,
  43843. option = _this._grammar.findByAbbreviation$1(c);
  43844. if (option == null) {
  43845. t1 = _this._parser$_parent;
  43846. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43847. t1._parseShortFlag$1(c);
  43848. return;
  43849. }
  43850. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43851. _this._results.$indexSet(0, option.name, true);
  43852. },
  43853. _parseLongOption$0() {
  43854. var index, t2, $name, t3, i, t4, t5, value,
  43855. t1 = this._args;
  43856. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43857. return false;
  43858. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43859. t2 = index === -1;
  43860. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43861. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43862. t4 = $name.charCodeAt(i);
  43863. t5 = true;
  43864. if (!(t4 >= 65 && t4 <= 90))
  43865. if (!(t4 >= 97 && t4 <= 122))
  43866. t5 = t4 >= 48 && t4 <= 57;
  43867. if (!(t5 || t4 === 45 || t4 === 95))
  43868. return false;
  43869. }
  43870. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43871. if (value != null)
  43872. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43873. else
  43874. t1 = false;
  43875. if (t1)
  43876. return false;
  43877. this._handleLongOption$2($name, value);
  43878. return true;
  43879. },
  43880. _handleLongOption$2($name, value) {
  43881. var _this = this,
  43882. _s34_ = 'Could not find an option named "--',
  43883. t1 = _this._grammar,
  43884. option = t1.findByNameOrAlias$1($name);
  43885. if (option != null) {
  43886. _this._args.removeFirst$0();
  43887. if (option.type === B.OptionType_tI9) {
  43888. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43889. _this._results.$indexSet(0, option.name, true);
  43890. } else {
  43891. t1 = "--" + $name;
  43892. if (value != null)
  43893. _this._setOption$4(_this._results, option, value, t1);
  43894. else
  43895. _this._readNextArgAsValue$2(option, t1);
  43896. }
  43897. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43898. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43899. if (option == null) {
  43900. t1 = _this._parser$_parent;
  43901. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43902. t1._handleLongOption$2($name, value);
  43903. return true;
  43904. }
  43905. _this._args.removeFirst$0();
  43906. t1 = "--" + $name;
  43907. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43908. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43909. _this._results.$indexSet(0, option.name, false);
  43910. } else {
  43911. t1 = _this._parser$_parent;
  43912. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43913. t1._handleLongOption$2($name, value);
  43914. return true;
  43915. }
  43916. return true;
  43917. },
  43918. _validate$3(condition, message, args) {
  43919. if (!condition)
  43920. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43921. },
  43922. _setOption$4(results, option, value, arg) {
  43923. var list, t1, t2, t3, _i, element;
  43924. if (option.type !== B.OptionType_1Ol) {
  43925. this._validateAllowed$3(option, value, arg);
  43926. results.$indexSet(0, option.name, value);
  43927. return;
  43928. }
  43929. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43930. if (option.splitCommas)
  43931. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43932. element = t1[_i];
  43933. this._validateAllowed$3(option, element, arg);
  43934. t3.add$1(list, element);
  43935. }
  43936. else {
  43937. this._validateAllowed$3(option, value, arg);
  43938. J.add$1$ax(list, value);
  43939. }
  43940. },
  43941. _validateAllowed$3(option, value, arg) {
  43942. var t1 = option.allowed;
  43943. if (t1 == null)
  43944. return;
  43945. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43946. }
  43947. };
  43948. A.Parser_parse_closure.prototype = {
  43949. call$2($name, option) {
  43950. var parsedOption = this.$this._results.$index(0, $name),
  43951. callback = option.callback;
  43952. if (callback == null)
  43953. return;
  43954. callback.call$1(option.valueOrDefault$1(parsedOption));
  43955. },
  43956. $signature: 332
  43957. };
  43958. A.Parser__setOption_closure.prototype = {
  43959. call$0() {
  43960. return A._setArrayType([], type$.JSArray_String);
  43961. },
  43962. $signature: 138
  43963. };
  43964. A._Usage.prototype = {
  43965. get$_columnWidths() {
  43966. var result, _this = this,
  43967. value = _this.___Usage__columnWidths_FI;
  43968. if (value === $) {
  43969. result = _this._calculateColumnWidths$0();
  43970. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43971. _this.___Usage__columnWidths_FI = result;
  43972. value = result;
  43973. }
  43974. return value;
  43975. },
  43976. generate$0() {
  43977. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43978. for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._usage$_buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  43979. optionOrSeparator = t1[_i];
  43980. if (typeof optionOrSeparator == "string") {
  43981. t5 = t4._contents;
  43982. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43983. _this._newlinesNeeded = 1;
  43984. continue;
  43985. }
  43986. t3._as(optionOrSeparator);
  43987. if (optionOrSeparator.hide)
  43988. continue;
  43989. _this._writeOption$1(optionOrSeparator);
  43990. }
  43991. t1 = t4._contents;
  43992. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43993. },
  43994. _writeOption$1(option) {
  43995. var _0_0, _1_0, t2, t3, t4, $name, $content, _this = this,
  43996. t1 = option.abbr;
  43997. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43998. t1 = _this._longOption$1(option);
  43999. _this._write$2(1, t1);
  44000. _0_0 = option.help;
  44001. if (_0_0 != null)
  44002. _this._write$2(2, _0_0);
  44003. _1_0 = option.allowedHelp;
  44004. if (_1_0 != null) {
  44005. _this._newline$0();
  44006. for (t1 = _1_0.get$entries(_1_0), t1 = t1.get$iterator(t1), t2 = option.defaultsTo, t3 = type$.List_dynamic._is(t2); t1.moveNext$0();) {
  44007. t4 = t1.get$current(t1);
  44008. $name = t4.key;
  44009. $content = t4.value;
  44010. t4 = (t3 ? B.JSArray_methods.contains$1(t2, $name) : t2 === $name) ? " (default)" : "";
  44011. _this._write$2(1, " [" + $name + "]" + t4);
  44012. _this._write$2(2, $content);
  44013. }
  44014. _this._newline$0();
  44015. } else if (option.allowed != null)
  44016. _this._write$2(2, _this._buildAllowedList$1(option));
  44017. else {
  44018. t1 = option.type;
  44019. if (t1 === B.OptionType_tI9) {
  44020. if (option.defaultsTo === true)
  44021. _this._write$2(2, "(defaults to on)");
  44022. } else if (t1 === B.OptionType_1Ol) {
  44023. t1 = option.defaultsTo;
  44024. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  44025. type$.List_dynamic._as(t1);
  44026. _this._write$2(2, "(defaults to " + new A.MappedListIterable(t1, new A._Usage__writeOption_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")");
  44027. }
  44028. } else {
  44029. t1 = option.defaultsTo;
  44030. if (t1 != null)
  44031. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  44032. }
  44033. }
  44034. },
  44035. _longOption$1(option) {
  44036. var t1 = option.name,
  44037. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  44038. t1 = option.valueHelp;
  44039. return t1 != null ? result + ("=<" + t1 + ">") : result;
  44040. },
  44041. _calculateColumnWidths$0() {
  44042. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  44043. for (t1 = this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.List_dynamic, abbr = 0, title = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  44044. option = t1[_i];
  44045. if (!(option instanceof A.Option))
  44046. continue;
  44047. if (option.hide)
  44048. continue;
  44049. t4 = option.abbr;
  44050. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  44051. t4 = this._longOption$1(option);
  44052. title = Math.max(title, t4.length);
  44053. t4 = option.allowedHelp;
  44054. if (t4 != null)
  44055. for (t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  44056. t7 = t4.get$current(t4);
  44057. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  44058. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  44059. }
  44060. }
  44061. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  44062. },
  44063. _newline$0() {
  44064. ++this._newlinesNeeded;
  44065. this._currentColumn = 0;
  44066. },
  44067. _write$2(column, text) {
  44068. var t1, _i,
  44069. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  44070. this.get$_columnWidths();
  44071. for (;;) {
  44072. if (!(lines.length !== 0 && B.JSString_methods.trim$0(B.JSArray_methods.get$first(lines)) === ""))
  44073. break;
  44074. B.JSArray_methods.removeAt$1(lines, 0);
  44075. }
  44076. for (;;) {
  44077. if (!(lines.length !== 0 && B.JSString_methods.trim$0(B.JSArray_methods.get$last(lines)) === ""))
  44078. break;
  44079. lines.pop();
  44080. }
  44081. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  44082. this._writeLine$2(column, lines[_i]);
  44083. },
  44084. _writeLine$2(column, text) {
  44085. var t1, t2, t3, _this = this;
  44086. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  44087. t1._contents += "\n";
  44088. _this._newlinesNeeded = t2 - 1;
  44089. }
  44090. while (t2 = _this._currentColumn, t2 !== column) {
  44091. if (t2 < 2) {
  44092. t2 = _this.get$_columnWidths();
  44093. t3 = _this._currentColumn;
  44094. t2 = B.JSString_methods.$mul(" ", t2[t3]);
  44095. t1._contents += t2;
  44096. t2 = t3;
  44097. } else
  44098. t1._contents += "\n";
  44099. _this._currentColumn = (t2 + 1) % 3;
  44100. }
  44101. t2 = _this.get$_columnWidths();
  44102. t3 = t1._contents;
  44103. if (column < 2)
  44104. t1._contents = t3 + B.JSString_methods.padRight$1(text, t2[column]);
  44105. else
  44106. t1._contents = t3 + text;
  44107. _this._currentColumn = (_this._currentColumn + 1) % 3;
  44108. if (column === 2)
  44109. ++_this._newlinesNeeded;
  44110. },
  44111. _buildAllowedList$1(option) {
  44112. var t2, first, _i, t3, allowed,
  44113. t1 = option.defaultsTo,
  44114. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  44115. for (t1 = option.allowed, t2 = t1.length, first = true, _i = 0, t3 = "["; _i < t2; ++_i, first = false) {
  44116. allowed = t1[_i];
  44117. t3 = (!first ? t3 + ", " : t3) + allowed;
  44118. if (isDefault.call$1(allowed))
  44119. t3 += " (default)";
  44120. }
  44121. t1 = t3 + "]";
  44122. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44123. }
  44124. };
  44125. A._Usage__writeOption_closure.prototype = {
  44126. call$1(value) {
  44127. return '"' + A.S(value) + '"';
  44128. },
  44129. $signature: 134
  44130. };
  44131. A._Usage__buildAllowedList_closure.prototype = {
  44132. call$1(value) {
  44133. return value === this.option.defaultsTo;
  44134. },
  44135. $signature: 5
  44136. };
  44137. A.FutureGroup.prototype = {
  44138. add$1(_, task) {
  44139. var t1, index, _this = this;
  44140. if (_this._future_group$_closed)
  44141. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  44142. t1 = _this._future_group$_values;
  44143. index = t1.length;
  44144. t1.push(null);
  44145. ++_this._future_group$_pending;
  44146. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  44147. },
  44148. close$0(_) {
  44149. var t1, t2, _this = this;
  44150. _this._future_group$_closed = true;
  44151. if (_this._future_group$_pending !== 0)
  44152. return;
  44153. t1 = _this._future_group$_completer;
  44154. if ((t1.future._state & 30) !== 0)
  44155. return;
  44156. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  44157. t2 = A.List_List$_of(new A.WhereTypeIterable(_this._future_group$_values, t2), t2._eval$1("Iterable.E"));
  44158. t1.complete$1(t2);
  44159. }
  44160. };
  44161. A.FutureGroup_add_closure.prototype = {
  44162. call$1(value) {
  44163. var t3, t4,
  44164. t1 = this.$this,
  44165. t2 = t1._future_group$_completer;
  44166. if ((t2.future._state & 30) !== 0)
  44167. return null;
  44168. t3 = --t1._future_group$_pending;
  44169. t4 = t1._future_group$_values;
  44170. t4[this.index] = value;
  44171. if (t3 !== 0)
  44172. return null;
  44173. if (!t1._future_group$_closed)
  44174. return null;
  44175. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  44176. t1 = A.List_List$_of(new A.WhereTypeIterable(t4, t1), t1._eval$1("Iterable.E"));
  44177. t2.complete$1(t1);
  44178. },
  44179. $signature() {
  44180. return this.$this.$ti._eval$1("Null(1)");
  44181. }
  44182. };
  44183. A.FutureGroup_add_closure0.prototype = {
  44184. call$2(error, stackTrace) {
  44185. var t1 = this.$this._future_group$_completer;
  44186. if ((t1.future._state & 30) !== 0)
  44187. return null;
  44188. t1.completeError$2(error, stackTrace);
  44189. },
  44190. $signature: 56
  44191. };
  44192. A.ErrorResult.prototype = {
  44193. complete$1(completer) {
  44194. completer.completeError$2(this.error, this.stackTrace);
  44195. },
  44196. get$hashCode(_) {
  44197. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  44198. },
  44199. $eq(_, other) {
  44200. if (other == null)
  44201. return false;
  44202. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  44203. },
  44204. $isResult: 1
  44205. };
  44206. A.ValueResult.prototype = {
  44207. complete$1(completer) {
  44208. completer.complete$1(this.value);
  44209. },
  44210. get$hashCode(_) {
  44211. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  44212. },
  44213. $eq(_, other) {
  44214. if (other == null)
  44215. return false;
  44216. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  44217. },
  44218. $isResult: 1
  44219. };
  44220. A.StreamCompleter.prototype = {
  44221. setSourceStream$1(sourceStream) {
  44222. var t1 = this._stream_completer$_stream;
  44223. if (t1._sourceStream != null)
  44224. throw A.wrapException(A.StateError$("Source stream already set"));
  44225. t1._sourceStream = sourceStream;
  44226. if (t1._stream_completer$_controller != null)
  44227. t1._linkStreamToController$0();
  44228. },
  44229. setError$2(error, stackTrace) {
  44230. var t1 = this.$ti,
  44231. t2 = A._interceptUserError(error, stackTrace),
  44232. t3 = new A._Future($.Zone__current, t1._eval$1("_Future<1>"));
  44233. t3._asyncCompleteErrorObject$1(t2);
  44234. this.setSourceStream$1(A.Stream_Stream$fromFuture(t3, t1._precomputed1));
  44235. },
  44236. setError$1(error) {
  44237. return this.setError$2(error, null);
  44238. }
  44239. };
  44240. A._CompleterStream.prototype = {
  44241. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  44242. var sourceStream, t1, _this = this, _null = null;
  44243. if (_this._stream_completer$_controller == null) {
  44244. sourceStream = _this._sourceStream;
  44245. if (sourceStream != null && !sourceStream.get$isBroadcast())
  44246. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44247. if (_this._stream_completer$_controller == null)
  44248. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  44249. if (_this._sourceStream != null)
  44250. _this._linkStreamToController$0();
  44251. }
  44252. t1 = _this._stream_completer$_controller;
  44253. t1.toString;
  44254. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44255. },
  44256. listen$1(_, onData) {
  44257. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  44258. },
  44259. listen$3$onDone$onError(_, onData, onDone, onError) {
  44260. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  44261. },
  44262. _linkStreamToController$0() {
  44263. var t2,
  44264. t1 = this._stream_completer$_controller;
  44265. t1.toString;
  44266. t2 = this._sourceStream;
  44267. t2.toString;
  44268. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  44269. }
  44270. };
  44271. A.StreamGroup.prototype = {
  44272. add$1(_, stream) {
  44273. var t1, _this = this;
  44274. if (_this._closed)
  44275. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  44276. t1 = _this._stream_group$_state;
  44277. if (t1 === B._StreamGroupState_dormant)
  44278. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  44279. else if (t1 === B._StreamGroupState_canceled)
  44280. return stream.listen$1(0, null).cancel$0();
  44281. else
  44282. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  44283. return null;
  44284. },
  44285. remove$1(_, stream) {
  44286. var t1 = this._subscriptions,
  44287. subscription = t1.remove$1(0, stream),
  44288. future = subscription == null ? null : subscription.cancel$0();
  44289. if (t1.__js_helper$_length === 0)
  44290. if (this._closed) {
  44291. t1 = this.__StreamGroup__controller_A;
  44292. t1 === $ && A.throwUnnamedLateFieldNI();
  44293. A.scheduleMicrotask(t1.get$close(t1));
  44294. }
  44295. return future;
  44296. },
  44297. _onListen$0() {
  44298. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  44299. _this._stream_group$_state = B._StreamGroupState_listening;
  44300. t1 = _this._subscriptions;
  44301. t2 = A.List_List$_of(new A.LinkedHashMapEntriesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>")), _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>"));
  44302. t3 = t2.length;
  44303. _i = 0;
  44304. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  44305. entry = t2[_i];
  44306. if (entry.value != null)
  44307. continue;
  44308. stream = entry.key;
  44309. try {
  44310. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  44311. } catch (exception) {
  44312. t1 = _this._onCancel$0();
  44313. if (t1 != null)
  44314. t1.catchError$1(new A.StreamGroup__onListen_closure());
  44315. throw exception;
  44316. }
  44317. }
  44318. },
  44319. _onPause$0() {
  44320. this._stream_group$_state = B._StreamGroupState_paused;
  44321. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44322. t1.__js_helper$_current.pause$0(0);
  44323. },
  44324. _onResume$0() {
  44325. this._stream_group$_state = B._StreamGroupState_listening;
  44326. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44327. t1.__js_helper$_current.resume$0(0);
  44328. },
  44329. _onCancel$0() {
  44330. var t1, t2, t3, futures;
  44331. this._stream_group$_state = B._StreamGroupState_canceled;
  44332. t1 = this._subscriptions;
  44333. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  44334. t3 = type$.NonNullsIterable_Future_void;
  44335. futures = A.List_List$_of(new A.NonNullsIterable(A.MappedIterable_MappedIterable(new A.LinkedHashMapEntriesIterable(t1, t2), new A.StreamGroup__onCancel_closure(this), t2._eval$1("Iterable.E"), type$.nullable_Future_void), t3), t3._eval$1("Iterable.E"));
  44336. t1.clear$0(0);
  44337. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  44338. },
  44339. _listenToStream$1(stream) {
  44340. var subscription,
  44341. t1 = this.__StreamGroup__controller_A;
  44342. t1 === $ && A.throwUnnamedLateFieldNI();
  44343. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44344. if (this._stream_group$_state === B._StreamGroupState_paused)
  44345. subscription.pause$0(0);
  44346. return subscription;
  44347. }
  44348. };
  44349. A.StreamGroup_add_closure.prototype = {
  44350. call$0() {
  44351. return null;
  44352. },
  44353. $signature: 1
  44354. };
  44355. A.StreamGroup_add_closure0.prototype = {
  44356. call$0() {
  44357. return this.$this._listenToStream$1(this.stream);
  44358. },
  44359. $signature() {
  44360. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44361. }
  44362. };
  44363. A.StreamGroup__onListen_closure.prototype = {
  44364. call$1(_) {
  44365. },
  44366. $signature: 66
  44367. };
  44368. A.StreamGroup__onCancel_closure.prototype = {
  44369. call$1(entry) {
  44370. var t1, exception,
  44371. subscription = entry.value;
  44372. try {
  44373. if (subscription != null) {
  44374. t1 = subscription.cancel$0();
  44375. return t1;
  44376. }
  44377. t1 = entry.key.listen$1(0, null).cancel$0();
  44378. return t1;
  44379. } catch (exception) {
  44380. return null;
  44381. }
  44382. },
  44383. $signature() {
  44384. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44385. }
  44386. };
  44387. A.StreamGroup__listenToStream_closure.prototype = {
  44388. call$0() {
  44389. return this.$this.remove$1(0, this.stream);
  44390. },
  44391. $signature: 0
  44392. };
  44393. A._StreamGroupState.prototype = {
  44394. toString$0(_) {
  44395. return this.name;
  44396. }
  44397. };
  44398. A.StreamQueue.prototype = {
  44399. _updateRequests$0() {
  44400. var t1, t2, t3, t4, _this = this;
  44401. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44402. t4 = t1._head;
  44403. if (t4 === t1._tail)
  44404. A.throwExpression(A.IterableElementError_noElement());
  44405. t4 = t1._table[t4];
  44406. if (t4 == null)
  44407. t4 = t3._as(t4);
  44408. if (t4.update$2(t2, _this._isDone))
  44409. t1.removeFirst$0();
  44410. else
  44411. return;
  44412. }
  44413. if (!_this._isDone)
  44414. _this._stream_queue$_subscription.pause$0(0);
  44415. },
  44416. _ensureListening$0() {
  44417. var t1, _this = this;
  44418. if (_this._isDone)
  44419. return;
  44420. t1 = _this._stream_queue$_subscription;
  44421. if (t1 == null)
  44422. _this._stream_queue$_subscription = _this._stream_queue$_source.listen$3$onDone$onError(0, new A.StreamQueue__ensureListening_closure(_this), new A.StreamQueue__ensureListening_closure0(_this), new A.StreamQueue__ensureListening_closure1(_this));
  44423. else
  44424. t1.resume$0(0);
  44425. },
  44426. _addResult$1(result) {
  44427. ++this._eventsReceived;
  44428. this._eventQueue._queue_list$_add$1(result);
  44429. this._updateRequests$0();
  44430. },
  44431. _addRequest$1(request) {
  44432. var _this = this,
  44433. t1 = _this._requestQueue;
  44434. if (t1._head === t1._tail) {
  44435. if (request.update$2(_this._eventQueue, _this._isDone))
  44436. return;
  44437. _this._ensureListening$0();
  44438. }
  44439. t1._add$1(request);
  44440. }
  44441. };
  44442. A.StreamQueue__ensureListening_closure.prototype = {
  44443. call$1(data) {
  44444. var t1 = this.$this;
  44445. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44446. },
  44447. $signature() {
  44448. return this.$this.$ti._eval$1("~(1)");
  44449. }
  44450. };
  44451. A.StreamQueue__ensureListening_closure1.prototype = {
  44452. call$2(error, stackTrace) {
  44453. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44454. },
  44455. $signature: 56
  44456. };
  44457. A.StreamQueue__ensureListening_closure0.prototype = {
  44458. call$0() {
  44459. var t1 = this.$this;
  44460. t1._stream_queue$_subscription = null;
  44461. t1._isDone = true;
  44462. t1._updateRequests$0();
  44463. },
  44464. $signature: 0
  44465. };
  44466. A._NextRequest.prototype = {
  44467. update$2(events, isDone) {
  44468. if (!events.get$isEmpty(events)) {
  44469. events.removeFirst$0().complete$1(this._completer);
  44470. return true;
  44471. }
  44472. if (isDone) {
  44473. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44474. return true;
  44475. }
  44476. return false;
  44477. },
  44478. $is_EventRequest: 1
  44479. };
  44480. A._isStrictMode_closure.prototype = {
  44481. call$0() {
  44482. var exception;
  44483. try {
  44484. "".name = null;
  44485. return false;
  44486. } catch (exception) {
  44487. return true;
  44488. }
  44489. },
  44490. $signature: 19
  44491. };
  44492. A.Repl.prototype = {};
  44493. A.alwaysValid_closure.prototype = {
  44494. call$1(text) {
  44495. return true;
  44496. },
  44497. $signature: 5
  44498. };
  44499. A.ReplAdapter.prototype = {
  44500. runAsync$0() {
  44501. var rl, runController, _this = this, t1 = {},
  44502. t2 = J.get$isTTY$x(self.process.stdin),
  44503. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44504. t2 = _this.repl.prompt;
  44505. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44506. _this.rl = rl;
  44507. t1.statement = "";
  44508. t1.prompt = t2;
  44509. runController = A._Cell$();
  44510. runController.__late_helper$_value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  44511. return runController._readLocal$0().get$stream();
  44512. },
  44513. exit$0(_) {
  44514. var t1 = this.rl;
  44515. if (t1 != null)
  44516. J.close$0$x(t1);
  44517. this.rl = null;
  44518. }
  44519. };
  44520. A.ReplAdapter_runAsync_closure.prototype = {
  44521. call$0() {
  44522. var $async$goto = 0,
  44523. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44524. $async$handler = 1, $async$errorStack = [], $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, line0, toZone, statement, exception, $async$exception;
  44525. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44526. if ($async$errorCode === 1) {
  44527. $async$errorStack.push($async$result);
  44528. $async$goto = $async$handler;
  44529. }
  44530. for (;;)
  44531. switch ($async$goto) {
  44532. case 0:
  44533. // Function start
  44534. $async$handler = 3;
  44535. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44536. t1 = lineController;
  44537. t2 = A.QueueList$(null, type$.Result_String);
  44538. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44539. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44540. t1 = $async$self.rl;
  44541. t2 = J.getInterceptor$x(t1);
  44542. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44543. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44544. case 6:
  44545. // for condition
  44546. // trivial condition
  44547. t6 = J.get$isTTY$x(self.process.stdin);
  44548. if (t6 == null ? false : t6)
  44549. J.write$1$x(self.process.stdout, t3.prompt);
  44550. t6 = lineQueue;
  44551. t6.toString;
  44552. t7 = t6.$ti;
  44553. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44554. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44555. $async$goto = 8;
  44556. return A._asyncAwait(t8, $async$call$0);
  44557. case 8:
  44558. // returning from await.
  44559. line = $async$result;
  44560. t6 = J.get$isTTY$x(self.process.stdin);
  44561. if (!(t6 == null ? false : t6)) {
  44562. line0 = t3.prompt + A.S(line);
  44563. toZone = $.printToZone;
  44564. if (toZone == null)
  44565. A.printString(line0);
  44566. else
  44567. toZone.call$1(line0);
  44568. }
  44569. statement = B.JSString_methods.$add(t3.statement, line);
  44570. t3.statement = statement;
  44571. if (t4.validator.call$1(statement)) {
  44572. t6 = t5.__late_helper$_value;
  44573. if (t6 === t5)
  44574. A.throwExpression(A.LateError$localNI(""));
  44575. J.add$1$ax(t6, t3.statement);
  44576. t3.statement = "";
  44577. t3.prompt = prompt0;
  44578. t2.setPrompt$1(t1, prompt0);
  44579. } else {
  44580. t3.statement += "\n";
  44581. t3.prompt = $prompt;
  44582. t2.setPrompt$1(t1, $prompt);
  44583. }
  44584. // goto for condition
  44585. $async$goto = 6;
  44586. break;
  44587. case 7:
  44588. // after for
  44589. $async$handler = 1;
  44590. // goto after finally
  44591. $async$goto = 5;
  44592. break;
  44593. case 3:
  44594. // catch
  44595. $async$handler = 2;
  44596. $async$exception = $async$errorStack.pop();
  44597. error = A.unwrapException($async$exception);
  44598. stackTrace = A.getTraceFromException($async$exception);
  44599. t1 = $async$self.runController;
  44600. t1._readLocal$0().addError$2(error, stackTrace);
  44601. t2 = $async$self.$this.exit$0(0);
  44602. t2 = A._Future$value(t2, type$.void);
  44603. $async$goto = 9;
  44604. return A._asyncAwait(t2, $async$call$0);
  44605. case 9:
  44606. // returning from await.
  44607. J.close$0$x(t1._readLocal$0());
  44608. // goto after finally
  44609. $async$goto = 5;
  44610. break;
  44611. case 2:
  44612. // uncaught
  44613. // goto rethrow
  44614. $async$goto = 1;
  44615. break;
  44616. case 5:
  44617. // after finally
  44618. // implicit return
  44619. return A._asyncReturn(null, $async$completer);
  44620. case 1:
  44621. // rethrow
  44622. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44623. }
  44624. });
  44625. return A._asyncStartSync($async$call$0, $async$completer);
  44626. },
  44627. $signature: 30
  44628. };
  44629. A.ReplAdapter_runAsync__closure.prototype = {
  44630. call$1(value) {
  44631. return this.lineController.add$1(0, A._asString(value));
  44632. },
  44633. $signature: 70
  44634. };
  44635. A.Stdin.prototype = {};
  44636. A.Stdout.prototype = {};
  44637. A.ReadlineModule.prototype = {};
  44638. A.ReadlineOptions.prototype = {};
  44639. A.ReadlineInterface.prototype = {};
  44640. A.EmptyUnmodifiableSet.prototype = {
  44641. get$iterator(_) {
  44642. return B.C_EmptyIterator;
  44643. },
  44644. get$length(_) {
  44645. return 0;
  44646. },
  44647. contains$1(_, element) {
  44648. return false;
  44649. },
  44650. toSet$0(_) {
  44651. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44652. },
  44653. $isEfficientLengthIterable: 1,
  44654. $isSet: 1
  44655. };
  44656. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44657. A.DefaultEquality.prototype = {};
  44658. A.IterableEquality.prototype = {
  44659. equals$2(_, elements1, elements2) {
  44660. var it1, it2, hasNext;
  44661. if (elements1 === elements2)
  44662. return true;
  44663. it1 = J.get$iterator$ax(elements1);
  44664. it2 = J.get$iterator$ax(elements2);
  44665. for (;;) {
  44666. hasNext = it1.moveNext$0();
  44667. if (hasNext !== it2.moveNext$0())
  44668. return false;
  44669. if (!hasNext)
  44670. return true;
  44671. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44672. return false;
  44673. }
  44674. },
  44675. hash$1(elements) {
  44676. var t1, hash, _i;
  44677. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44678. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44679. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44680. hash ^= hash >>> 6;
  44681. }
  44682. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44683. hash ^= hash >>> 11;
  44684. return hash + (hash << 15 >>> 0) & 2147483647;
  44685. }
  44686. };
  44687. A.ListEquality.prototype = {
  44688. equals$2(_, list1, list2) {
  44689. var t1, $length, t2, i;
  44690. if (list1 == null ? list2 == null : list1 === list2)
  44691. return true;
  44692. if (list1 == null || list2 == null)
  44693. return false;
  44694. t1 = J.getInterceptor$asx(list1);
  44695. $length = t1.get$length(list1);
  44696. t2 = J.getInterceptor$asx(list2);
  44697. if ($length !== t2.get$length(list2))
  44698. return false;
  44699. for (i = 0; i < $length; ++i)
  44700. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44701. return false;
  44702. return true;
  44703. },
  44704. hash$1(list) {
  44705. var hash, i;
  44706. for (hash = 0, i = 0; i < list.length; ++i) {
  44707. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44708. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44709. hash ^= hash >>> 6;
  44710. }
  44711. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44712. hash ^= hash >>> 11;
  44713. return hash + (hash << 15 >>> 0) & 2147483647;
  44714. }
  44715. };
  44716. A._MapEntry.prototype = {
  44717. get$hashCode(_) {
  44718. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44719. },
  44720. $eq(_, other) {
  44721. if (other == null)
  44722. return false;
  44723. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44724. }
  44725. };
  44726. A.MapEquality.prototype = {
  44727. equals$2(_, map1, map2) {
  44728. var equalElementCounts, t1, key, entry, count;
  44729. if (map1 === map2)
  44730. return true;
  44731. if (map1.get$length(map1) !== map2.get$length(map2))
  44732. return false;
  44733. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44734. for (t1 = map1.get$keys(map1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  44735. key = t1.get$current(t1);
  44736. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44737. count = equalElementCounts.$index(0, entry);
  44738. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44739. }
  44740. for (t1 = map2.get$keys(map2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  44741. key = t1.get$current(t1);
  44742. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44743. count = equalElementCounts.$index(0, entry);
  44744. if (count == null || count === 0)
  44745. return false;
  44746. equalElementCounts.$indexSet(0, entry, count - 1);
  44747. }
  44748. return true;
  44749. },
  44750. hash$1(map) {
  44751. var t1, t2, hash, key, keyHash, t3;
  44752. for (t1 = map.get$keys(map), t1 = t1.get$iterator(t1), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44753. key = t1.get$current(t1);
  44754. keyHash = J.get$hashCode$(key);
  44755. t3 = map.$index(0, key);
  44756. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44757. }
  44758. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44759. hash ^= hash >>> 11;
  44760. return hash + (hash << 15 >>> 0) & 2147483647;
  44761. }
  44762. };
  44763. A.QueueList.prototype = {
  44764. add$1(_, element) {
  44765. this._queue_list$_add$1(element);
  44766. },
  44767. addAll$1(_, iterable) {
  44768. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44769. if (type$.List_dynamic._is(iterable)) {
  44770. addCount = J.get$length$asx(iterable);
  44771. $length = _this.get$length(0);
  44772. t1 = $length + addCount;
  44773. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44774. _this._preGrow$1(t1);
  44775. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44776. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44777. } else {
  44778. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44779. t1 = _this._queue_list$_table;
  44780. t2 = J.getInterceptor$ax(t1);
  44781. if (addCount < endSpace) {
  44782. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44783. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44784. } else {
  44785. preSpace = addCount - endSpace;
  44786. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44787. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44788. _this.set$_queue_list$_tail(preSpace);
  44789. }
  44790. }
  44791. } else
  44792. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44793. _this._queue_list$_add$1(t1.get$current(t1));
  44794. },
  44795. cast$1$0(_, $T) {
  44796. return new A._CastQueueList(this, J.cast$1$0$ax(this._queue_list$_table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
  44797. },
  44798. toString$0(_) {
  44799. return A.Iterable_iterableToFullString(this, "{", "}");
  44800. },
  44801. addFirst$1(element) {
  44802. var _this = this;
  44803. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44804. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44805. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44806. _this._queue_list$_grow$0();
  44807. },
  44808. removeFirst$0() {
  44809. var result, _this = this;
  44810. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44811. throw A.wrapException(A.StateError$("No element"));
  44812. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44813. if (result == null)
  44814. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44815. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44816. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44817. return result;
  44818. },
  44819. removeLast$0(_) {
  44820. var result, _this = this;
  44821. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44822. throw A.wrapException(A.StateError$("No element"));
  44823. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44824. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44825. if (result == null)
  44826. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44827. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44828. return result;
  44829. },
  44830. get$length(_) {
  44831. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44832. },
  44833. set$length(_, value) {
  44834. var delta, newTail, t1, t2, _this = this;
  44835. if (value < 0)
  44836. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44837. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44838. throw A.wrapException(A.UnsupportedError$("The length can only be increased when the element type is nullable, but the current element type is `" + A.createRuntimeType(A._instanceType(_this)._eval$1("QueueList.E")).toString$0(0) + "`."));
  44839. delta = value - _this.get$length(0);
  44840. if (delta >= 0) {
  44841. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44842. _this._preGrow$1(value);
  44843. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44844. return;
  44845. }
  44846. newTail = _this.get$_queue_list$_tail() + delta;
  44847. t1 = _this._queue_list$_table;
  44848. if (newTail >= 0)
  44849. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44850. else {
  44851. newTail += J.get$length$asx(t1);
  44852. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44853. t1 = _this._queue_list$_table;
  44854. t2 = J.getInterceptor$asx(t1);
  44855. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44856. }
  44857. _this.set$_queue_list$_tail(newTail);
  44858. },
  44859. $index(_, index) {
  44860. var t1, _this = this;
  44861. if (index < 0 || index >= _this.get$length(0))
  44862. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44863. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44864. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44865. },
  44866. $indexSet(_, index, value) {
  44867. var _this = this;
  44868. if (index < 0 || index >= _this.get$length(0))
  44869. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44870. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44871. },
  44872. _queue_list$_add$1(element) {
  44873. var _this = this;
  44874. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44875. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44876. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44877. _this._queue_list$_grow$0();
  44878. },
  44879. _queue_list$_grow$0() {
  44880. var _this = this,
  44881. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44882. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44883. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44884. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44885. _this.set$_queue_list$_head(0);
  44886. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44887. _this._queue_list$_table = newTable;
  44888. },
  44889. _writeToList$1(target) {
  44890. var $length, firstPartSize, _this = this;
  44891. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44892. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44893. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44894. return $length;
  44895. } else {
  44896. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44897. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44898. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44899. return _this.get$_queue_list$_tail() + firstPartSize;
  44900. }
  44901. },
  44902. _preGrow$1(newElementCount) {
  44903. var _this = this,
  44904. newTable = A.List_List$filled(A.QueueList__nextPowerOf2(newElementCount + B.JSInt_methods._shrOtherPositive$1(newElementCount, 1)), null, false, A._instanceType(_this)._eval$1("QueueList.E?"));
  44905. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44906. _this._queue_list$_table = newTable;
  44907. _this.set$_queue_list$_head(0);
  44908. },
  44909. $isEfficientLengthIterable: 1,
  44910. $isQueue: 1,
  44911. $isIterable: 1,
  44912. $isList: 1,
  44913. get$_queue_list$_head() {
  44914. return this._queue_list$_head;
  44915. },
  44916. get$_queue_list$_tail() {
  44917. return this._queue_list$_tail;
  44918. },
  44919. set$_queue_list$_head(val) {
  44920. return this._queue_list$_head = val;
  44921. },
  44922. set$_queue_list$_tail(val) {
  44923. return this._queue_list$_tail = val;
  44924. }
  44925. };
  44926. A._CastQueueList.prototype = {
  44927. get$_queue_list$_head() {
  44928. return this._queue_list$_delegate.get$_queue_list$_head();
  44929. },
  44930. set$_queue_list$_head(value) {
  44931. this._queue_list$_delegate.set$_queue_list$_head(value);
  44932. },
  44933. get$_queue_list$_tail() {
  44934. return this._queue_list$_delegate.get$_queue_list$_tail();
  44935. },
  44936. set$_queue_list$_tail(value) {
  44937. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44938. }
  44939. };
  44940. A._QueueList_Object_ListMixin.prototype = {};
  44941. A.UnionSet.prototype = {
  44942. get$length(_) {
  44943. var t1 = this.get$_union_set$_iterable().get$length(0);
  44944. return t1;
  44945. },
  44946. get$iterator(_) {
  44947. var t1 = this.get$_union_set$_iterable();
  44948. return t1.get$iterator(t1);
  44949. },
  44950. get$_union_set$_iterable() {
  44951. var t1 = this._sets,
  44952. t2 = this.$ti._precomputed1,
  44953. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44954. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44955. return new A.WhereIterable(new A.ExpandIterable(t1, new A.UnionSet__iterable_closure(this), t3), t2.get$add(t2), t3._eval$1("WhereIterable<Iterable.E>"));
  44956. },
  44957. contains$1(_, element) {
  44958. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44959. },
  44960. toSet$0(_) {
  44961. var t2, t3, t4,
  44962. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44963. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44964. t4 = t2._collection$_current;
  44965. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44966. }
  44967. return t1;
  44968. }
  44969. };
  44970. A.UnionSet__iterable_closure.prototype = {
  44971. call$1(set) {
  44972. return set;
  44973. },
  44974. $signature() {
  44975. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44976. }
  44977. };
  44978. A.UnionSet_contains_closure.prototype = {
  44979. call$1(set) {
  44980. return set.contains$1(0, this.element);
  44981. },
  44982. $signature() {
  44983. return this.$this.$ti._eval$1("bool(Set<1>)");
  44984. }
  44985. };
  44986. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44987. A.UnmodifiableSetView0.prototype = {};
  44988. A.UnmodifiableSetMixin.prototype = {
  44989. add$1(_, value) {
  44990. return A.UnmodifiableSetMixin__throw();
  44991. },
  44992. addAll$1(_, elements) {
  44993. return A.UnmodifiableSetMixin__throw();
  44994. },
  44995. remove$1(_, value) {
  44996. return A.UnmodifiableSetMixin__throw();
  44997. }
  44998. };
  44999. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  45000. A._DelegatingIterableBase.prototype = {
  45001. any$1(_, test) {
  45002. var t1 = this.get$_base();
  45003. return t1.any$1(t1, test);
  45004. },
  45005. contains$1(_, element) {
  45006. var t1 = this.get$_base();
  45007. return t1.contains$1(t1, element);
  45008. },
  45009. elementAt$1(_, index) {
  45010. var t1 = this.get$_base();
  45011. return t1.elementAt$1(t1, index);
  45012. },
  45013. every$1(_, test) {
  45014. var t1 = this.get$_base();
  45015. return t1.every$1(t1, test);
  45016. },
  45017. get$first(_) {
  45018. var t1 = this.get$_base();
  45019. return t1.get$first(t1);
  45020. },
  45021. get$isEmpty(_) {
  45022. var t1 = this.get$_base();
  45023. return t1.get$isEmpty(t1);
  45024. },
  45025. get$isNotEmpty(_) {
  45026. var t1 = this.get$_base();
  45027. return t1.get$isNotEmpty(t1);
  45028. },
  45029. get$iterator(_) {
  45030. var t1 = this.get$_base();
  45031. return t1.get$iterator(t1);
  45032. },
  45033. get$last(_) {
  45034. var t1 = this.get$_base();
  45035. return t1.get$last(t1);
  45036. },
  45037. get$length(_) {
  45038. var t1 = this.get$_base();
  45039. return t1.get$length(t1);
  45040. },
  45041. map$1$1(_, f, $T) {
  45042. var t1 = this.get$_base();
  45043. return t1.map$1$1(t1, f, $T);
  45044. },
  45045. get$single(_) {
  45046. var t1 = this.get$_base();
  45047. return t1.get$single(t1);
  45048. },
  45049. skip$1(_, n) {
  45050. var t1 = this.get$_base();
  45051. return t1.skip$1(t1, n);
  45052. },
  45053. take$1(_, n) {
  45054. var t1 = this.get$_base();
  45055. return t1.take$1(t1, n);
  45056. },
  45057. toList$1$growable(_, growable) {
  45058. var t1 = this.get$_base();
  45059. return t1.toList$1$growable(t1, true);
  45060. },
  45061. toList$0(_) {
  45062. return this.toList$1$growable(0, true);
  45063. },
  45064. toSet$0(_) {
  45065. var t1 = this.get$_base();
  45066. return t1.toSet$0(t1);
  45067. },
  45068. where$1(_, test) {
  45069. var t1 = this.get$_base();
  45070. return t1.where$1(t1, test);
  45071. },
  45072. toString$0(_) {
  45073. var t1 = this.get$_base();
  45074. return t1.toString$0(t1);
  45075. },
  45076. $isIterable: 1
  45077. };
  45078. A.DelegatingSet.prototype = {
  45079. add$1(_, value) {
  45080. return this._base.add$1(0, value);
  45081. },
  45082. addAll$1(_, elements) {
  45083. this._base.addAll$1(0, elements);
  45084. },
  45085. toSet$0(_) {
  45086. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  45087. },
  45088. $isEfficientLengthIterable: 1,
  45089. $isSet: 1,
  45090. get$_base() {
  45091. return this._base;
  45092. }
  45093. };
  45094. A.MapKeySet.prototype = {
  45095. get$_base() {
  45096. var t1 = this._baseMap;
  45097. return t1.get$keys(t1);
  45098. },
  45099. contains$1(_, element) {
  45100. return this._baseMap.containsKey$1(element);
  45101. },
  45102. get$isEmpty(_) {
  45103. var t1 = this._baseMap;
  45104. return t1.get$isEmpty(t1);
  45105. },
  45106. get$isNotEmpty(_) {
  45107. var t1 = this._baseMap;
  45108. return t1.get$isNotEmpty(t1);
  45109. },
  45110. get$length(_) {
  45111. var t1 = this._baseMap;
  45112. return t1.get$length(t1);
  45113. },
  45114. toString$0(_) {
  45115. return A.Iterable_iterableToFullString(this, "{", "}");
  45116. },
  45117. difference$1(other) {
  45118. var t1 = this.get$_base();
  45119. return t1.where$1(t1, new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  45120. },
  45121. intersection$1(other) {
  45122. var t1 = this.get$_base();
  45123. return t1.where$1(t1, other.get$contains(other)).toSet$0(0);
  45124. },
  45125. $isEfficientLengthIterable: 1,
  45126. $isSet: 1
  45127. };
  45128. A.MapKeySet_difference_closure.prototype = {
  45129. call$1(element) {
  45130. return !this.other.contains$1(0, element);
  45131. },
  45132. $signature() {
  45133. return this.$this.$ti._eval$1("bool(1)");
  45134. }
  45135. };
  45136. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  45137. A.BufferModule.prototype = {};
  45138. A.BufferConstants.prototype = {};
  45139. A.Buffer.prototype = {};
  45140. A.ConsoleModule.prototype = {};
  45141. A.Console.prototype = {};
  45142. A.EventEmitter.prototype = {};
  45143. A.FS.prototype = {};
  45144. A.FSConstants.prototype = {};
  45145. A.Realpath.prototype = {};
  45146. A.RealpathSync.prototype = {};
  45147. A.FSWatcher.prototype = {};
  45148. A.ReadStream.prototype = {};
  45149. A.ReadStreamOptions.prototype = {};
  45150. A.WriteStream.prototype = {};
  45151. A.WriteStreamOptions.prototype = {};
  45152. A.FileOptions.prototype = {};
  45153. A.StatOptions.prototype = {};
  45154. A.MkdirOptions.prototype = {};
  45155. A.RmdirOptions.prototype = {};
  45156. A.WatchOptions.prototype = {};
  45157. A.WatchFileOptions.prototype = {};
  45158. A.Stats.prototype = {};
  45159. A.Promise.prototype = {};
  45160. A.Date.prototype = {};
  45161. A.JsError.prototype = {};
  45162. A.Atomics.prototype = {};
  45163. A.Modules.prototype = {};
  45164. A.Module.prototype = {};
  45165. A.Net.prototype = {};
  45166. A.Socket.prototype = {};
  45167. A.NetAddress.prototype = {};
  45168. A.NetServer.prototype = {};
  45169. A.NodeJsError.prototype = {};
  45170. A.JsAssertionError.prototype = {};
  45171. A.JsRangeError.prototype = {};
  45172. A.JsReferenceError.prototype = {};
  45173. A.JsSyntaxError.prototype = {};
  45174. A.JsTypeError.prototype = {};
  45175. A.JsSystemError.prototype = {};
  45176. A.Process.prototype = {};
  45177. A.CPUUsage.prototype = {};
  45178. A.Release.prototype = {};
  45179. A.StreamModule.prototype = {};
  45180. A.Readable.prototype = {};
  45181. A.Writable.prototype = {};
  45182. A.Duplex.prototype = {};
  45183. A.Transform.prototype = {};
  45184. A.WritableOptions.prototype = {};
  45185. A.ReadableOptions.prototype = {};
  45186. A.Immediate.prototype = {};
  45187. A.Timeout.prototype = {};
  45188. A.TTY.prototype = {};
  45189. A.TTYReadStream.prototype = {};
  45190. A.TTYWriteStream.prototype = {};
  45191. A.Util.prototype = {};
  45192. A.promiseToFuture_closure1.prototype = {
  45193. call$1(value) {
  45194. this.completer.complete$1(value);
  45195. },
  45196. $signature: 66
  45197. };
  45198. A.promiseToFuture_closure2.prototype = {
  45199. call$1(error) {
  45200. this.completer.completeError$1(error);
  45201. },
  45202. $signature: 66
  45203. };
  45204. A.futureToPromise_closure.prototype = {
  45205. call$2(resolve, reject) {
  45206. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  45207. },
  45208. $signature: 386
  45209. };
  45210. A.futureToPromise__closure.prototype = {
  45211. call$1(result) {
  45212. return this.resolve.call$1(result);
  45213. },
  45214. $signature() {
  45215. return this.T._eval$1("@(0)");
  45216. }
  45217. };
  45218. A.Context.prototype = {
  45219. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  45220. var t1;
  45221. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  45222. if (part2 == null) {
  45223. t1 = this.style;
  45224. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  45225. } else
  45226. t1 = false;
  45227. if (t1)
  45228. return part1;
  45229. t1 = this._context$_current;
  45230. return this.join$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  45231. },
  45232. absolute$1(part1) {
  45233. var _null = null;
  45234. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  45235. },
  45236. dirname$1(path) {
  45237. var t1, t2,
  45238. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45239. parsed.removeTrailingSeparators$0();
  45240. t1 = parsed.parts;
  45241. t2 = t1.length;
  45242. if (t2 === 0) {
  45243. t1 = parsed.root;
  45244. return t1 == null ? "." : t1;
  45245. }
  45246. if (t2 === 1) {
  45247. t1 = parsed.root;
  45248. return t1 == null ? "." : t1;
  45249. }
  45250. B.JSArray_methods.removeLast$0(t1);
  45251. parsed.separators.pop();
  45252. parsed.removeTrailingSeparators$0();
  45253. return parsed.toString$0(0);
  45254. },
  45255. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  45256. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  45257. A._validateArgList("join", parts);
  45258. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  45259. },
  45260. join$2(_, part1, part2) {
  45261. var _null = null;
  45262. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  45263. },
  45264. joinAll$1(parts) {
  45265. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  45266. for (t1 = J.where$1$ax(parts, new A.Context_joinAll_closure()), t2 = J.get$iterator$ax(t1.__internal$_iterable), t1 = new A.WhereIterator(t2, t1._f), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) {
  45267. t5 = t2.get$current(t2);
  45268. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  45269. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  45270. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  45271. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  45272. parsed.root = t4;
  45273. if (t3.needsSeparator$1(t4))
  45274. parsed.separators[0] = t3.get$separator(t3);
  45275. t4 = parsed.toString$0(0);
  45276. } else if (t3.rootLength$1(t5) > 0) {
  45277. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  45278. t4 = t5;
  45279. } else {
  45280. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  45281. if (needsSeparator)
  45282. t4 += t3.get$separator(t3);
  45283. t4 += t5;
  45284. }
  45285. needsSeparator = t3.needsSeparator$1(t5);
  45286. }
  45287. return t4.charCodeAt(0) == 0 ? t4 : t4;
  45288. },
  45289. split$1(_, path) {
  45290. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  45291. t1 = parsed.parts,
  45292. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  45293. t1 = A.List_List$_of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), t2._eval$1("Iterable.E"));
  45294. parsed.parts = t1;
  45295. t2 = parsed.root;
  45296. if (t2 != null)
  45297. B.JSArray_methods.insert$2(t1, 0, t2);
  45298. return parsed.parts;
  45299. },
  45300. canonicalize$1(_, path) {
  45301. var t1, parsed;
  45302. path = this.absolute$1(path);
  45303. t1 = this.style;
  45304. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  45305. return path;
  45306. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45307. parsed.normalize$1$canonicalize(true);
  45308. return parsed.toString$0(0);
  45309. },
  45310. normalize$1(path) {
  45311. var parsed;
  45312. if (!this._needsNormalization$1(path))
  45313. return path;
  45314. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45315. parsed.normalize$0();
  45316. return parsed.toString$0(0);
  45317. },
  45318. _needsNormalization$1(path) {
  45319. var i, start, previous, t2, previousPrevious, codeUnit, t3,
  45320. t1 = this.style,
  45321. root = t1.rootLength$1(path);
  45322. if (root !== 0) {
  45323. if (t1 === $.$get$Style_windows())
  45324. for (i = 0; i < root; ++i)
  45325. if (path.charCodeAt(i) === 47)
  45326. return true;
  45327. start = root;
  45328. previous = 47;
  45329. } else {
  45330. start = 0;
  45331. previous = null;
  45332. }
  45333. for (t2 = path.length, i = start, previousPrevious = null; i < t2; ++i, previousPrevious = previous, previous = codeUnit) {
  45334. codeUnit = path.charCodeAt(i);
  45335. if (t1.isSeparator$1(codeUnit)) {
  45336. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  45337. return true;
  45338. if (previous != null && t1.isSeparator$1(previous))
  45339. return true;
  45340. if (previous === 46)
  45341. t3 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45342. else
  45343. t3 = false;
  45344. if (t3)
  45345. return true;
  45346. }
  45347. }
  45348. if (previous == null)
  45349. return true;
  45350. if (t1.isSeparator$1(previous))
  45351. return true;
  45352. if (previous === 46)
  45353. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45354. else
  45355. t1 = false;
  45356. if (t1)
  45357. return true;
  45358. return false;
  45359. },
  45360. relative$2$from(path, from) {
  45361. var fromParsed, pathParsed, t2, t3, _this = this,
  45362. _s26_ = 'Unable to find a path to "',
  45363. t1 = from == null;
  45364. if (t1 && _this.style.rootLength$1(path) <= 0)
  45365. return _this.normalize$1(path);
  45366. if (t1) {
  45367. t1 = _this._context$_current;
  45368. from = t1 == null ? A.current() : t1;
  45369. } else
  45370. from = _this.absolute$1(from);
  45371. t1 = _this.style;
  45372. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45373. return _this.normalize$1(path);
  45374. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45375. path = _this.absolute$1(path);
  45376. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45377. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45378. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45379. fromParsed.normalize$0();
  45380. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45381. pathParsed.normalize$0();
  45382. t2 = fromParsed.parts;
  45383. if (t2.length !== 0 && t2[0] === ".")
  45384. return pathParsed.toString$0(0);
  45385. t2 = fromParsed.root;
  45386. t3 = pathParsed.root;
  45387. if (t2 != t3)
  45388. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45389. else
  45390. t2 = false;
  45391. if (t2)
  45392. return pathParsed.toString$0(0);
  45393. for (;;) {
  45394. t2 = fromParsed.parts;
  45395. if (t2.length !== 0) {
  45396. t3 = pathParsed.parts;
  45397. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45398. } else
  45399. t2 = false;
  45400. if (!t2)
  45401. break;
  45402. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45403. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45404. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45405. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45406. }
  45407. t2 = fromParsed.parts;
  45408. t3 = t2.length;
  45409. if (t3 !== 0 && t2[0] === "..")
  45410. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45411. t2 = type$.String;
  45412. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45413. t3 = pathParsed.separators;
  45414. t3[0] = "";
  45415. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45416. t1 = pathParsed.parts;
  45417. t2 = t1.length;
  45418. if (t2 === 0)
  45419. return ".";
  45420. if (t2 > 1 && B.JSArray_methods.get$last(t1) === ".") {
  45421. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45422. t1 = pathParsed.separators;
  45423. t1.pop();
  45424. t1.pop();
  45425. t1.push("");
  45426. }
  45427. pathParsed.root = "";
  45428. pathParsed.removeTrailingSeparators$0();
  45429. return pathParsed.toString$0(0);
  45430. },
  45431. relative$1(path) {
  45432. return this.relative$2$from(path, null);
  45433. },
  45434. _isWithinOrEquals$2($parent, child) {
  45435. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45436. $parent = $parent;
  45437. child = child;
  45438. t1 = _this.style;
  45439. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45440. childIsAbsolute = t1.rootLength$1(child) > 0;
  45441. if (parentIsAbsolute && !childIsAbsolute) {
  45442. child = _this.absolute$1(child);
  45443. if (t1.isRootRelative$1($parent))
  45444. $parent = _this.absolute$1($parent);
  45445. } else if (childIsAbsolute && !parentIsAbsolute) {
  45446. $parent = _this.absolute$1($parent);
  45447. if (t1.isRootRelative$1(child))
  45448. child = _this.absolute$1(child);
  45449. } else if (childIsAbsolute && parentIsAbsolute) {
  45450. childIsRootRelative = t1.isRootRelative$1(child);
  45451. parentIsRootRelative = t1.isRootRelative$1($parent);
  45452. if (childIsRootRelative && !parentIsRootRelative)
  45453. child = _this.absolute$1(child);
  45454. else if (parentIsRootRelative && !childIsRootRelative)
  45455. $parent = _this.absolute$1($parent);
  45456. }
  45457. result = _this._isWithinOrEqualsFast$2($parent, child);
  45458. if (result !== B._PathRelation_inconclusive)
  45459. return result;
  45460. relative = null;
  45461. try {
  45462. relative = _this.relative$2$from(child, $parent);
  45463. } catch (exception) {
  45464. if (A.unwrapException(exception) instanceof A.PathException)
  45465. return B._PathRelation_different;
  45466. else
  45467. throw exception;
  45468. }
  45469. if (t1.rootLength$1(relative) > 0)
  45470. return B._PathRelation_different;
  45471. if (J.$eq$(relative, "."))
  45472. return B._PathRelation_equal;
  45473. if (J.$eq$(relative, ".."))
  45474. return B._PathRelation_different;
  45475. return J.get$length$asx(relative) >= 3 && J.startsWith$1$s(relative, "..") && t1.isSeparator$1(J.codeUnitAt$1$s(relative, 2)) ? B._PathRelation_different : B._PathRelation_within;
  45476. },
  45477. _isWithinOrEqualsFast$2($parent, child) {
  45478. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45479. if ($parent === ".")
  45480. $parent = "";
  45481. t1 = _this.style;
  45482. parentRootLength = t1.rootLength$1($parent);
  45483. childRootLength = t1.rootLength$1(child);
  45484. if (parentRootLength !== childRootLength)
  45485. return B._PathRelation_different;
  45486. for (i = 0; i < parentRootLength; ++i)
  45487. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45488. return B._PathRelation_different;
  45489. t2 = child.length;
  45490. t3 = $parent.length;
  45491. childIndex = childRootLength;
  45492. parentIndex = parentRootLength;
  45493. lastCodeUnit = 47;
  45494. lastParentSeparator = null;
  45495. for (;;) {
  45496. if (!(parentIndex < t3 && childIndex < t2))
  45497. break;
  45498. c$0: {
  45499. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45500. childCodeUnit = child.charCodeAt(childIndex);
  45501. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45502. if (t1.isSeparator$1(parentCodeUnit))
  45503. lastParentSeparator = parentIndex;
  45504. ++parentIndex;
  45505. ++childIndex;
  45506. lastCodeUnit = parentCodeUnit;
  45507. break c$0;
  45508. }
  45509. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45510. parentIndex0 = parentIndex + 1;
  45511. lastParentSeparator = parentIndex;
  45512. parentIndex = parentIndex0;
  45513. break c$0;
  45514. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45515. ++childIndex;
  45516. break c$0;
  45517. }
  45518. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45519. ++parentIndex;
  45520. if (parentIndex === t3)
  45521. break;
  45522. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45523. if (t1.isSeparator$1(parentCodeUnit)) {
  45524. parentIndex0 = parentIndex + 1;
  45525. lastParentSeparator = parentIndex;
  45526. parentIndex = parentIndex0;
  45527. break c$0;
  45528. }
  45529. if (parentCodeUnit === 46) {
  45530. ++parentIndex;
  45531. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45532. return B._PathRelation_inconclusive;
  45533. }
  45534. }
  45535. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45536. ++childIndex;
  45537. if (childIndex === t2)
  45538. break;
  45539. childCodeUnit = child.charCodeAt(childIndex);
  45540. if (t1.isSeparator$1(childCodeUnit)) {
  45541. ++childIndex;
  45542. break c$0;
  45543. }
  45544. if (childCodeUnit === 46) {
  45545. ++childIndex;
  45546. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45547. return B._PathRelation_inconclusive;
  45548. }
  45549. }
  45550. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45551. return B._PathRelation_inconclusive;
  45552. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45553. return B._PathRelation_inconclusive;
  45554. return B._PathRelation_different;
  45555. }
  45556. }
  45557. if (childIndex === t2) {
  45558. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45559. lastParentSeparator = parentIndex;
  45560. else if (lastParentSeparator == null)
  45561. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45562. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45563. if (direction === B._PathDirection_dMN)
  45564. return B._PathRelation_equal;
  45565. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45566. }
  45567. direction = _this._pathDirection$2(child, childIndex);
  45568. if (direction === B._PathDirection_dMN)
  45569. return B._PathRelation_equal;
  45570. if (direction === B._PathDirection_vgO)
  45571. return B._PathRelation_inconclusive;
  45572. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45573. },
  45574. _pathDirection$2(path, index) {
  45575. var t1, t2, i, depth, reachedRoot, i0, t3;
  45576. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45577. for (;;) {
  45578. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45579. break;
  45580. ++i;
  45581. }
  45582. if (i === t1)
  45583. break;
  45584. i0 = i;
  45585. for (;;) {
  45586. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45587. break;
  45588. ++i0;
  45589. }
  45590. t3 = i0 - i;
  45591. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45592. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45593. --depth;
  45594. if (depth < 0)
  45595. break;
  45596. if (depth === 0)
  45597. reachedRoot = true;
  45598. } else
  45599. ++depth;
  45600. if (i0 === t1)
  45601. break;
  45602. i = i0 + 1;
  45603. }
  45604. if (depth < 0)
  45605. return B._PathDirection_vgO;
  45606. if (depth === 0)
  45607. return B._PathDirection_dMN;
  45608. if (reachedRoot)
  45609. return B._PathDirection_6kc;
  45610. return B._PathDirection_Wme;
  45611. },
  45612. hash$1(path) {
  45613. var result, parsed, t1, _this = this;
  45614. path = _this.absolute$1(path);
  45615. result = _this._hashFast$1(path);
  45616. if (result != null)
  45617. return result;
  45618. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45619. parsed.normalize$0();
  45620. t1 = _this._hashFast$1(parsed.toString$0(0));
  45621. t1.toString;
  45622. return t1;
  45623. },
  45624. _hashFast$1(path) {
  45625. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45626. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45627. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45628. if (t2.isSeparator$1(codeUnit)) {
  45629. wasSeparator = true;
  45630. continue;
  45631. }
  45632. if (codeUnit === 46 && wasSeparator) {
  45633. t3 = i + 1;
  45634. if (t3 === t1)
  45635. break;
  45636. next = path.charCodeAt(t3);
  45637. if (t2.isSeparator$1(next))
  45638. continue;
  45639. t3 = false;
  45640. if (!beginning)
  45641. if (next === 46) {
  45642. t3 = i + 2;
  45643. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45644. }
  45645. if (t3)
  45646. return null;
  45647. }
  45648. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45649. beginning = false;
  45650. wasSeparator = false;
  45651. }
  45652. return hash;
  45653. },
  45654. withoutExtension$1(path) {
  45655. var t1, i,
  45656. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45657. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45658. if (t1[i].length !== 0) {
  45659. t1[i] = parsed._splitExtension$0()[0];
  45660. break;
  45661. }
  45662. return parsed.toString$0(0);
  45663. },
  45664. toUri$1(path) {
  45665. var t2,
  45666. t1 = this.style;
  45667. if (t1.rootLength$1(path) <= 0)
  45668. return t1.relativePathToUri$1(path);
  45669. else {
  45670. t2 = this._context$_current;
  45671. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45672. }
  45673. },
  45674. prettyUri$1(uri) {
  45675. var path, rel, _this = this,
  45676. typedUri = A._parseUri(uri);
  45677. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45678. return typedUri.toString$0(0);
  45679. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45680. return typedUri.toString$0(0);
  45681. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45682. rel = _this.relative$1(path);
  45683. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45684. }
  45685. };
  45686. A.Context_joinAll_closure.prototype = {
  45687. call$1(part) {
  45688. return part !== "";
  45689. },
  45690. $signature: 5
  45691. };
  45692. A.Context_split_closure.prototype = {
  45693. call$1(part) {
  45694. return part.length !== 0;
  45695. },
  45696. $signature: 5
  45697. };
  45698. A._validateArgList_closure.prototype = {
  45699. call$1(arg) {
  45700. return arg == null ? "null" : '"' + arg + '"';
  45701. },
  45702. $signature: 387
  45703. };
  45704. A._PathDirection.prototype = {
  45705. toString$0(_) {
  45706. return this.name;
  45707. }
  45708. };
  45709. A._PathRelation.prototype = {
  45710. toString$0(_) {
  45711. return this.name;
  45712. }
  45713. };
  45714. A.InternalStyle.prototype = {
  45715. getRoot$1(path) {
  45716. var $length = this.rootLength$1(path);
  45717. if ($length > 0)
  45718. return B.JSString_methods.substring$2(path, 0, $length);
  45719. return this.isRootRelative$1(path) ? path[0] : null;
  45720. },
  45721. relativePathToUri$1(path) {
  45722. var segments, _null = null,
  45723. t1 = path.length;
  45724. if (t1 === 0)
  45725. return A._Uri__Uri(_null, _null, _null, _null);
  45726. segments = A.Context_Context(this).split$1(0, path);
  45727. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45728. B.JSArray_methods.add$1(segments, "");
  45729. return A._Uri__Uri(_null, _null, segments, _null);
  45730. },
  45731. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45732. return codeUnit1 === codeUnit2;
  45733. },
  45734. pathsEqual$2(path1, path2) {
  45735. return path1 === path2;
  45736. },
  45737. canonicalizeCodeUnit$1(codeUnit) {
  45738. return codeUnit;
  45739. },
  45740. canonicalizePart$1(part) {
  45741. return part;
  45742. }
  45743. };
  45744. A.ParsedPath.prototype = {
  45745. get$basename() {
  45746. var _this = this,
  45747. t1 = type$.String,
  45748. copy = new A.ParsedPath(_this.style, _this.root, _this.isRootRelative, A.List_List$from(_this.parts, true, t1), A.List_List$from(_this.separators, true, t1));
  45749. copy.removeTrailingSeparators$0();
  45750. t1 = copy.parts;
  45751. if (t1.length === 0) {
  45752. t1 = _this.root;
  45753. return t1 == null ? "" : t1;
  45754. }
  45755. return B.JSArray_methods.get$last(t1);
  45756. },
  45757. get$hasTrailingSeparator() {
  45758. var t1 = this.parts;
  45759. if (t1.length !== 0)
  45760. t1 = B.JSArray_methods.get$last(t1) === "" || B.JSArray_methods.get$last(this.separators) !== "";
  45761. else
  45762. t1 = false;
  45763. return t1;
  45764. },
  45765. removeTrailingSeparators$0() {
  45766. var t1, t2, _this = this;
  45767. for (;;) {
  45768. t1 = _this.parts;
  45769. if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1) === ""))
  45770. break;
  45771. B.JSArray_methods.removeLast$0(_this.parts);
  45772. _this.separators.pop();
  45773. }
  45774. t1 = _this.separators;
  45775. t2 = t1.length;
  45776. if (t2 !== 0)
  45777. t1[t2 - 1] = "";
  45778. },
  45779. normalize$1$canonicalize(canonicalize) {
  45780. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45781. newParts = A._setArrayType([], type$.JSArray_String);
  45782. for (t1 = _this.parts, t2 = t1.length, t3 = _this.style, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  45783. part = t1[_i];
  45784. if (!(part === "." || part === ""))
  45785. if (part === "..")
  45786. if (newParts.length !== 0)
  45787. newParts.pop();
  45788. else
  45789. ++leadingDoubles;
  45790. else
  45791. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45792. }
  45793. if (_this.root == null)
  45794. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45795. if (newParts.length === 0 && _this.root == null)
  45796. newParts.push(".");
  45797. _this.parts = newParts;
  45798. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45799. t1 = _this.root;
  45800. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45801. _this.separators[0] = "";
  45802. t1 = _this.root;
  45803. if (t1 != null && t3 === $.$get$Style_windows()) {
  45804. if (canonicalize)
  45805. t1 = _this.root = t1.toLowerCase();
  45806. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45807. }
  45808. _this.removeTrailingSeparators$0();
  45809. },
  45810. normalize$0() {
  45811. return this.normalize$1$canonicalize(false);
  45812. },
  45813. toString$0(_) {
  45814. var t2, t3, t4, i,
  45815. t1 = this.root;
  45816. t1 = t1 != null ? t1 : "";
  45817. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45818. t1 = t1 + t4[i] + t2[i];
  45819. t1 += B.JSArray_methods.get$last(t4);
  45820. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45821. },
  45822. _kthLastIndexOf$3(path, character, k) {
  45823. var index, count, leftMostIndexedCharacter;
  45824. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45825. if (path[index] === character) {
  45826. ++count;
  45827. if (count === k)
  45828. return index;
  45829. leftMostIndexedCharacter = index;
  45830. }
  45831. return leftMostIndexedCharacter;
  45832. },
  45833. _splitExtension$1(level) {
  45834. var t1, file, lastDot;
  45835. if (level <= 0)
  45836. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45837. t1 = this.parts;
  45838. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45839. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45840. if (file == null)
  45841. return A._setArrayType(["", ""], type$.JSArray_String);
  45842. if (file === "..")
  45843. return A._setArrayType(["..", ""], type$.JSArray_String);
  45844. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45845. if (lastDot <= 0)
  45846. return A._setArrayType([file, ""], type$.JSArray_String);
  45847. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45848. },
  45849. _splitExtension$0() {
  45850. return this._splitExtension$1(1);
  45851. }
  45852. };
  45853. A.ParsedPath__splitExtension_closure.prototype = {
  45854. call$1(p) {
  45855. return p !== "";
  45856. },
  45857. $signature: 219
  45858. };
  45859. A.ParsedPath__splitExtension_closure0.prototype = {
  45860. call$0() {
  45861. return null;
  45862. },
  45863. $signature: 1
  45864. };
  45865. A.PathException.prototype = {
  45866. toString$0(_) {
  45867. return "PathException: " + this.message;
  45868. },
  45869. $isException: 1,
  45870. get$message(receiver) {
  45871. return this.message;
  45872. }
  45873. };
  45874. A.PathMap.prototype = {};
  45875. A.PathMap__create_closure.prototype = {
  45876. call$2(path1, path2) {
  45877. if (path1 == null)
  45878. return path2 == null;
  45879. if (path2 == null)
  45880. return false;
  45881. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45882. },
  45883. $signature: 389
  45884. };
  45885. A.PathMap__create_closure0.prototype = {
  45886. call$1(path) {
  45887. return path == null ? 0 : this._box_0.context.hash$1(path);
  45888. },
  45889. $signature: 390
  45890. };
  45891. A.PathMap__create_closure1.prototype = {
  45892. call$1(path) {
  45893. return typeof path == "string" || path == null;
  45894. },
  45895. $signature: 446
  45896. };
  45897. A.Style.prototype = {
  45898. toString$0(_) {
  45899. return this.get$name(this);
  45900. }
  45901. };
  45902. A.PosixStyle.prototype = {
  45903. containsSeparator$1(path) {
  45904. return B.JSString_methods.contains$1(path, "/");
  45905. },
  45906. isSeparator$1(codeUnit) {
  45907. return codeUnit === 47;
  45908. },
  45909. needsSeparator$1(path) {
  45910. var t1 = path.length;
  45911. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45912. },
  45913. rootLength$2$withDrive(path, withDrive) {
  45914. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45915. return 1;
  45916. return 0;
  45917. },
  45918. rootLength$1(path) {
  45919. return this.rootLength$2$withDrive(path, false);
  45920. },
  45921. isRootRelative$1(path) {
  45922. return false;
  45923. },
  45924. pathFromUri$1(uri) {
  45925. var t1;
  45926. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45927. t1 = uri.get$path(uri);
  45928. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45929. }
  45930. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45931. },
  45932. absolutePathToUri$1(path) {
  45933. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45934. t1 = parsed.parts;
  45935. if (t1.length === 0)
  45936. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45937. else if (parsed.get$hasTrailingSeparator())
  45938. B.JSArray_methods.add$1(parsed.parts, "");
  45939. return A._Uri__Uri(null, null, parsed.parts, "file");
  45940. },
  45941. get$name() {
  45942. return "posix";
  45943. },
  45944. get$separator() {
  45945. return "/";
  45946. }
  45947. };
  45948. A.UrlStyle.prototype = {
  45949. containsSeparator$1(path) {
  45950. return B.JSString_methods.contains$1(path, "/");
  45951. },
  45952. isSeparator$1(codeUnit) {
  45953. return codeUnit === 47;
  45954. },
  45955. needsSeparator$1(path) {
  45956. var t1 = path.length;
  45957. if (t1 === 0)
  45958. return false;
  45959. if (path.charCodeAt(t1 - 1) !== 47)
  45960. return true;
  45961. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45962. },
  45963. rootLength$2$withDrive(path, withDrive) {
  45964. var i, codeUnit, index,
  45965. t1 = path.length;
  45966. if (t1 === 0)
  45967. return 0;
  45968. if (path.charCodeAt(0) === 47)
  45969. return 1;
  45970. for (i = 0; i < t1; ++i) {
  45971. codeUnit = path.charCodeAt(i);
  45972. if (codeUnit === 47)
  45973. return 0;
  45974. if (codeUnit === 58) {
  45975. if (i === 0)
  45976. return 0;
  45977. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45978. if (index <= 0)
  45979. return t1;
  45980. if (!withDrive || t1 < index + 3)
  45981. return index;
  45982. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45983. return index;
  45984. t1 = A.driveLetterEnd(path, index + 1);
  45985. return t1 == null ? index : t1;
  45986. }
  45987. }
  45988. return 0;
  45989. },
  45990. rootLength$1(path) {
  45991. return this.rootLength$2$withDrive(path, false);
  45992. },
  45993. isRootRelative$1(path) {
  45994. return path.length !== 0 && path.charCodeAt(0) === 47;
  45995. },
  45996. pathFromUri$1(uri) {
  45997. return uri.toString$0(0);
  45998. },
  45999. relativePathToUri$1(path) {
  46000. return A.Uri_parse(path);
  46001. },
  46002. absolutePathToUri$1(path) {
  46003. return A.Uri_parse(path);
  46004. },
  46005. get$name() {
  46006. return "url";
  46007. },
  46008. get$separator() {
  46009. return "/";
  46010. }
  46011. };
  46012. A.WindowsStyle.prototype = {
  46013. containsSeparator$1(path) {
  46014. return B.JSString_methods.contains$1(path, "/");
  46015. },
  46016. isSeparator$1(codeUnit) {
  46017. return codeUnit === 47 || codeUnit === 92;
  46018. },
  46019. needsSeparator$1(path) {
  46020. var t1 = path.length;
  46021. if (t1 === 0)
  46022. return false;
  46023. t1 = path.charCodeAt(t1 - 1);
  46024. return !(t1 === 47 || t1 === 92);
  46025. },
  46026. rootLength$2$withDrive(path, withDrive) {
  46027. var index,
  46028. t1 = path.length;
  46029. if (t1 === 0)
  46030. return 0;
  46031. if (path.charCodeAt(0) === 47)
  46032. return 1;
  46033. if (path.charCodeAt(0) === 92) {
  46034. if (t1 < 2 || path.charCodeAt(1) !== 92)
  46035. return 1;
  46036. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  46037. if (index > 0) {
  46038. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  46039. if (index > 0)
  46040. return index;
  46041. }
  46042. return t1;
  46043. }
  46044. if (t1 < 3)
  46045. return 0;
  46046. if (!A.isAlphabetic(path.charCodeAt(0)))
  46047. return 0;
  46048. if (path.charCodeAt(1) !== 58)
  46049. return 0;
  46050. t1 = path.charCodeAt(2);
  46051. if (!(t1 === 47 || t1 === 92))
  46052. return 0;
  46053. return 3;
  46054. },
  46055. rootLength$1(path) {
  46056. return this.rootLength$2$withDrive(path, false);
  46057. },
  46058. isRootRelative$1(path) {
  46059. return this.rootLength$1(path) === 1;
  46060. },
  46061. pathFromUri$1(uri) {
  46062. var path, t1;
  46063. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  46064. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  46065. path = uri.get$path(uri);
  46066. if (uri.get$host() === "") {
  46067. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  46068. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  46069. } else
  46070. path = "\\\\" + uri.get$host() + path;
  46071. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  46072. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  46073. },
  46074. absolutePathToUri$1(path) {
  46075. var rootParts, t2,
  46076. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  46077. t1 = parsed.root;
  46078. t1.toString;
  46079. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  46080. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  46081. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  46082. if (parsed.get$hasTrailingSeparator())
  46083. B.JSArray_methods.add$1(parsed.parts, "");
  46084. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  46085. } else {
  46086. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  46087. B.JSArray_methods.add$1(parsed.parts, "");
  46088. t1 = parsed.parts;
  46089. t2 = parsed.root;
  46090. t2.toString;
  46091. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  46092. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  46093. return A._Uri__Uri(null, null, parsed.parts, "file");
  46094. }
  46095. },
  46096. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  46097. var upperCase1;
  46098. if (codeUnit1 === codeUnit2)
  46099. return true;
  46100. if (codeUnit1 === 47)
  46101. return codeUnit2 === 92;
  46102. if (codeUnit1 === 92)
  46103. return codeUnit2 === 47;
  46104. if ((codeUnit1 ^ codeUnit2) !== 32)
  46105. return false;
  46106. upperCase1 = codeUnit1 | 32;
  46107. return upperCase1 >= 97 && upperCase1 <= 122;
  46108. },
  46109. pathsEqual$2(path1, path2) {
  46110. var t1, i;
  46111. if (path1 === path2)
  46112. return true;
  46113. t1 = path1.length;
  46114. if (t1 !== path2.length)
  46115. return false;
  46116. for (i = 0; i < t1; ++i)
  46117. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  46118. return false;
  46119. return true;
  46120. },
  46121. canonicalizeCodeUnit$1(codeUnit) {
  46122. if (codeUnit === 47)
  46123. return 92;
  46124. if (codeUnit < 65)
  46125. return codeUnit;
  46126. if (codeUnit > 90)
  46127. return codeUnit;
  46128. return codeUnit | 32;
  46129. },
  46130. canonicalizePart$1(part) {
  46131. return part.toLowerCase();
  46132. },
  46133. get$name() {
  46134. return "windows";
  46135. },
  46136. get$separator() {
  46137. return "\\";
  46138. }
  46139. };
  46140. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  46141. call$1(part) {
  46142. return part !== "";
  46143. },
  46144. $signature: 5
  46145. };
  46146. A.Version.prototype = {
  46147. get$min() {
  46148. return this;
  46149. },
  46150. get$max() {
  46151. return this;
  46152. },
  46153. get$includeMin() {
  46154. return true;
  46155. },
  46156. get$includeMax() {
  46157. return true;
  46158. },
  46159. $eq(_, other) {
  46160. var _this = this;
  46161. if (other == null)
  46162. return false;
  46163. return other instanceof A.Version && _this.major === other.major && _this.minor === other.minor && _this.patch === other.patch && B.C_IterableEquality.equals$2(0, _this.preRelease, other.preRelease) && B.C_IterableEquality.equals$2(0, _this.build, other.build);
  46164. },
  46165. get$hashCode(_) {
  46166. var _this = this;
  46167. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  46168. },
  46169. compareTo$1(_, other) {
  46170. var t1, t2, t3, comparison, _this = this;
  46171. if (other instanceof A.Version) {
  46172. t1 = _this.major;
  46173. t2 = other.major;
  46174. if (t1 !== t2)
  46175. return B.JSInt_methods.compareTo$1(t1, t2);
  46176. t1 = _this.minor;
  46177. t2 = other.minor;
  46178. if (t1 !== t2)
  46179. return B.JSInt_methods.compareTo$1(t1, t2);
  46180. t1 = _this.patch;
  46181. t2 = other.patch;
  46182. if (t1 !== t2)
  46183. return B.JSInt_methods.compareTo$1(t1, t2);
  46184. t1 = _this.preRelease;
  46185. t2 = t1.length === 0;
  46186. if (t2 && other.preRelease.length !== 0)
  46187. return 1;
  46188. t3 = other.preRelease;
  46189. if (t3.length === 0 && !t2)
  46190. return -1;
  46191. comparison = _this._compareLists$2(t1, t3);
  46192. if (comparison !== 0)
  46193. return comparison;
  46194. t1 = _this.build;
  46195. t2 = t1.length === 0;
  46196. if (t2 && other.build.length !== 0)
  46197. return -1;
  46198. t3 = other.build;
  46199. if (t3.length === 0 && !t2)
  46200. return 1;
  46201. return _this._compareLists$2(t1, t3);
  46202. } else
  46203. return -other.compareTo$1(0, _this);
  46204. },
  46205. toString$0(_) {
  46206. return this._version$_text;
  46207. },
  46208. _compareLists$2(a, b) {
  46209. var i, t1, t2, aPart, bPart;
  46210. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  46211. aPart = i < t1 ? a[i] : null;
  46212. bPart = i < t2 ? b[i] : null;
  46213. if (J.$eq$(aPart, bPart))
  46214. continue;
  46215. if (aPart == null)
  46216. return -1;
  46217. if (bPart == null)
  46218. return 1;
  46219. if (typeof aPart == "number")
  46220. if (typeof bPart == "number")
  46221. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  46222. else
  46223. return -1;
  46224. else if (typeof bPart == "number")
  46225. return 1;
  46226. else {
  46227. A._asString(aPart);
  46228. A._asString(bPart);
  46229. if (aPart === bPart)
  46230. t1 = 0;
  46231. else
  46232. t1 = aPart < bPart ? -1 : 1;
  46233. return t1;
  46234. }
  46235. }
  46236. return 0;
  46237. },
  46238. $isComparable: 1,
  46239. $isVersionRange: 1
  46240. };
  46241. A.Version__splitParts_closure.prototype = {
  46242. call$1(part) {
  46243. var t1 = A.Primitives_parseInt(part, null);
  46244. return t1 == null ? part : t1;
  46245. },
  46246. $signature: 465
  46247. };
  46248. A.VersionRange.prototype = {
  46249. $eq(_, other) {
  46250. var t1;
  46251. if (other == null)
  46252. return false;
  46253. if (!type$.VersionRange._is(other))
  46254. return false;
  46255. t1 = false;
  46256. if (this.min == other.get$min())
  46257. if (J.$eq$(this.max, other.get$max())) {
  46258. t1 = !other.get$includeMin();
  46259. if (t1)
  46260. other.get$includeMax();
  46261. }
  46262. return t1;
  46263. },
  46264. get$hashCode(_) {
  46265. var t1 = B.JSNull_methods.get$hashCode(this.min),
  46266. t2 = J.get$hashCode$(this.max);
  46267. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  46268. },
  46269. allows$1(other) {
  46270. var t1 = this.max;
  46271. if (t1 != null)
  46272. if (other.compareTo$1(0, t1) > 0)
  46273. return false;
  46274. return true;
  46275. },
  46276. compareTo$1(_, other) {
  46277. if (other.get$min() == null)
  46278. return this._compareMax$1(other);
  46279. return -1;
  46280. },
  46281. _compareMax$1(other) {
  46282. var t2, result,
  46283. t1 = this.max;
  46284. if (t1 == null) {
  46285. if (other.get$max() == null)
  46286. return 0;
  46287. return 1;
  46288. } else if (other.get$max() == null)
  46289. return -1;
  46290. t2 = other.get$max();
  46291. t2.toString;
  46292. result = t1.compareTo$1(0, t2);
  46293. if (result !== 0)
  46294. return result;
  46295. other.get$includeMax();
  46296. return 0;
  46297. },
  46298. toString$0(_) {
  46299. var t2,
  46300. max = this.max,
  46301. t1 = max == null;
  46302. if (!t1)
  46303. t2 = "<=" + max.toString$0(0);
  46304. else
  46305. t2 = "";
  46306. t1 = t1 ? t2 + "any" : t2;
  46307. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46308. },
  46309. $isComparable: 1,
  46310. get$min() {
  46311. return this.min;
  46312. },
  46313. get$max() {
  46314. return this.max;
  46315. },
  46316. get$includeMin() {
  46317. return this.includeMin;
  46318. },
  46319. get$includeMax() {
  46320. return this.includeMax;
  46321. }
  46322. };
  46323. A.CssMediaQuery.prototype = {
  46324. merge$1(other) {
  46325. var t1, ourModifier, t2, t3, ourType, t4, theirModifier, t5, t6, theirType, t7, t8, negativeConditions, conditions, type, modifier, fewerConditions, fewerConditions0, moreConditions, _this = this, _null = null, _s3_ = "all";
  46326. if (!_this.conjunction || !other.conjunction)
  46327. return B._SingletonCssMediaQueryMergeResult_1;
  46328. t1 = _this.modifier;
  46329. ourModifier = t1 == null ? _null : t1.toLowerCase();
  46330. t2 = _this.type;
  46331. t3 = t2 == null;
  46332. ourType = t3 ? _null : t2.toLowerCase();
  46333. t4 = other.modifier;
  46334. theirModifier = t4 == null ? _null : t4.toLowerCase();
  46335. t5 = other.type;
  46336. t6 = t5 == null;
  46337. theirType = t6 ? _null : t5.toLowerCase();
  46338. t7 = ourType == null;
  46339. if (t7 && theirType == null) {
  46340. t1 = A.List_List$_of(_this.conditions, type$.String);
  46341. B.JSArray_methods.addAll$1(t1, other.conditions);
  46342. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46343. }
  46344. t8 = ourModifier === "not";
  46345. if (t8 !== (theirModifier === "not")) {
  46346. if (ourType == theirType) {
  46347. negativeConditions = t8 ? _this.conditions : other.conditions;
  46348. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46349. return B._SingletonCssMediaQueryMergeResult_0;
  46350. else
  46351. return B._SingletonCssMediaQueryMergeResult_1;
  46352. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46353. return B._SingletonCssMediaQueryMergeResult_1;
  46354. if (t8) {
  46355. conditions = other.conditions;
  46356. type = theirType;
  46357. modifier = theirModifier;
  46358. } else {
  46359. conditions = _this.conditions;
  46360. type = ourType;
  46361. modifier = ourModifier;
  46362. }
  46363. } else if (t8) {
  46364. if (ourType != theirType)
  46365. return B._SingletonCssMediaQueryMergeResult_1;
  46366. fewerConditions = _this.conditions;
  46367. fewerConditions0 = other.conditions;
  46368. t3 = fewerConditions.length > fewerConditions0.length;
  46369. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46370. if (t3)
  46371. fewerConditions = fewerConditions0;
  46372. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46373. return B._SingletonCssMediaQueryMergeResult_1;
  46374. conditions = moreConditions;
  46375. type = ourType;
  46376. modifier = ourModifier;
  46377. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46378. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46379. t3 = A.List_List$_of(_this.conditions, type$.String);
  46380. B.JSArray_methods.addAll$1(t3, other.conditions);
  46381. conditions = t3;
  46382. modifier = theirModifier;
  46383. } else {
  46384. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46385. t3 = A.List_List$_of(_this.conditions, type$.String);
  46386. B.JSArray_methods.addAll$1(t3, other.conditions);
  46387. conditions = t3;
  46388. modifier = ourModifier;
  46389. } else {
  46390. if (ourType != theirType)
  46391. return B._SingletonCssMediaQueryMergeResult_0;
  46392. else {
  46393. modifier = ourModifier == null ? theirModifier : ourModifier;
  46394. t3 = A.List_List$_of(_this.conditions, type$.String);
  46395. B.JSArray_methods.addAll$1(t3, other.conditions);
  46396. }
  46397. conditions = t3;
  46398. }
  46399. type = ourType;
  46400. }
  46401. t2 = type == ourType ? t2 : t5;
  46402. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46403. },
  46404. $eq(_, other) {
  46405. if (other == null)
  46406. return false;
  46407. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46408. },
  46409. get$hashCode(_) {
  46410. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46411. },
  46412. toString$0(_) {
  46413. var t2, _this = this,
  46414. t1 = _this.modifier;
  46415. t1 = t1 != null ? t1 + " " : "";
  46416. t2 = _this.type;
  46417. if (t2 != null) {
  46418. t1 += t2;
  46419. if (_this.conditions.length !== 0)
  46420. t1 += " and ";
  46421. }
  46422. t2 = _this.conjunction ? " and " : " or ";
  46423. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46424. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46425. }
  46426. };
  46427. A._SingletonCssMediaQueryMergeResult.prototype = {
  46428. _enumToString$0() {
  46429. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46430. }
  46431. };
  46432. A.MediaQuerySuccessfulMergeResult.prototype = {
  46433. toString$0(_) {
  46434. return this.query.toString$0(0);
  46435. }
  46436. };
  46437. A.ModifiableCssAtRule.prototype = {
  46438. accept$1$1(visitor) {
  46439. return visitor.visitCssAtRule$1(this);
  46440. },
  46441. accept$1(visitor) {
  46442. return this.accept$1$1(visitor, type$.dynamic);
  46443. },
  46444. equalsIgnoringChildren$1(other) {
  46445. var t1, t2;
  46446. if (other instanceof A.ModifiableCssAtRule) {
  46447. t1 = this.name;
  46448. t2 = other.name;
  46449. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46450. } else
  46451. t1 = false;
  46452. return t1;
  46453. },
  46454. copyWithoutChildren$0() {
  46455. var _this = this;
  46456. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46457. },
  46458. addChild$1(child) {
  46459. this.super$ModifiableCssParentNode$addChild(child);
  46460. },
  46461. get$isChildless() {
  46462. return this.isChildless;
  46463. },
  46464. get$span(receiver) {
  46465. return this.span;
  46466. }
  46467. };
  46468. A.ModifiableCssComment.prototype = {
  46469. accept$1$1(visitor) {
  46470. return visitor.visitCssComment$1(this);
  46471. },
  46472. accept$1(visitor) {
  46473. return this.accept$1$1(visitor, type$.dynamic);
  46474. },
  46475. $isCssComment: 1,
  46476. get$span(receiver) {
  46477. return this.span;
  46478. }
  46479. };
  46480. A.ModifiableCssDeclaration.prototype = {
  46481. accept$1$1(visitor) {
  46482. return visitor.visitCssDeclaration$1(this);
  46483. },
  46484. accept$1(visitor) {
  46485. return this.accept$1$1(visitor, type$.dynamic);
  46486. },
  46487. toString$0(_) {
  46488. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46489. },
  46490. get$span(receiver) {
  46491. return this.span;
  46492. }
  46493. };
  46494. A.ModifiableCssImport.prototype = {
  46495. accept$1$1(visitor) {
  46496. return visitor.visitCssImport$1(this);
  46497. },
  46498. accept$1(visitor) {
  46499. return this.accept$1$1(visitor, type$.dynamic);
  46500. },
  46501. get$span(receiver) {
  46502. return this.span;
  46503. }
  46504. };
  46505. A.ModifiableCssKeyframeBlock.prototype = {
  46506. accept$1$1(visitor) {
  46507. return visitor.visitCssKeyframeBlock$1(this);
  46508. },
  46509. accept$1(visitor) {
  46510. return this.accept$1$1(visitor, type$.dynamic);
  46511. },
  46512. equalsIgnoringChildren$1(other) {
  46513. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46514. },
  46515. copyWithoutChildren$0() {
  46516. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46517. },
  46518. get$span(receiver) {
  46519. return this.span;
  46520. }
  46521. };
  46522. A.ModifiableCssMediaRule.prototype = {
  46523. accept$1$1(visitor) {
  46524. return visitor.visitCssMediaRule$1(this);
  46525. },
  46526. accept$1(visitor) {
  46527. return this.accept$1$1(visitor, type$.dynamic);
  46528. },
  46529. equalsIgnoringChildren$1(other) {
  46530. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46531. },
  46532. copyWithoutChildren$0() {
  46533. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46534. },
  46535. get$span(receiver) {
  46536. return this.span;
  46537. }
  46538. };
  46539. A.ModifiableCssNode.prototype = {
  46540. get$hasFollowingSibling() {
  46541. var t2,
  46542. t1 = this._parent;
  46543. if (t1 == null)
  46544. t1 = null;
  46545. else {
  46546. t1 = t1.children;
  46547. t2 = this._indexInParent;
  46548. t2.toString;
  46549. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46550. }
  46551. return t1 === true;
  46552. },
  46553. get$isGroupEnd() {
  46554. return this.isGroupEnd;
  46555. }
  46556. };
  46557. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46558. call$1(sibling) {
  46559. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46560. },
  46561. $signature: 573
  46562. };
  46563. A.ModifiableCssParentNode.prototype = {
  46564. get$isChildless() {
  46565. return false;
  46566. },
  46567. addChild$1(child) {
  46568. var t1;
  46569. child._parent = this;
  46570. t1 = this._children;
  46571. child._indexInParent = t1.length;
  46572. t1.push(child);
  46573. },
  46574. clearChildren$0() {
  46575. var t1, t2, _i, child;
  46576. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46577. child = t1[_i];
  46578. child._indexInParent = child._parent = null;
  46579. }
  46580. B.JSArray_methods.clear$0(t1);
  46581. },
  46582. $isCssParentNode: 1,
  46583. get$children(receiver) {
  46584. return this.children;
  46585. }
  46586. };
  46587. A.ModifiableCssStyleRule.prototype = {
  46588. accept$1$1(visitor) {
  46589. return visitor.visitCssStyleRule$1(this);
  46590. },
  46591. accept$1(visitor) {
  46592. return this.accept$1$1(visitor, type$.dynamic);
  46593. },
  46594. equalsIgnoringChildren$1(other) {
  46595. var t1;
  46596. if (other instanceof A.ModifiableCssStyleRule)
  46597. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46598. else
  46599. t1 = false;
  46600. return t1;
  46601. },
  46602. copyWithoutChildren$0() {
  46603. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46604. },
  46605. get$span(receiver) {
  46606. return this.span;
  46607. }
  46608. };
  46609. A.ModifiableCssStylesheet.prototype = {
  46610. accept$1$1(visitor) {
  46611. return visitor.visitCssStylesheet$1(this);
  46612. },
  46613. accept$1(visitor) {
  46614. return this.accept$1$1(visitor, type$.dynamic);
  46615. },
  46616. equalsIgnoringChildren$1(other) {
  46617. return other instanceof A.ModifiableCssStylesheet;
  46618. },
  46619. copyWithoutChildren$0() {
  46620. return A.ModifiableCssStylesheet$(this.span);
  46621. },
  46622. $isCssStylesheet: 1,
  46623. get$span(receiver) {
  46624. return this.span;
  46625. }
  46626. };
  46627. A.ModifiableCssSupportsRule.prototype = {
  46628. accept$1$1(visitor) {
  46629. return visitor.visitCssSupportsRule$1(this);
  46630. },
  46631. accept$1(visitor) {
  46632. return this.accept$1$1(visitor, type$.dynamic);
  46633. },
  46634. equalsIgnoringChildren$1(other) {
  46635. var t1, t2;
  46636. if (other instanceof A.ModifiableCssSupportsRule) {
  46637. t1 = this.condition;
  46638. t2 = other.condition;
  46639. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46640. } else
  46641. t1 = false;
  46642. return t1;
  46643. },
  46644. copyWithoutChildren$0() {
  46645. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46646. },
  46647. get$span(receiver) {
  46648. return this.span;
  46649. }
  46650. };
  46651. A.CssNode.prototype = {
  46652. toString$0(_) {
  46653. var _null = null;
  46654. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46655. },
  46656. $isAstNode: 1
  46657. };
  46658. A.CssParentNode.prototype = {};
  46659. A._IsInvisibleVisitor.prototype = {
  46660. visitCssAtRule$1(rule) {
  46661. return false;
  46662. },
  46663. visitCssComment$1(comment) {
  46664. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46665. },
  46666. visitCssStyleRule$1(rule) {
  46667. var t1 = rule._style_rule$_selector._box$_inner;
  46668. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46669. }
  46670. };
  46671. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46672. A.CssStylesheet.prototype = {
  46673. get$isGroupEnd() {
  46674. return false;
  46675. },
  46676. get$isChildless() {
  46677. return false;
  46678. },
  46679. accept$1$1(visitor) {
  46680. return visitor.visitCssStylesheet$1(this);
  46681. },
  46682. accept$1(visitor) {
  46683. return this.accept$1$1(visitor, type$.dynamic);
  46684. },
  46685. get$children(receiver) {
  46686. return this.children;
  46687. },
  46688. get$span(receiver) {
  46689. return this.span;
  46690. }
  46691. };
  46692. A.CssValue.prototype = {
  46693. $eq(_, other) {
  46694. if (other == null)
  46695. return false;
  46696. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46697. },
  46698. get$hashCode(_) {
  46699. return J.get$hashCode$(this.value);
  46700. },
  46701. toString$0(_) {
  46702. return J.toString$0$(this.value);
  46703. },
  46704. $isAstNode: 1,
  46705. get$span(receiver) {
  46706. return this.span;
  46707. }
  46708. };
  46709. A._FakeAstNode.prototype = {
  46710. get$span(_) {
  46711. return this._callback.call$0();
  46712. },
  46713. $isAstNode: 1
  46714. };
  46715. A.ArgumentList.prototype = {
  46716. get$isEmpty(_) {
  46717. var t1;
  46718. if (this.positional.length === 0) {
  46719. t1 = this.named;
  46720. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46721. } else
  46722. t1 = false;
  46723. return t1;
  46724. },
  46725. toString$0(_) {
  46726. var t2, t3, _i, _1_0, _2_0, _this = this,
  46727. t1 = A._setArrayType([], type$.JSArray_String);
  46728. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46729. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46730. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46731. t3 = t2.get$current(t2);
  46732. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46733. }
  46734. _1_0 = _this.rest;
  46735. if (_1_0 != null)
  46736. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46737. _2_0 = _this.keywordRest;
  46738. if (_2_0 != null)
  46739. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46740. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46741. },
  46742. _parenthesizeArgument$1(argument) {
  46743. var t1;
  46744. $label0$0: {
  46745. if (argument instanceof A.ListExpression && B.ListSeparator_z0K === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46746. t1 = "(" + argument.toString$0(0) + ")";
  46747. break $label0$0;
  46748. }
  46749. t1 = argument.toString$0(0);
  46750. break $label0$0;
  46751. }
  46752. return t1;
  46753. },
  46754. $isAstNode: 1,
  46755. get$span(receiver) {
  46756. return this.span;
  46757. }
  46758. };
  46759. A.AtRootQuery.prototype = {
  46760. excludes$1(node) {
  46761. var t1, _this = this;
  46762. if (_this._all)
  46763. return !_this.include;
  46764. $label0$0: {
  46765. if (node instanceof A.ModifiableCssStyleRule) {
  46766. t1 = _this._at_root_query$_rule !== _this.include;
  46767. break $label0$0;
  46768. }
  46769. if (node instanceof A.ModifiableCssMediaRule) {
  46770. t1 = _this.excludesName$1("media");
  46771. break $label0$0;
  46772. }
  46773. if (node instanceof A.ModifiableCssSupportsRule) {
  46774. t1 = _this.excludesName$1("supports");
  46775. break $label0$0;
  46776. }
  46777. if (node instanceof A.ModifiableCssAtRule) {
  46778. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46779. break $label0$0;
  46780. }
  46781. t1 = false;
  46782. break $label0$0;
  46783. }
  46784. return t1;
  46785. },
  46786. excludesName$1($name) {
  46787. var t1 = this._all || this.names.contains$1(0, $name);
  46788. return t1 !== this.include;
  46789. }
  46790. };
  46791. A.ConfiguredVariable.prototype = {
  46792. toString$0(_) {
  46793. var t1 = this.expression.toString$0(0),
  46794. t2 = this.isGuarded ? " !default" : "";
  46795. return "$" + this.name + ": " + t1 + t2;
  46796. },
  46797. $isAstNode: 1,
  46798. get$span(receiver) {
  46799. return this.span;
  46800. }
  46801. };
  46802. A.Expression.prototype = {$isAstNode: 1};
  46803. A.BinaryOperationExpression.prototype = {
  46804. get$span(_) {
  46805. var right,
  46806. left = this.left;
  46807. while (left instanceof A.BinaryOperationExpression)
  46808. left = left.left;
  46809. right = this.right;
  46810. while (right instanceof A.BinaryOperationExpression)
  46811. right = right.right;
  46812. return left.get$span(left).expand$1(0, right.get$span(right));
  46813. },
  46814. get$operatorSpan() {
  46815. var t3, t4,
  46816. t1 = this.left,
  46817. t2 = t1.get$span(t1);
  46818. t2 = t2.get$file(t2);
  46819. t3 = this.right;
  46820. t4 = t3.get$span(t3);
  46821. if (t2 === t4.get$file(t4)) {
  46822. t2 = t1.get$span(t1);
  46823. t2 = t2.get$end(t2);
  46824. t4 = t3.get$span(t3);
  46825. t4 = t2.offset < t4.get$start(t4).offset;
  46826. t2 = t4;
  46827. } else
  46828. t2 = false;
  46829. if (t2) {
  46830. t2 = t1.get$span(t1);
  46831. t2 = t2.get$file(t2);
  46832. t1 = t1.get$span(t1);
  46833. t1 = t1.get$end(t1);
  46834. t3 = t3.get$span(t3);
  46835. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46836. t1 = t3;
  46837. } else
  46838. t1 = this.get$span(0);
  46839. return t1;
  46840. },
  46841. accept$1$1(visitor) {
  46842. return visitor.visitBinaryOperationExpression$1(0, this);
  46843. },
  46844. accept$1(visitor) {
  46845. return this.accept$1$1(visitor, type$.dynamic);
  46846. },
  46847. toString$0(_) {
  46848. var t1, t2, t3, right, operator, _this = this,
  46849. _0_0 = _this.left;
  46850. $label0$0: {
  46851. if (_0_0 instanceof A.BinaryOperationExpression) {
  46852. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46853. break $label0$0;
  46854. }
  46855. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46856. t1 = true;
  46857. break $label0$0;
  46858. }
  46859. t1 = false;
  46860. break $label0$0;
  46861. }
  46862. t2 = t1 ? A.Primitives_stringFromCharCode(40) : "";
  46863. t2 += _0_0.toString$0(0);
  46864. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46865. t2 = A.Primitives_stringFromCharCode(32);
  46866. t3 = _this.operator;
  46867. t2 = t1 + t2 + t3.operator + t2;
  46868. right = _this.right;
  46869. $label1$1: {
  46870. t1 = false;
  46871. if (right instanceof A.BinaryOperationExpression) {
  46872. operator = right.operator;
  46873. if (operator.precedence <= t3.precedence)
  46874. t1 = !(operator === t3 && operator.isAssociative);
  46875. break $label1$1;
  46876. }
  46877. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46878. t1 = true;
  46879. break $label1$1;
  46880. }
  46881. break $label1$1;
  46882. }
  46883. if (t1)
  46884. t2 += A.Primitives_stringFromCharCode(40);
  46885. t2 += right.toString$0(0);
  46886. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46887. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46888. }
  46889. };
  46890. A.BinaryOperator.prototype = {
  46891. _enumToString$0() {
  46892. return "BinaryOperator." + this._name;
  46893. },
  46894. toString$0(_) {
  46895. return this.name;
  46896. }
  46897. };
  46898. A.BooleanExpression.prototype = {
  46899. accept$1$1(visitor) {
  46900. return visitor.visitBooleanExpression$1(0, this);
  46901. },
  46902. accept$1(visitor) {
  46903. return this.accept$1$1(visitor, type$.dynamic);
  46904. },
  46905. toString$0(_) {
  46906. return String(this.value);
  46907. },
  46908. get$span(receiver) {
  46909. return this.span;
  46910. }
  46911. };
  46912. A.ColorExpression.prototype = {
  46913. accept$1$1(visitor) {
  46914. return visitor.visitColorExpression$1(0, this);
  46915. },
  46916. accept$1(visitor) {
  46917. return this.accept$1$1(visitor, type$.dynamic);
  46918. },
  46919. toString$0(_) {
  46920. return A.serializeValue(this.value, true, true);
  46921. },
  46922. get$span(receiver) {
  46923. return this.span;
  46924. }
  46925. };
  46926. A.FunctionExpression.prototype = {
  46927. accept$1$1(visitor) {
  46928. return visitor.visitFunctionExpression$1(0, this);
  46929. },
  46930. accept$1(visitor) {
  46931. return this.accept$1$1(visitor, type$.dynamic);
  46932. },
  46933. toString$0(_) {
  46934. var t1 = this.namespace;
  46935. t1 = t1 != null ? t1 + "." : "";
  46936. t1 += this.originalName + this.$arguments.toString$0(0);
  46937. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46938. },
  46939. get$span(receiver) {
  46940. return this.span;
  46941. }
  46942. };
  46943. A.IfExpression.prototype = {
  46944. accept$1$1(visitor) {
  46945. return visitor.visitIfExpression$1(0, this);
  46946. },
  46947. accept$1(visitor) {
  46948. return this.accept$1$1(visitor, type$.dynamic);
  46949. },
  46950. toString$0(_) {
  46951. return "if" + this.$arguments.toString$0(0);
  46952. },
  46953. get$span(receiver) {
  46954. return this.span;
  46955. }
  46956. };
  46957. A.InterpolatedFunctionExpression.prototype = {
  46958. accept$1$1(visitor) {
  46959. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46960. },
  46961. accept$1(visitor) {
  46962. return this.accept$1$1(visitor, type$.dynamic);
  46963. },
  46964. toString$0(_) {
  46965. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46966. },
  46967. get$span(receiver) {
  46968. return this.span;
  46969. }
  46970. };
  46971. A.ListExpression.prototype = {
  46972. accept$1$1(visitor) {
  46973. return visitor.visitListExpression$1(0, this);
  46974. },
  46975. accept$1(visitor) {
  46976. return this.accept$1$1(visitor, type$.dynamic);
  46977. },
  46978. toString$0(_) {
  46979. var t2, t3, t4, t5, _this = this,
  46980. t1 = _this.hasBrackets;
  46981. if (t1)
  46982. t2 = A.Primitives_stringFromCharCode(91);
  46983. else {
  46984. t2 = _this.contents.length;
  46985. if (t2 !== 0)
  46986. t2 = t2 === 1 && _this.separator === B.ListSeparator_z0K;
  46987. else
  46988. t2 = true;
  46989. t2 = t2 ? A.Primitives_stringFromCharCode(40) : "";
  46990. }
  46991. t3 = _this.contents;
  46992. t4 = _this.separator === B.ListSeparator_z0K;
  46993. t5 = t4 ? ", " : " ";
  46994. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46995. if (t1)
  46996. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46997. else {
  46998. t1 = t3.length;
  46999. if (t1 === 0)
  47000. t1 = t5 + A.Primitives_stringFromCharCode(41);
  47001. else
  47002. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  47003. }
  47004. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47005. },
  47006. _list0$_elementNeedsParens$1(expression) {
  47007. var childSeparator, t1, _0_13;
  47008. $label0$0: {
  47009. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  47010. childSeparator = expression.separator;
  47011. t1 = this.separator === B.ListSeparator_z0K ? childSeparator === B.ListSeparator_z0K : childSeparator !== B.ListSeparator_undecided_null_3_undecided;
  47012. break $label0$0;
  47013. }
  47014. if (expression instanceof A.UnaryOperationExpression) {
  47015. _0_13 = expression.operator;
  47016. if (B.UnaryOperator_n2K !== _0_13)
  47017. t1 = B.UnaryOperator_hCO === _0_13;
  47018. else
  47019. t1 = true;
  47020. } else
  47021. t1 = false;
  47022. if (t1) {
  47023. t1 = this.separator === B.ListSeparator_SrV;
  47024. break $label0$0;
  47025. }
  47026. t1 = false;
  47027. break $label0$0;
  47028. }
  47029. return t1;
  47030. },
  47031. get$span(receiver) {
  47032. return this.span;
  47033. }
  47034. };
  47035. A.ListExpression_toString_closure.prototype = {
  47036. call$1(element) {
  47037. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  47038. },
  47039. $signature: 133
  47040. };
  47041. A.MapExpression.prototype = {
  47042. accept$1$1(visitor) {
  47043. return visitor.visitMapExpression$1(0, this);
  47044. },
  47045. accept$1(visitor) {
  47046. return this.accept$1$1(visitor, type$.dynamic);
  47047. },
  47048. toString$0(_) {
  47049. var t2, t3, _i, t4,
  47050. t1 = A._setArrayType([], type$.JSArray_String);
  47051. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  47052. t4 = t2[_i];
  47053. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  47054. }
  47055. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  47056. },
  47057. get$span(receiver) {
  47058. return this.span;
  47059. }
  47060. };
  47061. A.NullExpression.prototype = {
  47062. accept$1$1(visitor) {
  47063. return visitor.visitNullExpression$1(0, this);
  47064. },
  47065. accept$1(visitor) {
  47066. return this.accept$1$1(visitor, type$.dynamic);
  47067. },
  47068. toString$0(_) {
  47069. return "null";
  47070. },
  47071. get$span(receiver) {
  47072. return this.span;
  47073. }
  47074. };
  47075. A.NumberExpression.prototype = {
  47076. accept$1$1(visitor) {
  47077. return visitor.visitNumberExpression$1(0, this);
  47078. },
  47079. accept$1(visitor) {
  47080. return this.accept$1$1(visitor, type$.dynamic);
  47081. },
  47082. toString$0(_) {
  47083. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  47084. },
  47085. get$span(receiver) {
  47086. return this.span;
  47087. }
  47088. };
  47089. A.ParenthesizedExpression.prototype = {
  47090. accept$1$1(visitor) {
  47091. return visitor.visitParenthesizedExpression$1(0, this);
  47092. },
  47093. accept$1(visitor) {
  47094. return this.accept$1$1(visitor, type$.dynamic);
  47095. },
  47096. toString$0(_) {
  47097. return "(" + this.expression.toString$0(0) + ")";
  47098. },
  47099. get$span(receiver) {
  47100. return this.span;
  47101. }
  47102. };
  47103. A.SelectorExpression.prototype = {
  47104. accept$1$1(visitor) {
  47105. return visitor.visitSelectorExpression$1(0, this);
  47106. },
  47107. accept$1(visitor) {
  47108. return this.accept$1$1(visitor, type$.dynamic);
  47109. },
  47110. toString$0(_) {
  47111. return "&";
  47112. },
  47113. get$span(receiver) {
  47114. return this.span;
  47115. }
  47116. };
  47117. A.StringExpression.prototype = {
  47118. get$span(_) {
  47119. return this.text.span;
  47120. },
  47121. accept$1$1(visitor) {
  47122. return visitor.visitStringExpression$1(0, this);
  47123. },
  47124. accept$1(visitor) {
  47125. return this.accept$1$1(visitor, type$.dynamic);
  47126. },
  47127. asInterpolation$1$static($static) {
  47128. var t1, t2, quote, t3, t4, t5, buffer, t6, t7, i, value, t8;
  47129. if (!this.hasQuotes)
  47130. return this.text;
  47131. t1 = this.text;
  47132. t2 = t1.contents;
  47133. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  47134. t3 = new A.StringBuffer("");
  47135. t4 = A._setArrayType([], type$.JSArray_Object);
  47136. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  47137. buffer = new A.InterpolationBuffer(t3, t4, t5);
  47138. t6 = A.Primitives_stringFromCharCode(quote);
  47139. t3._contents += t6;
  47140. for (t7 = t2.length, i = 0; i < t7; ++i) {
  47141. value = t2[i];
  47142. if (value instanceof A.Expression) {
  47143. t8 = t1.spanForElement$1(i);
  47144. buffer._flushText$0();
  47145. t4.push(value);
  47146. t5.push(t8);
  47147. continue;
  47148. }
  47149. if (typeof value == "string")
  47150. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  47151. }
  47152. t3._contents += t6;
  47153. return buffer.interpolation$1(t1.span);
  47154. },
  47155. asInterpolation$0() {
  47156. return this.asInterpolation$1$static(false);
  47157. },
  47158. toString$0(_) {
  47159. return this.asInterpolation$0().toString$0(0);
  47160. }
  47161. };
  47162. A.SupportsExpression.prototype = {
  47163. get$span(_) {
  47164. var t1 = this.condition;
  47165. return t1.get$span(t1);
  47166. },
  47167. accept$1$1(visitor) {
  47168. return visitor.visitSupportsExpression$1(0, this);
  47169. },
  47170. accept$1(visitor) {
  47171. return this.accept$1$1(visitor, type$.dynamic);
  47172. },
  47173. toString$0(_) {
  47174. return this.condition.toString$0(0);
  47175. }
  47176. };
  47177. A.UnaryOperationExpression.prototype = {
  47178. accept$1$1(visitor) {
  47179. return visitor.visitUnaryOperationExpression$1(0, this);
  47180. },
  47181. accept$1(visitor) {
  47182. return this.accept$1$1(visitor, type$.dynamic);
  47183. },
  47184. toString$0(_) {
  47185. var operand,
  47186. t1 = this.operator,
  47187. t2 = t1.operator;
  47188. t1 = t1 === B.UnaryOperator_not_not_3_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  47189. operand = this.operand;
  47190. $label0$0: {
  47191. t2 = true;
  47192. if (!(operand instanceof A.BinaryOperationExpression))
  47193. if (!(operand instanceof A.UnaryOperationExpression))
  47194. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  47195. break $label0$0;
  47196. }
  47197. if (t2)
  47198. t1 += "40";
  47199. t1 += operand.toString$0(0);
  47200. if (t2)
  47201. t1 += "41";
  47202. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47203. },
  47204. get$span(receiver) {
  47205. return this.span;
  47206. }
  47207. };
  47208. A.UnaryOperator.prototype = {
  47209. _enumToString$0() {
  47210. return "UnaryOperator." + this._name;
  47211. },
  47212. toString$0(_) {
  47213. return this.name;
  47214. }
  47215. };
  47216. A.ValueExpression.prototype = {
  47217. accept$1$1(visitor) {
  47218. return visitor.visitValueExpression$1(0, this);
  47219. },
  47220. accept$1(visitor) {
  47221. return this.accept$1$1(visitor, type$.dynamic);
  47222. },
  47223. toString$0(_) {
  47224. return this.value.toString$0(0);
  47225. },
  47226. get$span(receiver) {
  47227. return this.span;
  47228. }
  47229. };
  47230. A.VariableExpression.prototype = {
  47231. accept$1$1(visitor) {
  47232. return visitor.visitVariableExpression$1(0, this);
  47233. },
  47234. accept$1(visitor) {
  47235. return this.accept$1$1(visitor, type$.dynamic);
  47236. },
  47237. toString$0(_) {
  47238. return this.span.get$text();
  47239. },
  47240. get$span(receiver) {
  47241. return this.span;
  47242. }
  47243. };
  47244. A.DynamicImport.prototype = {
  47245. toString$0(_) {
  47246. return A.StringExpression_quoteText(this.urlString);
  47247. },
  47248. $isAstNode: 1,
  47249. $isImport: 1,
  47250. get$span(receiver) {
  47251. return this.span;
  47252. }
  47253. };
  47254. A.StaticImport.prototype = {
  47255. toString$0(_) {
  47256. var t1 = this.url.toString$0(0),
  47257. t2 = this.modifiers;
  47258. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  47259. },
  47260. $isAstNode: 1,
  47261. $isImport: 1,
  47262. get$span(receiver) {
  47263. return this.span;
  47264. }
  47265. };
  47266. A.Interpolation.prototype = {
  47267. get$asPlain() {
  47268. var _0_1, t1, _0_6_isSet, _0_6, first,
  47269. _0_0 = this.contents;
  47270. $label0$0: {
  47271. _0_1 = _0_0.length;
  47272. if (_0_1 <= 0) {
  47273. t1 = "";
  47274. break $label0$0;
  47275. }
  47276. _0_6_isSet = _0_1 === 1;
  47277. if (_0_6_isSet) {
  47278. _0_6 = _0_0[0];
  47279. t1 = typeof _0_6 == "string";
  47280. } else {
  47281. _0_6 = null;
  47282. t1 = false;
  47283. }
  47284. if (t1) {
  47285. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  47286. t1 = first;
  47287. break $label0$0;
  47288. }
  47289. t1 = null;
  47290. break $label0$0;
  47291. }
  47292. return t1;
  47293. },
  47294. get$initialPlain() {
  47295. var _0_4_isSet, _0_4, t1, first,
  47296. _0_0 = this.contents;
  47297. $label0$0: {
  47298. _0_4_isSet = _0_0.length >= 1;
  47299. if (_0_4_isSet) {
  47300. _0_4 = _0_0[0];
  47301. t1 = typeof _0_4 == "string";
  47302. } else {
  47303. _0_4 = null;
  47304. t1 = false;
  47305. }
  47306. if (t1) {
  47307. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  47308. t1 = first;
  47309. break $label0$0;
  47310. }
  47311. t1 = "";
  47312. break $label0$0;
  47313. }
  47314. return t1;
  47315. },
  47316. spanForElement$1(index) {
  47317. var t1, t2, t3, t4, t5, _this = this;
  47318. $label0$0: {
  47319. if (typeof _this.contents[index] == "string") {
  47320. t1 = _this.span;
  47321. t2 = t1.get$file(t1);
  47322. if (index === 0)
  47323. t3 = t1.get$start(t1);
  47324. else {
  47325. t3 = _this.spans[index - 1];
  47326. t3 = t3.get$end(t3);
  47327. }
  47328. t4 = index + 1;
  47329. t5 = _this.spans;
  47330. if (t4 === t5.length)
  47331. t1 = t1.get$end(t1);
  47332. else {
  47333. t1 = t5[t4];
  47334. t1 = t1.get$start(t1);
  47335. }
  47336. t1 = t2.span$2(0, t3.offset, t1.offset);
  47337. break $label0$0;
  47338. }
  47339. t1 = _this.spans[index];
  47340. t1.toString;
  47341. break $label0$0;
  47342. }
  47343. return t1;
  47344. },
  47345. Interpolation$3(contents, spans, span) {
  47346. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47347. _s8_ = "contents";
  47348. if (spans.length !== J.get$length$asx(contents))
  47349. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47350. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47351. t5 = t1[i];
  47352. isString = typeof t5 == "string";
  47353. if (!isString && !(t5 instanceof A.Expression))
  47354. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47355. else if (isString) {
  47356. if (i !== 0 && typeof t1[i - 1] == "string")
  47357. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47358. else if (i < t3 && t4[i] != null)
  47359. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47360. } else if (i >= t3 || t4[i] == null)
  47361. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47362. }
  47363. },
  47364. toString$0(_) {
  47365. var t1 = this.contents;
  47366. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47367. },
  47368. $isAstNode: 1,
  47369. get$span(receiver) {
  47370. return this.span;
  47371. }
  47372. };
  47373. A.Interpolation_toString_closure.prototype = {
  47374. call$1(value) {
  47375. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47376. },
  47377. $signature: 132
  47378. };
  47379. A.Parameter.prototype = {
  47380. toString$0(_) {
  47381. var t1 = this.defaultValue,
  47382. t2 = this.name;
  47383. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47384. },
  47385. $isAstNode: 1,
  47386. get$span(receiver) {
  47387. return this.span;
  47388. }
  47389. };
  47390. A.ParameterList.prototype = {
  47391. get$spanWithName() {
  47392. var t2, t3,
  47393. t1 = this.span,
  47394. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null),
  47395. i = t1.get$start(t1).offset - 1;
  47396. for (;;) {
  47397. if (i > 0) {
  47398. t2 = text.charCodeAt(i);
  47399. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  47400. } else
  47401. t2 = false;
  47402. if (!t2)
  47403. break;
  47404. --i;
  47405. }
  47406. t2 = text.charCodeAt(i);
  47407. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  47408. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  47409. else
  47410. t2 = true;
  47411. if (!t2)
  47412. return t1;
  47413. --i;
  47414. for (;;) {
  47415. if (i >= 0) {
  47416. t2 = text.charCodeAt(i);
  47417. if (t2 !== 95) {
  47418. if (!(t2 >= 97 && t2 <= 122))
  47419. t3 = t2 >= 65 && t2 <= 90;
  47420. else
  47421. t3 = true;
  47422. t3 = t3 || t2 >= 128;
  47423. } else
  47424. t3 = true;
  47425. if (!t3)
  47426. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  47427. else
  47428. t2 = true;
  47429. } else
  47430. t2 = false;
  47431. if (!t2)
  47432. break;
  47433. --i;
  47434. }
  47435. t2 = i + 1;
  47436. t3 = text.charCodeAt(t2);
  47437. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47438. return t1;
  47439. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t1.get$file(t1).span$2(0, t2, t1.get$end(t1).offset)));
  47440. },
  47441. verify$2(positional, names) {
  47442. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47443. _s10_ = "invocation";
  47444. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47445. parameter = t1[i];
  47446. if (i < positional) {
  47447. t4 = parameter.name;
  47448. if (t3.containsKey$1(t4))
  47449. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47450. } else {
  47451. t4 = parameter.name;
  47452. if (t3.containsKey$1(t4))
  47453. ++namedUsed;
  47454. else if (parameter.defaultValue == null)
  47455. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47456. }
  47457. }
  47458. if (_this.restParameter != null)
  47459. return;
  47460. if (positional > t2) {
  47461. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47462. throw A.wrapException(A.MultiSpanSassScriptException$("Only " + t2 + " " + t1 + A.pluralize("argument", t2, null) + " allowed, but " + positional + " " + A.pluralize("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47463. }
  47464. if (namedUsed < t3.get$length(t3)) {
  47465. t2 = type$.String;
  47466. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47467. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47468. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize("parameter", unknownNames._collection$_length, null) + " named " + A.toSentence(unknownNames.map$1$1(0, new A.ParameterList_verify_closure0(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  47469. }
  47470. },
  47471. _originalParameterName$1($name) {
  47472. var text, t1, t2, _i, parameter, end;
  47473. if ($name === this.restParameter) {
  47474. text = this.span.get$text();
  47475. return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
  47476. }
  47477. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47478. parameter = t1[_i];
  47479. if (parameter.name === $name) {
  47480. t1 = parameter.span;
  47481. if (parameter.defaultValue == null)
  47482. t1 = t1.get$text();
  47483. else {
  47484. text = t1.get$text();
  47485. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47486. end = A._lastNonWhitespace(t1, false);
  47487. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47488. }
  47489. return t1;
  47490. }
  47491. }
  47492. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47493. },
  47494. matches$2(positional, names) {
  47495. var t1, t2, t3, namedUsed, i, parameter;
  47496. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47497. parameter = t1[i];
  47498. if (i < positional) {
  47499. if (t3.containsKey$1(parameter.name))
  47500. return false;
  47501. } else if (t3.containsKey$1(parameter.name))
  47502. ++namedUsed;
  47503. else if (parameter.defaultValue == null)
  47504. return false;
  47505. }
  47506. if (this.restParameter != null)
  47507. return true;
  47508. if (positional > t2)
  47509. return false;
  47510. if (namedUsed < t3.get$length(t3))
  47511. return false;
  47512. return true;
  47513. },
  47514. toString$0(_) {
  47515. var t2, t3, _i,
  47516. t1 = A._setArrayType([], type$.JSArray_String);
  47517. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47518. t1.push("$" + t2[_i].toString$0(0));
  47519. t2 = this.restParameter;
  47520. if (t2 != null)
  47521. t1.push("$" + t2 + "...");
  47522. return B.JSArray_methods.join$1(t1, ", ");
  47523. },
  47524. $isAstNode: 1,
  47525. get$span(receiver) {
  47526. return this.span;
  47527. }
  47528. };
  47529. A.ParameterList_verify_closure.prototype = {
  47530. call$1(parameter) {
  47531. return parameter.name;
  47532. },
  47533. $signature: 637
  47534. };
  47535. A.ParameterList_verify_closure0.prototype = {
  47536. call$1($name) {
  47537. return "$" + $name;
  47538. },
  47539. $signature: 6
  47540. };
  47541. A.Statement.prototype = {$isAstNode: 1};
  47542. A.AtRootRule.prototype = {
  47543. accept$1$1(visitor) {
  47544. return visitor.visitAtRootRule$1(0, this);
  47545. },
  47546. accept$1(visitor) {
  47547. return this.accept$1$1(visitor, type$.dynamic);
  47548. },
  47549. toString$0(_) {
  47550. var buffer = new A.StringBuffer("@at-root "),
  47551. t1 = this.query;
  47552. if (t1 != null)
  47553. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47554. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47555. },
  47556. get$span(receiver) {
  47557. return this.span;
  47558. }
  47559. };
  47560. A.AtRule.prototype = {
  47561. accept$1$1(visitor) {
  47562. return visitor.visitAtRule$1(0, this);
  47563. },
  47564. accept$1(visitor) {
  47565. return this.accept$1$1(visitor, type$.dynamic);
  47566. },
  47567. toString$0(_) {
  47568. var children,
  47569. t1 = "@" + this.name.toString$0(0),
  47570. buffer = new A.StringBuffer(t1),
  47571. t2 = this.value;
  47572. if (t2 != null)
  47573. buffer._contents = t1 + (" " + t2.toString$0(0));
  47574. children = this.children;
  47575. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47576. },
  47577. get$span(receiver) {
  47578. return this.span;
  47579. }
  47580. };
  47581. A.CallableDeclaration.prototype = {
  47582. get$span(receiver) {
  47583. return this.span;
  47584. }
  47585. };
  47586. A.ContentBlock.prototype = {
  47587. accept$1$1(visitor) {
  47588. return visitor.visitContentBlock$1(0, this);
  47589. },
  47590. accept$1(visitor) {
  47591. return this.accept$1$1(visitor, type$.dynamic);
  47592. },
  47593. toString$0(_) {
  47594. var t1 = this.parameters;
  47595. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47596. return t1 + (" {" + B.JSArray_methods.join$1(this.children, " ") + "}");
  47597. }
  47598. };
  47599. A.ContentRule.prototype = {
  47600. accept$1$1(visitor) {
  47601. return visitor.visitContentRule$1(0, this);
  47602. },
  47603. accept$1(visitor) {
  47604. return this.accept$1$1(visitor, type$.dynamic);
  47605. },
  47606. toString$0(_) {
  47607. var t1 = this.$arguments;
  47608. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47609. },
  47610. get$span(receiver) {
  47611. return this.span;
  47612. }
  47613. };
  47614. A.DebugRule.prototype = {
  47615. accept$1$1(visitor) {
  47616. return visitor.visitDebugRule$1(0, this);
  47617. },
  47618. accept$1(visitor) {
  47619. return this.accept$1$1(visitor, type$.dynamic);
  47620. },
  47621. toString$0(_) {
  47622. return "@debug " + this.expression.toString$0(0) + ";";
  47623. },
  47624. get$span(receiver) {
  47625. return this.span;
  47626. }
  47627. };
  47628. A.Declaration.prototype = {
  47629. accept$1$1(visitor) {
  47630. return visitor.visitDeclaration$1(0, this);
  47631. },
  47632. accept$1(visitor) {
  47633. return this.accept$1$1(visitor, type$.dynamic);
  47634. },
  47635. toString$0(_) {
  47636. var t2, _0_0, _this = this,
  47637. buffer = new A.StringBuffer(""),
  47638. t1 = _this.name.toString$0(0);
  47639. buffer._contents = t1;
  47640. t1 = buffer._contents = t1 + A.Primitives_stringFromCharCode(58);
  47641. t2 = _this.value;
  47642. if (t2 != null) {
  47643. if (_this.parsedAsSassScript)
  47644. t1 = buffer._contents = t1 + A.Primitives_stringFromCharCode(32);
  47645. buffer._contents = t1 + t2.toString$0(0);
  47646. }
  47647. _0_0 = _this.children;
  47648. if (_0_0 != null)
  47649. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47650. else
  47651. return buffer.toString$0(0) + ";";
  47652. },
  47653. get$span(receiver) {
  47654. return this.span;
  47655. }
  47656. };
  47657. A.EachRule.prototype = {
  47658. accept$1$1(visitor) {
  47659. return visitor.visitEachRule$1(0, this);
  47660. },
  47661. accept$1(visitor) {
  47662. return this.accept$1$1(visitor, type$.dynamic);
  47663. },
  47664. toString$0(_) {
  47665. var t1 = this.variables;
  47666. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47667. },
  47668. get$span(receiver) {
  47669. return this.span;
  47670. }
  47671. };
  47672. A.EachRule_toString_closure.prototype = {
  47673. call$1(variable) {
  47674. return "$" + variable;
  47675. },
  47676. $signature: 6
  47677. };
  47678. A.ErrorRule.prototype = {
  47679. accept$1$1(visitor) {
  47680. return visitor.visitErrorRule$1(0, this);
  47681. },
  47682. accept$1(visitor) {
  47683. return this.accept$1$1(visitor, type$.dynamic);
  47684. },
  47685. toString$0(_) {
  47686. return "@error " + this.expression.toString$0(0) + ";";
  47687. },
  47688. get$span(receiver) {
  47689. return this.span;
  47690. }
  47691. };
  47692. A.ExtendRule.prototype = {
  47693. accept$1$1(visitor) {
  47694. return visitor.visitExtendRule$1(0, this);
  47695. },
  47696. accept$1(visitor) {
  47697. return this.accept$1$1(visitor, type$.dynamic);
  47698. },
  47699. toString$0(_) {
  47700. var t1 = this.selector.toString$0(0),
  47701. t2 = this.isOptional ? " !optional" : "";
  47702. return "@extend " + t1 + t2 + ";";
  47703. },
  47704. get$span(receiver) {
  47705. return this.span;
  47706. }
  47707. };
  47708. A.ForRule.prototype = {
  47709. accept$1$1(visitor) {
  47710. return visitor.visitForRule$1(0, this);
  47711. },
  47712. accept$1(visitor) {
  47713. return this.accept$1$1(visitor, type$.dynamic);
  47714. },
  47715. toString$0(_) {
  47716. var _this = this,
  47717. t1 = _this.from.toString$0(0),
  47718. t2 = _this.isExclusive ? "to" : "through";
  47719. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + B.JSArray_methods.join$1(_this.children, " ") + "}";
  47720. },
  47721. get$span(receiver) {
  47722. return this.span;
  47723. }
  47724. };
  47725. A.ForwardRule.prototype = {
  47726. accept$1$1(visitor) {
  47727. return visitor.visitForwardRule$1(0, this);
  47728. },
  47729. accept$1(visitor) {
  47730. return this.accept$1$1(visitor, type$.dynamic);
  47731. },
  47732. toString$0(_) {
  47733. var t2, prefix, _this = this,
  47734. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47735. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47736. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47737. if (shownMixinsAndFunctions != null) {
  47738. t2 = _this.shownVariables;
  47739. t2.toString;
  47740. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47741. t1 = t2;
  47742. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47743. t2 = _this.hiddenVariables;
  47744. t2.toString;
  47745. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47746. t1 = t2;
  47747. }
  47748. prefix = _this.prefix;
  47749. if (prefix != null)
  47750. t1 += " as " + prefix + "*";
  47751. t2 = _this.configuration;
  47752. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47753. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47754. },
  47755. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47756. var t2,
  47757. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  47758. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47759. t1.push("$" + t2.get$current(0));
  47760. return B.JSArray_methods.join$1(t1, ", ");
  47761. },
  47762. get$span(receiver) {
  47763. return this.span;
  47764. }
  47765. };
  47766. A.FunctionRule.prototype = {
  47767. accept$1$1(visitor) {
  47768. return visitor.visitFunctionRule$1(0, this);
  47769. },
  47770. accept$1(visitor) {
  47771. return this.accept$1$1(visitor, type$.dynamic);
  47772. },
  47773. toString$0(_) {
  47774. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47775. }
  47776. };
  47777. A.IfRule.prototype = {
  47778. accept$1$1(visitor) {
  47779. return visitor.visitIfRule$1(0, this);
  47780. },
  47781. accept$1(visitor) {
  47782. return this.accept$1$1(visitor, type$.dynamic);
  47783. },
  47784. toString$0(_) {
  47785. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47786. lastClause = this.lastClause;
  47787. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47788. },
  47789. get$span(receiver) {
  47790. return this.span;
  47791. }
  47792. };
  47793. A.IfRule_toString_closure.prototype = {
  47794. call$2(index, clause) {
  47795. var t1 = index === 0 ? "if" : "else if";
  47796. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47797. },
  47798. $signature: 607
  47799. };
  47800. A.IfRuleClause.prototype = {};
  47801. A.IfRuleClause$__closure.prototype = {
  47802. call$1(child) {
  47803. var t1;
  47804. $label0$0: {
  47805. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47806. t1 = true;
  47807. break $label0$0;
  47808. }
  47809. if (child instanceof A.ImportRule) {
  47810. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47811. break $label0$0;
  47812. }
  47813. t1 = false;
  47814. break $label0$0;
  47815. }
  47816. return t1;
  47817. },
  47818. $signature: 147
  47819. };
  47820. A.IfRuleClause$___closure.prototype = {
  47821. call$1($import) {
  47822. return $import instanceof A.DynamicImport;
  47823. },
  47824. $signature: 148
  47825. };
  47826. A.IfClause.prototype = {
  47827. toString$0(_) {
  47828. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47829. }
  47830. };
  47831. A.ElseClause.prototype = {
  47832. toString$0(_) {
  47833. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47834. }
  47835. };
  47836. A.ImportRule.prototype = {
  47837. accept$1$1(visitor) {
  47838. return visitor.visitImportRule$1(0, this);
  47839. },
  47840. accept$1(visitor) {
  47841. return this.accept$1$1(visitor, type$.dynamic);
  47842. },
  47843. toString$0(_) {
  47844. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47845. },
  47846. get$span(receiver) {
  47847. return this.span;
  47848. }
  47849. };
  47850. A.IncludeRule.prototype = {
  47851. get$spanWithoutContent() {
  47852. var t2,
  47853. t1 = this.span;
  47854. if (!(this.content == null)) {
  47855. t2 = this.$arguments.span;
  47856. t2 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t1.get$file(t1).span$2(0, t1.get$start(t1).offset, t2.get$end(t2).offset)));
  47857. t1 = t2;
  47858. }
  47859. return t1;
  47860. },
  47861. get$nameSpan() {
  47862. var startSpan, scanner, _null = null,
  47863. t1 = this.span;
  47864. if (B.JSString_methods.startsWith$1(t1.get$text(), "+"))
  47865. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47866. else {
  47867. scanner = A.StringScanner$(t1.get$text(), _null, _null);
  47868. scanner.expectChar$1(64);
  47869. A._scanIdentifier(scanner);
  47870. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47871. }
  47872. if (this.namespace != null) {
  47873. scanner = A.StringScanner$(startSpan.get$text(), _null, _null);
  47874. A._scanIdentifier(scanner);
  47875. startSpan = A.FileSpanExtension_subspan(A.FileSpanExtension_subspan(startSpan, scanner._string_scanner$_position, _null), 1, _null);
  47876. }
  47877. return A.SpanExtensions_initialIdentifier(startSpan);
  47878. },
  47879. accept$1$1(visitor) {
  47880. return visitor.visitIncludeRule$1(0, this);
  47881. },
  47882. accept$1(visitor) {
  47883. return this.accept$1$1(visitor, type$.dynamic);
  47884. },
  47885. toString$0(_) {
  47886. var t2, _this = this,
  47887. t1 = _this.namespace;
  47888. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47889. t1 += _this.name;
  47890. t2 = _this.$arguments;
  47891. if (!t2.get$isEmpty(0))
  47892. t1 += "(" + t2.toString$0(0) + ")";
  47893. t2 = _this.content;
  47894. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47895. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47896. },
  47897. get$span(receiver) {
  47898. return this.span;
  47899. }
  47900. };
  47901. A.LoudComment.prototype = {
  47902. get$span(_) {
  47903. return this.text.span;
  47904. },
  47905. accept$1$1(visitor) {
  47906. return visitor.visitLoudComment$1(0, this);
  47907. },
  47908. accept$1(visitor) {
  47909. return this.accept$1$1(visitor, type$.dynamic);
  47910. },
  47911. toString$0(_) {
  47912. return this.text.toString$0(0);
  47913. }
  47914. };
  47915. A.MediaRule.prototype = {
  47916. accept$1$1(visitor) {
  47917. return visitor.visitMediaRule$1(0, this);
  47918. },
  47919. accept$1(visitor) {
  47920. return this.accept$1$1(visitor, type$.dynamic);
  47921. },
  47922. toString$0(_) {
  47923. return "@media " + this.query.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47924. },
  47925. get$span(receiver) {
  47926. return this.span;
  47927. }
  47928. };
  47929. A.MixinRule.prototype = {
  47930. get$hasContent() {
  47931. var result, _this = this,
  47932. value = _this.__MixinRule_hasContent_FI;
  47933. if (value === $) {
  47934. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47935. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47936. _this.__MixinRule_hasContent_FI = result;
  47937. value = result;
  47938. }
  47939. return value;
  47940. },
  47941. accept$1$1(visitor) {
  47942. return visitor.visitMixinRule$1(0, this);
  47943. },
  47944. accept$1(visitor) {
  47945. return this.accept$1$1(visitor, type$.dynamic);
  47946. },
  47947. toString$0(_) {
  47948. var t1 = "@mixin " + this.name,
  47949. t2 = this.parameters;
  47950. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47951. t1 += "(" + t2.toString$0(0) + ")";
  47952. t1 += " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47953. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47954. }
  47955. };
  47956. A._HasContentVisitor.prototype = {
  47957. visitContentRule$1(_, _0) {
  47958. return true;
  47959. }
  47960. };
  47961. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47962. A.ParentStatement.prototype = {};
  47963. A.ParentStatement_closure.prototype = {
  47964. call$1(child) {
  47965. var t1;
  47966. $label0$0: {
  47967. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47968. t1 = true;
  47969. break $label0$0;
  47970. }
  47971. if (child instanceof A.ImportRule) {
  47972. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47973. break $label0$0;
  47974. }
  47975. t1 = false;
  47976. break $label0$0;
  47977. }
  47978. return t1;
  47979. },
  47980. $signature: 147
  47981. };
  47982. A.ParentStatement__closure.prototype = {
  47983. call$1($import) {
  47984. return $import instanceof A.DynamicImport;
  47985. },
  47986. $signature: 148
  47987. };
  47988. A.ReturnRule.prototype = {
  47989. accept$1$1(visitor) {
  47990. return visitor.visitReturnRule$1(0, this);
  47991. },
  47992. accept$1(visitor) {
  47993. return this.accept$1$1(visitor, type$.dynamic);
  47994. },
  47995. toString$0(_) {
  47996. return "@return " + this.expression.toString$0(0) + ";";
  47997. },
  47998. get$span(receiver) {
  47999. return this.span;
  48000. }
  48001. };
  48002. A.SilentComment.prototype = {
  48003. accept$1$1(visitor) {
  48004. return visitor.visitSilentComment$1(0, this);
  48005. },
  48006. accept$1(visitor) {
  48007. return this.accept$1$1(visitor, type$.dynamic);
  48008. },
  48009. toString$0(_) {
  48010. return this.text;
  48011. },
  48012. get$span(receiver) {
  48013. return this.span;
  48014. }
  48015. };
  48016. A.StyleRule.prototype = {
  48017. accept$1$1(visitor) {
  48018. return visitor.visitStyleRule$1(0, this);
  48019. },
  48020. accept$1(visitor) {
  48021. return this.accept$1$1(visitor, type$.dynamic);
  48022. },
  48023. toString$0(_) {
  48024. var t1 = this.selector;
  48025. return A.S(t1 == null ? this.parsedSelector : t1) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  48026. },
  48027. get$span(receiver) {
  48028. return this.span;
  48029. }
  48030. };
  48031. A.Stylesheet.prototype = {
  48032. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  48033. var t1, t2, t3, t4, _i, child;
  48034. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  48035. child = t1[_i];
  48036. if (child instanceof A.UseRule) {
  48037. t4.push(child);
  48038. continue;
  48039. }
  48040. if (child instanceof A.ForwardRule) {
  48041. t3.push(child);
  48042. continue;
  48043. }
  48044. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  48045. continue;
  48046. break;
  48047. }
  48048. },
  48049. accept$1$1(visitor) {
  48050. return visitor.visitStylesheet$1(0, this);
  48051. },
  48052. accept$1(visitor) {
  48053. return this.accept$1$1(visitor, type$.dynamic);
  48054. },
  48055. toString$0(_) {
  48056. return B.JSArray_methods.join$1(this.children, " ");
  48057. },
  48058. get$span(receiver) {
  48059. return this.span;
  48060. }
  48061. };
  48062. A.SupportsRule.prototype = {
  48063. accept$1$1(visitor) {
  48064. return visitor.visitSupportsRule$1(0, this);
  48065. },
  48066. accept$1(visitor) {
  48067. return this.accept$1$1(visitor, type$.dynamic);
  48068. },
  48069. toString$0(_) {
  48070. return "@supports " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  48071. },
  48072. get$span(receiver) {
  48073. return this.span;
  48074. }
  48075. };
  48076. A.UseRule.prototype = {
  48077. UseRule$4$configuration(url, namespace, span, configuration) {
  48078. var t1, t2, _i, variable;
  48079. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48080. variable = t1[_i];
  48081. if (variable.isGuarded)
  48082. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  48083. }
  48084. },
  48085. accept$1$1(visitor) {
  48086. return visitor.visitUseRule$1(0, this);
  48087. },
  48088. accept$1(visitor) {
  48089. return this.accept$1$1(visitor, type$.dynamic);
  48090. },
  48091. toString$0(_) {
  48092. var t1 = this.url,
  48093. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  48094. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  48095. dot = B.JSString_methods.indexOf$1(basename, ".");
  48096. t1 = this.namespace;
  48097. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  48098. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  48099. else
  48100. t1 = t2;
  48101. t2 = this.configuration;
  48102. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  48103. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48104. },
  48105. get$span(receiver) {
  48106. return this.span;
  48107. }
  48108. };
  48109. A.VariableDeclaration.prototype = {
  48110. accept$1$1(visitor) {
  48111. return visitor.visitVariableDeclaration$1(0, this);
  48112. },
  48113. accept$1(visitor) {
  48114. return this.accept$1$1(visitor, type$.dynamic);
  48115. },
  48116. toString$0(_) {
  48117. var t1 = this.namespace;
  48118. t1 = t1 != null ? t1 + "." : "";
  48119. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  48120. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48121. },
  48122. get$span(receiver) {
  48123. return this.span;
  48124. }
  48125. };
  48126. A.WarnRule.prototype = {
  48127. accept$1$1(visitor) {
  48128. return visitor.visitWarnRule$1(0, this);
  48129. },
  48130. accept$1(visitor) {
  48131. return this.accept$1$1(visitor, type$.dynamic);
  48132. },
  48133. toString$0(_) {
  48134. return "@warn " + this.expression.toString$0(0) + ";";
  48135. },
  48136. get$span(receiver) {
  48137. return this.span;
  48138. }
  48139. };
  48140. A.WhileRule.prototype = {
  48141. accept$1$1(visitor) {
  48142. return visitor.visitWhileRule$1(0, this);
  48143. },
  48144. accept$1(visitor) {
  48145. return this.accept$1$1(visitor, type$.dynamic);
  48146. },
  48147. toString$0(_) {
  48148. return "@while " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  48149. },
  48150. get$span(receiver) {
  48151. return this.span;
  48152. }
  48153. };
  48154. A.SupportsAnything.prototype = {
  48155. withSpan$1(span) {
  48156. return new A.SupportsAnything(this.contents, span);
  48157. },
  48158. toString$0(_) {
  48159. return "(" + this.contents.toString$0(0) + ")";
  48160. },
  48161. $isAstNode: 1,
  48162. get$span(receiver) {
  48163. return this.span;
  48164. }
  48165. };
  48166. A.SupportsDeclaration.prototype = {
  48167. get$isCustomProperty() {
  48168. var t1,
  48169. _0_0 = this.name;
  48170. $label0$0: {
  48171. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  48172. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  48173. break $label0$0;
  48174. }
  48175. t1 = false;
  48176. break $label0$0;
  48177. }
  48178. return t1;
  48179. },
  48180. withSpan$1(span) {
  48181. return new A.SupportsDeclaration(this.name, this.value, span);
  48182. },
  48183. toString$0(_) {
  48184. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  48185. },
  48186. $isAstNode: 1,
  48187. get$span(receiver) {
  48188. return this.span;
  48189. }
  48190. };
  48191. A.SupportsFunction.prototype = {
  48192. withSpan$1(span) {
  48193. return new A.SupportsFunction(this.name, this.$arguments, span);
  48194. },
  48195. toString$0(_) {
  48196. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  48197. },
  48198. $isAstNode: 1,
  48199. get$span(receiver) {
  48200. return this.span;
  48201. }
  48202. };
  48203. A.SupportsInterpolation.prototype = {
  48204. withSpan$1(span) {
  48205. return new A.SupportsInterpolation(this.expression, span);
  48206. },
  48207. toString$0(_) {
  48208. return "#{" + this.expression.toString$0(0) + "}";
  48209. },
  48210. $isAstNode: 1,
  48211. get$span(receiver) {
  48212. return this.span;
  48213. }
  48214. };
  48215. A.SupportsNegation.prototype = {
  48216. withSpan$1(span) {
  48217. return new A.SupportsNegation(this.condition, span);
  48218. },
  48219. toString$0(_) {
  48220. var t1 = this.condition;
  48221. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  48222. return "not (" + t1.toString$0(0) + ")";
  48223. else
  48224. return "not " + t1.toString$0(0);
  48225. },
  48226. $isAstNode: 1,
  48227. get$span(receiver) {
  48228. return this.span;
  48229. }
  48230. };
  48231. A.SupportsOperation.prototype = {
  48232. withSpan$1(span) {
  48233. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  48234. },
  48235. toString$0(_) {
  48236. var _this = this;
  48237. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  48238. },
  48239. _parenthesize$1(condition) {
  48240. var t1;
  48241. if (!(condition instanceof A.SupportsNegation))
  48242. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  48243. else
  48244. t1 = true;
  48245. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  48246. },
  48247. $isAstNode: 1,
  48248. get$span(receiver) {
  48249. return this.span;
  48250. }
  48251. };
  48252. A.Selector.prototype = {
  48253. assertNotBogus$1$name($name) {
  48254. if (!this.accept$1(B._IsBogusVisitor_true))
  48255. return;
  48256. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_0rM);
  48257. },
  48258. toString$0(_) {
  48259. var _null = null,
  48260. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48261. this.accept$1(visitor);
  48262. return visitor._serialize$_buffer.toString$0(0);
  48263. },
  48264. $isAstNode: 1,
  48265. get$span(receiver) {
  48266. return this.span;
  48267. }
  48268. };
  48269. A._IsInvisibleVisitor0.prototype = {
  48270. visitSelectorList$1(list) {
  48271. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  48272. },
  48273. visitComplexSelector$1(complex) {
  48274. var t1;
  48275. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  48276. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  48277. else
  48278. t1 = true;
  48279. return t1;
  48280. },
  48281. visitPlaceholderSelector$1(_, placeholder) {
  48282. return true;
  48283. },
  48284. visitPseudoSelector$1(_, pseudo) {
  48285. var t1,
  48286. _0_0 = pseudo.selector;
  48287. if (_0_0 != null) {
  48288. if (pseudo.name === "not")
  48289. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  48290. else
  48291. t1 = this.visitSelectorList$1(_0_0);
  48292. return t1;
  48293. } else
  48294. return false;
  48295. }
  48296. };
  48297. A._IsBogusVisitor.prototype = {
  48298. visitComplexSelector$1(complex) {
  48299. var t2,
  48300. t1 = complex.components;
  48301. if (t1.length === 0)
  48302. return complex.leadingCombinators.length !== 0;
  48303. else {
  48304. t2 = this.includeLeadingCombinator ? 0 : 1;
  48305. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure(this));
  48306. }
  48307. },
  48308. visitPseudoSelector$1(_, pseudo) {
  48309. var selector = pseudo.selector;
  48310. if (selector == null)
  48311. return false;
  48312. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  48313. }
  48314. };
  48315. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  48316. call$1(component) {
  48317. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48318. },
  48319. $signature: 55
  48320. };
  48321. A._IsUselessVisitor.prototype = {
  48322. visitComplexSelector$1(complex) {
  48323. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  48324. },
  48325. visitPseudoSelector$1(_, pseudo) {
  48326. return pseudo.accept$1(B._IsBogusVisitor_true);
  48327. }
  48328. };
  48329. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48330. call$1(component) {
  48331. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48332. },
  48333. $signature: 55
  48334. };
  48335. A._ContainsParentSelectorVisitor.prototype = {
  48336. visitParentSelector$1(_, _0) {
  48337. return true;
  48338. }
  48339. };
  48340. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor.prototype = {};
  48341. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48342. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48343. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48344. A.AttributeSelector.prototype = {
  48345. accept$1$1(visitor) {
  48346. return visitor.visitAttributeSelector$1(0, this);
  48347. },
  48348. accept$1(visitor) {
  48349. return this.accept$1$1(visitor, type$.dynamic);
  48350. },
  48351. $eq(_, other) {
  48352. var _this = this;
  48353. if (other == null)
  48354. return false;
  48355. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48356. },
  48357. get$hashCode(_) {
  48358. var _this = this,
  48359. t1 = _this.name;
  48360. return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
  48361. }
  48362. };
  48363. A.AttributeOperator.prototype = {
  48364. _enumToString$0() {
  48365. return "AttributeOperator." + this._name;
  48366. },
  48367. toString$0(_) {
  48368. return this._attribute$_text;
  48369. }
  48370. };
  48371. A.ClassSelector.prototype = {
  48372. $eq(_, other) {
  48373. if (other == null)
  48374. return false;
  48375. return other instanceof A.ClassSelector && other.name === this.name;
  48376. },
  48377. accept$1$1(visitor) {
  48378. return visitor.visitClassSelector$1(0, this);
  48379. },
  48380. accept$1(visitor) {
  48381. return this.accept$1$1(visitor, type$.dynamic);
  48382. },
  48383. addSuffix$1(suffix) {
  48384. return new A.ClassSelector(this.name + suffix, this.span);
  48385. },
  48386. get$hashCode(_) {
  48387. return B.JSString_methods.get$hashCode(this.name);
  48388. }
  48389. };
  48390. A.Combinator.prototype = {
  48391. _enumToString$0() {
  48392. return "Combinator." + this._name;
  48393. },
  48394. toString$0(_) {
  48395. return this._combinator$_text;
  48396. }
  48397. };
  48398. A.ComplexSelector.prototype = {
  48399. get$specificity() {
  48400. var result, _this = this,
  48401. value = _this.__ComplexSelector_specificity_FI;
  48402. if (value === $) {
  48403. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48404. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48405. _this.__ComplexSelector_specificity_FI = result;
  48406. value = result;
  48407. }
  48408. return value;
  48409. },
  48410. get$singleCompound() {
  48411. var _0_0, t1, _0_4, selector;
  48412. if (this.leadingCombinators.length !== 0)
  48413. return null;
  48414. _0_0 = this.components;
  48415. $label0$0: {
  48416. t1 = false;
  48417. if (_0_0.length === 1) {
  48418. _0_4 = _0_0[0];
  48419. selector = _0_4.selector;
  48420. t1 = _0_4.combinators.length <= 0;
  48421. } else
  48422. selector = null;
  48423. if (t1) {
  48424. t1 = selector;
  48425. break $label0$0;
  48426. }
  48427. t1 = null;
  48428. break $label0$0;
  48429. }
  48430. return t1;
  48431. },
  48432. accept$1$1(visitor) {
  48433. return visitor.visitComplexSelector$1(this);
  48434. },
  48435. accept$1(visitor) {
  48436. return this.accept$1$1(visitor, type$.dynamic);
  48437. },
  48438. isSuperselector$1(other) {
  48439. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48440. },
  48441. withAdditionalCombinators$1(combinators) {
  48442. var _0_0, _0_1, t1, initial, last, _this = this;
  48443. if (combinators.length === 0)
  48444. return _this;
  48445. _0_0 = _this.components;
  48446. $label0$0: {
  48447. _0_1 = _0_0.length;
  48448. if (_0_1 >= 1) {
  48449. t1 = _0_1 - 1;
  48450. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48451. last = _0_0[t1];
  48452. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48453. t1.push(last.withAdditionalCombinators$1(combinators));
  48454. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48455. break $label0$0;
  48456. }
  48457. if (_0_1 <= 0) {
  48458. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48459. B.JSArray_methods.addAll$1(t1, combinators);
  48460. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48461. break $label0$0;
  48462. }
  48463. t1 = null;
  48464. }
  48465. return t1;
  48466. },
  48467. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48468. var t2, _0_1, initial, last, _this = this,
  48469. t1 = child.leadingCombinators,
  48470. _0_0 = _this.components;
  48471. if (t1.length === 0) {
  48472. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent);
  48473. B.JSArray_methods.addAll$1(t1, child.components);
  48474. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48475. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48476. } else {
  48477. _0_1 = _0_0.length;
  48478. if (_0_1 >= 1) {
  48479. t2 = _0_1 - 1;
  48480. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48481. last = _0_0[t2];
  48482. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48483. t2.push(last.withAdditionalCombinators$1(t1));
  48484. B.JSArray_methods.addAll$1(t2, child.components);
  48485. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48486. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48487. } else {
  48488. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48489. B.JSArray_methods.addAll$1(t2, t1);
  48490. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48491. return A.ComplexSelector$(t2, child.components, span, t1);
  48492. }
  48493. }
  48494. },
  48495. concatenate$2(child, span) {
  48496. return this.concatenate$3$forceLineBreak(child, span, false);
  48497. },
  48498. get$hashCode(_) {
  48499. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48500. },
  48501. $eq(_, other) {
  48502. if (other == null)
  48503. return false;
  48504. return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.leadingCombinators, other.leadingCombinators) && B.C_ListEquality.equals$2(0, this.components, other.components);
  48505. }
  48506. };
  48507. A.ComplexSelector_specificity_closure.prototype = {
  48508. call$2(sum, component) {
  48509. return sum + component.selector.get$specificity();
  48510. },
  48511. $signature: 588
  48512. };
  48513. A.ComplexSelectorComponent.prototype = {
  48514. withAdditionalCombinators$1(combinators) {
  48515. var t1, t2, _this = this;
  48516. if (combinators.length === 0)
  48517. t1 = _this;
  48518. else {
  48519. t1 = type$.CssValue_Combinator;
  48520. t2 = A.List_List$_of(_this.combinators, t1);
  48521. B.JSArray_methods.addAll$1(t2, combinators);
  48522. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48523. }
  48524. return t1;
  48525. },
  48526. get$hashCode(_) {
  48527. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48528. },
  48529. $eq(_, other) {
  48530. var t1;
  48531. if (other == null)
  48532. return false;
  48533. if (other instanceof A.ComplexSelectorComponent) {
  48534. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48535. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48536. } else
  48537. t1 = false;
  48538. return t1;
  48539. },
  48540. toString$0(_) {
  48541. var t1 = this.combinators;
  48542. return A.serializeSelector(this.selector, true) + new A.MappedListIterable(t1, new A.ComplexSelectorComponent_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, "");
  48543. }
  48544. };
  48545. A.ComplexSelectorComponent_toString_closure.prototype = {
  48546. call$1(combinator) {
  48547. return " " + combinator.toString$0(0);
  48548. },
  48549. $signature: 586
  48550. };
  48551. A.CompoundSelector.prototype = {
  48552. get$specificity() {
  48553. var result, _this = this,
  48554. value = _this.__CompoundSelector_specificity_FI;
  48555. if (value === $) {
  48556. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48557. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48558. _this.__CompoundSelector_specificity_FI = result;
  48559. value = result;
  48560. }
  48561. return value;
  48562. },
  48563. get$hasComplicatedSuperselectorSemantics() {
  48564. var result, _this = this,
  48565. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48566. if (value === $) {
  48567. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48568. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48569. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48570. value = result;
  48571. }
  48572. return value;
  48573. },
  48574. accept$1$1(visitor) {
  48575. return visitor.visitCompoundSelector$1(this);
  48576. },
  48577. accept$1(visitor) {
  48578. return this.accept$1$1(visitor, type$.dynamic);
  48579. },
  48580. get$hashCode(_) {
  48581. return B.C_ListEquality0.hash$1(this.components);
  48582. },
  48583. $eq(_, other) {
  48584. if (other == null)
  48585. return false;
  48586. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48587. }
  48588. };
  48589. A.CompoundSelector_specificity_closure.prototype = {
  48590. call$2(sum, component) {
  48591. return sum + component.get$specificity();
  48592. },
  48593. $signature: 576
  48594. };
  48595. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48596. call$1(component) {
  48597. return component.get$hasComplicatedSuperselectorSemantics();
  48598. },
  48599. $signature: 13
  48600. };
  48601. A.IDSelector.prototype = {
  48602. get$specificity() {
  48603. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48604. },
  48605. accept$1$1(visitor) {
  48606. return visitor.visitIDSelector$1(0, this);
  48607. },
  48608. accept$1(visitor) {
  48609. return this.accept$1$1(visitor, type$.dynamic);
  48610. },
  48611. addSuffix$1(suffix) {
  48612. return new A.IDSelector(this.name + suffix, this.span);
  48613. },
  48614. unify$1(compound) {
  48615. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48616. return null;
  48617. return this.super$SimpleSelector$unify(compound);
  48618. },
  48619. $eq(_, other) {
  48620. if (other == null)
  48621. return false;
  48622. return other instanceof A.IDSelector && other.name === this.name;
  48623. },
  48624. get$hashCode(_) {
  48625. return B.JSString_methods.get$hashCode(this.name);
  48626. }
  48627. };
  48628. A.IDSelector_unify_closure.prototype = {
  48629. call$1(simple) {
  48630. var t1;
  48631. if (simple instanceof A.IDSelector)
  48632. t1 = this.$this.name !== simple.name;
  48633. else
  48634. t1 = false;
  48635. return t1;
  48636. },
  48637. $signature: 13
  48638. };
  48639. A.SelectorList.prototype = {
  48640. get$asSassList() {
  48641. var t1 = this.components;
  48642. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_z0K, false);
  48643. },
  48644. accept$1$1(visitor) {
  48645. return visitor.visitSelectorList$1(this);
  48646. },
  48647. accept$1(visitor) {
  48648. return this.accept$1$1(visitor, type$.dynamic);
  48649. },
  48650. unify$1(other) {
  48651. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48652. t1 = type$.JSArray_ComplexSelector,
  48653. t2 = A._setArrayType([], t1);
  48654. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48655. complex1 = t3[_i];
  48656. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48657. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48658. if (t8 != null)
  48659. B.JSArray_methods.addAll$1(t2, t8);
  48660. }
  48661. }
  48662. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48663. },
  48664. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48665. var parentSelector, t1, _this = this;
  48666. if ($parent == null) {
  48667. if (preserveParentSelectors)
  48668. return _this;
  48669. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48670. if (parentSelector == null)
  48671. return _this;
  48672. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48673. }
  48674. t1 = _this.components;
  48675. return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector), _this.span);
  48676. },
  48677. nestWithin$1($parent) {
  48678. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48679. },
  48680. nestWithin$2$implicitParent($parent, implicitParent) {
  48681. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48682. },
  48683. _nestWithinCompound$2(component, $parent) {
  48684. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48685. t1 = component.selector,
  48686. simples = t1.components,
  48687. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48688. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48689. return null;
  48690. if (containsSelectorPseudo) {
  48691. t2 = simples;
  48692. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48693. } else
  48694. resolvedSimples0 = simples;
  48695. resolvedSimples = resolvedSimples0;
  48696. parentSelector = J.get$first$ax(simples);
  48697. try {
  48698. if (!(parentSelector instanceof A.ParentSelector)) {
  48699. t2 = component.span;
  48700. t2 = A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t2)], type$.JSArray_ComplexSelectorComponent), t2, false)], type$.JSArray_ComplexSelector);
  48701. return t2;
  48702. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48703. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48704. return t1.components;
  48705. }
  48706. } catch (exception) {
  48707. t1 = A.unwrapException(exception);
  48708. if (t1 instanceof A.SassException) {
  48709. error = t1;
  48710. stackTrace = A.getTraceFromException(exception);
  48711. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48712. } else
  48713. throw exception;
  48714. }
  48715. t1 = $parent.components;
  48716. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48717. },
  48718. isSuperselector$1(other) {
  48719. return A.listIsSuperselector(this.components, other.components);
  48720. },
  48721. withAdditionalCombinators$1(combinators) {
  48722. var t1;
  48723. if (combinators.length === 0)
  48724. t1 = this;
  48725. else {
  48726. t1 = this.components;
  48727. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48728. }
  48729. return t1;
  48730. },
  48731. get$hashCode(_) {
  48732. return B.C_ListEquality0.hash$1(this.components);
  48733. },
  48734. $eq(_, other) {
  48735. if (other == null)
  48736. return false;
  48737. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48738. }
  48739. };
  48740. A.SelectorList_asSassList_closure.prototype = {
  48741. call$1(complex) {
  48742. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48743. t1 = type$.JSArray_Value,
  48744. t2 = A._setArrayType([], t1);
  48745. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48746. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48747. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48748. component = t3[_i];
  48749. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48750. component.selector.accept$1(visitor);
  48751. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48752. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48753. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48754. B.JSArray_methods.addAll$1(t2, t5);
  48755. }
  48756. return A.SassList$(t2, B.ListSeparator_SrV, false);
  48757. },
  48758. $signature: 538
  48759. };
  48760. A.SelectorList_nestWithin_closure.prototype = {
  48761. call$1(complex) {
  48762. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, t16, _this = this;
  48763. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48764. if (!_this.implicitParent)
  48765. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48766. t1 = _this.parent.components;
  48767. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48768. }
  48769. t1 = type$.JSArray_ComplexSelector;
  48770. newComplexes = A._setArrayType([], t1);
  48771. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent, t11 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < t3; ++_i) {
  48772. component = t2[_i];
  48773. resolved = t4._nestWithinCompound$2(component, t5);
  48774. if (resolved == null)
  48775. if (newComplexes.length === 0)
  48776. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48777. else
  48778. for (i = 0; i < newComplexes.length; ++i) {
  48779. t12 = newComplexes[i];
  48780. t13 = A.List_List$_of(t12.components, t10);
  48781. t13.push(component);
  48782. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48783. }
  48784. else if (newComplexes.length === 0)
  48785. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48786. else {
  48787. t12 = A._setArrayType([], t1);
  48788. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48789. newComplex = newComplexes[_i0];
  48790. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48791. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48792. }
  48793. newComplexes = t12;
  48794. }
  48795. }
  48796. return newComplexes;
  48797. },
  48798. $signature: 422
  48799. };
  48800. A.SelectorList_nestWithin__closure.prototype = {
  48801. call$1(parentComplex) {
  48802. var t1 = this.complex;
  48803. return parentComplex.concatenate$2(t1, t1.span);
  48804. },
  48805. $signature: 62
  48806. };
  48807. A.SelectorList_nestWithin__closure0.prototype = {
  48808. call$1(resolvedComplex) {
  48809. var t1 = resolvedComplex.leadingCombinators,
  48810. t2 = this.complex,
  48811. t3 = t2.leadingCombinators;
  48812. if (t1.length === 0)
  48813. t1 = t3;
  48814. else {
  48815. t3 = A.List_List$_of(t3, type$.CssValue_Combinator);
  48816. B.JSArray_methods.addAll$1(t3, t1);
  48817. t1 = t3;
  48818. }
  48819. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48820. },
  48821. $signature: 62
  48822. };
  48823. A.SelectorList__nestWithinCompound_closure.prototype = {
  48824. call$1(simple) {
  48825. var selector;
  48826. if (!(simple instanceof A.PseudoSelector))
  48827. return false;
  48828. selector = simple.selector;
  48829. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48830. },
  48831. $signature: 13
  48832. };
  48833. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48834. call$1(simple) {
  48835. var selector, t1, _0_2;
  48836. $label0$0: {
  48837. selector = null;
  48838. t1 = false;
  48839. if (simple instanceof A.PseudoSelector) {
  48840. _0_2 = simple.selector;
  48841. if (_0_2 != null) {
  48842. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48843. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48844. }
  48845. }
  48846. if (t1) {
  48847. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48848. break $label0$0;
  48849. }
  48850. t1 = simple;
  48851. break $label0$0;
  48852. }
  48853. return t1;
  48854. },
  48855. $signature: 413
  48856. };
  48857. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48858. call$1(complex) {
  48859. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  48860. try {
  48861. t4 = complex.components;
  48862. lastComponent = B.JSArray_methods.get$last(t4);
  48863. if (lastComponent.combinators.length !== 0) {
  48864. t1 = A.MultiSpanSassException$('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  48865. throw A.wrapException(t1);
  48866. }
  48867. suffix = _this.parentSelector.suffix;
  48868. lastSimples = lastComponent.selector.components;
  48869. t5 = type$.SimpleSelector;
  48870. if (suffix == null) {
  48871. t2 = A.List_List$_of(lastSimples, t5);
  48872. t1 = t2;
  48873. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  48874. t1 = t1;
  48875. } else {
  48876. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(lastSimples), t5);
  48877. t2 = t1;
  48878. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48879. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  48880. t1 = t2;
  48881. }
  48882. t2 = _this.component;
  48883. last = A.CompoundSelector$(t1, t2.selector.span);
  48884. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t4), type$.ComplexSelectorComponent);
  48885. t3 = t1;
  48886. t1 = t2.span;
  48887. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t1));
  48888. t1 = A.ComplexSelector$(complex.leadingCombinators, t3, t1, complex.lineBreak);
  48889. return t1;
  48890. } catch (exception) {
  48891. t1 = A.unwrapException(exception);
  48892. if (t1 instanceof A.SassException) {
  48893. error = t1;
  48894. stackTrace = A.getTraceFromException(exception);
  48895. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48896. } else
  48897. throw exception;
  48898. }
  48899. },
  48900. $signature: 62
  48901. };
  48902. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48903. call$1(complex) {
  48904. return complex.withAdditionalCombinators$1(this.combinators);
  48905. },
  48906. $signature: 62
  48907. };
  48908. A._ParentSelectorVisitor.prototype = {
  48909. visitParentSelector$1(_, selector) {
  48910. return selector;
  48911. }
  48912. };
  48913. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48914. A.ParentSelector.prototype = {
  48915. accept$1$1(visitor) {
  48916. return visitor.visitParentSelector$1(0, this);
  48917. },
  48918. accept$1(visitor) {
  48919. return this.accept$1$1(visitor, type$.dynamic);
  48920. },
  48921. unify$1(compound) {
  48922. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48923. }
  48924. };
  48925. A.PlaceholderSelector.prototype = {
  48926. accept$1$1(visitor) {
  48927. return visitor.visitPlaceholderSelector$1(0, this);
  48928. },
  48929. accept$1(visitor) {
  48930. return this.accept$1$1(visitor, type$.dynamic);
  48931. },
  48932. addSuffix$1(suffix) {
  48933. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48934. },
  48935. $eq(_, other) {
  48936. if (other == null)
  48937. return false;
  48938. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48939. },
  48940. get$hashCode(_) {
  48941. return B.JSString_methods.get$hashCode(this.name);
  48942. }
  48943. };
  48944. A.PseudoSelector.prototype = {
  48945. get$isHostContext() {
  48946. return this.isClass && this.name === "host-context" && this.selector != null;
  48947. },
  48948. get$hasComplicatedSuperselectorSemantics() {
  48949. return !this.isClass || this.selector != null;
  48950. },
  48951. get$specificity() {
  48952. var result, _this = this,
  48953. value = _this.__PseudoSelector_specificity_FI;
  48954. if (value === $) {
  48955. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48956. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48957. _this.__PseudoSelector_specificity_FI = result;
  48958. value = result;
  48959. }
  48960. return value;
  48961. },
  48962. withSelector$1(selector) {
  48963. var _this = this;
  48964. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48965. },
  48966. addSuffix$1(suffix) {
  48967. var _this = this;
  48968. if (_this.argument != null || _this.selector != null)
  48969. _this.super$SimpleSelector$addSuffix(suffix);
  48970. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48971. },
  48972. unify$1(compound) {
  48973. var other, result, t2, addedThis, _i, simple, _this = this,
  48974. t1 = _this.name;
  48975. if (t1 === "host" || t1 === "host-context") {
  48976. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48977. return null;
  48978. } else {
  48979. t1 = false;
  48980. if (compound.length === 1) {
  48981. other = compound[0];
  48982. if (!(other instanceof A.UniversalSelector)) {
  48983. if (other instanceof A.PseudoSelector)
  48984. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48985. } else
  48986. t1 = true;
  48987. } else
  48988. other = null;
  48989. if (t1)
  48990. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48991. }
  48992. if (B.JSArray_methods.contains$1(compound, _this))
  48993. return compound;
  48994. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48995. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48996. simple = compound[_i];
  48997. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48998. if (t2)
  48999. return null;
  49000. result.push(_this);
  49001. addedThis = true;
  49002. }
  49003. result.push(simple);
  49004. }
  49005. if (!addedThis)
  49006. result.push(_this);
  49007. return result;
  49008. },
  49009. isSuperselector$1(other) {
  49010. var selector, t1, t2, _this = this;
  49011. if (_this.super$SimpleSelector$isSuperselector(other))
  49012. return true;
  49013. selector = _this.selector;
  49014. if (selector == null)
  49015. return _this.$eq(0, other);
  49016. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  49017. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  49018. return t1 == null ? false : t1;
  49019. }
  49020. t1 = type$.JSArray_SimpleSelector;
  49021. t2 = _this.span;
  49022. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  49023. },
  49024. accept$1$1(visitor) {
  49025. return visitor.visitPseudoSelector$1(0, this);
  49026. },
  49027. accept$1(visitor) {
  49028. return this.accept$1$1(visitor, type$.dynamic);
  49029. },
  49030. $eq(_, other) {
  49031. var _this = this;
  49032. if (other == null)
  49033. return false;
  49034. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  49035. },
  49036. get$hashCode(_) {
  49037. var _this = this,
  49038. t1 = B.JSString_methods.get$hashCode(_this.name),
  49039. t2 = !_this.isClass ? 519018 : 218159;
  49040. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  49041. }
  49042. };
  49043. A.PseudoSelector_specificity_closure.prototype = {
  49044. call$0() {
  49045. var selector, t2,
  49046. t1 = this.$this;
  49047. if (!t1.isClass)
  49048. return 1;
  49049. selector = t1.selector;
  49050. if (selector == null)
  49051. return A.SimpleSelector.prototype.get$specificity.call(t1);
  49052. switch (t1.normalizedName) {
  49053. case "where":
  49054. return 0;
  49055. case "is":
  49056. case "not":
  49057. case "has":
  49058. case "matches":
  49059. t1 = selector.components;
  49060. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  49061. case "nth-child":
  49062. case "nth-last-child":
  49063. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  49064. t2 = selector.components;
  49065. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  49066. default:
  49067. return A.SimpleSelector.prototype.get$specificity.call(t1);
  49068. }
  49069. },
  49070. $signature: 10
  49071. };
  49072. A.PseudoSelector_specificity__closure.prototype = {
  49073. call$1(component) {
  49074. return component.get$specificity();
  49075. },
  49076. $signature: 169
  49077. };
  49078. A.PseudoSelector_specificity__closure0.prototype = {
  49079. call$1(component) {
  49080. return component.get$specificity();
  49081. },
  49082. $signature: 169
  49083. };
  49084. A.PseudoSelector_unify_closure.prototype = {
  49085. call$1(simple) {
  49086. var t1;
  49087. if (simple instanceof A.PseudoSelector)
  49088. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  49089. else
  49090. t1 = false;
  49091. return t1;
  49092. },
  49093. $signature: 13
  49094. };
  49095. A.QualifiedName.prototype = {
  49096. $eq(_, other) {
  49097. if (other == null)
  49098. return false;
  49099. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  49100. },
  49101. get$hashCode(_) {
  49102. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  49103. },
  49104. toString$0(_) {
  49105. var t1 = this.namespace,
  49106. t2 = this.name;
  49107. return t1 == null ? t2 : t1 + "|" + t2;
  49108. }
  49109. };
  49110. A.SimpleSelector.prototype = {
  49111. get$specificity() {
  49112. return 1000;
  49113. },
  49114. get$hasComplicatedSuperselectorSemantics() {
  49115. return false;
  49116. },
  49117. addSuffix$1(suffix) {
  49118. return A.throwExpression(A.MultiSpanSassException$('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  49119. },
  49120. unify$1(compound) {
  49121. var other, result, addedThis, _i, simple, _this = this,
  49122. t1 = false;
  49123. if (compound.length === 1) {
  49124. other = compound[0];
  49125. if (!(other instanceof A.UniversalSelector)) {
  49126. if (other instanceof A.PseudoSelector)
  49127. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  49128. } else
  49129. t1 = true;
  49130. } else
  49131. other = null;
  49132. if (t1)
  49133. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  49134. if (B.JSArray_methods.contains$1(compound, _this))
  49135. return compound;
  49136. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  49137. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  49138. simple = compound[_i];
  49139. if (!addedThis && simple instanceof A.PseudoSelector) {
  49140. result.push(_this);
  49141. addedThis = true;
  49142. }
  49143. result.push(simple);
  49144. }
  49145. if (!addedThis)
  49146. result.push(_this);
  49147. return result;
  49148. },
  49149. isSuperselector$1(other) {
  49150. var list;
  49151. if (this.$eq(0, other))
  49152. return true;
  49153. if (other instanceof A.PseudoSelector && other.isClass) {
  49154. list = other.selector;
  49155. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  49156. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  49157. }
  49158. return false;
  49159. }
  49160. };
  49161. A.SimpleSelector_isSuperselector_closure.prototype = {
  49162. call$1(complex) {
  49163. var t1 = complex.components;
  49164. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  49165. },
  49166. $signature: 20
  49167. };
  49168. A.SimpleSelector_isSuperselector__closure.prototype = {
  49169. call$1(simple) {
  49170. return this.$this.isSuperselector$1(simple);
  49171. },
  49172. $signature: 13
  49173. };
  49174. A.TypeSelector.prototype = {
  49175. get$specificity() {
  49176. return 1;
  49177. },
  49178. accept$1$1(visitor) {
  49179. return visitor.visitTypeSelector$1(0, this);
  49180. },
  49181. accept$1(visitor) {
  49182. return this.accept$1$1(visitor, type$.dynamic);
  49183. },
  49184. addSuffix$1(suffix) {
  49185. var t1 = this.name;
  49186. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  49187. },
  49188. unify$1(compound) {
  49189. var unified, t1,
  49190. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  49191. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  49192. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  49193. if (unified == null)
  49194. return null;
  49195. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  49196. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  49197. return t1;
  49198. } else {
  49199. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  49200. B.JSArray_methods.addAll$1(t1, compound);
  49201. return t1;
  49202. }
  49203. },
  49204. isSuperselector$1(other) {
  49205. var t1, t2, t3;
  49206. if (!this.super$SimpleSelector$isSuperselector(other)) {
  49207. t1 = false;
  49208. if (other instanceof A.TypeSelector) {
  49209. t2 = this.name;
  49210. t3 = other.name;
  49211. if (t2.name === t3.name) {
  49212. t1 = t2.namespace;
  49213. t1 = t1 === "*" || t1 == t3.namespace;
  49214. }
  49215. }
  49216. } else
  49217. t1 = true;
  49218. return t1;
  49219. },
  49220. $eq(_, other) {
  49221. if (other == null)
  49222. return false;
  49223. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  49224. },
  49225. get$hashCode(_) {
  49226. var t1 = this.name;
  49227. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  49228. }
  49229. };
  49230. A.UniversalSelector.prototype = {
  49231. get$specificity() {
  49232. return 0;
  49233. },
  49234. accept$1$1(visitor) {
  49235. return visitor.visitUniversalSelector$1(0, this);
  49236. },
  49237. accept$1(visitor) {
  49238. return this.accept$1$1(visitor, type$.dynamic);
  49239. },
  49240. unify$1(compound) {
  49241. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  49242. _0_1 = compound.length,
  49243. _0_4_isSet = _0_1 >= 1;
  49244. if (_0_4_isSet) {
  49245. _0_4 = compound[0];
  49246. if (!(_0_4 instanceof A.UniversalSelector))
  49247. t1 = _0_4 instanceof A.TypeSelector;
  49248. else
  49249. t1 = true;
  49250. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  49251. } else {
  49252. rest = _null;
  49253. _0_4 = rest;
  49254. t1 = false;
  49255. }
  49256. if (t1) {
  49257. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  49258. if (unified == null)
  49259. return _null;
  49260. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  49261. B.JSArray_methods.addAll$1(t1, rest);
  49262. return t1;
  49263. }
  49264. t1 = false;
  49265. if (_0_1 === 1) {
  49266. if (_0_4_isSet)
  49267. t2 = _0_4;
  49268. else {
  49269. _0_4 = compound[0];
  49270. t2 = _0_4;
  49271. _0_4_isSet = true;
  49272. }
  49273. if (t2 instanceof A.PseudoSelector) {
  49274. t2 = _0_4_isSet ? _0_4 : compound[0];
  49275. type$.PseudoSelector._as(t2);
  49276. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  49277. }
  49278. }
  49279. if (t1)
  49280. return _null;
  49281. if (_0_1 <= 0)
  49282. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49283. t1 = _this.namespace;
  49284. if (t1 == null || t1 === "*")
  49285. t1 = compound;
  49286. else {
  49287. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49288. B.JSArray_methods.addAll$1(t1, compound);
  49289. }
  49290. return t1;
  49291. },
  49292. isSuperselector$1(other) {
  49293. var t1 = this.namespace;
  49294. if (t1 === "*")
  49295. return true;
  49296. if (other instanceof A.TypeSelector)
  49297. return t1 == other.name.namespace;
  49298. if (other instanceof A.UniversalSelector)
  49299. return t1 == other.namespace;
  49300. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  49301. },
  49302. $eq(_, other) {
  49303. if (other == null)
  49304. return false;
  49305. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  49306. },
  49307. get$hashCode(_) {
  49308. return J.get$hashCode$(this.namespace);
  49309. }
  49310. };
  49311. A._compileStylesheet_closure0.prototype = {
  49312. call$1(url) {
  49313. var t1;
  49314. if (url === "") {
  49315. t1 = this.stylesheet.span;
  49316. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  49317. } else
  49318. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  49319. return t1;
  49320. },
  49321. $signature: 6
  49322. };
  49323. A.AsyncEnvironment.prototype = {
  49324. closure$0() {
  49325. var t4, t5, t6, _this = this,
  49326. t1 = _this._async_environment$_forwardedModules,
  49327. t2 = _this._async_environment$_nestedForwardedModules,
  49328. t3 = _this._async_environment$_variables;
  49329. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49330. t4 = _this._async_environment$_variableNodes;
  49331. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49332. t5 = _this._async_environment$_functions;
  49333. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49334. t6 = _this._async_environment$_mixins;
  49335. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49336. return A.AsyncEnvironment$_(_this._async_environment$_modules, _this._async_environment$_namespaceNodes, _this._async_environment$_globalModules, _this._async_environment$_importedModules, t1, t2, _this._async_environment$_allModules, t3, t4, t5, t6, _this._async_environment$_content, B.Set_empty1);
  49337. },
  49338. forwardModule$2(module, rule) {
  49339. var view, t1, t2, _this = this,
  49340. forwardedModules = _this._async_environment$_forwardedModules;
  49341. if (forwardedModules == null)
  49342. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49343. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49344. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  49345. t2 = t1.__js_helper$_current;
  49346. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49347. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49348. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49349. }
  49350. _this._async_environment$_allModules.push(module);
  49351. forwardedModules.$indexSet(0, view, rule);
  49352. },
  49353. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49354. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49355. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49356. larger = oldMembers;
  49357. smaller = newMembers;
  49358. } else {
  49359. larger = newMembers;
  49360. smaller = oldMembers;
  49361. }
  49362. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49363. t4 = t2.get$current(t2);
  49364. $name = t4._0;
  49365. small = t4._1;
  49366. large = larger.$index(0, $name);
  49367. if (large == null)
  49368. continue;
  49369. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49370. continue;
  49371. if (t3)
  49372. $name = "$" + $name;
  49373. t2 = this._async_environment$_forwardedModules;
  49374. if (t2 == null)
  49375. span = null;
  49376. else {
  49377. t2 = t2.$index(0, oldModule);
  49378. span = t2 == null ? null : t2.get$span(t2);
  49379. }
  49380. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49381. if (span != null)
  49382. t2.$indexSet(0, span, "original @forward");
  49383. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49384. }
  49385. },
  49386. importForwards$1(module) {
  49387. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49388. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49389. if (forwarded == null)
  49390. return;
  49391. forwardedModules = _this._async_environment$_forwardedModules;
  49392. if (forwardedModules != null) {
  49393. t1 = type$.Module_AsyncCallable;
  49394. t2 = type$.AstNode;
  49395. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49396. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49397. t4 = t1.get$current(t1);
  49398. module = t4._0;
  49399. node = t4._1;
  49400. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49401. t3.$indexSet(0, module, node);
  49402. }
  49403. forwarded = t3;
  49404. } else
  49405. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49406. t1 = type$.String;
  49407. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49408. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  49409. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  49410. t2.add$1(0, t4.get$current(t4));
  49411. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49412. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  49413. t5 = t4.__js_helper$_current;
  49414. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  49415. t3.add$1(0, t5.get$current(t5));
  49416. }
  49417. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49418. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  49419. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  49420. t1.add$1(0, t5.get$current(t5));
  49421. t4 = _this._async_environment$_variables;
  49422. t5 = t4.length;
  49423. if (t5 === 1) {
  49424. for (t5 = _this._async_environment$_importedModules, t6 = type$.Module_AsyncCallable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  49425. t11 = t8[_i];
  49426. module = t11._0;
  49427. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49428. if (shadowed != null) {
  49429. t5.remove$1(0, module);
  49430. t12 = shadowed.variables;
  49431. t13 = false;
  49432. if (t12.get$isEmpty(t12)) {
  49433. t12 = shadowed.functions;
  49434. if (t12.get$isEmpty(t12)) {
  49435. t12 = shadowed.mixins;
  49436. if (t12.get$isEmpty(t12)) {
  49437. t12 = shadowed._shadowed_view$_inner;
  49438. t12 = t12.get$css(t12);
  49439. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49440. } else
  49441. t12 = t13;
  49442. } else
  49443. t12 = t13;
  49444. } else
  49445. t12 = t13;
  49446. if (!t12)
  49447. t5.$indexSet(0, shadowed, t11._1);
  49448. }
  49449. }
  49450. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  49451. t8 = t6[_i];
  49452. module = t8._0;
  49453. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49454. if (shadowed != null) {
  49455. forwardedModules.remove$1(0, module);
  49456. t9 = shadowed.variables;
  49457. t11 = false;
  49458. if (t9.get$isEmpty(t9)) {
  49459. t9 = shadowed.functions;
  49460. if (t9.get$isEmpty(t9)) {
  49461. t9 = shadowed.mixins;
  49462. if (t9.get$isEmpty(t9)) {
  49463. t9 = shadowed._shadowed_view$_inner;
  49464. t9 = t9.get$css(t9);
  49465. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49466. } else
  49467. t9 = t11;
  49468. } else
  49469. t9 = t11;
  49470. } else
  49471. t9 = t11;
  49472. if (!t9)
  49473. forwardedModules.$indexSet(0, shadowed, t8._1);
  49474. }
  49475. }
  49476. t5.addAll$1(0, forwarded);
  49477. forwardedModules.addAll$1(0, forwarded);
  49478. } else {
  49479. t6 = _this._async_environment$_nestedForwardedModules;
  49480. if (t6 == null) {
  49481. _length = t5 - 1;
  49482. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49483. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49484. _list[_i] = A._setArrayType([], t5);
  49485. _this._async_environment$_nestedForwardedModules = _list;
  49486. t5 = _list;
  49487. } else
  49488. t5 = t6;
  49489. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49490. }
  49491. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49492. t8 = t2._collection$_current;
  49493. if (t8 == null)
  49494. t8 = t7._as(t8);
  49495. t5.remove$1(0, t8);
  49496. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  49497. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  49498. }
  49499. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49500. t6 = t2._collection$_current;
  49501. if (t6 == null)
  49502. t6 = t5._as(t6);
  49503. t3.remove$1(0, t6);
  49504. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  49505. }
  49506. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  49507. t5 = t1._collection$_current;
  49508. if (t5 == null)
  49509. t5 = t4._as(t5);
  49510. t2.remove$1(0, t5);
  49511. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  49512. }
  49513. },
  49514. getVariable$2$namespace($name, namespace) {
  49515. var t1, _0_0, _1_0, _this = this;
  49516. if (namespace != null)
  49517. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49518. if (_this._async_environment$_lastVariableName === $name) {
  49519. t1 = _this._async_environment$_lastVariableIndex;
  49520. t1.toString;
  49521. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49522. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49523. }
  49524. t1 = _this._async_environment$_variableIndices;
  49525. _0_0 = t1.$index(0, $name);
  49526. if (_0_0 != null) {
  49527. _this._async_environment$_lastVariableName = $name;
  49528. _this._async_environment$_lastVariableIndex = _0_0;
  49529. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49530. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49531. } else {
  49532. _1_0 = _this._async_environment$_variableIndex$1($name);
  49533. if (_1_0 != null) {
  49534. _this._async_environment$_lastVariableName = $name;
  49535. _this._async_environment$_lastVariableIndex = _1_0;
  49536. t1.$indexSet(0, $name, _1_0);
  49537. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49538. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49539. } else
  49540. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49541. }
  49542. },
  49543. getVariable$1($name) {
  49544. return this.getVariable$2$namespace($name, null);
  49545. },
  49546. _async_environment$_getVariableFromGlobalModule$1($name) {
  49547. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49548. },
  49549. getVariableNode$2$namespace($name, namespace) {
  49550. var t1, _0_0, _1_0, _this = this;
  49551. if (namespace != null)
  49552. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49553. if (_this._async_environment$_lastVariableName === $name) {
  49554. t1 = _this._async_environment$_lastVariableIndex;
  49555. t1.toString;
  49556. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49557. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49558. }
  49559. t1 = _this._async_environment$_variableIndices;
  49560. _0_0 = t1.$index(0, $name);
  49561. if (_0_0 != null) {
  49562. _this._async_environment$_lastVariableName = $name;
  49563. _this._async_environment$_lastVariableIndex = _0_0;
  49564. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49565. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49566. } else {
  49567. _1_0 = _this._async_environment$_variableIndex$1($name);
  49568. if (_1_0 != null) {
  49569. _this._async_environment$_lastVariableName = $name;
  49570. _this._async_environment$_lastVariableIndex = _1_0;
  49571. t1.$indexSet(0, $name, _1_0);
  49572. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49573. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49574. } else
  49575. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49576. }
  49577. },
  49578. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49579. var t1, t2, _0_0;
  49580. for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  49581. t1 = t2._currentIterator;
  49582. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49583. if (_0_0 != null)
  49584. return _0_0;
  49585. }
  49586. return null;
  49587. },
  49588. globalVariableExists$2$namespace($name, namespace) {
  49589. if (namespace != null)
  49590. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49591. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49592. return true;
  49593. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49594. },
  49595. globalVariableExists$1($name) {
  49596. return this.globalVariableExists$2$namespace($name, null);
  49597. },
  49598. _async_environment$_variableIndex$1($name) {
  49599. var t1, i;
  49600. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49601. if (t1[i].containsKey$1($name))
  49602. return i;
  49603. return null;
  49604. },
  49605. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49606. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49607. if (namespace != null) {
  49608. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49609. return;
  49610. }
  49611. if (global || _this._async_environment$_variables.length === 1) {
  49612. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49613. t1 = _this._async_environment$_variables;
  49614. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49615. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49616. if (moduleWithName != null) {
  49617. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49618. return;
  49619. }
  49620. }
  49621. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  49622. B.JSArray_methods.get$first(_this._async_environment$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  49623. return;
  49624. }
  49625. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49626. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49627. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  49628. t3 = t2.__internal$_current;
  49629. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  49630. t5 = t3.__internal$_current;
  49631. if (t5 == null)
  49632. t5 = t4._as(t5);
  49633. if (t5.get$variables().containsKey$1($name)) {
  49634. t5.setVariable$3($name, value, nodeWithSpan);
  49635. return;
  49636. }
  49637. }
  49638. }
  49639. if (_this._async_environment$_lastVariableName === $name) {
  49640. t1 = _this._async_environment$_lastVariableIndex;
  49641. t1.toString;
  49642. index = t1;
  49643. } else
  49644. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49645. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49646. index = _this._async_environment$_variables.length - 1;
  49647. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49648. }
  49649. _this._async_environment$_lastVariableName = $name;
  49650. _this._async_environment$_lastVariableIndex = index;
  49651. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49652. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49653. },
  49654. setVariable$4$global($name, value, nodeWithSpan, global) {
  49655. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49656. },
  49657. setLocalVariable$3($name, value, nodeWithSpan) {
  49658. var index, _this = this,
  49659. t1 = _this._async_environment$_variables,
  49660. t2 = t1.length;
  49661. _this._async_environment$_lastVariableName = $name;
  49662. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49663. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49664. t1[index].$indexSet(0, $name, value);
  49665. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49666. },
  49667. getFunction$2$namespace($name, namespace) {
  49668. var t1, _0_0, _1_0, _this = this;
  49669. if (namespace != null) {
  49670. t1 = _this._async_environment$_getModule$1(namespace);
  49671. return t1.get$functions(t1).$index(0, $name);
  49672. }
  49673. t1 = _this._async_environment$_functionIndices;
  49674. _0_0 = t1.$index(0, $name);
  49675. if (_0_0 != null) {
  49676. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49677. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49678. } else {
  49679. _1_0 = _this._async_environment$_functionIndex$1($name);
  49680. if (_1_0 != null) {
  49681. t1.$indexSet(0, $name, _1_0);
  49682. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49683. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49684. } else
  49685. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49686. }
  49687. },
  49688. getFunction$1($name) {
  49689. return this.getFunction$2$namespace($name, null);
  49690. },
  49691. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49692. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49693. },
  49694. _async_environment$_functionIndex$1($name) {
  49695. var t1, i;
  49696. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49697. if (t1[i].containsKey$1($name))
  49698. return i;
  49699. return null;
  49700. },
  49701. getMixin$2$namespace($name, namespace) {
  49702. var t1, _0_0, _1_0, _this = this;
  49703. if (namespace != null)
  49704. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49705. t1 = _this._async_environment$_mixinIndices;
  49706. _0_0 = t1.$index(0, $name);
  49707. if (_0_0 != null) {
  49708. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49709. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49710. } else {
  49711. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49712. if (_1_0 != null) {
  49713. t1.$indexSet(0, $name, _1_0);
  49714. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49715. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49716. } else
  49717. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49718. }
  49719. },
  49720. _async_environment$_getMixinFromGlobalModule$1($name) {
  49721. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49722. },
  49723. _async_environment$_mixinIndex$1($name) {
  49724. var t1, i;
  49725. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49726. if (t1[i].containsKey$1($name))
  49727. return i;
  49728. return null;
  49729. },
  49730. withContent$2($content, callback) {
  49731. return this.withContent$body$AsyncEnvironment($content, callback);
  49732. },
  49733. withContent$body$AsyncEnvironment($content, callback) {
  49734. var $async$goto = 0,
  49735. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49736. $async$self = this, oldContent;
  49737. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49738. if ($async$errorCode === 1)
  49739. return A._asyncRethrow($async$result, $async$completer);
  49740. for (;;)
  49741. switch ($async$goto) {
  49742. case 0:
  49743. // Function start
  49744. oldContent = $async$self._async_environment$_content;
  49745. $async$self._async_environment$_content = $content;
  49746. $async$goto = 2;
  49747. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49748. case 2:
  49749. // returning from await.
  49750. $async$self._async_environment$_content = oldContent;
  49751. // implicit return
  49752. return A._asyncReturn(null, $async$completer);
  49753. }
  49754. });
  49755. return A._asyncStartSync($async$withContent$2, $async$completer);
  49756. },
  49757. asMixin$1(callback) {
  49758. var $async$goto = 0,
  49759. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49760. $async$self = this, oldInMixin;
  49761. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49762. if ($async$errorCode === 1)
  49763. return A._asyncRethrow($async$result, $async$completer);
  49764. for (;;)
  49765. switch ($async$goto) {
  49766. case 0:
  49767. // Function start
  49768. oldInMixin = $async$self._async_environment$_inMixin;
  49769. $async$self._async_environment$_inMixin = true;
  49770. $async$goto = 2;
  49771. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49772. case 2:
  49773. // returning from await.
  49774. $async$self._async_environment$_inMixin = oldInMixin;
  49775. // implicit return
  49776. return A._asyncReturn(null, $async$completer);
  49777. }
  49778. });
  49779. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49780. },
  49781. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49782. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49783. },
  49784. scope$1$1(callback, $T) {
  49785. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49786. },
  49787. scope$1$2$when(callback, when, $T) {
  49788. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49789. },
  49790. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49791. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49792. },
  49793. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49794. var $async$goto = 0,
  49795. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49796. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49797. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49798. if ($async$errorCode === 1) {
  49799. $async$errorStack.push($async$result);
  49800. $async$goto = $async$handler;
  49801. }
  49802. for (;;)
  49803. switch ($async$goto) {
  49804. case 0:
  49805. // Function start
  49806. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49807. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49808. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49809. $async$goto = !when ? 3 : 4;
  49810. break;
  49811. case 3:
  49812. // then
  49813. $async$handler = 5;
  49814. $async$goto = 8;
  49815. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49816. case 8:
  49817. // returning from await.
  49818. t1 = $async$result;
  49819. $async$returnValue = t1;
  49820. $async$next = [1];
  49821. // goto finally
  49822. $async$goto = 6;
  49823. break;
  49824. $async$next.push(7);
  49825. // goto finally
  49826. $async$goto = 6;
  49827. break;
  49828. case 5:
  49829. // uncaught
  49830. $async$next = [2];
  49831. case 6:
  49832. // finally
  49833. $async$handler = 2;
  49834. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49835. // goto the next finally handler
  49836. $async$goto = $async$next.pop();
  49837. break;
  49838. case 7:
  49839. // after finally
  49840. case 4:
  49841. // join
  49842. t1 = $async$self._async_environment$_variables;
  49843. t2 = type$.String;
  49844. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49845. t3 = $async$self._async_environment$_variableNodes;
  49846. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49847. t4 = $async$self._async_environment$_functions;
  49848. t5 = type$.AsyncCallable;
  49849. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49850. t6 = $async$self._async_environment$_mixins;
  49851. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49852. t5 = $async$self._async_environment$_nestedForwardedModules;
  49853. if (t5 != null)
  49854. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49855. $async$handler = 9;
  49856. $async$goto = 12;
  49857. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49858. case 12:
  49859. // returning from await.
  49860. t2 = $async$result;
  49861. $async$returnValue = t2;
  49862. $async$next = [1];
  49863. // goto finally
  49864. $async$goto = 10;
  49865. break;
  49866. $async$next.push(11);
  49867. // goto finally
  49868. $async$goto = 10;
  49869. break;
  49870. case 9:
  49871. // uncaught
  49872. $async$next = [2];
  49873. case 10:
  49874. // finally
  49875. $async$handler = 2;
  49876. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49877. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49878. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
  49879. $name = t1.get$current(t1);
  49880. t2.remove$1(0, $name);
  49881. }
  49882. B.JSArray_methods.removeLast$0(t3);
  49883. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
  49884. name0 = t1.get$current(t1);
  49885. t2.remove$1(0, name0);
  49886. }
  49887. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
  49888. name1 = t1.get$current(t1);
  49889. t2.remove$1(0, name1);
  49890. }
  49891. t1 = $async$self._async_environment$_nestedForwardedModules;
  49892. if (t1 != null)
  49893. t1.pop();
  49894. // goto the next finally handler
  49895. $async$goto = $async$next.pop();
  49896. break;
  49897. case 11:
  49898. // after finally
  49899. case 1:
  49900. // return
  49901. return A._asyncReturn($async$returnValue, $async$completer);
  49902. case 2:
  49903. // rethrow
  49904. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49905. }
  49906. });
  49907. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49908. },
  49909. toImplicitConfiguration$0() {
  49910. var t2, t3, t4, t5, t6, $name, value, i, values, nodes,
  49911. t1 = type$.String,
  49912. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49913. for (t2 = this._async_environment$_importedModules, t2 = new A.LinkedHashMapKeyIterator(t2, t2._modifications, t2._first), t3 = type$.Value; t2.moveNext$0();) {
  49914. t4 = t2.__js_helper$_current;
  49915. for (t5 = A.MapExtensions_get_pairs(t4.get$variables(), t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49916. t6 = t5.get$current(t5);
  49917. $name = t6._0;
  49918. value = t6._1;
  49919. t6 = t4.get$variableNodes().$index(0, $name);
  49920. t6.toString;
  49921. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49922. }
  49923. }
  49924. for (t2 = this._async_environment$_variables, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49925. values = t2[i];
  49926. nodes = t4[i];
  49927. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49928. t6 = t5.get$current(t5);
  49929. $name = t6._0;
  49930. value = t6._1;
  49931. t6 = nodes.$index(0, $name);
  49932. t6.toString;
  49933. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49934. }
  49935. }
  49936. return new A.Configuration(configuration, null);
  49937. },
  49938. toModule$3(css, preModuleComments, extensionStore) {
  49939. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49940. },
  49941. toDummyModule$0() {
  49942. return A._EnvironmentModule__EnvironmentModule0(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty7, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  49943. },
  49944. _async_environment$_getModule$1(namespace) {
  49945. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49946. if (_0_0 != null)
  49947. return _0_0;
  49948. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49949. },
  49950. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49951. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49952. _0_0 = this._async_environment$_nestedForwardedModules;
  49953. if (_0_0 != null)
  49954. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  49955. t3 = t2.__internal$_current;
  49956. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  49957. t5 = t3.__internal$_current;
  49958. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49959. if (_1_0 != null)
  49960. return _1_0;
  49961. }
  49962. }
  49963. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  49964. _2_0 = callback.call$1(t1.__js_helper$_current);
  49965. if (_2_0 != null)
  49966. return _2_0;
  49967. }
  49968. for (t1 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  49969. t4 = t2.__js_helper$_current;
  49970. valueInModule = callback.call$1(t4);
  49971. if (valueInModule == null)
  49972. continue;
  49973. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49974. if (identityFromModule.$eq(0, identity))
  49975. continue;
  49976. if (value != null) {
  49977. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49978. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49979. t1 = t3.get$current(t3);
  49980. module = t1._0;
  49981. node = t1._1;
  49982. if (callback.call$1(module) != null)
  49983. t2.$indexSet(0, node.get$span(node), t4);
  49984. }
  49985. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49986. }
  49987. identity = identityFromModule;
  49988. value = valueInModule;
  49989. }
  49990. return value;
  49991. },
  49992. _async_environment$_fromOneModule$3($name, type, callback) {
  49993. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49994. }
  49995. };
  49996. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49997. call$1(module) {
  49998. return module.get$variables().$index(0, this.name);
  49999. },
  50000. $signature: 377
  50001. };
  50002. A.AsyncEnvironment_setVariable_closure.prototype = {
  50003. call$0() {
  50004. var t1 = this.$this;
  50005. t1._async_environment$_lastVariableName = this.name;
  50006. return t1._async_environment$_lastVariableIndex = 0;
  50007. },
  50008. $signature: 10
  50009. };
  50010. A.AsyncEnvironment_setVariable_closure0.prototype = {
  50011. call$1(module) {
  50012. return module.get$variables().containsKey$1(this.name) ? module : null;
  50013. },
  50014. $signature: 365
  50015. };
  50016. A.AsyncEnvironment_setVariable_closure1.prototype = {
  50017. call$0() {
  50018. var t1 = this.$this,
  50019. t2 = t1._async_environment$_variableIndex$1(this.name);
  50020. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  50021. },
  50022. $signature: 10
  50023. };
  50024. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  50025. call$1(module) {
  50026. return module.get$functions(module).$index(0, this.name);
  50027. },
  50028. $signature: 172
  50029. };
  50030. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  50031. call$1(module) {
  50032. return module.get$mixins().$index(0, this.name);
  50033. },
  50034. $signature: 172
  50035. };
  50036. A.AsyncEnvironment_toModule_closure.prototype = {
  50037. call$1(modules) {
  50038. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  50039. },
  50040. $signature: 173
  50041. };
  50042. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  50043. call$1(modules) {
  50044. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  50045. },
  50046. $signature: 173
  50047. };
  50048. A._EnvironmentModule0.prototype = {
  50049. get$url(_) {
  50050. var t1 = this.css;
  50051. t1 = t1.get$span(t1);
  50052. return t1.get$sourceUrl(t1);
  50053. },
  50054. setVariable$3($name, value, nodeWithSpan) {
  50055. var t1, t2,
  50056. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  50057. if (_0_0 != null) {
  50058. _0_0.setVariable$3($name, value, nodeWithSpan);
  50059. return;
  50060. }
  50061. t1 = this._async_environment$_environment;
  50062. t2 = t1._async_environment$_variables;
  50063. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  50064. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  50065. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  50066. B.JSArray_methods.get$first(t1._async_environment$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  50067. return;
  50068. },
  50069. variableIdentity$1($name) {
  50070. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  50071. return module == null ? this : module.variableIdentity$1($name);
  50072. },
  50073. couldHaveBeenConfigured$1(variables) {
  50074. var t2, t3, _0_0, variable, module,
  50075. t1 = this._async_environment$_environment._async_environment$_configurableVariables;
  50076. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  50077. t1 = this._async_environment$_modulesByVariable;
  50078. t2 = type$.Module_AsyncCallable;
  50079. if (variables.get$length(variables) < t1.get$length(t1)) {
  50080. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  50081. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  50082. _0_0 = t1.$index(0, t3.get$current(t3));
  50083. if (_0_0 != null)
  50084. t2.add$1(0, _0_0);
  50085. }
  50086. t1 = t2;
  50087. } else {
  50088. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  50089. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  50090. t2 = t1.get$current(t1);
  50091. variable = t2._0;
  50092. module = t2._1;
  50093. if (variables.contains$1(0, variable))
  50094. t3.add$1(0, module);
  50095. }
  50096. t1 = t3;
  50097. }
  50098. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure0(variables));
  50099. } else
  50100. t1 = true;
  50101. return t1;
  50102. },
  50103. cloneCss$0() {
  50104. var _0_0, _this = this;
  50105. if (!_this.transitivelyContainsCss)
  50106. return _this;
  50107. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  50108. return A._EnvironmentModule$_0(_this._async_environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  50109. },
  50110. toString$0(_) {
  50111. var t1 = this.css,
  50112. t2 = t1.get$span(t1);
  50113. if (t2.get$sourceUrl(t2) == null)
  50114. t1 = "<unknown url>";
  50115. else {
  50116. t1 = t1.get$span(t1);
  50117. t1 = t1.get$sourceUrl(t1);
  50118. t2 = $.$get$context();
  50119. t1.toString;
  50120. t1 = t2.prettyUri$1(t1);
  50121. }
  50122. return t1;
  50123. },
  50124. $isModule0: 1,
  50125. get$upstream() {
  50126. return this.upstream;
  50127. },
  50128. get$variables() {
  50129. return this.variables;
  50130. },
  50131. get$variableNodes() {
  50132. return this.variableNodes;
  50133. },
  50134. get$functions(receiver) {
  50135. return this.functions;
  50136. },
  50137. get$mixins() {
  50138. return this.mixins;
  50139. },
  50140. get$extensionStore() {
  50141. return this.extensionStore;
  50142. },
  50143. get$css(receiver) {
  50144. return this.css;
  50145. },
  50146. get$preModuleComments() {
  50147. return this.preModuleComments;
  50148. },
  50149. get$transitivelyContainsCss() {
  50150. return this.transitivelyContainsCss;
  50151. },
  50152. get$transitivelyContainsExtensions() {
  50153. return this.transitivelyContainsExtensions;
  50154. }
  50155. };
  50156. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  50157. call$1(module) {
  50158. return module.get$variables();
  50159. },
  50160. $signature: 358
  50161. };
  50162. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  50163. call$1(module) {
  50164. return module.get$variableNodes();
  50165. },
  50166. $signature: 357
  50167. };
  50168. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  50169. call$1(module) {
  50170. return module.get$functions(module);
  50171. },
  50172. $signature: 176
  50173. };
  50174. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  50175. call$1(module) {
  50176. return module.get$mixins();
  50177. },
  50178. $signature: 176
  50179. };
  50180. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  50181. call$1(module) {
  50182. return module.get$transitivelyContainsCss();
  50183. },
  50184. $signature: 85
  50185. };
  50186. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  50187. call$1(module) {
  50188. return module.get$transitivelyContainsExtensions();
  50189. },
  50190. $signature: 85
  50191. };
  50192. A._EnvironmentModule_couldHaveBeenConfigured_closure0.prototype = {
  50193. call$1(module) {
  50194. return module.couldHaveBeenConfigured$1(this.variables);
  50195. },
  50196. $signature: 85
  50197. };
  50198. A.AsyncImportCache.prototype = {
  50199. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  50200. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  50201. },
  50202. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  50203. var $async$goto = 0,
  50204. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50205. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  50206. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50207. if ($async$errorCode === 1)
  50208. return A._asyncRethrow($async$result, $async$completer);
  50209. for (;;)
  50210. switch ($async$goto) {
  50211. case 0:
  50212. // Function start
  50213. if (A.isBrowser())
  50214. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  50215. else
  50216. t1 = false;
  50217. if (t1)
  50218. throw A.wrapException(string$.Custom);
  50219. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  50220. break;
  50221. case 3:
  50222. // then
  50223. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  50224. if (resolvedUrl == null)
  50225. resolvedUrl = url;
  50226. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  50227. $async$goto = 5;
  50228. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  50229. case 5:
  50230. // returning from await.
  50231. relativeResult = $async$result;
  50232. if (relativeResult != null) {
  50233. $async$returnValue = relativeResult;
  50234. // goto return
  50235. $async$goto = 1;
  50236. break;
  50237. }
  50238. case 4:
  50239. // join
  50240. key = new A._Record_2_forImport(url, forImport);
  50241. t1 = $async$self._async_import_cache$_canonicalizeCache;
  50242. if (t1.containsKey$1(key)) {
  50243. $async$returnValue = t1.$index(0, key);
  50244. // goto return
  50245. $async$goto = 1;
  50246. break;
  50247. }
  50248. t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
  50249. case 6:
  50250. // for condition
  50251. if (!(i < t2.length)) {
  50252. // goto after for
  50253. $async$goto = 8;
  50254. break;
  50255. }
  50256. importer = t2[i];
  50257. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  50258. if (t4.containsKey$1(perImporterKey)) {
  50259. t7 = t4.$index(0, perImporterKey);
  50260. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  50261. } else
  50262. _1_0 = null;
  50263. _1_2_isSet = t3._is(_1_0);
  50264. result = null;
  50265. if (_1_2_isSet) {
  50266. _1_2 = _1_0._0;
  50267. t7 = _1_2 != null;
  50268. if (t7) {
  50269. t6._as(_1_2);
  50270. result = _1_2;
  50271. }
  50272. } else {
  50273. _1_2 = null;
  50274. t7 = false;
  50275. }
  50276. if (t7) {
  50277. $async$returnValue = result;
  50278. // goto return
  50279. $async$goto = 1;
  50280. break;
  50281. }
  50282. if (_1_2_isSet)
  50283. t7 = _1_2 == null;
  50284. else
  50285. t7 = false;
  50286. if (t7) {
  50287. // goto for update
  50288. $async$goto = 7;
  50289. break;
  50290. }
  50291. $async$goto = 10;
  50292. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  50293. case 10:
  50294. // returning from await.
  50295. _2_0 = $async$result;
  50296. _2_1 = _2_0._0;
  50297. _2_5_isSet = _2_1 != null;
  50298. _2_5 = null;
  50299. _2_3 = null;
  50300. t7 = false;
  50301. if (_2_5_isSet) {
  50302. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  50303. _2_3 = _2_0._1;
  50304. t7 = _2_3;
  50305. _2_5 = t7;
  50306. t7 = t7 && cacheable;
  50307. } else
  50308. result = null;
  50309. if (t7) {
  50310. t1.$indexSet(0, key, result);
  50311. $async$returnValue = result;
  50312. // goto return
  50313. $async$goto = 1;
  50314. break;
  50315. }
  50316. if (_2_5_isSet) {
  50317. t7 = _2_5;
  50318. _2_3_isSet = _2_5_isSet;
  50319. } else {
  50320. _2_3 = _2_0._1;
  50321. t7 = _2_3;
  50322. _2_3_isSet = true;
  50323. }
  50324. t7 = t7 && !cacheable;
  50325. if (t7) {
  50326. t4.$indexSet(0, perImporterKey, _2_1);
  50327. if (_2_1 != null) {
  50328. $async$returnValue = _2_1;
  50329. // goto return
  50330. $async$goto = 1;
  50331. break;
  50332. }
  50333. // goto break $label0$1
  50334. $async$goto = 9;
  50335. break;
  50336. }
  50337. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  50338. if (t7) {
  50339. if (cacheable) {
  50340. for (j = 0; j < i; ++j)
  50341. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50342. cacheable = false;
  50343. }
  50344. if (_2_1 != null) {
  50345. $async$returnValue = _2_1;
  50346. // goto return
  50347. $async$goto = 1;
  50348. break;
  50349. }
  50350. }
  50351. case 9:
  50352. // break $label0$1
  50353. case 7:
  50354. // for update
  50355. ++i;
  50356. // goto for condition
  50357. $async$goto = 6;
  50358. break;
  50359. case 8:
  50360. // after for
  50361. if (cacheable)
  50362. t1.$indexSet(0, key, null);
  50363. $async$returnValue = null;
  50364. // goto return
  50365. $async$goto = 1;
  50366. break;
  50367. case 1:
  50368. // return
  50369. return A._asyncReturn($async$returnValue, $async$completer);
  50370. }
  50371. });
  50372. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50373. },
  50374. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50375. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50376. },
  50377. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50378. var $async$goto = 0,
  50379. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50380. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50381. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50382. if ($async$errorCode === 1)
  50383. return A._asyncRethrow($async$result, $async$completer);
  50384. for (;;)
  50385. switch ($async$goto) {
  50386. case 0:
  50387. // Function start
  50388. $async$goto = baseUrl != null ? 3 : 5;
  50389. break;
  50390. case 3:
  50391. // then
  50392. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50393. break;
  50394. case 6:
  50395. // then
  50396. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50397. $async$goto = 9;
  50398. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50399. case 9:
  50400. // returning from await.
  50401. t1 = $async$result;
  50402. passContainingUrl = t1;
  50403. // goto join
  50404. $async$goto = 7;
  50405. break;
  50406. case 8:
  50407. // else
  50408. passContainingUrl = true;
  50409. case 7:
  50410. // join
  50411. // goto join
  50412. $async$goto = 4;
  50413. break;
  50414. case 5:
  50415. // else
  50416. passContainingUrl = false;
  50417. case 4:
  50418. // join
  50419. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50420. t1 = type$.nullable_Object;
  50421. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50422. $async$goto = 10;
  50423. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50424. case 10:
  50425. // returning from await.
  50426. result = $async$result;
  50427. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50428. if (result == null) {
  50429. $async$returnValue = new A._Record_2(null, cacheable);
  50430. // goto return
  50431. $async$goto = 1;
  50432. break;
  50433. }
  50434. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50435. break;
  50436. case 11:
  50437. // then
  50438. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50439. $async$goto = 14;
  50440. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50441. case 14:
  50442. // returning from await.
  50443. t1 = $async$result;
  50444. // goto join
  50445. $async$goto = 12;
  50446. break;
  50447. case 13:
  50448. // else
  50449. t1 = false;
  50450. case 12:
  50451. // join
  50452. if (t1)
  50453. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50454. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50455. // goto return
  50456. $async$goto = 1;
  50457. break;
  50458. case 1:
  50459. // return
  50460. return A._asyncReturn($async$returnValue, $async$completer);
  50461. }
  50462. });
  50463. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50464. },
  50465. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50466. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50467. },
  50468. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50469. var $async$goto = 0,
  50470. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50471. $async$returnValue, $async$self = this;
  50472. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50473. if ($async$errorCode === 1)
  50474. return A._asyncRethrow($async$result, $async$completer);
  50475. for (;;)
  50476. switch ($async$goto) {
  50477. case 0:
  50478. // Function start
  50479. $async$goto = 3;
  50480. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure($async$self, importer, canonicalUrl, originalUrl), type$.Uri, type$.nullable_Stylesheet), $async$importCanonical$3$originalUrl);
  50481. case 3:
  50482. // returning from await.
  50483. $async$returnValue = $async$result;
  50484. // goto return
  50485. $async$goto = 1;
  50486. break;
  50487. case 1:
  50488. // return
  50489. return A._asyncReturn($async$returnValue, $async$completer);
  50490. }
  50491. });
  50492. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50493. },
  50494. humanize$1(canonicalUrl) {
  50495. var t1 = this._async_import_cache$_canonicalizeCache,
  50496. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50497. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.AsyncImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1()), new A.AsyncImportCache_humanize_closure2(canonicalUrl));
  50498. return t2 == null ? canonicalUrl : t2;
  50499. },
  50500. sourceMapUrl$1(_, canonicalUrl) {
  50501. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50502. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50503. return t1 == null ? canonicalUrl : t1;
  50504. }
  50505. };
  50506. A.AsyncImportCache_canonicalize_closure.prototype = {
  50507. call$0() {
  50508. var $async$goto = 0,
  50509. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50510. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50511. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50512. if ($async$errorCode === 1)
  50513. return A._asyncRethrow($async$result, $async$completer);
  50514. for (;;)
  50515. switch ($async$goto) {
  50516. case 0:
  50517. // Function start
  50518. t1 = $async$self.$this;
  50519. t2 = $async$self.baseUrl;
  50520. $async$goto = 3;
  50521. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50522. case 3:
  50523. // returning from await.
  50524. _0_0 = $async$result;
  50525. result = _0_0._0;
  50526. _0_0._1;
  50527. if (t2 != null)
  50528. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50529. $async$returnValue = result;
  50530. // goto return
  50531. $async$goto = 1;
  50532. break;
  50533. case 1:
  50534. // return
  50535. return A._asyncReturn($async$returnValue, $async$completer);
  50536. }
  50537. });
  50538. return A._asyncStartSync($async$call$0, $async$completer);
  50539. },
  50540. $signature: 338
  50541. };
  50542. A.AsyncImportCache__canonicalize_closure.prototype = {
  50543. call$0() {
  50544. return this.importer.canonicalize$1(0, this.url);
  50545. },
  50546. $signature: 181
  50547. };
  50548. A.AsyncImportCache_importCanonical_closure.prototype = {
  50549. call$0() {
  50550. var $async$goto = 0,
  50551. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50552. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50553. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50554. if ($async$errorCode === 1)
  50555. return A._asyncRethrow($async$result, $async$completer);
  50556. for (;;)
  50557. switch ($async$goto) {
  50558. case 0:
  50559. // Function start
  50560. t1 = Date.now();
  50561. t2 = $async$self.canonicalUrl;
  50562. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50563. $async$goto = 3;
  50564. return A._asyncAwait(t3, $async$call$0);
  50565. case 3:
  50566. // returning from await.
  50567. result = $async$result;
  50568. if (result == null) {
  50569. $async$returnValue = null;
  50570. // goto return
  50571. $async$goto = 1;
  50572. break;
  50573. }
  50574. t3 = $async$self.$this;
  50575. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50576. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50577. t3 = result.contents;
  50578. t1 = result.syntax;
  50579. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50580. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50581. // goto return
  50582. $async$goto = 1;
  50583. break;
  50584. case 1:
  50585. // return
  50586. return A._asyncReturn($async$returnValue, $async$completer);
  50587. }
  50588. });
  50589. return A._asyncStartSync($async$call$0, $async$completer);
  50590. },
  50591. $signature: 333
  50592. };
  50593. A.AsyncImportCache_humanize_closure.prototype = {
  50594. call$1(result) {
  50595. return result._1.$eq(0, this.canonicalUrl);
  50596. },
  50597. $signature: 330
  50598. };
  50599. A.AsyncImportCache_humanize_closure0.prototype = {
  50600. call$1(result) {
  50601. return result._2;
  50602. },
  50603. $signature: 323
  50604. };
  50605. A.AsyncImportCache_humanize_closure1.prototype = {
  50606. call$1(url) {
  50607. return url.get$path(url).length;
  50608. },
  50609. $signature: 88
  50610. };
  50611. A.AsyncImportCache_humanize_closure2.prototype = {
  50612. call$1(url) {
  50613. var t1 = $.$get$url(),
  50614. t2 = this.canonicalUrl;
  50615. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50616. },
  50617. $signature: 47
  50618. };
  50619. A.AsyncBuiltInCallable.prototype = {
  50620. callbackFor$2(positional, names) {
  50621. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50622. },
  50623. withDeprecationWarning$1(module) {
  50624. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50625. },
  50626. $isAsyncCallable: 1,
  50627. get$name(receiver) {
  50628. return this.name;
  50629. },
  50630. get$acceptsContent() {
  50631. return this.acceptsContent;
  50632. }
  50633. };
  50634. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50635. call$1($arguments) {
  50636. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50637. },
  50638. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50639. var $async$goto = 0,
  50640. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50641. $async$returnValue, $async$self = this, t1;
  50642. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50643. if ($async$errorCode === 1)
  50644. return A._asyncRethrow($async$result, $async$completer);
  50645. for (;;)
  50646. switch ($async$goto) {
  50647. case 0:
  50648. // Function start
  50649. t1 = $async$self.callback.call$1($arguments);
  50650. $async$goto = 3;
  50651. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50652. case 3:
  50653. // returning from await.
  50654. $async$returnValue = B.C__SassNull;
  50655. // goto return
  50656. $async$goto = 1;
  50657. break;
  50658. case 1:
  50659. // return
  50660. return A._asyncReturn($async$returnValue, $async$completer);
  50661. }
  50662. });
  50663. return A._asyncStartSync($async$call$1, $async$completer);
  50664. },
  50665. $signature: 184
  50666. };
  50667. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50668. call$1(args) {
  50669. var t1 = this.$this;
  50670. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_WW3);
  50671. return t1._async_built_in$_callback.call$1(args);
  50672. },
  50673. $signature: 317
  50674. };
  50675. A.BuiltInCallable.prototype = {
  50676. callbackFor$2(positional, names) {
  50677. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50678. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50679. overload = t1[_i];
  50680. t3 = overload._0;
  50681. if (t3.matches$2(positional, names))
  50682. return overload;
  50683. mismatchDistance = t3.parameters.length - positional;
  50684. if (minMismatchDistance != null) {
  50685. t3 = Math.abs(mismatchDistance);
  50686. t4 = Math.abs(minMismatchDistance);
  50687. if (t3 > t4)
  50688. continue;
  50689. if (t3 === t4 && mismatchDistance < 0)
  50690. continue;
  50691. }
  50692. minMismatchDistance = mismatchDistance;
  50693. fuzzyMatch = overload;
  50694. }
  50695. if (fuzzyMatch != null)
  50696. return fuzzyMatch;
  50697. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50698. },
  50699. withName$1($name) {
  50700. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50701. },
  50702. withDeprecationWarning$2(module, newName) {
  50703. var t2, t3, _i, t4, t5, _this = this,
  50704. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50705. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50706. t4 = {};
  50707. t5 = t2[_i];
  50708. t4.$function = null;
  50709. t4.$function = t5._1;
  50710. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50711. }
  50712. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50713. },
  50714. withDeprecationWarning$1(module) {
  50715. return this.withDeprecationWarning$2(module, null);
  50716. },
  50717. $isCallable0: 1,
  50718. $isAsyncCallable: 1,
  50719. $isAsyncBuiltInCallable: 1,
  50720. get$name(receiver) {
  50721. return this.name;
  50722. },
  50723. get$acceptsContent() {
  50724. return this.acceptsContent;
  50725. }
  50726. };
  50727. A.BuiltInCallable$mixin_closure.prototype = {
  50728. call$1($arguments) {
  50729. this.callback.call$1($arguments);
  50730. return B.C__SassNull;
  50731. },
  50732. $signature: 4
  50733. };
  50734. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50735. call$1(args) {
  50736. var _this = this,
  50737. t1 = _this.newName;
  50738. if (t1 == null)
  50739. t1 = _this.$this.name;
  50740. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_WW3);
  50741. return _this._box_0.$function.call$1(args);
  50742. },
  50743. $signature: 4
  50744. };
  50745. A.PlainCssCallable.prototype = {
  50746. $eq(_, other) {
  50747. if (other == null)
  50748. return false;
  50749. return other instanceof A.PlainCssCallable && this.name === other.name;
  50750. },
  50751. get$hashCode(_) {
  50752. return B.JSString_methods.get$hashCode(this.name);
  50753. },
  50754. $isCallable0: 1,
  50755. $isAsyncCallable: 1,
  50756. get$name(receiver) {
  50757. return this.name;
  50758. }
  50759. };
  50760. A.UserDefinedCallable.prototype = {
  50761. get$name(_) {
  50762. return this.declaration.name;
  50763. },
  50764. $isCallable0: 1,
  50765. $isAsyncCallable: 1
  50766. };
  50767. A._compileStylesheet_closure.prototype = {
  50768. call$1(url) {
  50769. var t1;
  50770. if (url === "") {
  50771. t1 = this.stylesheet.span;
  50772. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  50773. } else
  50774. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50775. return t1;
  50776. },
  50777. $signature: 6
  50778. };
  50779. A.CompileResult.prototype = {};
  50780. A.Configuration.prototype = {
  50781. throughForward$1($forward) {
  50782. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50783. newValues = this._configuration$_values;
  50784. if (newValues.get$isEmpty(newValues))
  50785. return this;
  50786. _0_0 = $forward.prefix;
  50787. if (_0_0 != null)
  50788. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50789. _1_0 = $forward.shownVariables;
  50790. if (_1_0 != null)
  50791. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50792. else {
  50793. _2_0 = $forward.hiddenVariables;
  50794. if (_2_0 != null) {
  50795. t1 = _2_0._base.get$isNotEmpty(0);
  50796. hiddenVariables = _2_0;
  50797. } else {
  50798. hiddenVariables = null;
  50799. t1 = false;
  50800. }
  50801. if (t1)
  50802. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50803. }
  50804. return this._withValues$1(newValues);
  50805. },
  50806. _withValues$1(values) {
  50807. var t1 = this.__originalConfiguration;
  50808. return new A.Configuration(values, t1 == null ? this : t1);
  50809. },
  50810. toString$0(_) {
  50811. var t2, t3,
  50812. t1 = A._setArrayType([], type$.JSArray_String);
  50813. for (t2 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(this._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  50814. t3 = t2.get$current(t2);
  50815. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50816. }
  50817. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50818. }
  50819. };
  50820. A.ExplicitConfiguration.prototype = {
  50821. _withValues$1(values) {
  50822. var t1 = this.__originalConfiguration;
  50823. if (t1 == null)
  50824. t1 = this;
  50825. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50826. }
  50827. };
  50828. A.ConfiguredValue.prototype = {
  50829. toString$0(_) {
  50830. return this.value.toString$0(0);
  50831. }
  50832. };
  50833. A.Deprecation.prototype = {
  50834. _enumToString$0() {
  50835. return "Deprecation." + this._name;
  50836. },
  50837. toString$0(_) {
  50838. return this.id;
  50839. }
  50840. };
  50841. A.Deprecation_fromId_closure.prototype = {
  50842. call$1(deprecation) {
  50843. return deprecation.id === this.id;
  50844. },
  50845. $signature: 297
  50846. };
  50847. A.Environment.prototype = {
  50848. closure$0() {
  50849. var t4, t5, t6, _this = this,
  50850. t1 = _this._forwardedModules,
  50851. t2 = _this._nestedForwardedModules,
  50852. t3 = _this._variables;
  50853. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50854. t4 = _this._variableNodes;
  50855. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50856. t5 = _this._functions;
  50857. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50858. t6 = _this._mixins;
  50859. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50860. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content, B.Set_empty1);
  50861. },
  50862. forwardModule$2(module, rule) {
  50863. var view, t1, t2, _this = this,
  50864. forwardedModules = _this._forwardedModules;
  50865. if (forwardedModules == null)
  50866. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50867. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50868. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  50869. t2 = t1.__js_helper$_current;
  50870. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50871. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50872. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50873. }
  50874. _this._allModules.push(module);
  50875. forwardedModules.$indexSet(0, view, rule);
  50876. },
  50877. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50878. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50879. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50880. larger = oldMembers;
  50881. smaller = newMembers;
  50882. } else {
  50883. larger = newMembers;
  50884. smaller = oldMembers;
  50885. }
  50886. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50887. t4 = t2.get$current(t2);
  50888. $name = t4._0;
  50889. small = t4._1;
  50890. large = larger.$index(0, $name);
  50891. if (large == null)
  50892. continue;
  50893. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50894. continue;
  50895. if (t3)
  50896. $name = "$" + $name;
  50897. t2 = this._forwardedModules;
  50898. if (t2 == null)
  50899. span = null;
  50900. else {
  50901. t2 = t2.$index(0, oldModule);
  50902. span = t2 == null ? null : t2.get$span(t2);
  50903. }
  50904. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50905. if (span != null)
  50906. t2.$indexSet(0, span, "original @forward");
  50907. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50908. }
  50909. },
  50910. importForwards$1(module) {
  50911. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50912. forwarded = module._environment$_environment._forwardedModules;
  50913. if (forwarded == null)
  50914. return;
  50915. forwardedModules = _this._forwardedModules;
  50916. if (forwardedModules != null) {
  50917. t1 = type$.Module_Callable;
  50918. t2 = type$.AstNode;
  50919. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50920. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50921. t4 = t1.get$current(t1);
  50922. module = t4._0;
  50923. node = t4._1;
  50924. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50925. t3.$indexSet(0, module, node);
  50926. }
  50927. forwarded = t3;
  50928. } else
  50929. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50930. t1 = type$.String;
  50931. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50932. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  50933. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  50934. t2.add$1(0, t4.get$current(t4));
  50935. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50936. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  50937. t5 = t4.__js_helper$_current;
  50938. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  50939. t3.add$1(0, t5.get$current(t5));
  50940. }
  50941. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50942. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  50943. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  50944. t1.add$1(0, t5.get$current(t5));
  50945. t4 = _this._variables;
  50946. t5 = t4.length;
  50947. if (t5 === 1) {
  50948. for (t5 = _this._importedModules, t6 = type$.Module_Callable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  50949. t11 = t8[_i];
  50950. module = t11._0;
  50951. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50952. if (shadowed != null) {
  50953. t5.remove$1(0, module);
  50954. t12 = shadowed.variables;
  50955. t13 = false;
  50956. if (t12.get$isEmpty(t12)) {
  50957. t12 = shadowed.functions;
  50958. if (t12.get$isEmpty(t12)) {
  50959. t12 = shadowed.mixins;
  50960. if (t12.get$isEmpty(t12)) {
  50961. t12 = shadowed._shadowed_view$_inner;
  50962. t12 = t12.get$css(t12);
  50963. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50964. } else
  50965. t12 = t13;
  50966. } else
  50967. t12 = t13;
  50968. } else
  50969. t12 = t13;
  50970. if (!t12)
  50971. t5.$indexSet(0, shadowed, t11._1);
  50972. }
  50973. }
  50974. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  50975. t8 = t6[_i];
  50976. module = t8._0;
  50977. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50978. if (shadowed != null) {
  50979. forwardedModules.remove$1(0, module);
  50980. t9 = shadowed.variables;
  50981. t11 = false;
  50982. if (t9.get$isEmpty(t9)) {
  50983. t9 = shadowed.functions;
  50984. if (t9.get$isEmpty(t9)) {
  50985. t9 = shadowed.mixins;
  50986. if (t9.get$isEmpty(t9)) {
  50987. t9 = shadowed._shadowed_view$_inner;
  50988. t9 = t9.get$css(t9);
  50989. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50990. } else
  50991. t9 = t11;
  50992. } else
  50993. t9 = t11;
  50994. } else
  50995. t9 = t11;
  50996. if (!t9)
  50997. forwardedModules.$indexSet(0, shadowed, t8._1);
  50998. }
  50999. }
  51000. t5.addAll$1(0, forwarded);
  51001. forwardedModules.addAll$1(0, forwarded);
  51002. } else {
  51003. t6 = _this._nestedForwardedModules;
  51004. if (t6 == null) {
  51005. _length = t5 - 1;
  51006. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  51007. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  51008. _list[_i] = A._setArrayType([], t5);
  51009. _this._nestedForwardedModules = _list;
  51010. t5 = _list;
  51011. } else
  51012. t5 = t6;
  51013. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  51014. }
  51015. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  51016. t8 = t2._collection$_current;
  51017. if (t8 == null)
  51018. t8 = t7._as(t8);
  51019. t5.remove$1(0, t8);
  51020. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  51021. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  51022. }
  51023. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  51024. t6 = t2._collection$_current;
  51025. if (t6 == null)
  51026. t6 = t5._as(t6);
  51027. t3.remove$1(0, t6);
  51028. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  51029. }
  51030. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  51031. t5 = t1._collection$_current;
  51032. if (t5 == null)
  51033. t5 = t4._as(t5);
  51034. t2.remove$1(0, t5);
  51035. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  51036. }
  51037. },
  51038. getVariable$2$namespace($name, namespace) {
  51039. var t1, _0_0, _1_0, _this = this;
  51040. if (namespace != null)
  51041. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  51042. if (_this._lastVariableName === $name) {
  51043. t1 = _this._lastVariableIndex;
  51044. t1.toString;
  51045. t1 = _this._variables[t1].$index(0, $name);
  51046. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  51047. }
  51048. t1 = _this._variableIndices;
  51049. _0_0 = t1.$index(0, $name);
  51050. if (_0_0 != null) {
  51051. _this._lastVariableName = $name;
  51052. _this._lastVariableIndex = _0_0;
  51053. t1 = _this._variables[_0_0].$index(0, $name);
  51054. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  51055. } else {
  51056. _1_0 = _this._variableIndex$1($name);
  51057. if (_1_0 != null) {
  51058. _this._lastVariableName = $name;
  51059. _this._lastVariableIndex = _1_0;
  51060. t1.$indexSet(0, $name, _1_0);
  51061. t1 = _this._variables[_1_0].$index(0, $name);
  51062. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  51063. } else
  51064. return _this._getVariableFromGlobalModule$1($name);
  51065. }
  51066. },
  51067. getVariable$1($name) {
  51068. return this.getVariable$2$namespace($name, null);
  51069. },
  51070. _getVariableFromGlobalModule$1($name) {
  51071. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  51072. },
  51073. getVariableNode$2$namespace($name, namespace) {
  51074. var t1, _0_0, _1_0, _this = this;
  51075. if (namespace != null)
  51076. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  51077. if (_this._lastVariableName === $name) {
  51078. t1 = _this._lastVariableIndex;
  51079. t1.toString;
  51080. t1 = _this._variableNodes[t1].$index(0, $name);
  51081. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  51082. }
  51083. t1 = _this._variableIndices;
  51084. _0_0 = t1.$index(0, $name);
  51085. if (_0_0 != null) {
  51086. _this._lastVariableName = $name;
  51087. _this._lastVariableIndex = _0_0;
  51088. t1 = _this._variableNodes[_0_0].$index(0, $name);
  51089. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  51090. } else {
  51091. _1_0 = _this._variableIndex$1($name);
  51092. if (_1_0 != null) {
  51093. _this._lastVariableName = $name;
  51094. _this._lastVariableIndex = _1_0;
  51095. t1.$indexSet(0, $name, _1_0);
  51096. t1 = _this._variableNodes[_1_0].$index(0, $name);
  51097. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  51098. } else
  51099. return _this._getVariableNodeFromGlobalModule$1($name);
  51100. }
  51101. },
  51102. _getVariableNodeFromGlobalModule$1($name) {
  51103. var t1, t2, _0_0;
  51104. for (t1 = this._importedModules, t2 = this._globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  51105. t1 = t2._currentIterator;
  51106. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  51107. if (_0_0 != null)
  51108. return _0_0;
  51109. }
  51110. return null;
  51111. },
  51112. globalVariableExists$2$namespace($name, namespace) {
  51113. if (namespace != null)
  51114. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  51115. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  51116. return true;
  51117. return this._getVariableFromGlobalModule$1($name) != null;
  51118. },
  51119. globalVariableExists$1($name) {
  51120. return this.globalVariableExists$2$namespace($name, null);
  51121. },
  51122. _variableIndex$1($name) {
  51123. var t1, i;
  51124. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  51125. if (t1[i].containsKey$1($name))
  51126. return i;
  51127. return null;
  51128. },
  51129. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  51130. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  51131. if (namespace != null) {
  51132. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  51133. return;
  51134. }
  51135. if (global || _this._variables.length === 1) {
  51136. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  51137. t1 = _this._variables;
  51138. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  51139. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  51140. if (moduleWithName != null) {
  51141. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  51142. return;
  51143. }
  51144. }
  51145. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  51146. B.JSArray_methods.get$first(_this._variableNodes).$indexSet(0, $name, nodeWithSpan);
  51147. return;
  51148. }
  51149. nestedForwardedModules = _this._nestedForwardedModules;
  51150. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  51151. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  51152. t3 = t2.__internal$_current;
  51153. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  51154. t5 = t3.__internal$_current;
  51155. if (t5 == null)
  51156. t5 = t4._as(t5);
  51157. if (t5.get$variables().containsKey$1($name)) {
  51158. t5.setVariable$3($name, value, nodeWithSpan);
  51159. return;
  51160. }
  51161. }
  51162. }
  51163. if (_this._lastVariableName === $name) {
  51164. t1 = _this._lastVariableIndex;
  51165. t1.toString;
  51166. index = t1;
  51167. } else
  51168. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  51169. if (!_this._inSemiGlobalScope && index === 0) {
  51170. index = _this._variables.length - 1;
  51171. _this._variableIndices.$indexSet(0, $name, index);
  51172. }
  51173. _this._lastVariableName = $name;
  51174. _this._lastVariableIndex = index;
  51175. _this._variables[index].$indexSet(0, $name, value);
  51176. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  51177. },
  51178. setVariable$4$global($name, value, nodeWithSpan, global) {
  51179. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  51180. },
  51181. setLocalVariable$3($name, value, nodeWithSpan) {
  51182. var index, _this = this,
  51183. t1 = _this._variables,
  51184. t2 = t1.length;
  51185. _this._lastVariableName = $name;
  51186. index = _this._lastVariableIndex = t2 - 1;
  51187. _this._variableIndices.$indexSet(0, $name, index);
  51188. t1[index].$indexSet(0, $name, value);
  51189. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  51190. },
  51191. getFunction$2$namespace($name, namespace) {
  51192. var t1, _0_0, _1_0, _this = this;
  51193. if (namespace != null) {
  51194. t1 = _this._getModule$1(namespace);
  51195. return t1.get$functions(t1).$index(0, $name);
  51196. }
  51197. t1 = _this._functionIndices;
  51198. _0_0 = t1.$index(0, $name);
  51199. if (_0_0 != null) {
  51200. t1 = _this._functions[_0_0].$index(0, $name);
  51201. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  51202. } else {
  51203. _1_0 = _this._functionIndex$1($name);
  51204. if (_1_0 != null) {
  51205. t1.$indexSet(0, $name, _1_0);
  51206. t1 = _this._functions[_1_0].$index(0, $name);
  51207. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  51208. } else
  51209. return _this._getFunctionFromGlobalModule$1($name);
  51210. }
  51211. },
  51212. getFunction$1($name) {
  51213. return this.getFunction$2$namespace($name, null);
  51214. },
  51215. _getFunctionFromGlobalModule$1($name) {
  51216. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  51217. },
  51218. _functionIndex$1($name) {
  51219. var t1, i;
  51220. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  51221. if (t1[i].containsKey$1($name))
  51222. return i;
  51223. return null;
  51224. },
  51225. getMixin$2$namespace($name, namespace) {
  51226. var t1, _0_0, _1_0, _this = this;
  51227. if (namespace != null)
  51228. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  51229. t1 = _this._mixinIndices;
  51230. _0_0 = t1.$index(0, $name);
  51231. if (_0_0 != null) {
  51232. t1 = _this._mixins[_0_0].$index(0, $name);
  51233. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  51234. } else {
  51235. _1_0 = _this._mixinIndex$1($name);
  51236. if (_1_0 != null) {
  51237. t1.$indexSet(0, $name, _1_0);
  51238. t1 = _this._mixins[_1_0].$index(0, $name);
  51239. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  51240. } else
  51241. return _this._getMixinFromGlobalModule$1($name);
  51242. }
  51243. },
  51244. _getMixinFromGlobalModule$1($name) {
  51245. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  51246. },
  51247. _mixinIndex$1($name) {
  51248. var t1, i;
  51249. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  51250. if (t1[i].containsKey$1($name))
  51251. return i;
  51252. return null;
  51253. },
  51254. withContent$2($content, callback) {
  51255. var oldContent = this._content;
  51256. this._content = $content;
  51257. callback.call$0();
  51258. this._content = oldContent;
  51259. },
  51260. asMixin$1(callback) {
  51261. var oldInMixin = this._inMixin;
  51262. this._inMixin = true;
  51263. callback.call$0();
  51264. this._inMixin = oldInMixin;
  51265. },
  51266. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  51267. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  51268. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  51269. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  51270. _this._inSemiGlobalScope = semiGlobal;
  51271. if (!when)
  51272. try {
  51273. t1 = callback.call$0();
  51274. return t1;
  51275. } finally {
  51276. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51277. }
  51278. t1 = _this._variables;
  51279. t2 = type$.String;
  51280. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  51281. t3 = _this._variableNodes;
  51282. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  51283. t4 = _this._functions;
  51284. t5 = type$.Callable;
  51285. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51286. t6 = _this._mixins;
  51287. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51288. t5 = _this._nestedForwardedModules;
  51289. if (t5 != null)
  51290. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  51291. try {
  51292. t2 = callback.call$0();
  51293. return t2;
  51294. } finally {
  51295. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51296. _this._lastVariableIndex = _this._lastVariableName = null;
  51297. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._variableIndices; t1.moveNext$0();) {
  51298. $name = t1.get$current(t1);
  51299. t2.remove$1(0, $name);
  51300. }
  51301. B.JSArray_methods.removeLast$0(t3);
  51302. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._functionIndices; t1.moveNext$0();) {
  51303. name0 = t1.get$current(t1);
  51304. t2.remove$1(0, name0);
  51305. }
  51306. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._mixinIndices; t1.moveNext$0();) {
  51307. name1 = t1.get$current(t1);
  51308. t2.remove$1(0, name1);
  51309. }
  51310. t1 = _this._nestedForwardedModules;
  51311. if (t1 != null)
  51312. t1.pop();
  51313. }
  51314. },
  51315. scope$1$1(callback) {
  51316. return this.scope$1$3$semiGlobal$when(callback, false, true);
  51317. },
  51318. scope$1$2$when(callback, when) {
  51319. return this.scope$1$3$semiGlobal$when(callback, false, when);
  51320. },
  51321. scope$1$2$semiGlobal(callback, semiGlobal) {
  51322. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  51323. },
  51324. toImplicitConfiguration$0() {
  51325. var t2, t3, t4, t5, t6, $name, value, i, values, nodes,
  51326. t1 = type$.String,
  51327. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  51328. for (t2 = this._importedModules, t2 = new A.LinkedHashMapKeyIterator(t2, t2._modifications, t2._first), t3 = type$.Value; t2.moveNext$0();) {
  51329. t4 = t2.__js_helper$_current;
  51330. for (t5 = A.MapExtensions_get_pairs(t4.get$variables(), t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51331. t6 = t5.get$current(t5);
  51332. $name = t6._0;
  51333. value = t6._1;
  51334. t6 = t4.get$variableNodes().$index(0, $name);
  51335. t6.toString;
  51336. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51337. }
  51338. }
  51339. for (t2 = this._variables, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  51340. values = t2[i];
  51341. nodes = t4[i];
  51342. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51343. t6 = t5.get$current(t5);
  51344. $name = t6._0;
  51345. value = t6._1;
  51346. t6 = nodes.$index(0, $name);
  51347. t6.toString;
  51348. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51349. }
  51350. }
  51351. return new A.Configuration(configuration, null);
  51352. },
  51353. toModule$3(css, preModuleComments, extensionStore) {
  51354. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51355. },
  51356. toDummyModule$0() {
  51357. return A._EnvironmentModule__EnvironmentModule(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  51358. },
  51359. _getModule$1(namespace) {
  51360. var _0_0 = this._environment$_modules.$index(0, namespace);
  51361. if (_0_0 != null)
  51362. return _0_0;
  51363. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51364. },
  51365. _fromOneModule$1$3($name, type, callback) {
  51366. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51367. _0_0 = this._nestedForwardedModules;
  51368. if (_0_0 != null)
  51369. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  51370. t3 = t2.__internal$_current;
  51371. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  51372. t5 = t3.__internal$_current;
  51373. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51374. if (_1_0 != null)
  51375. return _1_0;
  51376. }
  51377. }
  51378. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  51379. _2_0 = callback.call$1(t1.__js_helper$_current);
  51380. if (_2_0 != null)
  51381. return _2_0;
  51382. }
  51383. for (t1 = this._globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  51384. t4 = t2.__js_helper$_current;
  51385. valueInModule = callback.call$1(t4);
  51386. if (valueInModule == null)
  51387. continue;
  51388. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51389. if (identityFromModule.$eq(0, identity))
  51390. continue;
  51391. if (value != null) {
  51392. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51393. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51394. t1 = t3.get$current(t3);
  51395. module = t1._0;
  51396. node = t1._1;
  51397. if (callback.call$1(module) != null)
  51398. t2.$indexSet(0, node.get$span(node), t4);
  51399. }
  51400. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51401. }
  51402. identity = identityFromModule;
  51403. value = valueInModule;
  51404. }
  51405. return value;
  51406. },
  51407. _fromOneModule$3($name, type, callback) {
  51408. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51409. }
  51410. };
  51411. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51412. call$1(module) {
  51413. return module.get$variables().$index(0, this.name);
  51414. },
  51415. $signature: 283
  51416. };
  51417. A.Environment_setVariable_closure.prototype = {
  51418. call$0() {
  51419. var t1 = this.$this;
  51420. t1._lastVariableName = this.name;
  51421. return t1._lastVariableIndex = 0;
  51422. },
  51423. $signature: 10
  51424. };
  51425. A.Environment_setVariable_closure0.prototype = {
  51426. call$1(module) {
  51427. return module.get$variables().containsKey$1(this.name) ? module : null;
  51428. },
  51429. $signature: 274
  51430. };
  51431. A.Environment_setVariable_closure1.prototype = {
  51432. call$0() {
  51433. var t1 = this.$this,
  51434. t2 = t1._variableIndex$1(this.name);
  51435. return t2 == null ? t1._variables.length - 1 : t2;
  51436. },
  51437. $signature: 10
  51438. };
  51439. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51440. call$1(module) {
  51441. return module.get$functions(module).$index(0, this.name);
  51442. },
  51443. $signature: 270
  51444. };
  51445. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51446. call$1(module) {
  51447. return module.get$mixins().$index(0, this.name);
  51448. },
  51449. $signature: 270
  51450. };
  51451. A.Environment_toModule_closure.prototype = {
  51452. call$1(modules) {
  51453. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51454. },
  51455. $signature: 267
  51456. };
  51457. A.Environment_toDummyModule_closure.prototype = {
  51458. call$1(modules) {
  51459. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51460. },
  51461. $signature: 267
  51462. };
  51463. A._EnvironmentModule.prototype = {
  51464. get$url(_) {
  51465. var t1 = this.css;
  51466. t1 = t1.get$span(t1);
  51467. return t1.get$sourceUrl(t1);
  51468. },
  51469. setVariable$3($name, value, nodeWithSpan) {
  51470. var t1, t2,
  51471. _0_0 = this._modulesByVariable.$index(0, $name);
  51472. if (_0_0 != null) {
  51473. _0_0.setVariable$3($name, value, nodeWithSpan);
  51474. return;
  51475. }
  51476. t1 = this._environment$_environment;
  51477. t2 = t1._variables;
  51478. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51479. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51480. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  51481. B.JSArray_methods.get$first(t1._variableNodes).$indexSet(0, $name, nodeWithSpan);
  51482. return;
  51483. },
  51484. variableIdentity$1($name) {
  51485. var module = this._modulesByVariable.$index(0, $name);
  51486. return module == null ? this : module.variableIdentity$1($name);
  51487. },
  51488. couldHaveBeenConfigured$1(variables) {
  51489. var t2, t3, _0_0, variable, module,
  51490. t1 = this._environment$_environment._configurableVariables;
  51491. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  51492. t1 = this._modulesByVariable;
  51493. t2 = type$.Module_Callable;
  51494. if (variables.get$length(variables) < t1.get$length(t1)) {
  51495. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51496. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  51497. _0_0 = t1.$index(0, t3.get$current(t3));
  51498. if (_0_0 != null)
  51499. t2.add$1(0, _0_0);
  51500. }
  51501. t1 = t2;
  51502. } else {
  51503. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51504. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  51505. t2 = t1.get$current(t1);
  51506. variable = t2._0;
  51507. module = t2._1;
  51508. if (variables.contains$1(0, variable))
  51509. t3.add$1(0, module);
  51510. }
  51511. t1 = t3;
  51512. }
  51513. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure(variables));
  51514. } else
  51515. t1 = true;
  51516. return t1;
  51517. },
  51518. cloneCss$0() {
  51519. var _0_0, _this = this;
  51520. if (!_this.transitivelyContainsCss)
  51521. return _this;
  51522. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51523. return A._EnvironmentModule$_(_this._environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  51524. },
  51525. toString$0(_) {
  51526. var t1 = this.css,
  51527. t2 = t1.get$span(t1);
  51528. if (t2.get$sourceUrl(t2) == null)
  51529. t1 = "<unknown url>";
  51530. else {
  51531. t1 = t1.get$span(t1);
  51532. t1 = t1.get$sourceUrl(t1);
  51533. t2 = $.$get$context();
  51534. t1.toString;
  51535. t1 = t2.prettyUri$1(t1);
  51536. }
  51537. return t1;
  51538. },
  51539. $isModule0: 1,
  51540. get$upstream() {
  51541. return this.upstream;
  51542. },
  51543. get$variables() {
  51544. return this.variables;
  51545. },
  51546. get$variableNodes() {
  51547. return this.variableNodes;
  51548. },
  51549. get$functions(receiver) {
  51550. return this.functions;
  51551. },
  51552. get$mixins() {
  51553. return this.mixins;
  51554. },
  51555. get$extensionStore() {
  51556. return this.extensionStore;
  51557. },
  51558. get$css(receiver) {
  51559. return this.css;
  51560. },
  51561. get$preModuleComments() {
  51562. return this.preModuleComments;
  51563. },
  51564. get$transitivelyContainsCss() {
  51565. return this.transitivelyContainsCss;
  51566. },
  51567. get$transitivelyContainsExtensions() {
  51568. return this.transitivelyContainsExtensions;
  51569. }
  51570. };
  51571. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51572. call$1(module) {
  51573. return module.get$variables();
  51574. },
  51575. $signature: 299
  51576. };
  51577. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51578. call$1(module) {
  51579. return module.get$variableNodes();
  51580. },
  51581. $signature: 300
  51582. };
  51583. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51584. call$1(module) {
  51585. return module.get$functions(module);
  51586. },
  51587. $signature: 263
  51588. };
  51589. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51590. call$1(module) {
  51591. return module.get$mixins();
  51592. },
  51593. $signature: 263
  51594. };
  51595. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51596. call$1(module) {
  51597. return module.get$transitivelyContainsCss();
  51598. },
  51599. $signature: 108
  51600. };
  51601. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51602. call$1(module) {
  51603. return module.get$transitivelyContainsExtensions();
  51604. },
  51605. $signature: 108
  51606. };
  51607. A._EnvironmentModule_couldHaveBeenConfigured_closure.prototype = {
  51608. call$1(module) {
  51609. return module.couldHaveBeenConfigured$1(this.variables);
  51610. },
  51611. $signature: 108
  51612. };
  51613. A.SassException.prototype = {
  51614. get$trace(_) {
  51615. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51616. },
  51617. get$span(_) {
  51618. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51619. },
  51620. withAdditionalSpan$2(span, label) {
  51621. return A.MultiSpanSassException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  51622. },
  51623. withTrace$1(trace) {
  51624. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51625. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51626. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51627. },
  51628. withLoadedUrls$1(loadedUrls) {
  51629. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51630. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51631. return new A.SassException(t2, this._span_exception$_message, t1);
  51632. },
  51633. toString$1$color(_, color) {
  51634. var t2, _i, frame, _this = this,
  51635. buffer = new A.StringBuffer(""),
  51636. t1 = "Error: " + _this._span_exception$_message + "\n";
  51637. buffer._contents = t1;
  51638. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51639. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51640. frame = t1[_i];
  51641. if (frame.length === 0)
  51642. continue;
  51643. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51644. }
  51645. t1 = buffer._contents;
  51646. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51647. },
  51648. toString$0(_) {
  51649. return this.toString$1$color(0, null);
  51650. },
  51651. toCssString$0() {
  51652. var commentMessage, stringMessage, rune,
  51653. t1 = $._glyphs,
  51654. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51655. t3 = this.toString$1$color(0, false);
  51656. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51657. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51658. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51659. stringMessage = new A.StringBuffer("");
  51660. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51661. rune = t1._currentCodePoint;
  51662. if (rune > 127) {
  51663. t2 = A.Primitives_stringFromCharCode(92);
  51664. stringMessage._contents += t2;
  51665. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51666. stringMessage._contents += t2;
  51667. t2 = A.Primitives_stringFromCharCode(32);
  51668. stringMessage._contents += t2;
  51669. } else {
  51670. t2 = A.Primitives_stringFromCharCode(rune);
  51671. stringMessage._contents += t2;
  51672. }
  51673. }
  51674. return "/* " + B.JSArray_methods.join$1(A._setArrayType(commentMessage.split("\n"), type$.JSArray_String), "\n * ") + ' */\n\nbody::before {\n font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",\n "Droid Sans Mono", monospace, monospace;\n white-space: pre;\n display: block;\n padding: 1em;\n margin-bottom: 1em;\n border-bottom: 2px solid black;\n content: ' + stringMessage.toString$0(0) + ";\n}";
  51675. }
  51676. };
  51677. A.MultiSpanSassException.prototype = {
  51678. withAdditionalSpan$2(span, label) {
  51679. var _this = this,
  51680. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51681. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51682. t2.$indexSet(0, span, label);
  51683. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51684. },
  51685. withTrace$1(trace) {
  51686. var _this = this;
  51687. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51688. },
  51689. withLoadedUrls$1(loadedUrls) {
  51690. var _this = this;
  51691. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51692. },
  51693. toString$1$color(_, color) {
  51694. var t1, t2, _i, frame, _this = this,
  51695. useColor = color === true,
  51696. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51697. A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  51698. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51699. frame = t1[_i];
  51700. if (frame.length === 0)
  51701. continue;
  51702. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51703. }
  51704. t1 = buffer._contents;
  51705. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51706. },
  51707. toString$0(_) {
  51708. return this.toString$1$color(0, null);
  51709. },
  51710. get$primaryLabel() {
  51711. return this.primaryLabel;
  51712. },
  51713. get$secondarySpans() {
  51714. return this.secondarySpans;
  51715. }
  51716. };
  51717. A.SassRuntimeException.prototype = {
  51718. withAdditionalSpan$2(span, label) {
  51719. var _this = this;
  51720. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  51721. },
  51722. withLoadedUrls$1(loadedUrls) {
  51723. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51724. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51725. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51726. },
  51727. get$trace(receiver) {
  51728. return this.trace;
  51729. }
  51730. };
  51731. A.MultiSpanSassRuntimeException.prototype = {
  51732. withAdditionalSpan$2(span, label) {
  51733. var _this = this,
  51734. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51735. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51736. t2.$indexSet(0, span, label);
  51737. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51738. },
  51739. withLoadedUrls$1(loadedUrls) {
  51740. var _this = this;
  51741. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51742. },
  51743. $isSassRuntimeException: 1,
  51744. get$trace(receiver) {
  51745. return this.trace;
  51746. }
  51747. };
  51748. A.SassFormatException.prototype = {
  51749. get$source() {
  51750. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51751. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51752. },
  51753. withAdditionalSpan$2(span, label) {
  51754. return A.MultiSpanSassFormatException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  51755. },
  51756. withLoadedUrls$1(loadedUrls) {
  51757. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51758. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51759. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51760. },
  51761. $isFormatException: 1,
  51762. $isSourceSpanFormatException: 1
  51763. };
  51764. A.MultiSpanSassFormatException.prototype = {
  51765. get$source() {
  51766. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51767. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51768. },
  51769. withAdditionalSpan$2(span, label) {
  51770. var _this = this,
  51771. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51772. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51773. t2.$indexSet(0, span, label);
  51774. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51775. },
  51776. withLoadedUrls$1(loadedUrls) {
  51777. var _this = this;
  51778. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51779. },
  51780. $isFormatException: 1,
  51781. $isSassFormatException: 1,
  51782. $isSourceSpanFormatException: 1,
  51783. $isMultiSourceSpanFormatException: 1
  51784. };
  51785. A.SassScriptException.prototype = {
  51786. withSpan$1(span) {
  51787. return new A.SassException(B.Set_empty, this.message, span);
  51788. },
  51789. toString$0(_) {
  51790. return this.message + string$.x0a_BUG_;
  51791. },
  51792. get$message(receiver) {
  51793. return this.message;
  51794. }
  51795. };
  51796. A.MultiSpanSassScriptException.prototype = {
  51797. withSpan$1(span) {
  51798. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51799. }
  51800. };
  51801. A._writeSourceMap_closure.prototype = {
  51802. call$1(url) {
  51803. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51804. },
  51805. $signature: 6
  51806. };
  51807. A.ExecutableOptions.prototype = {
  51808. get$interactive() {
  51809. var result, _this = this,
  51810. value = _this.__ExecutableOptions_interactive_FI;
  51811. if (value === $) {
  51812. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51813. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51814. _this.__ExecutableOptions_interactive_FI = result;
  51815. value = result;
  51816. }
  51817. return value;
  51818. },
  51819. get$color() {
  51820. var t1 = this._options;
  51821. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51822. },
  51823. get$pkgImporters() {
  51824. var t2, t3, t4, _null = null,
  51825. t1 = A._setArrayType([], type$.JSArray_Importer);
  51826. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51827. t2.get$current(t2);
  51828. t3 = new A.NodePackageImporter();
  51829. t4 = self.process;
  51830. if (t4 == null)
  51831. t4 = _null;
  51832. else {
  51833. t4 = J.get$release$x(t4);
  51834. t4 = t4 == null ? _null : J.get$name$x(t4);
  51835. }
  51836. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51837. A.throwExpression(string$.The_No);
  51838. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51839. t1.push(t3);
  51840. }
  51841. return t1;
  51842. },
  51843. get$emitErrorCss() {
  51844. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51845. if (t1 == null) {
  51846. this._ensureSources$0();
  51847. t1 = this._sourcesToDestinations;
  51848. t1 = t1.get$values(t1);
  51849. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51850. }
  51851. return t1;
  51852. },
  51853. _ensureSources$0() {
  51854. var t1, stdin, t2, t3, $directories, t4, t5, t6, colonArgs, positionalArgs, t7, t8, t9, message, target, source, destination, seen, _0_0, _this = this, _null = null,
  51855. _s18_ = 'Duplicate source "';
  51856. if (_this._sourcesToDestinations != null)
  51857. return;
  51858. t1 = _this._options;
  51859. stdin = A._asBool(t1.$index(0, "stdin"));
  51860. t2 = t1.rest;
  51861. if (t2.get$length(0) === 0 && !stdin)
  51862. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51863. t3 = type$.String;
  51864. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51865. for (t4 = t2.$ti, t5 = t4._eval$1("ListIterator<ListBase.E>"), t6 = new A.ListIterator(t2, t2.get$length(0), t5), t4 = t4._eval$1("ListBase.E"), colonArgs = false, positionalArgs = false; t6.moveNext$0();) {
  51866. t7 = t6.__internal$_current;
  51867. if (t7 == null)
  51868. t7 = t4._as(t7);
  51869. t8 = t7.length;
  51870. if (t8 === 0)
  51871. A.ExecutableOptions__fail('Invalid argument "".');
  51872. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51873. if (t8 > 2) {
  51874. t9 = t7.charCodeAt(0);
  51875. if (!(t9 >= 97 && t9 <= 122))
  51876. t9 = t9 >= 65 && t9 <= 90;
  51877. else
  51878. t9 = true;
  51879. t9 = t9 && t7.charCodeAt(1) === 58;
  51880. } else
  51881. t9 = false;
  51882. if (t9) {
  51883. if (2 > t8)
  51884. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51885. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51886. } else
  51887. t8 = true;
  51888. } else
  51889. t8 = false;
  51890. if (t8)
  51891. colonArgs = true;
  51892. else if (A.dirExists(t7))
  51893. $directories.add$1(0, t7);
  51894. else
  51895. positionalArgs = true;
  51896. }
  51897. if (positionalArgs || t2.get$length(0) === 0) {
  51898. if (colonArgs)
  51899. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51900. else if (stdin) {
  51901. if (J.get$length$asx(t2._collection$_source) > 1)
  51902. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51903. else if (A._asBool(t1.$index(0, "update")))
  51904. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51905. else if (A._asBool(t1.$index(0, "watch")))
  51906. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51907. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51908. t2 = type$.dynamic;
  51909. t3 = type$.nullable_String;
  51910. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51911. } else {
  51912. t3 = t2._collection$_source;
  51913. t4 = J.getInterceptor$asx(t3);
  51914. if (t4.get$length(t3) > 2)
  51915. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51916. else if ($directories._collection$_length !== 0) {
  51917. message = 'Directory "' + $directories.get$first(0) + '" may not be a positional arg.';
  51918. target = t2.get$last(t2);
  51919. A.ExecutableOptions__fail($directories.get$first(0) === t2.get$first(t2) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + $directories.get$first(0) + '" to "' + target + '", use `sass ' + $directories.get$first(0) + ":" + target + "`.") : message);
  51920. } else {
  51921. source = t2.get$first(t2) === "-" ? _null : t2.get$first(t2);
  51922. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51923. if (destination == null)
  51924. if (A._asBool(t1.$index(0, "update")))
  51925. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51926. else if (A._asBool(t1.$index(0, "watch")))
  51927. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51928. t1 = A.PathMap__create(_null, type$.nullable_String);
  51929. t1.$indexSet(0, source, destination);
  51930. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51931. }
  51932. }
  51933. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51934. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty9;
  51935. return;
  51936. }
  51937. if (stdin)
  51938. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51939. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51940. t1 = A.PathMap__create(_null, t3);
  51941. t6 = type$.PathMap_String;
  51942. t3 = A.PathMap__create(_null, t3);
  51943. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51944. t5 = t2.__internal$_current;
  51945. if (t5 == null)
  51946. t5 = t4._as(t5);
  51947. if ($directories.contains$1(0, t5)) {
  51948. if (!seen.add$1(0, t5))
  51949. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51950. t3.$indexSet(0, t5, t5);
  51951. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51952. continue;
  51953. }
  51954. _0_0 = _this._splitSourceAndDestination$1(t5);
  51955. source = _0_0._0;
  51956. destination = _0_0._1;
  51957. if (!seen.add$1(0, source))
  51958. A.ExecutableOptions__fail(_s18_ + source + '".');
  51959. if (source === "-")
  51960. t1.$indexSet(0, _null, destination);
  51961. else if (A.dirExists(source)) {
  51962. t3.$indexSet(0, source, destination);
  51963. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51964. } else
  51965. t1.$indexSet(0, source, destination);
  51966. }
  51967. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51968. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51969. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51970. },
  51971. _splitSourceAndDestination$1(argument) {
  51972. var t1, i, t2, t3, nextColon;
  51973. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51974. t2 = false;
  51975. if (i === 1) {
  51976. t3 = i - 1;
  51977. if (t1 > t3 + 2) {
  51978. t2 = argument.charCodeAt(t3);
  51979. if (!(t2 >= 97 && t2 <= 122))
  51980. t2 = t2 >= 65 && t2 <= 90;
  51981. else
  51982. t2 = true;
  51983. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51984. }
  51985. }
  51986. if (t2)
  51987. continue;
  51988. if (argument.charCodeAt(i) === 58) {
  51989. t2 = i + 1;
  51990. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51991. t3 = false;
  51992. if (nextColon === i + 2)
  51993. if (t1 > t2 + 2) {
  51994. t1 = argument.charCodeAt(t2);
  51995. if (!(t1 >= 97 && t1 <= 122))
  51996. t1 = t1 >= 65 && t1 <= 90;
  51997. else
  51998. t1 = true;
  51999. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  52000. } else
  52001. t1 = t3;
  52002. else
  52003. t1 = t3;
  52004. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  52005. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  52006. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  52007. }
  52008. }
  52009. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  52010. },
  52011. _listSourceDirectory$2(source, destination) {
  52012. var t2, t3, t4, t5,
  52013. t1 = type$.String;
  52014. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52015. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  52016. t4 = t2.get$current(t2);
  52017. if (this._isEntrypoint$1(t4))
  52018. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  52019. else
  52020. t5 = false;
  52021. if (t5) {
  52022. t5 = $.$get$context();
  52023. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  52024. }
  52025. }
  52026. return t1;
  52027. },
  52028. _isEntrypoint$1(path) {
  52029. var extension,
  52030. t1 = $.$get$context().style;
  52031. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  52032. return false;
  52033. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  52034. return extension === ".scss" || extension === ".sass" || extension === ".css";
  52035. },
  52036. get$_writeToStdout() {
  52037. var t1, _this = this;
  52038. _this._ensureSources$0();
  52039. t1 = _this._sourcesToDestinations;
  52040. if (t1.get$length(t1) === 1) {
  52041. _this._ensureSources$0();
  52042. t1 = _this._sourcesToDestinations;
  52043. t1 = t1.get$values(t1);
  52044. t1 = t1.get$single(t1) == null;
  52045. } else
  52046. t1 = false;
  52047. return t1;
  52048. },
  52049. get$emitSourceMap() {
  52050. var _this = this,
  52051. _s10_ = "source-map",
  52052. _s15_ = "source-map-urls",
  52053. _s13_ = "embed-sources",
  52054. _s16_ = "embed-source-map",
  52055. t1 = _this._options;
  52056. if (!A._asBool(t1.$index(0, _s10_)))
  52057. if (t1.wasParsed$1(_s15_))
  52058. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  52059. else if (t1.wasParsed$1(_s13_))
  52060. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  52061. else if (t1.wasParsed$1(_s16_))
  52062. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  52063. if (!_this.get$_writeToStdout())
  52064. return A._asBool(t1.$index(0, _s10_));
  52065. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  52066. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  52067. if (A._asBool(t1.$index(0, _s16_)))
  52068. return A._asBool(t1.$index(0, _s10_));
  52069. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  52070. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  52071. else if (t1.wasParsed$1(_s15_))
  52072. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  52073. else if (A._asBool(t1.$index(0, _s13_)))
  52074. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  52075. else
  52076. return false;
  52077. },
  52078. sourceMapUrl$2(_, url, destination) {
  52079. var t1, path, t2, _null = null;
  52080. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  52081. return url;
  52082. t1 = $.$get$context();
  52083. path = t1.style.pathFromUri$1(A._parseUri(url));
  52084. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  52085. destination.toString;
  52086. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  52087. } else
  52088. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  52089. return t1.toUri$1(t2);
  52090. },
  52091. get$silenceDeprecations(_) {
  52092. var t2, t3, t4,
  52093. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  52094. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  52095. t3 = t2.get$current(t2);
  52096. t4 = A.Deprecation_fromId(t3);
  52097. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  52098. }
  52099. return t1;
  52100. },
  52101. get$fatalDeprecations(_) {
  52102. var t1 = this._fatalDeprecations;
  52103. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  52104. },
  52105. get$futureDeprecations(_) {
  52106. var t2, t3, t4,
  52107. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  52108. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  52109. t3 = t2.get$current(t2);
  52110. t4 = A.Deprecation_fromId(t3);
  52111. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  52112. }
  52113. return t1;
  52114. },
  52115. _ifParsed$1($name) {
  52116. var t1 = this._options;
  52117. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  52118. }
  52119. };
  52120. A.ExecutableOptions__parser_closure.prototype = {
  52121. call$0() {
  52122. var t1 = type$.String,
  52123. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  52124. t3 = A._setArrayType([], type$.JSArray_Object),
  52125. parser = new A.ArgParser(t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.UnmodifiableMapView(t2, type$.UnmodifiableMapView_String_Option), new A.UnmodifiableMapView(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArgParser), type$.UnmodifiableMapView_String_ArgParser), t3, true, null);
  52126. parser.addOption$2$hide("precision", true);
  52127. parser.addFlag$2$hide("async", true);
  52128. t3.push(A.ExecutableOptions__separator("Input and Output"));
  52129. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  52130. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  52131. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  52132. t2 = type$.JSArray_String;
  52133. parser.addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp("pkg-importer", "p", A._setArrayType(["node"], t2), A.LinkedHashMap_LinkedHashMap$_literal(["node", "Load files like Node.js package resolution."], t1, t1), "Built-in importer(s) to use for pkg: URLs.", "TYPE");
  52134. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  52135. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  52136. parser.addFlag$3$defaultsTo$help("error-css", null, "When an error occurs, emit a stylesheet describing it.\nDefaults to true when compiling to a file.");
  52137. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  52138. t3.push(A.ExecutableOptions__separator("Source Maps"));
  52139. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  52140. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  52141. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  52142. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  52143. t3.push(A.ExecutableOptions__separator("Warnings"));
  52144. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  52145. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  52146. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  52147. parser.addMultiOption$2$help("fatal-deprecation", "Deprecations to treat as errors. You may also pass a Sass\nversion to include any behavior deprecated in or before it.\nSee https://sass-lang.com/documentation/breaking-changes for \na complete list.");
  52148. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  52149. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  52150. t3.push(A.ExecutableOptions__separator("Other"));
  52151. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  52152. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  52153. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  52154. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  52155. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  52156. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  52157. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  52158. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  52159. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  52160. return parser;
  52161. },
  52162. $signature: 305
  52163. };
  52164. A.ExecutableOptions_interactive_closure.prototype = {
  52165. call$0() {
  52166. var _0_0,
  52167. t1 = this.$this._options;
  52168. if (!A._asBool(t1.$index(0, "interactive")))
  52169. return false;
  52170. _0_0 = A.IterableExtension_firstWhereOrNull(A._setArrayType(["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"], type$.JSArray_String), t1.get$wasParsed());
  52171. if (_0_0 != null)
  52172. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  52173. return true;
  52174. },
  52175. $signature: 19
  52176. };
  52177. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  52178. call$1(destination) {
  52179. return destination != null;
  52180. },
  52181. $signature: 219
  52182. };
  52183. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  52184. call$0() {
  52185. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  52186. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  52187. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  52188. id = t1.get$current(t1);
  52189. _0_0 = A.Deprecation_fromId(id);
  52190. if (_0_0 != null) {
  52191. J.add$1$ax(deprecations, _0_0);
  52192. continue;
  52193. }
  52194. try {
  52195. argVersion = A.Version_Version$parse(id);
  52196. sassVersion = A.Version_Version$parse("1.94.2");
  52197. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  52198. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  52199. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  52200. } catch (exception) {
  52201. if (t2._is(A.unwrapException(exception)))
  52202. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  52203. else
  52204. throw exception;
  52205. }
  52206. }
  52207. return deprecations;
  52208. },
  52209. $signature: 306
  52210. };
  52211. A.UsageException.prototype = {$isException: 1,
  52212. get$message(receiver) {
  52213. return this.message;
  52214. }
  52215. };
  52216. A.repl_warn.prototype = {
  52217. call$1(warning) {
  52218. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  52219. $label0$0: {
  52220. _0_1 = warning._1;
  52221. _0_3 = _null;
  52222. deprecation = _null;
  52223. t1 = false;
  52224. _0_2 = warning._2;
  52225. _0_3 = warning._0;
  52226. t1 = _0_3 != null;
  52227. if (t1)
  52228. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  52229. span = _0_2;
  52230. if (t1) {
  52231. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  52232. break $label0$0;
  52233. }
  52234. t1 = false;
  52235. t1 = _0_3 == null;
  52236. span = _0_2;
  52237. if (t1)
  52238. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  52239. }
  52240. },
  52241. $signature: 315
  52242. };
  52243. A.watch_closure.prototype = {
  52244. call$1(dir) {
  52245. while (!A.dirExists(dir))
  52246. dir = $.$get$context().dirname$1(dir);
  52247. return this.dirWatcher.watch$1(0, dir);
  52248. },
  52249. $signature: 318
  52250. };
  52251. A._Watcher.prototype = {
  52252. _delete$1(path) {
  52253. var buffer, t1, exception;
  52254. try {
  52255. A.deleteFile(path);
  52256. buffer = new A.StringBuffer("");
  52257. t1 = this._watch$_options;
  52258. if (t1.get$color())
  52259. buffer._contents += "\x1b[33m";
  52260. buffer._contents += "Deleted " + path + ".";
  52261. if (t1.get$color())
  52262. buffer._contents += "\x1b[0m";
  52263. A.print(buffer);
  52264. } catch (exception) {
  52265. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  52266. throw exception;
  52267. }
  52268. },
  52269. watch$1(_, watcher) {
  52270. return this.watch$body$_Watcher(0, watcher);
  52271. },
  52272. watch$body$_Watcher(_, watcher) {
  52273. var $async$goto = 0,
  52274. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52275. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, batch, $event, extension, t1, toRecompile, success, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, url, _0_0, t2;
  52276. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52277. if ($async$errorCode === 1) {
  52278. $async$errorStack.push($async$result);
  52279. $async$goto = $async$handler;
  52280. }
  52281. for (;;)
  52282. switch ($async$goto) {
  52283. case 0:
  52284. // Function start
  52285. t2 = watcher._group.__StreamGroup__controller_A;
  52286. t2 === $ && A.throwUnnamedLateFieldNI();
  52287. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  52288. $async$handler = 3;
  52289. t3 = $async$self._toRecompile, t4 = type$.String, t5 = $async$self._watch$_options, t6 = $async$self._graph, t7 = t6._nodes, t8 = type$.JSArray_StylesheetNode, t9 = t5._options;
  52290. case 6:
  52291. // for condition
  52292. $async$goto = 8;
  52293. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  52294. case 8:
  52295. // returning from await.
  52296. if (!$async$result) {
  52297. // goto after for
  52298. $async$goto = 7;
  52299. break;
  52300. }
  52301. batch = t2.get$current(0);
  52302. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  52303. $event = t10.get$current(t10);
  52304. t11 = $event.path;
  52305. t12 = $.$get$context();
  52306. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  52307. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  52308. continue;
  52309. switch ($event.type) {
  52310. case B.ChangeType_modify:
  52311. t11 = $event.path;
  52312. t13 = self.process;
  52313. if (t13 == null)
  52314. t13 = null;
  52315. else {
  52316. t13 = J.get$release$x(t13);
  52317. t13 = t13 == null ? null : J.get$name$x(t13);
  52318. }
  52319. t13 = J.$eq$(t13, "node") ? self.process : null;
  52320. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  52321. t13 = self.process;
  52322. if (t13 == null)
  52323. t13 = null;
  52324. else {
  52325. t13 = J.get$release$x(t13);
  52326. t13 = t13 == null ? null : J.get$name$x(t13);
  52327. }
  52328. t13 = J.$eq$(t13, "node") ? self.process : null;
  52329. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  52330. } else
  52331. t13 = true;
  52332. url = t12.toUri$1(t13 ? A._realCasePath(t12.normalize$1(t12.absolute$15(t11, null, null, null, null, null, null, null, null, null, null, null, null, null, null))) : t12.canonicalize$1(0, t11));
  52333. _0_0 = t7.$index(0, url);
  52334. if (_0_0 != null) {
  52335. t6.reload$1(url);
  52336. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  52337. } else
  52338. $async$self._handleAdd$1(t11);
  52339. break;
  52340. case B.ChangeType_add:
  52341. $async$self._handleAdd$1($event.path);
  52342. break;
  52343. case B.ChangeType_remove:
  52344. $async$self._handleRemove$1($event.path);
  52345. break;
  52346. }
  52347. }
  52348. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  52349. t10.addAll$1(0, t3);
  52350. t1 = t10;
  52351. toRecompile = t1;
  52352. t3.clear$0(0);
  52353. $async$goto = 9;
  52354. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  52355. case 9:
  52356. // returning from await.
  52357. success = $async$result;
  52358. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  52359. $async$next = [1];
  52360. // goto finally
  52361. $async$goto = 4;
  52362. break;
  52363. }
  52364. // goto for condition
  52365. $async$goto = 6;
  52366. break;
  52367. case 7:
  52368. // after for
  52369. $async$next.push(5);
  52370. // goto finally
  52371. $async$goto = 4;
  52372. break;
  52373. case 3:
  52374. // uncaught
  52375. $async$next = [2];
  52376. case 4:
  52377. // finally
  52378. $async$handler = 2;
  52379. $async$goto = 10;
  52380. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52381. case 10:
  52382. // returning from await.
  52383. // goto the next finally handler
  52384. $async$goto = $async$next.pop();
  52385. break;
  52386. case 5:
  52387. // after finally
  52388. case 1:
  52389. // return
  52390. return A._asyncReturn($async$returnValue, $async$completer);
  52391. case 2:
  52392. // rethrow
  52393. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52394. }
  52395. });
  52396. return A._asyncStartSync($async$watch$1, $async$completer);
  52397. },
  52398. _handleAdd$1(path) {
  52399. var t1, t2, t3, t0, _this = this, _null = null,
  52400. destination = _this._destinationFor$1(path);
  52401. if (destination != null)
  52402. _this._toRecompile.$indexSet(0, path, destination);
  52403. t1 = $.$get$FilesystemImporter_cwd();
  52404. t2 = A.isNodeJs() ? self.process : _null;
  52405. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52406. t2 = A.isNodeJs() ? self.process : _null;
  52407. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52408. } else
  52409. t2 = true;
  52410. if (t2) {
  52411. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  52412. t3 = $.$get$context();
  52413. t2 = A._realCasePath(t3.normalize$1(t2));
  52414. } else {
  52415. t2 = $.$get$context();
  52416. t3 = t2.canonicalize$1(0, path);
  52417. t0 = t3;
  52418. t3 = t2;
  52419. t2 = t0;
  52420. }
  52421. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52422. },
  52423. _handleRemove$1(path) {
  52424. return this._handleRemove$body$_Watcher(path);
  52425. },
  52426. _handleRemove$body$_Watcher(path) {
  52427. var $async$goto = 0,
  52428. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52429. $async$self = this, t2, t0, url, _0_0, t1;
  52430. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52431. if ($async$errorCode === 1)
  52432. return A._asyncRethrow($async$result, $async$completer);
  52433. for (;;)
  52434. switch ($async$goto) {
  52435. case 0:
  52436. // Function start
  52437. t1 = A.isNodeJs() ? self.process : null;
  52438. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52439. t1 = A.isNodeJs() ? self.process : null;
  52440. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52441. } else
  52442. t1 = true;
  52443. if (t1) {
  52444. t1 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  52445. t2 = $.$get$context();
  52446. t1 = A._realCasePath(t2.normalize$1(t1));
  52447. } else {
  52448. t1 = $.$get$context();
  52449. t2 = t1.canonicalize$1(0, path);
  52450. t0 = t2;
  52451. t2 = t1;
  52452. t1 = t0;
  52453. }
  52454. url = t2.toUri$1(t1);
  52455. t1 = $async$self._graph;
  52456. if (t1._nodes.containsKey$1(url)) {
  52457. _0_0 = $async$self._destinationFor$1(path);
  52458. if (_0_0 != null) {
  52459. $async$self._delete$1(_0_0);
  52460. $async$self._delete$1(_0_0 + ".map");
  52461. }
  52462. }
  52463. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52464. // implicit return
  52465. return A._asyncReturn(null, $async$completer);
  52466. }
  52467. });
  52468. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52469. },
  52470. _debounceEvents$1(events) {
  52471. var t1 = type$.WatchEvent;
  52472. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52473. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52474. },
  52475. _recompileDownstream$1(nodes) {
  52476. var t1, t2, t3, t4, t5, t6, _i,
  52477. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52478. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52479. t5 = A._setArrayType([], t3);
  52480. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52481. t6 = t4.get$current(t4);
  52482. if (seen.add$1(0, t6))
  52483. t5.push(t6);
  52484. }
  52485. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52486. t4 = A._setArrayType([], t3);
  52487. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52488. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52489. }
  52490. },
  52491. _sourceEntrypointsToDestinations$1(nodes) {
  52492. var _i, url, source, _0_0,
  52493. t1 = type$.String,
  52494. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52495. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52496. url = nodes[_i].canonicalUrl;
  52497. if (url.get$scheme() !== "file")
  52498. continue;
  52499. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52500. _0_0 = this._destinationFor$1(source);
  52501. if (_0_0 != null)
  52502. entrypoints.$indexSet(0, source, _0_0);
  52503. }
  52504. return entrypoints;
  52505. },
  52506. _destinationFor$1(source) {
  52507. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52508. t1 = this._watch$_options;
  52509. t1._ensureSources$0();
  52510. t2 = type$.String;
  52511. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52512. if (_0_0 != null)
  52513. return _0_0;
  52514. t3 = $.$get$context();
  52515. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52516. return null;
  52517. t1._ensureSources$0();
  52518. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52519. t1 === $ && A.throwUnnamedLateFieldNI();
  52520. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52521. t2 = t2.get$iterator(t2);
  52522. while (t2.moveNext$0()) {
  52523. t1 = t2.get$current(t2);
  52524. sourceDir = t1._0;
  52525. destinationDir = t1._1;
  52526. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52527. continue;
  52528. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52529. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52530. return destination;
  52531. }
  52532. return null;
  52533. }
  52534. };
  52535. A._Watcher__debounceEvents_closure.prototype = {
  52536. call$1(buffer) {
  52537. var t3, t4, t5, oldType, _0_4, _1_1,
  52538. t1 = type$.ChangeType,
  52539. t2 = A.PathMap__create(null, t1);
  52540. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52541. t4 = t3.get$current(t3);
  52542. t5 = t4.path;
  52543. oldType = t2.$index(0, t5);
  52544. _0_4 = t4.type;
  52545. $label0$0: {
  52546. if (oldType == null) {
  52547. t4 = _0_4;
  52548. break $label0$0;
  52549. }
  52550. if (B.ChangeType_remove === _0_4) {
  52551. t4 = B.ChangeType_remove;
  52552. break $label0$0;
  52553. }
  52554. if (B.ChangeType_add === oldType) {
  52555. t4 = B.ChangeType_add;
  52556. break $label0$0;
  52557. }
  52558. t4 = B.ChangeType_modify;
  52559. break $label0$0;
  52560. }
  52561. t2.$indexSet(0, t5, t4);
  52562. }
  52563. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52564. for (t1 = A.MapExtensions_get_pairs(new A.PathMap(t2, type$.PathMap_ChangeType), type$.nullable_String, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  52565. t2 = t1.get$current(t1);
  52566. _1_1 = t2._0;
  52567. _1_1.toString;
  52568. t3.push(new A.WatchEvent(t2._1, _1_1));
  52569. }
  52570. return t3;
  52571. },
  52572. $signature: 319
  52573. };
  52574. A.EmptyExtensionStore.prototype = {
  52575. get$_extensions() {
  52576. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52577. },
  52578. get$_sourceSpecificity() {
  52579. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52580. },
  52581. get$isEmpty(_) {
  52582. return true;
  52583. },
  52584. get$simpleSelectors() {
  52585. return B.C_EmptyUnmodifiableSet;
  52586. },
  52587. extensionsWhereTarget$1(callback) {
  52588. return B.List_empty5;
  52589. },
  52590. addExtensions$1(extenders) {
  52591. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52592. },
  52593. clone$0() {
  52594. return B.Record2_EmptyExtensionStore_Map_empty;
  52595. },
  52596. $isExtensionStore: 1
  52597. };
  52598. A.Extension.prototype = {
  52599. toString$0(_) {
  52600. var t1 = this.extender.toString$0(0),
  52601. t2 = this.target.toString$0(0),
  52602. t3 = this.isOptional ? " !optional" : "";
  52603. return t1 + " {@extend " + t2 + t3 + "}";
  52604. }
  52605. };
  52606. A.Extender.prototype = {
  52607. assertCompatibleMediaContext$1(mediaContext) {
  52608. var expectedMediaContext,
  52609. extension = this._extension;
  52610. if (extension == null)
  52611. return;
  52612. expectedMediaContext = extension.mediaContext;
  52613. if (expectedMediaContext == null)
  52614. return;
  52615. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52616. return;
  52617. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52618. },
  52619. toString$0(_) {
  52620. return A.serializeSelector(this.selector, true);
  52621. }
  52622. };
  52623. A.ExtensionStore.prototype = {
  52624. get$isEmpty(_) {
  52625. return this._extensions.__js_helper$_length === 0;
  52626. },
  52627. get$simpleSelectors() {
  52628. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52629. },
  52630. extensionsWhereTarget$1(callback) {
  52631. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52632. },
  52633. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52634. var $async$self = this;
  52635. return function() {
  52636. var callback = $async$callback;
  52637. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52638. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52639. if ($async$errorCode === 1) {
  52640. $async$errorStack.push($async$result);
  52641. $async$goto = $async$handler;
  52642. }
  52643. for (;;)
  52644. switch ($async$goto) {
  52645. case 0:
  52646. // Function start
  52647. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52648. case 2:
  52649. // for condition
  52650. if (!t1.moveNext$0()) {
  52651. // goto after for
  52652. $async$goto = 3;
  52653. break;
  52654. }
  52655. t2 = t1.get$current(t1);
  52656. simple = t2._0;
  52657. sources = t2._1;
  52658. if (!callback.call$1(simple)) {
  52659. // goto for condition
  52660. $async$goto = 2;
  52661. break;
  52662. }
  52663. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52664. case 4:
  52665. // for condition
  52666. if (!t2.moveNext$0()) {
  52667. // goto after for
  52668. $async$goto = 5;
  52669. break;
  52670. }
  52671. t3 = t2.get$current(t2);
  52672. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52673. break;
  52674. case 6:
  52675. // then
  52676. t3 = t3.unmerge$0();
  52677. $async$goto = 9;
  52678. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52679. case 9:
  52680. // after yield
  52681. // goto join
  52682. $async$goto = 7;
  52683. break;
  52684. case 8:
  52685. // else
  52686. $async$goto = !t3.isOptional ? 10 : 11;
  52687. break;
  52688. case 10:
  52689. // then
  52690. $async$goto = 12;
  52691. return $async$iterator._async$_current = t3, 1;
  52692. case 12:
  52693. // after yield
  52694. case 11:
  52695. // join
  52696. case 7:
  52697. // join
  52698. // goto for condition
  52699. $async$goto = 4;
  52700. break;
  52701. case 5:
  52702. // after for
  52703. // goto for condition
  52704. $async$goto = 2;
  52705. break;
  52706. case 3:
  52707. // after for
  52708. // implicit return
  52709. return 0;
  52710. case 1:
  52711. // rethrow
  52712. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52713. }
  52714. };
  52715. };
  52716. },
  52717. addSelector$2(selector, mediaContext) {
  52718. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52719. selector = selector;
  52720. originalSelector = selector;
  52721. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52722. _this._originals.addAll$1(0, originalSelector.components);
  52723. t1 = _this._extensions;
  52724. if (t1.__js_helper$_length !== 0)
  52725. try {
  52726. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52727. } catch (exception) {
  52728. t1 = A.unwrapException(exception);
  52729. if (t1 instanceof A.SassException) {
  52730. error = t1;
  52731. stackTrace = A.getTraceFromException(exception);
  52732. t1 = error;
  52733. t2 = J.getInterceptor$z(t1);
  52734. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52735. t2 = error._span_exception$_message;
  52736. t3 = error;
  52737. t4 = J.getInterceptor$z(t3);
  52738. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52739. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52740. } else
  52741. throw exception;
  52742. }
  52743. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52744. if (mediaContext != null)
  52745. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52746. _this._registerSelector$2(selector, modifiableSelector);
  52747. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52748. },
  52749. _registerSelector$2(list, selector) {
  52750. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52751. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52752. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52753. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52754. simple = t7[_i1];
  52755. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52756. _0_2_isSet = simple instanceof A.PseudoSelector;
  52757. _0_2 = null;
  52758. if (_0_2_isSet) {
  52759. _0_2 = simple.selector;
  52760. t9 = _0_2;
  52761. t9 = t9 != null;
  52762. } else
  52763. t9 = false;
  52764. if (t9) {
  52765. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52766. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52767. }
  52768. }
  52769. },
  52770. addExtension$4(extender, target, extend, mediaContext) {
  52771. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52772. selectors = _this._selectors.$index(0, target),
  52773. t1 = _this._extensionsByExtender,
  52774. existingExtensions = t1.$index(0, target),
  52775. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52776. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector, t10 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
  52777. complex = t2[_i];
  52778. if (complex.accept$1(B.C__IsUselessVisitor))
  52779. continue;
  52780. complex.get$specificity();
  52781. t11 = new A.Extender(complex, false);
  52782. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52783. _0_0 = sources.$index(0, complex);
  52784. if (_0_0 != null) {
  52785. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52786. continue;
  52787. }
  52788. sources.$indexSet(0, complex, extension);
  52789. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52790. t12 = t11._async$_current;
  52791. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52792. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52793. }
  52794. if (!t4 || t8) {
  52795. if (newExtensions == null)
  52796. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52797. newExtensions.$indexSet(0, complex, extension);
  52798. }
  52799. }
  52800. if (newExtensions == null)
  52801. return;
  52802. t1 = type$.SimpleSelector;
  52803. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52804. if (t8) {
  52805. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52806. if (additionalExtensions != null)
  52807. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52808. }
  52809. if (!t4)
  52810. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52811. },
  52812. _simpleSelectors$1(complex) {
  52813. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52814. },
  52815. _simpleSelectors$body$ExtensionStore($async$complex) {
  52816. var $async$self = this;
  52817. return function() {
  52818. var complex = $async$complex;
  52819. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  52820. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52821. if ($async$errorCode === 1) {
  52822. $async$errorStack.push($async$result);
  52823. $async$goto = $async$handler;
  52824. }
  52825. for (;;)
  52826. switch ($async$goto) {
  52827. case 0:
  52828. // Function start
  52829. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52830. case 2:
  52831. // for condition
  52832. if (!(_i < t2)) {
  52833. // goto after for
  52834. $async$goto = 4;
  52835. break;
  52836. }
  52837. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52838. case 5:
  52839. // for condition
  52840. if (!(_i0 < t5)) {
  52841. // goto after for
  52842. $async$goto = 7;
  52843. break;
  52844. }
  52845. simple = t4[_i0];
  52846. $async$goto = 8;
  52847. return $async$iterator._async$_current = simple, 1;
  52848. case 8:
  52849. // after yield
  52850. _0_2_isSet = simple instanceof A.PseudoSelector;
  52851. _0_2 = null;
  52852. if (_0_2_isSet) {
  52853. _0_2 = simple.selector;
  52854. t6 = _0_2;
  52855. t6 = t6 != null;
  52856. } else
  52857. t6 = false;
  52858. $async$goto = t6 ? 9 : 10;
  52859. break;
  52860. case 9:
  52861. // then
  52862. selector = _0_2_isSet ? _0_2 : simple.selector;
  52863. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52864. case 11:
  52865. // for condition
  52866. if (!(_i1 < t7)) {
  52867. // goto after for
  52868. $async$goto = 13;
  52869. break;
  52870. }
  52871. $async$goto = 14;
  52872. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52873. case 14:
  52874. // after yield
  52875. case 12:
  52876. // for update
  52877. ++_i1;
  52878. // goto for condition
  52879. $async$goto = 11;
  52880. break;
  52881. case 13:
  52882. // after for
  52883. case 10:
  52884. // join
  52885. case 6:
  52886. // for update
  52887. ++_i0;
  52888. // goto for condition
  52889. $async$goto = 5;
  52890. break;
  52891. case 7:
  52892. // after for
  52893. case 3:
  52894. // for update
  52895. ++_i;
  52896. // goto for condition
  52897. $async$goto = 2;
  52898. break;
  52899. case 4:
  52900. // after for
  52901. // implicit return
  52902. return 0;
  52903. case 1:
  52904. // rethrow
  52905. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52906. }
  52907. };
  52908. };
  52909. },
  52910. _extendExistingExtensions$2(extensions, newExtensions) {
  52911. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, _i0, _i1;
  52912. for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extensionsByExtender, t4 = type$.SimpleSelector, t5 = type$.Map_ComplexSelector_Extension, t6 = this._extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  52913. extension = t1[_i];
  52914. t7 = t6.$index(0, extension.target);
  52915. t7.toString;
  52916. selectors = null;
  52917. try {
  52918. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52919. if (selectors == null)
  52920. continue;
  52921. } catch (exception) {
  52922. t8 = A.unwrapException(exception);
  52923. if (t8 instanceof A.SassException) {
  52924. error = t8;
  52925. stackTrace = A.getTraceFromException(exception);
  52926. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52927. } else
  52928. throw exception;
  52929. }
  52930. t8 = J.get$first$ax(selectors);
  52931. t9 = extension.extender.selector;
  52932. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52933. t8 = selectors;
  52934. t9 = A._arrayInstanceType(t8);
  52935. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52936. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52937. selectors = selectors0;
  52938. }
  52939. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52940. t9 = t8.get$current(t8);
  52941. t10 = extension;
  52942. t11 = t10.target;
  52943. t12 = t10.span;
  52944. t13 = t10.mediaContext;
  52945. t10 = t10.isOptional;
  52946. t9.get$specificity();
  52947. t14 = new A.Extender(t9, false);
  52948. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52949. _0_0 = t7.$index(0, t9);
  52950. if (_0_0 != null)
  52951. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52952. else {
  52953. t7.$indexSet(0, t9, withExtender);
  52954. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52955. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52956. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52957. if (newExtensions.containsKey$1(extension.target)) {
  52958. if (additionalExtensions == null)
  52959. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52960. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52961. }
  52962. }
  52963. }
  52964. }
  52965. return additionalExtensions;
  52966. },
  52967. _extendExistingSelectors$2(selectors, newExtensions) {
  52968. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52969. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52970. selector = t1.get$current(t1);
  52971. oldValue = selector.value;
  52972. try {
  52973. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52974. } catch (exception) {
  52975. t3 = A.unwrapException(exception);
  52976. if (t3 instanceof A.SassException) {
  52977. error = t3;
  52978. stackTrace = A.getTraceFromException(exception);
  52979. t3 = selector.value.span.message$1(0, "");
  52980. t4 = error._span_exception$_message;
  52981. t5 = error;
  52982. t6 = J.getInterceptor$z(t5);
  52983. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52984. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52985. } else
  52986. throw exception;
  52987. }
  52988. if (oldValue === selector.value)
  52989. continue;
  52990. this._registerSelector$2(selector.value, selector);
  52991. }
  52992. },
  52993. addExtensions$1(extensionStores) {
  52994. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, t16, extender, extension, _this = this, _null = null;
  52995. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector, t3 = type$.Map_ComplexSelector_Extension, t4 = _this._extensions, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = _this._selectors, t8 = _this._extensionsByExtender, t9 = type$.JSArray_Extension, t10 = type$.ModifiableBox_SelectorList, t11 = _this._sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  52996. t12 = t1.get$current(t1);
  52997. if (t12.get$isEmpty(t12))
  52998. continue;
  52999. t11.addAll$1(0, t12.get$_sourceSpecificity());
  53000. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  53001. t13 = t12.get$current(t12);
  53002. target = t13._0;
  53003. newSources = t13._1;
  53004. if (target instanceof A.PlaceholderSelector) {
  53005. first = target.name.charCodeAt(0);
  53006. t13 = first === 45 || first === 95;
  53007. } else
  53008. t13 = false;
  53009. if (t13)
  53010. continue;
  53011. extensionsForTarget = t8.$index(0, target);
  53012. t13 = extensionsForTarget == null;
  53013. if (!t13) {
  53014. if (extensionsToExtend == null) {
  53015. extensionsToExtend = A._setArrayType([], t9);
  53016. t14 = extensionsToExtend;
  53017. } else
  53018. t14 = extensionsToExtend;
  53019. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  53020. }
  53021. selectorsForTarget = t7.$index(0, target);
  53022. t14 = selectorsForTarget != null;
  53023. if (t14) {
  53024. if (selectorsToExtend == null) {
  53025. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  53026. t15 = selectorsToExtend;
  53027. } else
  53028. t15 = selectorsToExtend;
  53029. t15.addAll$1(0, selectorsForTarget);
  53030. }
  53031. _2_0 = t4.$index(0, target);
  53032. if (_2_0 != null)
  53033. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  53034. t16 = t15.get$current(t15);
  53035. extender = t16._0;
  53036. extension = t16._1;
  53037. if (_2_0.containsKey$1(extender)) {
  53038. t16 = _2_0.$index(0, extender);
  53039. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  53040. _2_0.$indexSet(0, extender, extension);
  53041. } else
  53042. _2_0.$indexSet(0, extender, extension);
  53043. if (!t13 || t14) {
  53044. if (newExtensions == null) {
  53045. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  53046. t16 = newExtensions;
  53047. } else
  53048. t16 = newExtensions;
  53049. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  53050. }
  53051. }
  53052. else {
  53053. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  53054. t15.addAll$1(0, newSources);
  53055. t4.$indexSet(0, target, t15);
  53056. if (!t13 || t14) {
  53057. if (newExtensions == null) {
  53058. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  53059. t13 = newExtensions;
  53060. } else
  53061. t13 = newExtensions;
  53062. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  53063. t14.addAll$1(0, newSources);
  53064. t13.$indexSet(0, target, t14);
  53065. }
  53066. }
  53067. }
  53068. }
  53069. if (newExtensions != null) {
  53070. if (extensionsToExtend != null)
  53071. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  53072. if (selectorsToExtend != null)
  53073. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  53074. }
  53075. },
  53076. _extendList$3(list, extensions, mediaQueryContext) {
  53077. var t1, t2, t3, extended, i, complex, result, t4;
  53078. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  53079. complex = t1[i];
  53080. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  53081. if (result == null) {
  53082. if (extended != null)
  53083. extended.push(complex);
  53084. } else {
  53085. if (extended == null)
  53086. if (i === 0)
  53087. extended = A._setArrayType([], t3);
  53088. else {
  53089. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  53090. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  53091. }
  53092. B.JSArray_methods.addAll$1(extended, result);
  53093. }
  53094. }
  53095. if (extended == null)
  53096. return list;
  53097. t1 = this._originals;
  53098. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  53099. },
  53100. _extendList$2(list, extensions) {
  53101. return this._extendList$3(list, extensions, null);
  53102. },
  53103. _extendComplex$3(complex, extensions, mediaQueryContext) {
  53104. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  53105. t1 = complex.leadingCombinators,
  53106. t2 = t1.length;
  53107. if (t2 > 1)
  53108. return null;
  53109. isOriginal = this._originals.contains$1(0, complex);
  53110. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  53111. component = t3[i];
  53112. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  53113. if (extended == null) {
  53114. if (extendedNotExpanded != null)
  53115. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  53116. } else if (extendedNotExpanded != null)
  53117. extendedNotExpanded.push(extended);
  53118. else if (i !== 0) {
  53119. t11 = A._arrayInstanceType(t3);
  53120. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  53121. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  53122. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  53123. } else if (t2)
  53124. extendedNotExpanded = A._setArrayType([extended], t5);
  53125. else {
  53126. t11 = A._setArrayType([], t9);
  53127. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  53128. t13 = t12.get$current(t12);
  53129. t14 = t13.leadingCombinators;
  53130. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  53131. t14 = t13.components;
  53132. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  53133. }
  53134. }
  53135. extendedNotExpanded = A._setArrayType([t11], t5);
  53136. }
  53137. }
  53138. if (extendedNotExpanded == null)
  53139. return null;
  53140. _box_0.first = true;
  53141. t1 = type$.ComplexSelector;
  53142. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  53143. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  53144. return t1;
  53145. },
  53146. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  53147. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  53148. t1 = _this._mode,
  53149. targetsUsed = t1 === B.ExtendMode_normal_0_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  53150. t2 = component.selector,
  53151. simples = t2.components;
  53152. for (t3 = simples.length, t4 = type$.JSArray_List_Extender, t5 = type$.JSArray_Extender, t6 = type$.CssValue_Combinator, t7 = type$.JSArray_ComplexSelectorComponent, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector, options = _null, i = 0; i < t3; ++i) {
  53153. simple = simples[i];
  53154. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  53155. if (extended == null) {
  53156. if (options != null)
  53157. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  53158. } else {
  53159. if (options == null) {
  53160. options = A._setArrayType([], t4);
  53161. if (i !== 0) {
  53162. t12 = new A.SubListIterable(simples, 0, i, t8);
  53163. t12.SubListIterable$3(simples, 0, i, t9);
  53164. result = A.List_List$from(t12, false, t11);
  53165. result.$flags = 3;
  53166. t12 = result;
  53167. compound = new A.CompoundSelector(t12, t10);
  53168. if (t12.length === 0)
  53169. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  53170. result = A.List_List$from(B.List_empty0, false, t6);
  53171. result.$flags = 3;
  53172. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  53173. _this._sourceSpecificityFor$1(compound);
  53174. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  53175. }
  53176. }
  53177. B.JSArray_methods.addAll$1(options, extended);
  53178. }
  53179. }
  53180. if (options == null)
  53181. return _null;
  53182. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  53183. return _null;
  53184. if (options.length === 1) {
  53185. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  53186. t4 = t1.get$current(t1);
  53187. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  53188. complex = t4.selector.withAdditionalCombinators$1(t2);
  53189. if (complex.accept$1(B.C__IsUselessVisitor))
  53190. continue;
  53191. if (result == null)
  53192. result = A._setArrayType([], t3);
  53193. result.push(complex);
  53194. }
  53195. return result;
  53196. }
  53197. extenderPaths = A.paths(options, type$.Extender);
  53198. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  53199. t1 = t1 === B.ExtendMode_replace_1_replace;
  53200. t4 = !t1;
  53201. if (t4)
  53202. t3.push(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  53203. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  53204. t5 = t2.$ti;
  53205. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  53206. t6 = component.combinators;
  53207. t5 = t5._eval$1("ListIterable.E");
  53208. while (t2.moveNext$0()) {
  53209. t1 = t2.__internal$_current;
  53210. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  53211. if (extended == null)
  53212. continue;
  53213. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  53214. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  53215. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  53216. t3.push(withCombinators);
  53217. }
  53218. }
  53219. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  53220. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  53221. },
  53222. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  53223. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  53224. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  53225. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  53226. t4 = t2.get$current(t2);
  53227. if (t4.isOriginal) {
  53228. if (originals == null)
  53229. originals = A._setArrayType([], t3);
  53230. t4 = t4.selector;
  53231. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  53232. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  53233. } else {
  53234. t4 = t4.selector;
  53235. if (t4.accept$1(B.C__IsUselessVisitor))
  53236. return _null;
  53237. else
  53238. toUnify._queue_list$_add$1(t4);
  53239. }
  53240. }
  53241. if (originals != null)
  53242. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals, span), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, originalsLineBreak));
  53243. complexes = A.unifyComplex(toUnify, span);
  53244. if (complexes == null)
  53245. return _null;
  53246. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  53247. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  53248. return complexes;
  53249. },
  53250. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  53251. var t2, _1_0,
  53252. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  53253. if (simple instanceof A.PseudoSelector)
  53254. t2 = simple.selector != null;
  53255. else
  53256. t2 = false;
  53257. if (t2) {
  53258. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  53259. if (_1_0 != null)
  53260. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  53261. }
  53262. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  53263. },
  53264. _extenderForSimple$1(simple) {
  53265. var t1 = simple.span;
  53266. t1 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent), t1, false);
  53267. this._sourceSpecificity.$index(0, simple);
  53268. return new A.Extender(t1, true);
  53269. },
  53270. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  53271. var extended, complexes, t1, result,
  53272. selector = pseudo.selector;
  53273. if (selector == null)
  53274. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  53275. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  53276. if (extended === selector)
  53277. return null;
  53278. complexes = extended.components;
  53279. t1 = pseudo.normalizedName === "not";
  53280. if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure0()))
  53281. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  53282. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  53283. if (t1 && selector.components.length === 1) {
  53284. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  53285. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  53286. return result.length === 0 ? null : result;
  53287. } else
  53288. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  53289. },
  53290. _trim$2(selectors, isOriginal) {
  53291. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  53292. if (selectors.length > 100)
  53293. return selectors;
  53294. result = A.QueueList$(null, type$.ComplexSelector);
  53295. $label0$0:
  53296. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  53297. _box_0 = {};
  53298. complex1 = selectors[i];
  53299. if (isOriginal.call$1(complex1)) {
  53300. for (j = 0; j < numOriginals; ++j)
  53301. if (result.$index(0, j).$eq(0, complex1)) {
  53302. A.rotateSlice(result, 0, j + 1);
  53303. continue $label0$0;
  53304. }
  53305. ++numOriginals;
  53306. result.addFirst$1(complex1);
  53307. continue $label0$0;
  53308. }
  53309. _box_0.maxSpecificity = 0;
  53310. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  53311. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  53312. _box_0.maxSpecificity = maxSpecificity;
  53313. }
  53314. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  53315. continue $label0$0;
  53316. t3 = new A.SubListIterable(selectors, 0, i, t1);
  53317. t3.SubListIterable$3(selectors, 0, i, t2);
  53318. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  53319. continue $label0$0;
  53320. result.addFirst$1(complex1);
  53321. }
  53322. return result;
  53323. },
  53324. _sourceSpecificityFor$1(compound) {
  53325. var t1, t2, t3, specificity, _i, t4;
  53326. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  53327. t4 = t3.$index(0, t1[_i]);
  53328. if (t4 == null)
  53329. t4 = 0;
  53330. specificity = Math.max(specificity, t4);
  53331. }
  53332. return specificity;
  53333. },
  53334. clone$0() {
  53335. var t3, t4, _this = this,
  53336. t1 = type$.SimpleSelector,
  53337. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  53338. t2 = type$.ModifiableBox_SelectorList,
  53339. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
  53340. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  53341. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), oldToNewSelectors, newMediaContexts));
  53342. t2 = type$.Extension;
  53343. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  53344. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  53345. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  53346. t1.addAll$1(0, _this._sourceSpecificity);
  53347. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  53348. t4.addAll$1(0, _this._originals);
  53349. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_0_normal), oldToNewSelectors);
  53350. },
  53351. get$_extensions() {
  53352. return this._extensions;
  53353. },
  53354. get$_sourceSpecificity() {
  53355. return this._sourceSpecificity;
  53356. }
  53357. };
  53358. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  53359. call$1(extension) {
  53360. return !extension.isOptional;
  53361. },
  53362. $signature: 324
  53363. };
  53364. A.ExtensionStore__registerSelector_closure.prototype = {
  53365. call$0() {
  53366. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53367. },
  53368. $signature: 328
  53369. };
  53370. A.ExtensionStore_addExtension_closure.prototype = {
  53371. call$0() {
  53372. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53373. },
  53374. $signature: 130
  53375. };
  53376. A.ExtensionStore_addExtension_closure0.prototype = {
  53377. call$0() {
  53378. return A._setArrayType([], type$.JSArray_Extension);
  53379. },
  53380. $signature: 272
  53381. };
  53382. A.ExtensionStore_addExtension_closure1.prototype = {
  53383. call$0() {
  53384. return this.complex.get$specificity();
  53385. },
  53386. $signature: 10
  53387. };
  53388. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53389. call$0() {
  53390. return A._setArrayType([], type$.JSArray_Extension);
  53391. },
  53392. $signature: 272
  53393. };
  53394. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53395. call$0() {
  53396. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53397. },
  53398. $signature: 130
  53399. };
  53400. A.ExtensionStore_addExtensions_closure.prototype = {
  53401. call$0() {
  53402. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53403. },
  53404. $signature: 130
  53405. };
  53406. A.ExtensionStore__extendComplex_closure.prototype = {
  53407. call$1(path) {
  53408. var t1 = this.complex;
  53409. return J.map$1$1$ax(A.weave(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure(this._box_0, this.$this, t1), type$.ComplexSelector);
  53410. },
  53411. $signature: 335
  53412. };
  53413. A.ExtensionStore__extendComplex__closure.prototype = {
  53414. call$1(outputComplex) {
  53415. var _this = this,
  53416. t1 = _this._box_0;
  53417. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53418. _this.$this._originals.add$1(0, outputComplex);
  53419. t1.first = false;
  53420. return outputComplex;
  53421. },
  53422. $signature: 62
  53423. };
  53424. A.ExtensionStore__extendCompound_closure.prototype = {
  53425. call$1(extender) {
  53426. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53427. },
  53428. $signature: 337
  53429. };
  53430. A.ExtensionStore__extendCompound_closure0.prototype = {
  53431. call$1(_) {
  53432. return false;
  53433. },
  53434. $signature: 20
  53435. };
  53436. A.ExtensionStore__extendCompound_closure1.prototype = {
  53437. call$1(complex) {
  53438. return complex.$eq(0, this.original);
  53439. },
  53440. $signature: 20
  53441. };
  53442. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53443. call$1(simple) {
  53444. var t1, t2,
  53445. extensionsForSimple = this.extensions.$index(0, simple);
  53446. if (extensionsForSimple == null)
  53447. return null;
  53448. t1 = this.targetsUsed;
  53449. if (t1 != null)
  53450. t1.add$1(0, simple);
  53451. t1 = A._setArrayType([], type$.JSArray_Extender);
  53452. t2 = this.$this;
  53453. if (t2._mode !== B.ExtendMode_replace_1_replace)
  53454. t1.push(t2._extenderForSimple$1(simple));
  53455. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53456. t1.push(t2.get$current(t2).extender);
  53457. return t1;
  53458. },
  53459. $signature: 339
  53460. };
  53461. A.ExtensionStore__extendSimple_closure.prototype = {
  53462. call$1(pseudo) {
  53463. var t1 = this.withoutPseudo.call$1(pseudo);
  53464. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53465. },
  53466. $signature: 345
  53467. };
  53468. A.ExtensionStore__extendSimple_closure0.prototype = {
  53469. call$1(result) {
  53470. return A._setArrayType([result], type$.JSArray_List_Extender);
  53471. },
  53472. $signature: 346
  53473. };
  53474. A.ExtensionStore__extendPseudo_closure.prototype = {
  53475. call$1(complex) {
  53476. return complex.components.length > 1;
  53477. },
  53478. $signature: 20
  53479. };
  53480. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53481. call$1(complex) {
  53482. return complex.components.length === 1;
  53483. },
  53484. $signature: 20
  53485. };
  53486. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53487. call$1(complex) {
  53488. return complex.components.length <= 1;
  53489. },
  53490. $signature: 20
  53491. };
  53492. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53493. call$1(complex) {
  53494. var innerPseudo, innerSelector,
  53495. t1 = complex.get$singleCompound();
  53496. if (t1 == null)
  53497. innerPseudo = null;
  53498. else {
  53499. t1 = t1.components;
  53500. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53501. }
  53502. if (!(innerPseudo instanceof A.PseudoSelector))
  53503. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53504. innerSelector = innerPseudo.selector;
  53505. if (innerSelector == null)
  53506. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53507. t1 = this.pseudo;
  53508. switch (t1.normalizedName) {
  53509. case "not":
  53510. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53511. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53512. return innerSelector.components;
  53513. case "is":
  53514. case "matches":
  53515. case "where":
  53516. case "any":
  53517. case "current":
  53518. case "nth-child":
  53519. case "nth-last-child":
  53520. if (innerPseudo.name !== t1.name)
  53521. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53522. if (innerPseudo.argument != t1.argument)
  53523. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53524. return innerSelector.components;
  53525. case "has":
  53526. case "host":
  53527. case "host-context":
  53528. case "slotted":
  53529. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53530. default:
  53531. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53532. }
  53533. },
  53534. $signature: 347
  53535. };
  53536. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53537. call$1(complex) {
  53538. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53539. },
  53540. $signature: 348
  53541. };
  53542. A.ExtensionStore__trim_closure.prototype = {
  53543. call$1(complex2) {
  53544. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53545. },
  53546. $signature: 20
  53547. };
  53548. A.ExtensionStore__trim_closure0.prototype = {
  53549. call$1(complex2) {
  53550. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53551. },
  53552. $signature: 20
  53553. };
  53554. A.ExtensionStore_clone_closure.prototype = {
  53555. call$2(simple, selectors) {
  53556. var t1, t2, t3, t4, t5, t6, newSelector, _0_0, _this = this,
  53557. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53558. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53559. for (t1 = selectors.get$iterator(selectors), t2 = _this.newBoxes, t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t1.moveNext$0();) {
  53560. t6 = t1.get$current(t1);
  53561. newSelector = t2.putIfAbsent$2(t6, new A.ExtensionStore_clone__closure(t6));
  53562. newSelectorSet.add$1(0, newSelector);
  53563. t3.$indexSet(0, t6.value, new A.Box(newSelector, newSelector.$ti._eval$1("Box<1>")));
  53564. _0_0 = t4.$index(0, t6);
  53565. if (_0_0 != null)
  53566. t5.$indexSet(0, newSelector, _0_0);
  53567. }
  53568. },
  53569. $signature: 349
  53570. };
  53571. A.ExtensionStore_clone__closure.prototype = {
  53572. call$0() {
  53573. return new A.ModifiableBox(this.selector.value, type$.ModifiableBox_SelectorList);
  53574. },
  53575. $signature: 351
  53576. };
  53577. A.unifyComplex_closure.prototype = {
  53578. call$1(complex) {
  53579. return complex.lineBreak;
  53580. },
  53581. $signature: 20
  53582. };
  53583. A._weaveParents_closure.prototype = {
  53584. call$2(group1, group2) {
  53585. var t1, unified;
  53586. if (B.C_ListEquality.equals$2(0, group1, group2))
  53587. return group1;
  53588. if (A._complexIsParentSuperselector(group1, group2))
  53589. return group2;
  53590. if (A._complexIsParentSuperselector(group2, group1))
  53591. return group1;
  53592. if (!A._mustUnify(group1, group2))
  53593. return null;
  53594. t1 = this.span;
  53595. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty0, group1, t1, false), A.ComplexSelector$(B.List_empty0, group2, t1, false)], type$.JSArray_ComplexSelector), t1);
  53596. if (unified == null)
  53597. t1 = null;
  53598. else {
  53599. t1 = A.IterableExtension_get_singleOrNull(unified);
  53600. t1 = t1 == null ? null : t1.components;
  53601. }
  53602. return t1;
  53603. },
  53604. $signature: 352
  53605. };
  53606. A._weaveParents_closure0.prototype = {
  53607. call$1(sequence) {
  53608. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53609. },
  53610. $signature: 236
  53611. };
  53612. A._weaveParents_closure1.prototype = {
  53613. call$1(sequence) {
  53614. return sequence.get$length(0) === 0;
  53615. },
  53616. $signature: 236
  53617. };
  53618. A._weaveParents_closure2.prototype = {
  53619. call$1(choice) {
  53620. return J.get$isNotEmpty$asx(choice);
  53621. },
  53622. $signature: 355
  53623. };
  53624. A._mustUnify_closure.prototype = {
  53625. call$1(component) {
  53626. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53627. },
  53628. $signature: 55
  53629. };
  53630. A._mustUnify__closure.prototype = {
  53631. call$1(simple) {
  53632. var t1;
  53633. if (!(simple instanceof A.IDSelector))
  53634. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53635. else
  53636. t1 = true;
  53637. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53638. },
  53639. $signature: 13
  53640. };
  53641. A.paths_closure.prototype = {
  53642. call$2(paths, choice) {
  53643. var t1 = this.T;
  53644. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53645. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  53646. return t1;
  53647. },
  53648. $signature() {
  53649. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53650. }
  53651. };
  53652. A.paths__closure.prototype = {
  53653. call$1(option) {
  53654. var t1 = this.T;
  53655. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53656. },
  53657. $signature() {
  53658. return this.T._eval$1("Iterable<List<0>>(0)");
  53659. }
  53660. };
  53661. A.paths___closure.prototype = {
  53662. call$1(path) {
  53663. var t1 = A.List_List$_of(path, this.T);
  53664. t1.push(this.option);
  53665. return t1;
  53666. },
  53667. $signature() {
  53668. return this.T._eval$1("List<0>(List<0>)");
  53669. }
  53670. };
  53671. A.listIsSuperselector_closure.prototype = {
  53672. call$1(complex1) {
  53673. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53674. },
  53675. $signature: 20
  53676. };
  53677. A.listIsSuperselector__closure.prototype = {
  53678. call$1(complex2) {
  53679. return complex2.isSuperselector$1(this.complex1);
  53680. },
  53681. $signature: 20
  53682. };
  53683. A.complexIsSuperselector_closure.prototype = {
  53684. call$1($parent) {
  53685. return $parent.combinators.length > 1;
  53686. },
  53687. $signature: 55
  53688. };
  53689. A.complexIsSuperselector_closure0.prototype = {
  53690. call$1(component) {
  53691. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53692. },
  53693. $signature: 55
  53694. };
  53695. A._compatibleWithPreviousCombinator_closure.prototype = {
  53696. call$1(component) {
  53697. var t1 = component.combinators,
  53698. t2 = A.IterableExtension_get_firstOrNull(t1);
  53699. if ((t2 == null ? null : t2.value) !== B.Combinator_98W) {
  53700. t1 = A.IterableExtension_get_firstOrNull(t1);
  53701. t1 = (t1 == null ? null : t1.value) === B.Combinator_sHB;
  53702. } else
  53703. t1 = true;
  53704. return t1;
  53705. },
  53706. $signature: 55
  53707. };
  53708. A.compoundIsSuperselector_closure.prototype = {
  53709. call$1(simple1) {
  53710. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53711. },
  53712. $signature: 13
  53713. };
  53714. A._selectorPseudoIsSuperselector_closure.prototype = {
  53715. call$1(selector2) {
  53716. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53717. },
  53718. $signature: 67
  53719. };
  53720. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53721. call$1(complex1) {
  53722. var t1, t2;
  53723. if (complex1.leadingCombinators.length === 0) {
  53724. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53725. t2 = this.parents;
  53726. if (t2 != null)
  53727. B.JSArray_methods.addAll$1(t1, t2);
  53728. t2 = this.compound2;
  53729. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53730. t1 = A.complexIsSuperselector(complex1.components, t1);
  53731. } else
  53732. t1 = false;
  53733. return t1;
  53734. },
  53735. $signature: 20
  53736. };
  53737. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53738. call$1(selector2) {
  53739. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53740. },
  53741. $signature: 67
  53742. };
  53743. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53744. call$1(selector2) {
  53745. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53746. },
  53747. $signature: 67
  53748. };
  53749. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53750. call$1(complex) {
  53751. if (complex.accept$1(B._IsBogusVisitor_true))
  53752. return false;
  53753. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53754. },
  53755. $signature: 20
  53756. };
  53757. A._selectorPseudoIsSuperselector__closure.prototype = {
  53758. call$1(simple2) {
  53759. var t1, selector2, _0_4, _this = this;
  53760. $label0$1: {
  53761. if (simple2 instanceof A.TypeSelector) {
  53762. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53763. break $label0$1;
  53764. }
  53765. if (simple2 instanceof A.IDSelector) {
  53766. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53767. break $label0$1;
  53768. }
  53769. selector2 = null;
  53770. t1 = false;
  53771. if (simple2 instanceof A.PseudoSelector) {
  53772. _0_4 = simple2.selector;
  53773. if (_0_4 != null) {
  53774. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53775. t1 = simple2.name === _this.pseudo1.name;
  53776. }
  53777. }
  53778. if (t1) {
  53779. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53780. break $label0$1;
  53781. }
  53782. t1 = false;
  53783. break $label0$1;
  53784. }
  53785. return t1;
  53786. },
  53787. $signature: 13
  53788. };
  53789. A._selectorPseudoIsSuperselector___closure.prototype = {
  53790. call$1(simple1) {
  53791. var t1;
  53792. if (simple1 instanceof A.TypeSelector) {
  53793. t1 = this.simple2.name.$eq(0, simple1.name);
  53794. t1 = !t1;
  53795. } else
  53796. t1 = false;
  53797. return t1;
  53798. },
  53799. $signature: 13
  53800. };
  53801. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53802. call$1(simple1) {
  53803. var t1;
  53804. if (simple1 instanceof A.IDSelector)
  53805. t1 = this.simple2.name !== simple1.name;
  53806. else
  53807. t1 = false;
  53808. return t1;
  53809. },
  53810. $signature: 13
  53811. };
  53812. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53813. call$1(selector2) {
  53814. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53815. return t1;
  53816. },
  53817. $signature: 67
  53818. };
  53819. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53820. call$1(pseudo2) {
  53821. var t1, selector2;
  53822. if (!(pseudo2 instanceof A.PseudoSelector))
  53823. return false;
  53824. t1 = this.pseudo1;
  53825. if (pseudo2.name !== t1.name)
  53826. return false;
  53827. if (pseudo2.argument != t1.argument)
  53828. return false;
  53829. selector2 = pseudo2.selector;
  53830. if (selector2 == null)
  53831. return false;
  53832. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53833. },
  53834. $signature: 13
  53835. };
  53836. A._selectorPseudoArgs_closure.prototype = {
  53837. call$1(pseudo) {
  53838. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53839. },
  53840. $signature: 340
  53841. };
  53842. A._selectorPseudoArgs_closure0.prototype = {
  53843. call$1(pseudo) {
  53844. return pseudo.selector;
  53845. },
  53846. $signature: 367
  53847. };
  53848. A.MergedExtension.prototype = {
  53849. unmerge$0() {
  53850. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53851. },
  53852. unmerge$body$MergedExtension() {
  53853. var $async$self = this;
  53854. return function() {
  53855. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53856. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53857. if ($async$errorCode === 1) {
  53858. $async$errorStack.push($async$result);
  53859. $async$goto = $async$handler;
  53860. }
  53861. for (;;)
  53862. switch ($async$goto) {
  53863. case 0:
  53864. // Function start
  53865. left = $async$self.left;
  53866. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53867. break;
  53868. case 2:
  53869. // then
  53870. $async$goto = 5;
  53871. return $async$iterator._yieldStar$1(left.unmerge$0());
  53872. case 5:
  53873. // after yield
  53874. // goto join
  53875. $async$goto = 3;
  53876. break;
  53877. case 4:
  53878. // else
  53879. $async$goto = 6;
  53880. return $async$iterator._async$_current = left, 1;
  53881. case 6:
  53882. // after yield
  53883. case 3:
  53884. // join
  53885. right = $async$self.right;
  53886. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53887. break;
  53888. case 7:
  53889. // then
  53890. $async$goto = 10;
  53891. return $async$iterator._yieldStar$1(right.unmerge$0());
  53892. case 10:
  53893. // after yield
  53894. // goto join
  53895. $async$goto = 8;
  53896. break;
  53897. case 9:
  53898. // else
  53899. $async$goto = 11;
  53900. return $async$iterator._async$_current = right, 1;
  53901. case 11:
  53902. // after yield
  53903. case 8:
  53904. // join
  53905. // implicit return
  53906. return 0;
  53907. case 1:
  53908. // rethrow
  53909. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53910. }
  53911. };
  53912. };
  53913. }
  53914. };
  53915. A.ExtendMode.prototype = {
  53916. _enumToString$0() {
  53917. return "ExtendMode." + this._name;
  53918. },
  53919. toString$0(_) {
  53920. return this.name;
  53921. }
  53922. };
  53923. A.globalFunctions_closure.prototype = {
  53924. call$1($arguments) {
  53925. var t1 = J.getInterceptor$asx($arguments);
  53926. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53927. },
  53928. $signature: 4
  53929. };
  53930. A.global_closure0.prototype = {
  53931. call$1(color) {
  53932. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53933. },
  53934. $signature: 59
  53935. };
  53936. A.global_closure1.prototype = {
  53937. call$1(color) {
  53938. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53939. },
  53940. $signature: 59
  53941. };
  53942. A.global_closure2.prototype = {
  53943. call$1(color) {
  53944. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53945. },
  53946. $signature: 59
  53947. };
  53948. A.global_closure3.prototype = {
  53949. call$1($arguments) {
  53950. return A._rgb("rgb", $arguments);
  53951. },
  53952. $signature: 4
  53953. };
  53954. A.global_closure4.prototype = {
  53955. call$1($arguments) {
  53956. return A._rgb("rgb", $arguments);
  53957. },
  53958. $signature: 4
  53959. };
  53960. A.global_closure5.prototype = {
  53961. call$1($arguments) {
  53962. return A._rgbTwoArg("rgb", $arguments);
  53963. },
  53964. $signature: 4
  53965. };
  53966. A.global_closure6.prototype = {
  53967. call$1($arguments) {
  53968. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53969. },
  53970. $signature: 4
  53971. };
  53972. A.global_closure7.prototype = {
  53973. call$1($arguments) {
  53974. return A._rgb("rgba", $arguments);
  53975. },
  53976. $signature: 4
  53977. };
  53978. A.global_closure8.prototype = {
  53979. call$1($arguments) {
  53980. return A._rgb("rgba", $arguments);
  53981. },
  53982. $signature: 4
  53983. };
  53984. A.global_closure9.prototype = {
  53985. call$1($arguments) {
  53986. return A._rgbTwoArg("rgba", $arguments);
  53987. },
  53988. $signature: 4
  53989. };
  53990. A.global_closure10.prototype = {
  53991. call$1($arguments) {
  53992. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53993. },
  53994. $signature: 4
  53995. };
  53996. A.global_closure11.prototype = {
  53997. call$1($arguments) {
  53998. var t1 = J.getInterceptor$asx($arguments);
  53999. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  54000. A.warnForDeprecation(string$.Globalci, B.Deprecation_WW3);
  54001. return A._invert($arguments, true);
  54002. },
  54003. $signature: 4
  54004. };
  54005. A.global_closure12.prototype = {
  54006. call$1(color) {
  54007. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  54008. },
  54009. $signature: 46
  54010. };
  54011. A.global_closure13.prototype = {
  54012. call$1(color) {
  54013. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  54014. },
  54015. $signature: 46
  54016. };
  54017. A.global_closure14.prototype = {
  54018. call$1(color) {
  54019. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  54020. },
  54021. $signature: 46
  54022. };
  54023. A.global_closure15.prototype = {
  54024. call$1($arguments) {
  54025. return A._hsl("hsl", $arguments);
  54026. },
  54027. $signature: 4
  54028. };
  54029. A.global_closure16.prototype = {
  54030. call$1($arguments) {
  54031. return A._hsl("hsl", $arguments);
  54032. },
  54033. $signature: 4
  54034. };
  54035. A.global_closure17.prototype = {
  54036. call$1($arguments) {
  54037. var t1 = J.getInterceptor$asx($arguments);
  54038. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  54039. return A._functionString("hsl", $arguments);
  54040. else
  54041. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  54042. },
  54043. $signature: 18
  54044. };
  54045. A.global_closure18.prototype = {
  54046. call$1($arguments) {
  54047. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  54048. },
  54049. $signature: 4
  54050. };
  54051. A.global_closure19.prototype = {
  54052. call$1($arguments) {
  54053. return A._hsl("hsla", $arguments);
  54054. },
  54055. $signature: 4
  54056. };
  54057. A.global_closure20.prototype = {
  54058. call$1($arguments) {
  54059. return A._hsl("hsla", $arguments);
  54060. },
  54061. $signature: 4
  54062. };
  54063. A.global_closure21.prototype = {
  54064. call$1($arguments) {
  54065. var t1 = J.getInterceptor$asx($arguments);
  54066. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  54067. return A._functionString("hsla", $arguments);
  54068. else
  54069. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  54070. },
  54071. $signature: 18
  54072. };
  54073. A.global_closure22.prototype = {
  54074. call$1($arguments) {
  54075. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  54076. },
  54077. $signature: 4
  54078. };
  54079. A.global_closure23.prototype = {
  54080. call$1($arguments) {
  54081. var t1 = J.getInterceptor$asx($arguments);
  54082. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  54083. return A._functionString("grayscale", $arguments);
  54084. else {
  54085. A.warnForDeprecation(string$.Globalcg, B.Deprecation_WW3);
  54086. return A._grayscale(t1.$index($arguments, 0));
  54087. }
  54088. },
  54089. $signature: 4
  54090. };
  54091. A.global_closure24.prototype = {
  54092. call$1($arguments) {
  54093. var t1 = J.getInterceptor$asx($arguments),
  54094. color = t1.$index($arguments, 0).assertColor$1("color"),
  54095. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  54096. if (!color._space.get$isLegacyInternal())
  54097. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  54098. A.warnForDeprecation(string$.adjustd + A.serializeValue(A.SassNumber_SassNumber(degrees, "deg"), false, true) + string$.x29x0a_Mor_, B.Deprecation_zUK);
  54099. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  54100. },
  54101. $signature: 25
  54102. };
  54103. A.global_closure25.prototype = {
  54104. call$1($arguments) {
  54105. var result,
  54106. _s9_ = "lightness",
  54107. t1 = J.getInterceptor$asx($arguments),
  54108. color = t1.$index($arguments, 0).assertColor$1("color"),
  54109. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  54110. if (!color._space.get$isLegacyInternal())
  54111. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  54112. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  54113. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  54114. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_zUK);
  54115. return result;
  54116. },
  54117. $signature: 25
  54118. };
  54119. A.global_closure26.prototype = {
  54120. call$1($arguments) {
  54121. var result,
  54122. _s9_ = "lightness",
  54123. t1 = J.getInterceptor$asx($arguments),
  54124. color = t1.$index($arguments, 0).assertColor$1("color"),
  54125. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  54126. if (!color._space.get$isLegacyInternal())
  54127. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  54128. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  54129. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  54130. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_zUK);
  54131. return result;
  54132. },
  54133. $signature: 25
  54134. };
  54135. A.global_closure27.prototype = {
  54136. call$1($arguments) {
  54137. var t1 = J.getInterceptor$asx($arguments);
  54138. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  54139. return A._functionString("saturate", $arguments);
  54140. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  54141. },
  54142. $signature: 18
  54143. };
  54144. A.global_closure28.prototype = {
  54145. call$1($arguments) {
  54146. var t1, color, amount, result,
  54147. _s10_ = "saturation";
  54148. A.warnForDeprecation(string$.Globalcad, B.Deprecation_WW3);
  54149. t1 = J.getInterceptor$asx($arguments);
  54150. color = t1.$index($arguments, 0).assertColor$1("color");
  54151. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  54152. if (!color._space.get$isLegacyInternal())
  54153. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  54154. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  54155. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  54156. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_zUK);
  54157. return result;
  54158. },
  54159. $signature: 25
  54160. };
  54161. A.global_closure29.prototype = {
  54162. call$1($arguments) {
  54163. var result,
  54164. _s10_ = "saturation",
  54165. t1 = J.getInterceptor$asx($arguments),
  54166. color = t1.$index($arguments, 0).assertColor$1("color"),
  54167. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  54168. if (!color._space.get$isLegacyInternal())
  54169. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  54170. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  54171. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  54172. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_zUK);
  54173. return result;
  54174. },
  54175. $signature: 25
  54176. };
  54177. A.global_closure30.prototype = {
  54178. call$1($arguments) {
  54179. return A._opacify("opacify", $arguments);
  54180. },
  54181. $signature: 25
  54182. };
  54183. A.global_closure31.prototype = {
  54184. call$1($arguments) {
  54185. return A._opacify("fade-in", $arguments);
  54186. },
  54187. $signature: 25
  54188. };
  54189. A.global_closure32.prototype = {
  54190. call$1($arguments) {
  54191. return A._transparentize("transparentize", $arguments);
  54192. },
  54193. $signature: 25
  54194. };
  54195. A.global_closure33.prototype = {
  54196. call$1($arguments) {
  54197. return A._transparentize("fade-out", $arguments);
  54198. },
  54199. $signature: 25
  54200. };
  54201. A.global_closure34.prototype = {
  54202. call$1($arguments) {
  54203. var _0_0 = J.$index$asx($arguments, 0),
  54204. t1 = false;
  54205. if (_0_0 instanceof A.SassString)
  54206. if (!_0_0._hasQuotes)
  54207. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54208. if (t1)
  54209. return A._functionString("alpha", $arguments);
  54210. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54211. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  54212. A.warnForDeprecation(string$.Globalcal, B.Deprecation_WW3);
  54213. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54214. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54215. },
  54216. $signature: 4
  54217. };
  54218. A.global_closure35.prototype = {
  54219. call$1($arguments) {
  54220. var t1,
  54221. argList = J.$index$asx($arguments, 0).get$asList();
  54222. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  54223. return A._functionString("alpha", $arguments);
  54224. t1 = argList.length;
  54225. if (t1 === 0)
  54226. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  54227. else
  54228. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  54229. },
  54230. $signature: 18
  54231. };
  54232. A.global__closure.prototype = {
  54233. call$1(argument) {
  54234. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54235. },
  54236. $signature: 75
  54237. };
  54238. A.global_closure36.prototype = {
  54239. call$1($arguments) {
  54240. var t1 = J.getInterceptor$asx($arguments);
  54241. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  54242. return A._functionString("opacity", $arguments);
  54243. A.warnForDeprecation(string$.Globalco, B.Deprecation_WW3);
  54244. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54245. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54246. },
  54247. $signature: 4
  54248. };
  54249. A.global_closure37.prototype = {
  54250. call$1($arguments) {
  54251. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  54252. },
  54253. $signature: 4
  54254. };
  54255. A.global_closure38.prototype = {
  54256. call$1($arguments) {
  54257. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  54258. },
  54259. $signature: 4
  54260. };
  54261. A.global_closure39.prototype = {
  54262. call$1($arguments) {
  54263. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  54264. },
  54265. $signature: 4
  54266. };
  54267. A.global_closure40.prototype = {
  54268. call$1($arguments) {
  54269. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  54270. },
  54271. $signature: 4
  54272. };
  54273. A.global_closure41.prototype = {
  54274. call$1($arguments) {
  54275. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  54276. },
  54277. $signature: 4
  54278. };
  54279. A.global_closure42.prototype = {
  54280. call$1($arguments) {
  54281. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  54282. },
  54283. $signature: 4
  54284. };
  54285. A.module_closure1.prototype = {
  54286. call$1(color) {
  54287. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  54288. },
  54289. $signature: 59
  54290. };
  54291. A.module_closure2.prototype = {
  54292. call$1(color) {
  54293. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  54294. },
  54295. $signature: 59
  54296. };
  54297. A.module_closure3.prototype = {
  54298. call$1(color) {
  54299. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  54300. },
  54301. $signature: 59
  54302. };
  54303. A.module_closure4.prototype = {
  54304. call$1($arguments) {
  54305. var result = A._invert($arguments, false);
  54306. if (result instanceof A.SassString)
  54307. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_7Bn);
  54308. return result;
  54309. },
  54310. $signature: 4
  54311. };
  54312. A.module_closure5.prototype = {
  54313. call$1(color) {
  54314. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  54315. },
  54316. $signature: 46
  54317. };
  54318. A.module_closure6.prototype = {
  54319. call$1(color) {
  54320. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  54321. },
  54322. $signature: 46
  54323. };
  54324. A.module_closure7.prototype = {
  54325. call$1(color) {
  54326. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  54327. },
  54328. $signature: 46
  54329. };
  54330. A.module_closure8.prototype = {
  54331. call$1($arguments) {
  54332. var result,
  54333. t1 = J.getInterceptor$asx($arguments);
  54334. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54335. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  54336. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_7Bn);
  54337. return result;
  54338. }
  54339. return A._grayscale(t1.$index($arguments, 0));
  54340. },
  54341. $signature: 4
  54342. };
  54343. A.module_closure9.prototype = {
  54344. call$1($arguments) {
  54345. var t1 = J.getInterceptor$asx($arguments),
  54346. t2 = type$.JSArray_Value;
  54347. return A._parseChannels("hwb", A.SassList$(A._setArrayType([A.SassList$(A._setArrayType([t1.$index($arguments, 0), t1.$index($arguments, 1), t1.$index($arguments, 2)], t2), B.ListSeparator_SrV, false), t1.$index($arguments, 3)], t2), B.ListSeparator_Lul, false), null, B.HwbColorSpace_guQ);
  54348. },
  54349. $signature: 4
  54350. };
  54351. A.module_closure10.prototype = {
  54352. call$1($arguments) {
  54353. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  54354. },
  54355. $signature: 4
  54356. };
  54357. A.module_closure11.prototype = {
  54358. call$1(color) {
  54359. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  54360. },
  54361. $signature: 46
  54362. };
  54363. A.module_closure12.prototype = {
  54364. call$1(color) {
  54365. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  54366. },
  54367. $signature: 46
  54368. };
  54369. A.module_closure13.prototype = {
  54370. call$1($arguments) {
  54371. var result,
  54372. _0_0 = J.$index$asx($arguments, 0),
  54373. t1 = false;
  54374. if (_0_0 instanceof A.SassString)
  54375. if (!_0_0._hasQuotes)
  54376. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54377. if (t1) {
  54378. result = A._functionString("alpha", $arguments);
  54379. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_7Bn);
  54380. return result;
  54381. }
  54382. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54383. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54384. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54385. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54386. },
  54387. $signature: 4
  54388. };
  54389. A.module_closure14.prototype = {
  54390. call$1($arguments) {
  54391. var result,
  54392. t1 = J.getInterceptor$asx($arguments);
  54393. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54394. result = A._functionString("alpha", $arguments);
  54395. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_7Bn);
  54396. return result;
  54397. }
  54398. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54399. },
  54400. $signature: 18
  54401. };
  54402. A.module__closure2.prototype = {
  54403. call$1(argument) {
  54404. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54405. },
  54406. $signature: 75
  54407. };
  54408. A.module_closure15.prototype = {
  54409. call$1($arguments) {
  54410. var result,
  54411. t1 = J.getInterceptor$asx($arguments);
  54412. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54413. result = A._functionString("opacity", $arguments);
  54414. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_7Bn);
  54415. return result;
  54416. }
  54417. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54418. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54419. },
  54420. $signature: 4
  54421. };
  54422. A.module_closure16.prototype = {
  54423. call$1($arguments) {
  54424. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54425. },
  54426. $signature: 18
  54427. };
  54428. A.module_closure17.prototype = {
  54429. call$1($arguments) {
  54430. var t1 = J.getInterceptor$asx($arguments);
  54431. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54432. },
  54433. $signature: 25
  54434. };
  54435. A.module_closure18.prototype = {
  54436. call$1($arguments) {
  54437. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54438. },
  54439. $signature: 12
  54440. };
  54441. A.module_closure19.prototype = {
  54442. call$1($arguments) {
  54443. var t1 = J.getInterceptor$asx($arguments);
  54444. return t1.$index($arguments, 0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true : B.SassBoolean_false;
  54445. },
  54446. $signature: 12
  54447. };
  54448. A.module_closure20.prototype = {
  54449. call$1($arguments) {
  54450. var t1 = J.getInterceptor$asx($arguments);
  54451. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54452. },
  54453. $signature: 12
  54454. };
  54455. A.module_closure21.prototype = {
  54456. call$1($arguments) {
  54457. var space, method, _s5_ = "space", _s6_ = "method",
  54458. t1 = J.getInterceptor$asx($arguments),
  54459. color = t1.$index($arguments, 0).assertColor$1("color"),
  54460. t2 = t1.$index($arguments, 1);
  54461. if (t2.$eq(0, B.C__SassNull))
  54462. space = color._space;
  54463. else {
  54464. t2 = t2.assertString$1(_s5_);
  54465. t2.assertUnquoted$1(_s5_);
  54466. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54467. }
  54468. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54469. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54470. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54471. t1.assertUnquoted$1(_s6_);
  54472. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54473. if (!space.get$isBoundedInternal())
  54474. return color;
  54475. t1 = color.toSpace$1(space);
  54476. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54477. return t1.toSpace$2$legacyMissing(color._space, false);
  54478. },
  54479. $signature: 25
  54480. };
  54481. A.module_closure22.prototype = {
  54482. call$1($arguments) {
  54483. var channelIndex, channelInfo, channelValue, unit,
  54484. t1 = J.getInterceptor$asx($arguments),
  54485. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54486. channelName = A._channelName(t1.$index($arguments, 1));
  54487. if (channelName === "alpha") {
  54488. t1 = color.alphaOrNull;
  54489. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54490. }
  54491. t1 = color._space._channels;
  54492. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54493. if (channelIndex === -1)
  54494. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54495. channelInfo = t1[channelIndex];
  54496. channelValue = color.get$channels()[channelIndex];
  54497. unit = channelInfo.associatedUnit;
  54498. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54499. },
  54500. $signature: 26
  54501. };
  54502. A.module__closure1.prototype = {
  54503. call$1(channel) {
  54504. return channel.name === this.channelName;
  54505. },
  54506. $signature: 103
  54507. };
  54508. A.module_closure23.prototype = {
  54509. call$1($arguments) {
  54510. var t2, t3,
  54511. t1 = J.getInterceptor$asx($arguments),
  54512. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54513. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54514. t1 = new A.module_closure_toXyzNoMissing();
  54515. if (color1._space === color2._space) {
  54516. t1 = color1.channel0OrNull;
  54517. t2 = false;
  54518. if (t1 == null)
  54519. t1 = 0;
  54520. t3 = color2.channel0OrNull;
  54521. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54522. t1 = color1.channel1OrNull;
  54523. if (t1 == null)
  54524. t1 = 0;
  54525. t3 = color2.channel1OrNull;
  54526. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54527. t1 = color1.channel2OrNull;
  54528. if (t1 == null)
  54529. t1 = 0;
  54530. t3 = color2.channel2OrNull;
  54531. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54532. t1 = color1.alphaOrNull;
  54533. if (t1 == null)
  54534. t1 = 0;
  54535. t2 = color2.alphaOrNull;
  54536. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54537. } else
  54538. t1 = t2;
  54539. } else
  54540. t1 = t2;
  54541. } else
  54542. t1 = t2;
  54543. } else
  54544. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54545. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54546. },
  54547. $signature: 12
  54548. };
  54549. A.module_closure_toXyzNoMissing.prototype = {
  54550. call$1(color) {
  54551. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  54552. $label0$0: {
  54553. _1_1 = color._space;
  54554. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54555. t1 = _1_3;
  54556. if (t1)
  54557. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54558. else
  54559. t1 = false;
  54560. if (t1) {
  54561. t1 = color;
  54562. break $label0$0;
  54563. }
  54564. if (_1_3) {
  54565. _1_7 = color.channel0OrNull;
  54566. if (_1_7 == null)
  54567. _1_7 = 0;
  54568. channel0 = _1_7;
  54569. _1_8 = color.channel1OrNull;
  54570. if (_1_8 == null)
  54571. _1_8 = 0;
  54572. channel1 = _1_8;
  54573. _1_9 = color.channel2OrNull;
  54574. if (_1_9 == null)
  54575. _1_9 = 0;
  54576. channel2 = _1_9;
  54577. _1_10 = color.alphaOrNull;
  54578. if (_1_10 == null)
  54579. _1_10 = 0;
  54580. alpha = _1_10;
  54581. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, _null);
  54582. break $label0$0;
  54583. }
  54584. _1_7 = color.channel0OrNull;
  54585. if (_1_7 == null)
  54586. _1_7 = 0;
  54587. channel0 = _1_7;
  54588. _1_8 = color.channel1OrNull;
  54589. if (_1_8 == null)
  54590. _1_8 = 0;
  54591. channel1 = _1_8;
  54592. _1_9 = color.channel2OrNull;
  54593. if (_1_9 == null)
  54594. _1_9 = 0;
  54595. channel2 = _1_9;
  54596. _1_10 = color.alphaOrNull;
  54597. if (_1_10 == null)
  54598. _1_10 = 0;
  54599. alpha = _1_10;
  54600. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54601. break $label0$0;
  54602. }
  54603. return t1;
  54604. },
  54605. $signature: 396
  54606. };
  54607. A.module_closure24.prototype = {
  54608. call$1($arguments) {
  54609. var t1 = J.getInterceptor$asx($arguments);
  54610. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true).isChannelPowerless$3$channelName$colorName(A._channelName(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true : B.SassBoolean_false;
  54611. },
  54612. $signature: 12
  54613. };
  54614. A._mix_closure.prototype = {
  54615. call$1($arguments) {
  54616. var _s6_ = "weight",
  54617. _s41_ = string$.To_usem,
  54618. _s29_ = ", you must provide a $method.",
  54619. t1 = J.getInterceptor$asx($arguments),
  54620. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54621. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54622. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54623. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54624. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54625. A._checkPercent(weight, _s6_);
  54626. if (!color1._space.get$isLegacyInternal())
  54627. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54628. else if (!color2._space.get$isLegacyInternal())
  54629. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54630. return A._mixLegacy(color1, color2, weight);
  54631. },
  54632. $signature: 25
  54633. };
  54634. A._complement_closure.prototype = {
  54635. call$1($arguments) {
  54636. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54637. t1 = J.getInterceptor$asx($arguments),
  54638. color = t1.$index($arguments, 0).assertColor$1("color"),
  54639. t2 = color._space;
  54640. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54641. space = B.HslColorSpace_JQ2;
  54642. else {
  54643. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54644. t3.assertUnquoted$1(_s5_);
  54645. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54646. }
  54647. if (!space.get$isPolarInternal())
  54648. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54649. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54650. t1 = space._channels;
  54651. t3 = colorInSpace.channel0OrNull;
  54652. t4 = colorInSpace.channel1OrNull;
  54653. t5 = colorInSpace.channel2OrNull;
  54654. t6 = colorInSpace.alphaOrNull;
  54655. return (space.get$isLegacyInternal() ? A.SassColor_SassColor$forSpaceInternal(space, A._adjustChannel(colorInSpace, t1[0], t3, A.SassNumber_SassNumber(180, null)), t4, t5, t6) : A.SassColor_SassColor$forSpaceInternal(space, t3, t4, A._adjustChannel(colorInSpace, t1[2], t5, A.SassNumber_SassNumber(180, null)), t6)).toSpace$2$legacyMissing(t2, false);
  54656. },
  54657. $signature: 25
  54658. };
  54659. A._adjust_closure.prototype = {
  54660. call$1($arguments) {
  54661. return A._updateComponents($arguments, true, false, false);
  54662. },
  54663. $signature: 25
  54664. };
  54665. A._scale_closure.prototype = {
  54666. call$1($arguments) {
  54667. return A._updateComponents($arguments, false, false, true);
  54668. },
  54669. $signature: 25
  54670. };
  54671. A._change_closure.prototype = {
  54672. call$1($arguments) {
  54673. return A._updateComponents($arguments, false, true, false);
  54674. },
  54675. $signature: 25
  54676. };
  54677. A._ieHexStr_closure.prototype = {
  54678. call$1($arguments) {
  54679. var t1, t2, t3, t4, t5,
  54680. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54681. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54682. t1 = new A._ieHexStr_closure_hexString();
  54683. t2 = color.alphaOrNull;
  54684. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54685. t3 = color.channel0OrNull;
  54686. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54687. t4 = color.channel1OrNull;
  54688. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54689. t5 = color.channel2OrNull;
  54690. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54691. },
  54692. $signature: 18
  54693. };
  54694. A._ieHexStr_closure_hexString.prototype = {
  54695. call$1(component) {
  54696. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54697. },
  54698. $signature: 214
  54699. };
  54700. A._updateComponents_closure.prototype = {
  54701. call$1(space) {
  54702. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54703. },
  54704. $signature: 415
  54705. };
  54706. A._updateComponents_closure0.prototype = {
  54707. call$1(info) {
  54708. return this._box_0.name === info.name;
  54709. },
  54710. $signature: 103
  54711. };
  54712. A._changeColor_closure.prototype = {
  54713. call$0() {
  54714. var t1 = this.alphaArg;
  54715. A.warnForDeprecation("$alpha: Passing a unit other than % (" + t1.toString$0(0) + string$.x29x20is_d_ + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_7TE);
  54716. return t1.valueInRange$3(0, 1, "alpha");
  54717. },
  54718. $signature: 207
  54719. };
  54720. A._adjustColor_closure.prototype = {
  54721. call$1(alpha) {
  54722. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54723. },
  54724. $signature: 16
  54725. };
  54726. A._functionString_closure.prototype = {
  54727. call$1(argument) {
  54728. return A.serializeValue(argument, false, true);
  54729. },
  54730. $signature: 448
  54731. };
  54732. A._removedColorFunction_closure.prototype = {
  54733. call$1($arguments) {
  54734. var t1 = this.name,
  54735. t2 = J.getInterceptor$asx($arguments),
  54736. t3 = t2.$index($arguments, 0).toString$0(0),
  54737. t4 = this.negative ? "-" : "";
  54738. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + t2.$index($arguments, 1).toString$0(0) + string$.x29x0a_Moro + t1, null));
  54739. },
  54740. $signature: 450
  54741. };
  54742. A._rgb_closure.prototype = {
  54743. call$1(alpha) {
  54744. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54745. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54746. },
  54747. $signature: 195
  54748. };
  54749. A._hsl_closure.prototype = {
  54750. call$1(alpha) {
  54751. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54752. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54753. },
  54754. $signature: 195
  54755. };
  54756. A._parseChannels_closure.prototype = {
  54757. call$1($name) {
  54758. return $name + " channel";
  54759. },
  54760. $signature: 6
  54761. };
  54762. A._parseChannels_closure0.prototype = {
  54763. call$1(channel) {
  54764. return channel.get$isSpecialNumber();
  54765. },
  54766. $signature: 75
  54767. };
  54768. A._colorFromChannels_closure.prototype = {
  54769. call$1(channel0) {
  54770. return A._angleValue(channel0, "hue");
  54771. },
  54772. $signature: 129
  54773. };
  54774. A._colorFromChannels_closure0.prototype = {
  54775. call$1(channel0) {
  54776. return A._angleValue(channel0, "hue");
  54777. },
  54778. $signature: 129
  54779. };
  54780. A._channelFromValue_closure.prototype = {
  54781. call$1(value) {
  54782. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  54783. _0_0 = this.channel;
  54784. $label0$0: {
  54785. t1 = _0_0 instanceof A.LinearChannel;
  54786. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54787. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54788. _0_8 = null;
  54789. t2 = false;
  54790. if (t1) {
  54791. _0_5 = _0_0.lowerClamped;
  54792. _0_8_isSet = !_0_5;
  54793. if (_0_8_isSet) {
  54794. _0_8 = _0_0.upperClamped;
  54795. t2 = !_0_8;
  54796. }
  54797. } else {
  54798. _0_5 = null;
  54799. _0_8_isSet = false;
  54800. }
  54801. if (t2) {
  54802. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54803. break $label0$0;
  54804. }
  54805. if (t1 && !this.clamp) {
  54806. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54807. break $label0$0;
  54808. }
  54809. if (t1) {
  54810. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54811. t1 = _0_0.max;
  54812. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54813. t3 = _0_5 ? _0_0.min : -1 / 0;
  54814. t1 = upperClamped ? t1 : 1 / 0;
  54815. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54816. break $label0$0;
  54817. }
  54818. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54819. break $label0$0;
  54820. }
  54821. return t1;
  54822. },
  54823. $signature: 129
  54824. };
  54825. A._channelFunction_closure.prototype = {
  54826. call$1($arguments) {
  54827. var _this = this,
  54828. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54829. t1 = _this.global ? "" : "color.",
  54830. t2 = _this.name;
  54831. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_zUK);
  54832. return result;
  54833. },
  54834. $signature: 26
  54835. };
  54836. A._suggestScaleAndAdjust_closure.prototype = {
  54837. call$1(channel) {
  54838. return channel.name === this.channelName;
  54839. },
  54840. $signature: 103
  54841. };
  54842. A._length_closure0.prototype = {
  54843. call$1($arguments) {
  54844. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54845. },
  54846. $signature: 26
  54847. };
  54848. A._nth_closure.prototype = {
  54849. call$1($arguments) {
  54850. var t1 = J.getInterceptor$asx($arguments),
  54851. list = t1.$index($arguments, 0),
  54852. index = t1.$index($arguments, 1);
  54853. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54854. },
  54855. $signature: 4
  54856. };
  54857. A._setNth_closure.prototype = {
  54858. call$1($arguments) {
  54859. var newList,
  54860. t1 = J.getInterceptor$asx($arguments),
  54861. list = t1.$index($arguments, 0),
  54862. index = t1.$index($arguments, 1),
  54863. value = t1.$index($arguments, 2);
  54864. t1 = list.get$asList();
  54865. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54866. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54867. return list.withListContents$1(newList);
  54868. },
  54869. $signature: 28
  54870. };
  54871. A._join_closure.prototype = {
  54872. call$1($arguments) {
  54873. var _0_1, _0_4, _0_3, t2, _0_40, _0_4_isSet, separator, bracketed, _null = null,
  54874. t1 = J.getInterceptor$asx($arguments),
  54875. list1 = t1.$index($arguments, 0),
  54876. list2 = t1.$index($arguments, 1),
  54877. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54878. bracketedParam = t1.$index($arguments, 3),
  54879. _1_0 = separatorParam._string$_text;
  54880. $label1$1: {
  54881. if ("auto" === _1_0) {
  54882. _0_1 = list1.get$separator(list1);
  54883. _0_4 = list2.get$separator(list2);
  54884. $label0$0: {
  54885. t1 = _null;
  54886. _0_3 = B.ListSeparator_undecided_null_3_undecided === _0_1;
  54887. t2 = _0_3;
  54888. if (t2) {
  54889. t2 = B.ListSeparator_undecided_null_3_undecided === _0_4;
  54890. _0_40 = _0_4;
  54891. _0_4_isSet = true;
  54892. } else {
  54893. _0_40 = _null;
  54894. _0_4_isSet = false;
  54895. t2 = false;
  54896. }
  54897. if (t2) {
  54898. t1 = B.ListSeparator_SrV;
  54899. break $label0$0;
  54900. }
  54901. if (_0_3) {
  54902. separator = _0_4_isSet ? _0_40 : _0_4;
  54903. t2 = true;
  54904. } else {
  54905. separator = t1;
  54906. t2 = false;
  54907. }
  54908. if (!t2)
  54909. separator = _0_1;
  54910. t1 = separator;
  54911. break $label0$0;
  54912. }
  54913. break $label1$1;
  54914. }
  54915. if ("space" === _1_0) {
  54916. t1 = B.ListSeparator_SrV;
  54917. break $label1$1;
  54918. }
  54919. if ("comma" === _1_0) {
  54920. t1 = B.ListSeparator_z0K;
  54921. break $label1$1;
  54922. }
  54923. if ("slash" === _1_0) {
  54924. t1 = B.ListSeparator_Lul;
  54925. break $label1$1;
  54926. }
  54927. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  54928. }
  54929. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54930. t2 = A.List_List$_of(list1.get$asList(), type$.Value);
  54931. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54932. return A.SassList$(t2, t1, bracketed);
  54933. },
  54934. $signature: 28
  54935. };
  54936. A._append_closure0.prototype = {
  54937. call$1($arguments) {
  54938. var t2,
  54939. t1 = J.getInterceptor$asx($arguments),
  54940. list = t1.$index($arguments, 0),
  54941. value = t1.$index($arguments, 1),
  54942. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54943. $label0$0: {
  54944. if ("auto" === _0_0) {
  54945. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_3_undecided ? B.ListSeparator_SrV : list.get$separator(list);
  54946. break $label0$0;
  54947. }
  54948. if ("space" === _0_0) {
  54949. t1 = B.ListSeparator_SrV;
  54950. break $label0$0;
  54951. }
  54952. if ("comma" === _0_0) {
  54953. t1 = B.ListSeparator_z0K;
  54954. break $label0$0;
  54955. }
  54956. if ("slash" === _0_0) {
  54957. t1 = B.ListSeparator_Lul;
  54958. break $label0$0;
  54959. }
  54960. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54961. }
  54962. t2 = A.List_List$_of(list.get$asList(), type$.Value);
  54963. t2.push(value);
  54964. return list.withListContents$2$separator(t2, t1);
  54965. },
  54966. $signature: 28
  54967. };
  54968. A._zip_closure.prototype = {
  54969. call$1($arguments) {
  54970. var results, result, _box_0 = {},
  54971. t1 = J.$index$asx($arguments, 0).get$asList(),
  54972. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54973. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure(), t2), t2._eval$1("ListIterable.E"));
  54974. if (lists.length === 0)
  54975. return B.SassList_oH0;
  54976. _box_0.i = 0;
  54977. results = A._setArrayType([], type$.JSArray_SassList);
  54978. for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value>"), t2 = type$.Value; B.JSArray_methods.every$1(lists, new A._zip__closure0(_box_0));) {
  54979. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54980. result.$flags = 3;
  54981. results.push(new A.SassList(result, B.ListSeparator_SrV, false));
  54982. ++_box_0.i;
  54983. }
  54984. return A.SassList$(results, B.ListSeparator_z0K, false);
  54985. },
  54986. $signature: 28
  54987. };
  54988. A._zip__closure.prototype = {
  54989. call$1(list) {
  54990. return list.get$asList();
  54991. },
  54992. $signature: 481
  54993. };
  54994. A._zip__closure0.prototype = {
  54995. call$1(list) {
  54996. return this._box_0.i !== J.get$length$asx(list);
  54997. },
  54998. $signature: 679
  54999. };
  55000. A._zip__closure1.prototype = {
  55001. call$1(list) {
  55002. return J.$index$asx(list, this._box_0.i);
  55003. },
  55004. $signature: 4
  55005. };
  55006. A._index_closure0.prototype = {
  55007. call$1($arguments) {
  55008. var t1 = J.getInterceptor$asx($arguments),
  55009. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  55010. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  55011. },
  55012. $signature: 4
  55013. };
  55014. A._separator_closure.prototype = {
  55015. call$1($arguments) {
  55016. var t1 = J.$index$asx($arguments, 0),
  55017. _0_0 = t1.get$separator(t1);
  55018. $label0$0: {
  55019. if (B.ListSeparator_z0K === _0_0) {
  55020. t1 = new A.SassString("comma", false);
  55021. break $label0$0;
  55022. }
  55023. if (B.ListSeparator_Lul === _0_0) {
  55024. t1 = new A.SassString("slash", false);
  55025. break $label0$0;
  55026. }
  55027. t1 = new A.SassString("space", false);
  55028. break $label0$0;
  55029. }
  55030. return t1;
  55031. },
  55032. $signature: 18
  55033. };
  55034. A._isBracketed_closure.prototype = {
  55035. call$1($arguments) {
  55036. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  55037. },
  55038. $signature: 12
  55039. };
  55040. A._slash_closure.prototype = {
  55041. call$1($arguments) {
  55042. var list = J.$index$asx($arguments, 0).get$asList();
  55043. if (list.length < 2)
  55044. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  55045. return A.SassList$(list, B.ListSeparator_Lul, false);
  55046. },
  55047. $signature: 28
  55048. };
  55049. A._get_closure.prototype = {
  55050. call$1($arguments) {
  55051. var value,
  55052. t1 = J.getInterceptor$asx($arguments),
  55053. map = t1.$index($arguments, 0).assertMap$1("map"),
  55054. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  55055. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  55056. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  55057. value = map._map$_contents.$index(0, t1.get$current(t1));
  55058. if (!(value instanceof A.SassMap))
  55059. return B.C__SassNull;
  55060. }
  55061. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  55062. return t1 == null ? B.C__SassNull : t1;
  55063. },
  55064. $signature: 4
  55065. };
  55066. A._set_closure.prototype = {
  55067. call$1($arguments) {
  55068. var t1 = J.getInterceptor$asx($arguments);
  55069. return A._modify(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value), new A._set__closure0($arguments), true);
  55070. },
  55071. $signature: 4
  55072. };
  55073. A._set__closure0.prototype = {
  55074. call$1(_) {
  55075. return J.$index$asx(this.$arguments, 2);
  55076. },
  55077. $signature: 41
  55078. };
  55079. A._set_closure0.prototype = {
  55080. call$1($arguments) {
  55081. var keys, t2, t3,
  55082. t1 = J.getInterceptor$asx($arguments),
  55083. map = t1.$index($arguments, 0).assertMap$1("map"),
  55084. _0_0 = t1.$index($arguments, 1).get$asList(),
  55085. _0_1 = _0_0.length;
  55086. if (_0_1 <= 0)
  55087. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  55088. if (_0_1 === 1)
  55089. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  55090. t1 = {};
  55091. keys = t1.value = null;
  55092. t2 = _0_1 >= 1;
  55093. if (t2) {
  55094. t3 = _0_1 - 1;
  55095. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  55096. t1.value = _0_0[t3];
  55097. }
  55098. if (t2)
  55099. return A._modify(map, keys, new A._set__closure(t1), true);
  55100. throw A.wrapException("[BUG] Unreachable code");
  55101. },
  55102. $signature: 4
  55103. };
  55104. A._set__closure.prototype = {
  55105. call$1(_) {
  55106. return this._box_0.value;
  55107. },
  55108. $signature: 41
  55109. };
  55110. A._merge_closure.prototype = {
  55111. call$1($arguments) {
  55112. var t2,
  55113. t1 = J.getInterceptor$asx($arguments),
  55114. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  55115. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  55116. t1 = type$.Value;
  55117. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  55118. t2.addAll$1(0, map2._map$_contents);
  55119. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55120. },
  55121. $signature: 38
  55122. };
  55123. A._merge_closure0.prototype = {
  55124. call$1($arguments) {
  55125. var last, t2, keys, _null = null,
  55126. t1 = J.getInterceptor$asx($arguments),
  55127. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  55128. _0_0 = t1.$index($arguments, 1).get$asList(),
  55129. _0_1 = _0_0.length;
  55130. if (_0_1 <= 0)
  55131. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  55132. if (_0_1 === 1)
  55133. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  55134. t1 = _0_1 >= 1;
  55135. last = _null;
  55136. if (t1) {
  55137. t2 = _0_1 - 1;
  55138. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  55139. last = _0_0[t2];
  55140. } else
  55141. keys = _null;
  55142. if (t1)
  55143. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  55144. throw A.wrapException("[BUG] Unreachable code");
  55145. },
  55146. $signature: 4
  55147. };
  55148. A._merge__closure.prototype = {
  55149. call$1(oldValue) {
  55150. var t1, t2,
  55151. nestedMap = oldValue.tryMap$0();
  55152. if (nestedMap == null)
  55153. return this.map2;
  55154. t1 = type$.Value;
  55155. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  55156. t2.addAll$1(0, this.map2._map$_contents);
  55157. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55158. },
  55159. $signature: 638
  55160. };
  55161. A._deepMerge_closure.prototype = {
  55162. call$1($arguments) {
  55163. var t1 = J.getInterceptor$asx($arguments);
  55164. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  55165. },
  55166. $signature: 38
  55167. };
  55168. A._deepRemove_closure.prototype = {
  55169. call$1($arguments) {
  55170. var t1 = J.getInterceptor$asx($arguments),
  55171. map = t1.$index($arguments, 0).assertMap$1("map"),
  55172. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  55173. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  55174. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  55175. },
  55176. $signature: 4
  55177. };
  55178. A._deepRemove__closure.prototype = {
  55179. call$1(value) {
  55180. var t1, nestedMap, t2,
  55181. _0_0 = value.tryMap$0();
  55182. if (_0_0 != null) {
  55183. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  55184. nestedMap = _0_0;
  55185. } else {
  55186. nestedMap = null;
  55187. t1 = false;
  55188. }
  55189. if (t1) {
  55190. t1 = type$.Value;
  55191. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  55192. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  55193. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55194. }
  55195. return value;
  55196. },
  55197. $signature: 41
  55198. };
  55199. A._remove_closure.prototype = {
  55200. call$1($arguments) {
  55201. return J.$index$asx($arguments, 0).assertMap$1("map");
  55202. },
  55203. $signature: 38
  55204. };
  55205. A._remove_closure0.prototype = {
  55206. call$1($arguments) {
  55207. var mutableMap, t3, _i,
  55208. t1 = J.getInterceptor$asx($arguments),
  55209. map = t1.$index($arguments, 0).assertMap$1("map"),
  55210. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  55211. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  55212. t1 = type$.Value;
  55213. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  55214. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  55215. mutableMap.remove$1(0, t2[_i]);
  55216. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  55217. },
  55218. $signature: 38
  55219. };
  55220. A._keys_closure.prototype = {
  55221. call$1($arguments) {
  55222. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  55223. return A.SassList$(t1.get$keys(t1), B.ListSeparator_z0K, false);
  55224. },
  55225. $signature: 28
  55226. };
  55227. A._values_closure.prototype = {
  55228. call$1($arguments) {
  55229. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  55230. return A.SassList$(t1.get$values(t1), B.ListSeparator_z0K, false);
  55231. },
  55232. $signature: 28
  55233. };
  55234. A._hasKey_closure.prototype = {
  55235. call$1($arguments) {
  55236. var value,
  55237. t1 = J.getInterceptor$asx($arguments),
  55238. map = t1.$index($arguments, 0).assertMap$1("map"),
  55239. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  55240. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  55241. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  55242. value = map._map$_contents.$index(0, t1.get$current(t1));
  55243. if (!(value instanceof A.SassMap))
  55244. return B.SassBoolean_false;
  55245. }
  55246. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  55247. },
  55248. $signature: 12
  55249. };
  55250. A._modify_modifyNestedMap.prototype = {
  55251. call$1(map) {
  55252. var nestedMap, _this = this,
  55253. t1 = type$.Value,
  55254. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  55255. t2 = _this.keyIterator,
  55256. key = t2.get$current(t2);
  55257. if (!t2.moveNext$0()) {
  55258. t2 = mutableMap.$index(0, key);
  55259. if (t2 == null)
  55260. t2 = B.C__SassNull;
  55261. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  55262. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  55263. }
  55264. t2 = mutableMap.$index(0, key);
  55265. nestedMap = t2 == null ? null : t2.tryMap$0();
  55266. t2 = nestedMap == null;
  55267. if (t2 && !_this.addNesting)
  55268. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  55269. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  55270. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  55271. },
  55272. $signature: 655
  55273. };
  55274. A.global_closure.prototype = {
  55275. call$1($arguments) {
  55276. var t1,
  55277. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55278. if (number.hasUnit$1("%"))
  55279. A.warnForDeprecation(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_Usi);
  55280. else
  55281. A.warnForDeprecation(string$.Globalm, B.Deprecation_WW3);
  55282. t1 = number.get$numeratorUnits(number);
  55283. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  55284. },
  55285. $signature: 26
  55286. };
  55287. A.module_closure0.prototype = {
  55288. call$1(value) {
  55289. return Math.abs(value);
  55290. },
  55291. $signature: 16
  55292. };
  55293. A._ceil_closure.prototype = {
  55294. call$1(value) {
  55295. return B.JSNumber_methods.ceil$0(value);
  55296. },
  55297. $signature: 16
  55298. };
  55299. A._clamp_closure.prototype = {
  55300. call$1($arguments) {
  55301. var t1 = J.getInterceptor$asx($arguments),
  55302. min = t1.$index($arguments, 0).assertNumber$1("min"),
  55303. number = t1.$index($arguments, 1).assertNumber$1("number"),
  55304. max = t1.$index($arguments, 2).assertNumber$1("max");
  55305. number.convertValueToMatch$3(min, "number", "min");
  55306. max.convertValueToMatch$3(min, "max", "min");
  55307. if (min.greaterThanOrEquals$1(max).value)
  55308. return min;
  55309. if (min.greaterThanOrEquals$1(number).value)
  55310. return min;
  55311. if (number.greaterThanOrEquals$1(max).value)
  55312. return max;
  55313. return number;
  55314. },
  55315. $signature: 26
  55316. };
  55317. A._floor_closure.prototype = {
  55318. call$1(value) {
  55319. return B.JSNumber_methods.floor$0(value);
  55320. },
  55321. $signature: 16
  55322. };
  55323. A._max_closure.prototype = {
  55324. call$1($arguments) {
  55325. var t1, t2, max, _i, number;
  55326. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  55327. number = t1[_i].assertNumber$0();
  55328. if (max == null || max.lessThan$1(number).value)
  55329. max = number;
  55330. }
  55331. if (max != null)
  55332. return max;
  55333. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55334. },
  55335. $signature: 26
  55336. };
  55337. A._min_closure.prototype = {
  55338. call$1($arguments) {
  55339. var t1, t2, min, _i, number;
  55340. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  55341. number = t1[_i].assertNumber$0();
  55342. if (min == null || min.greaterThan$1(number).value)
  55343. min = number;
  55344. }
  55345. if (min != null)
  55346. return min;
  55347. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55348. },
  55349. $signature: 26
  55350. };
  55351. A._round_closure.prototype = {
  55352. call$1(number) {
  55353. return B.JSNumber_methods.round$0(number);
  55354. },
  55355. $signature: 16
  55356. };
  55357. A._hypot_closure.prototype = {
  55358. call$1($arguments) {
  55359. var subtotal, i, i0, t3,
  55360. t1 = J.$index$asx($arguments, 0).get$asList(),
  55361. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  55362. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), t2._eval$1("ListIterable.E"));
  55363. if (numbers.length === 0)
  55364. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55365. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  55366. i0 = i + 1;
  55367. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  55368. }
  55369. t1 = Math.sqrt(subtotal);
  55370. t2 = numbers[0];
  55371. t2 = t2.get$numeratorUnits(t2);
  55372. t3 = numbers[0];
  55373. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t3), t2);
  55374. },
  55375. $signature: 26
  55376. };
  55377. A._hypot__closure.prototype = {
  55378. call$1(argument) {
  55379. return argument.assertNumber$0();
  55380. },
  55381. $signature: 676
  55382. };
  55383. A._log_closure.prototype = {
  55384. call$1($arguments) {
  55385. var base,
  55386. _s18_ = " to have no units.",
  55387. _null = null,
  55388. t1 = J.getInterceptor$asx($arguments),
  55389. number = t1.$index($arguments, 0).assertNumber$1("number");
  55390. if (number.get$hasUnits())
  55391. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55392. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55393. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55394. base = t1.$index($arguments, 1).assertNumber$1("base");
  55395. if (base.get$hasUnits())
  55396. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55397. else
  55398. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55399. },
  55400. $signature: 26
  55401. };
  55402. A._pow_closure.prototype = {
  55403. call$1($arguments) {
  55404. var t1 = J.getInterceptor$asx($arguments);
  55405. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55406. },
  55407. $signature: 26
  55408. };
  55409. A._atan2_closure.prototype = {
  55410. call$1($arguments) {
  55411. var t1 = J.getInterceptor$asx($arguments),
  55412. y = t1.$index($arguments, 0).assertNumber$1("y");
  55413. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  55414. },
  55415. $signature: 26
  55416. };
  55417. A._compatible_closure.prototype = {
  55418. call$1($arguments) {
  55419. var t1 = J.getInterceptor$asx($arguments);
  55420. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55421. },
  55422. $signature: 12
  55423. };
  55424. A._isUnitless_closure.prototype = {
  55425. call$1($arguments) {
  55426. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55427. },
  55428. $signature: 12
  55429. };
  55430. A._unit_closure.prototype = {
  55431. call$1($arguments) {
  55432. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55433. },
  55434. $signature: 18
  55435. };
  55436. A._percentage_closure.prototype = {
  55437. call$1($arguments) {
  55438. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55439. number.assertNoUnits$1("number");
  55440. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55441. },
  55442. $signature: 26
  55443. };
  55444. A._randomFunction_closure.prototype = {
  55445. call$1($arguments) {
  55446. var limit, limitScalar,
  55447. t1 = J.getInterceptor$asx($arguments);
  55448. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55449. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55450. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55451. if (limit.get$hasUnits())
  55452. A.warnForDeprecation(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_7TE);
  55453. limitScalar = limit.assertInt$1("limit");
  55454. if (limitScalar < 1)
  55455. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55456. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55457. },
  55458. $signature: 26
  55459. };
  55460. A._div_closure.prototype = {
  55461. call$1($arguments) {
  55462. var t1 = J.getInterceptor$asx($arguments),
  55463. number1 = t1.$index($arguments, 0),
  55464. number2 = t1.$index($arguments, 1);
  55465. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55466. A.warn(string$.math_d);
  55467. return number1.dividedBy$1(number2);
  55468. },
  55469. $signature: 4
  55470. };
  55471. A._singleArgumentMathFunc_closure.prototype = {
  55472. call$1($arguments) {
  55473. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55474. },
  55475. $signature: 26
  55476. };
  55477. A._numberFunction_closure.prototype = {
  55478. call$1($arguments) {
  55479. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55480. t1 = this.transform.call$1(number._number$_value),
  55481. t2 = number.get$numeratorUnits(number);
  55482. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55483. },
  55484. $signature: 26
  55485. };
  55486. A._shared_closure.prototype = {
  55487. call$1($arguments) {
  55488. A.warnForDeprecation(string$.The_fe, B.Deprecation_PY0);
  55489. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55490. },
  55491. $signature: 12
  55492. };
  55493. A._shared_closure0.prototype = {
  55494. call$1($arguments) {
  55495. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55496. },
  55497. $signature: 18
  55498. };
  55499. A._shared_closure1.prototype = {
  55500. call$1($arguments) {
  55501. var t1 = J.getInterceptor$asx($arguments),
  55502. _0_0 = t1.$index($arguments, 0);
  55503. $label0$0: {
  55504. if (_0_0 instanceof A.SassArgumentList) {
  55505. t1 = "arglist";
  55506. break $label0$0;
  55507. }
  55508. if (_0_0 instanceof A.SassBoolean) {
  55509. t1 = "bool";
  55510. break $label0$0;
  55511. }
  55512. if (_0_0 instanceof A.SassColor) {
  55513. t1 = "color";
  55514. break $label0$0;
  55515. }
  55516. if (_0_0 instanceof A.SassList) {
  55517. t1 = "list";
  55518. break $label0$0;
  55519. }
  55520. if (_0_0 instanceof A.SassMap) {
  55521. t1 = "map";
  55522. break $label0$0;
  55523. }
  55524. if (B.C__SassNull === _0_0) {
  55525. t1 = "null";
  55526. break $label0$0;
  55527. }
  55528. if (_0_0 instanceof A.SassNumber) {
  55529. t1 = "number";
  55530. break $label0$0;
  55531. }
  55532. if (_0_0 instanceof A.SassFunction) {
  55533. t1 = "function";
  55534. break $label0$0;
  55535. }
  55536. if (_0_0 instanceof A.SassMixin) {
  55537. t1 = "mixin";
  55538. break $label0$0;
  55539. }
  55540. if (_0_0 instanceof A.SassCalculation) {
  55541. t1 = "calculation";
  55542. break $label0$0;
  55543. }
  55544. if (_0_0 instanceof A.SassString) {
  55545. t1 = "string";
  55546. break $label0$0;
  55547. }
  55548. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55549. }
  55550. return new A.SassString(t1, false);
  55551. },
  55552. $signature: 18
  55553. };
  55554. A._shared_closure2.prototype = {
  55555. call$1($arguments) {
  55556. var t2, t3, t4,
  55557. t1 = J.getInterceptor$asx($arguments),
  55558. _1_0 = t1.$index($arguments, 0);
  55559. if (_1_0 instanceof A.SassArgumentList) {
  55560. _1_0._wereKeywordsAccessed = true;
  55561. t1 = type$.Value;
  55562. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55563. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55564. t4 = t3.get$current(t3);
  55565. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55566. }
  55567. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55568. } else
  55569. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55570. },
  55571. $signature: 38
  55572. };
  55573. A.moduleFunctions_closure.prototype = {
  55574. call$1($arguments) {
  55575. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55576. },
  55577. $signature: 18
  55578. };
  55579. A.moduleFunctions_closure0.prototype = {
  55580. call$1($arguments) {
  55581. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55582. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_z0K, false);
  55583. },
  55584. $signature: 28
  55585. };
  55586. A.moduleFunctions__closure.prototype = {
  55587. call$1(argument) {
  55588. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55589. },
  55590. $signature: 677
  55591. };
  55592. A.moduleFunctions_closure1.prototype = {
  55593. call$1($arguments) {
  55594. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent, _null = null,
  55595. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55596. _0_0 = mixin.callable;
  55597. $label0$0: {
  55598. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55599. _0_2 = _null;
  55600. acceptsContent = _null;
  55601. if (_0_2_isSet) {
  55602. _0_2 = _0_0.get$acceptsContent();
  55603. acceptsContent = _0_2;
  55604. }
  55605. if (!_0_2_isSet) {
  55606. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55607. if (_0_2_isSet)
  55608. acceptsContent = _0_0.acceptsContent;
  55609. t1 = _0_2_isSet;
  55610. } else
  55611. t1 = true;
  55612. if (t1) {
  55613. t1 = acceptsContent;
  55614. break $label0$0;
  55615. }
  55616. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55617. _0_5 = _null;
  55618. if (_0_5_isSet) {
  55619. _0_5 = _0_0.declaration;
  55620. t1 = _0_5;
  55621. t1 = t1 instanceof A.MixinRule;
  55622. } else
  55623. t1 = false;
  55624. if (t1) {
  55625. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55626. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55627. t1 = hasContent;
  55628. break $label0$0;
  55629. }
  55630. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55631. }
  55632. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55633. },
  55634. $signature: 12
  55635. };
  55636. A._nest_closure.prototype = {
  55637. call$1($arguments) {
  55638. var t1 = {},
  55639. selectors = J.$index$asx($arguments, 0).get$asList();
  55640. if (selectors.length === 0)
  55641. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55642. t1.first = true;
  55643. return new A.MappedListIterable(selectors, new A._nest__closure(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._nest__closure0()).get$asSassList();
  55644. },
  55645. $signature: 28
  55646. };
  55647. A._nest__closure.prototype = {
  55648. call$1(selector) {
  55649. var t1 = this._box_0,
  55650. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55651. t1.first = false;
  55652. return result;
  55653. },
  55654. $signature: 224
  55655. };
  55656. A._nest__closure0.prototype = {
  55657. call$2($parent, child) {
  55658. return child.nestWithin$1($parent);
  55659. },
  55660. $signature: 250
  55661. };
  55662. A._append_closure.prototype = {
  55663. call$1($arguments) {
  55664. var t1,
  55665. selectors = J.$index$asx($arguments, 0).get$asList();
  55666. if (selectors.length === 0)
  55667. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55668. t1 = A.EvaluationContext_currentOrNull();
  55669. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  55670. },
  55671. $signature: 28
  55672. };
  55673. A._append__closure.prototype = {
  55674. call$1(selector) {
  55675. return A.SassApiValue_assertSelector(selector, false, null);
  55676. },
  55677. $signature: 224
  55678. };
  55679. A._append__closure0.prototype = {
  55680. call$2($parent, child) {
  55681. var t1 = child.components,
  55682. t2 = this.span;
  55683. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), t2).nestWithin$1($parent);
  55684. },
  55685. $signature: 250
  55686. };
  55687. A._append___closure.prototype = {
  55688. call$1(complex) {
  55689. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55690. if (complex.leadingCombinators.length !== 0)
  55691. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55692. _0_0 = complex.components;
  55693. t1 = _0_0.length >= 1;
  55694. if (t1) {
  55695. component = _0_0[0];
  55696. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55697. } else {
  55698. rest = _null;
  55699. component = rest;
  55700. }
  55701. if (!t1)
  55702. throw A.wrapException(A.StateError$("Pattern matching error"));
  55703. newCompound = A._prependParent(component.selector);
  55704. if (newCompound == null)
  55705. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55706. t1 = this.span;
  55707. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55708. B.JSArray_methods.addAll$1(t2, rest);
  55709. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55710. },
  55711. $signature: 62
  55712. };
  55713. A._extend_closure.prototype = {
  55714. call$1($arguments) {
  55715. var target, source,
  55716. _s8_ = "selector",
  55717. _s8_0 = "extendee",
  55718. _s8_1 = "extender",
  55719. t1 = J.getInterceptor$asx($arguments),
  55720. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55721. selector.assertNotBogus$1$name(_s8_);
  55722. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55723. target.assertNotBogus$1$name(_s8_0);
  55724. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55725. source.assertNotBogus$1$name(_s8_1);
  55726. t1 = A.EvaluationContext_currentOrNull();
  55727. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_2_allTargets, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  55728. },
  55729. $signature: 28
  55730. };
  55731. A._replace_closure.prototype = {
  55732. call$1($arguments) {
  55733. var target, source,
  55734. _s8_ = "selector",
  55735. _s8_0 = "original",
  55736. _s11_ = "replacement",
  55737. t1 = J.getInterceptor$asx($arguments),
  55738. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55739. selector.assertNotBogus$1$name(_s8_);
  55740. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55741. target.assertNotBogus$1$name(_s8_0);
  55742. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55743. source.assertNotBogus$1$name(_s11_);
  55744. t1 = A.EvaluationContext_currentOrNull();
  55745. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_1_replace, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  55746. },
  55747. $signature: 28
  55748. };
  55749. A._unify_closure.prototype = {
  55750. call$1($arguments) {
  55751. var selector2,
  55752. _s9_ = "selector1",
  55753. _s9_0 = "selector2",
  55754. t1 = J.getInterceptor$asx($arguments),
  55755. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55756. selector1.assertNotBogus$1$name(_s9_);
  55757. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55758. selector2.assertNotBogus$1$name(_s9_0);
  55759. t1 = selector1.unify$1(selector2);
  55760. t1 = t1 == null ? null : t1.get$asSassList();
  55761. return t1 == null ? B.C__SassNull : t1;
  55762. },
  55763. $signature: 4
  55764. };
  55765. A._isSuperselector_closure.prototype = {
  55766. call$1($arguments) {
  55767. var selector2,
  55768. t1 = J.getInterceptor$asx($arguments),
  55769. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55770. selector1.assertNotBogus$1$name("super");
  55771. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55772. selector2.assertNotBogus$1$name("sub");
  55773. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55774. },
  55775. $signature: 12
  55776. };
  55777. A._simpleSelectors_closure.prototype = {
  55778. call$1($arguments) {
  55779. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55780. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_z0K, false);
  55781. },
  55782. $signature: 28
  55783. };
  55784. A._simpleSelectors__closure.prototype = {
  55785. call$1(simple) {
  55786. return new A.SassString(A.serializeSelector(simple, true), false);
  55787. },
  55788. $signature: 678
  55789. };
  55790. A._parse_closure.prototype = {
  55791. call$1($arguments) {
  55792. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55793. },
  55794. $signature: 28
  55795. };
  55796. A.module_closure.prototype = {
  55797. call$1($arguments) {
  55798. var limit, t2, chunks, i, lastEnd, match, t3,
  55799. t1 = J.getInterceptor$asx($arguments),
  55800. string = t1.$index($arguments, 0).assertString$1("string"),
  55801. separator = t1.$index($arguments, 1).assertString$1("separator");
  55802. t1 = t1.$index($arguments, 2).get$realNull();
  55803. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55804. if (limit != null && limit < 1)
  55805. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55806. t1 = string._string$_text;
  55807. if (t1.length === 0)
  55808. return B.SassList_oWx;
  55809. else {
  55810. t2 = separator._string$_text;
  55811. if (t2.length === 0)
  55812. return A.SassList$(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure(string), type$.Runes._eval$1("Iterable.E"), type$.Value), B.ListSeparator_z0K, true);
  55813. }
  55814. chunks = A._setArrayType([], type$.JSArray_String);
  55815. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  55816. match = t2.__js_helper$_current;
  55817. t3 = match.start;
  55818. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55819. lastEnd = t3 + match.pattern.length;
  55820. ++i;
  55821. if (i === limit)
  55822. break;
  55823. }
  55824. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55825. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_z0K, true);
  55826. },
  55827. $signature: 28
  55828. };
  55829. A.module__closure.prototype = {
  55830. call$1(rune) {
  55831. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55832. },
  55833. $signature: 656
  55834. };
  55835. A.module__closure0.prototype = {
  55836. call$1(chunk) {
  55837. return new A.SassString(chunk, this.string._hasQuotes);
  55838. },
  55839. $signature: 653
  55840. };
  55841. A._unquote_closure.prototype = {
  55842. call$1($arguments) {
  55843. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55844. if (!string._hasQuotes)
  55845. return string;
  55846. return new A.SassString(string._string$_text, false);
  55847. },
  55848. $signature: 18
  55849. };
  55850. A._quote_closure.prototype = {
  55851. call$1($arguments) {
  55852. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55853. if (string._hasQuotes)
  55854. return string;
  55855. return new A.SassString(string._string$_text, true);
  55856. },
  55857. $signature: 18
  55858. };
  55859. A._length_closure.prototype = {
  55860. call$1($arguments) {
  55861. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55862. },
  55863. $signature: 26
  55864. };
  55865. A._insert_closure.prototype = {
  55866. call$1($arguments) {
  55867. var indexInt, codeUnitIndex, _s5_ = "index",
  55868. t1 = J.getInterceptor$asx($arguments),
  55869. string = t1.$index($arguments, 0).assertString$1("string"),
  55870. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55871. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55872. index.assertNoUnits$1(_s5_);
  55873. indexInt = index.assertInt$1(_s5_);
  55874. if (indexInt < 0)
  55875. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55876. t1 = string._string$_text;
  55877. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55878. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55879. },
  55880. $signature: 18
  55881. };
  55882. A._index_closure.prototype = {
  55883. call$1($arguments) {
  55884. var t1 = J.getInterceptor$asx($arguments),
  55885. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55886. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55887. if (codeUnitIndex === -1)
  55888. return B.C__SassNull;
  55889. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55890. },
  55891. $signature: 4
  55892. };
  55893. A._slice_closure.prototype = {
  55894. call$1($arguments) {
  55895. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55896. _s8_ = "start-at",
  55897. t1 = J.getInterceptor$asx($arguments),
  55898. string = t1.$index($arguments, 0).assertString$1("string"),
  55899. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55900. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55901. start.assertNoUnits$1(_s8_);
  55902. end.assertNoUnits$1("end-at");
  55903. lengthInCodepoints = string.get$_sassLength();
  55904. endInt = end.assertInt$0();
  55905. if (endInt === 0)
  55906. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55907. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55908. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55909. if (endCodepoint === lengthInCodepoints)
  55910. --endCodepoint;
  55911. if (endCodepoint < startCodepoint)
  55912. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55913. t1 = string._string$_text;
  55914. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55915. },
  55916. $signature: 18
  55917. };
  55918. A._toUpperCase_closure.prototype = {
  55919. call$1($arguments) {
  55920. var t1, t2, i, t3, t4,
  55921. string = J.$index$asx($arguments, 0).assertString$1("string");
  55922. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55923. t4 = t1.charCodeAt(i);
  55924. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55925. }
  55926. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55927. },
  55928. $signature: 18
  55929. };
  55930. A._toLowerCase_closure.prototype = {
  55931. call$1($arguments) {
  55932. var t1, t2, i, t3, t4,
  55933. string = J.$index$asx($arguments, 0).assertString$1("string");
  55934. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55935. t4 = t1.charCodeAt(i);
  55936. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55937. }
  55938. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55939. },
  55940. $signature: 18
  55941. };
  55942. A._uniqueId_closure.prototype = {
  55943. call$1($arguments) {
  55944. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55945. $._previousUniqueId = t1;
  55946. if (t1 > Math.pow(36, 6))
  55947. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55948. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55949. },
  55950. $signature: 18
  55951. };
  55952. A.ImportCache.prototype = {
  55953. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55954. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  55955. if (A.isBrowser())
  55956. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55957. else
  55958. t1 = false;
  55959. if (t1)
  55960. throw A.wrapException(string$.Custom);
  55961. if (baseImporter != null && url.get$scheme() === "") {
  55962. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55963. if (resolvedUrl == null)
  55964. resolvedUrl = url;
  55965. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55966. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55967. if (relativeResult != null)
  55968. return relativeResult;
  55969. }
  55970. key = new A._Record_2_forImport(url, forImport);
  55971. t1 = _this._canonicalizeCache;
  55972. if (t1.containsKey$1(key))
  55973. return t1.$index(0, key);
  55974. for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
  55975. importer = t2[i];
  55976. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55977. if (t4.containsKey$1(perImporterKey)) {
  55978. t7 = t4.$index(0, perImporterKey);
  55979. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55980. } else
  55981. _1_0 = _null;
  55982. _1_2_isSet = t3._is(_1_0);
  55983. result = _null;
  55984. if (_1_2_isSet) {
  55985. _1_2 = _1_0._0;
  55986. t7 = _1_2 != null;
  55987. if (t7) {
  55988. t6._as(_1_2);
  55989. result = _1_2;
  55990. }
  55991. } else {
  55992. _1_2 = _null;
  55993. t7 = false;
  55994. }
  55995. if (t7)
  55996. return result;
  55997. if (_1_2_isSet)
  55998. t7 = _1_2 == null;
  55999. else
  56000. t7 = false;
  56001. if (t7)
  56002. continue;
  56003. $label0$1: {
  56004. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  56005. _2_1 = _2_0._0;
  56006. _2_5_isSet = _2_1 != null;
  56007. _2_5 = _null;
  56008. _2_3 = _null;
  56009. t7 = false;
  56010. if (_2_5_isSet) {
  56011. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  56012. _2_3 = _2_0._1;
  56013. t7 = _2_3;
  56014. _2_5 = t7;
  56015. t7 = t7 && cacheable;
  56016. } else
  56017. result = _null;
  56018. if (t7) {
  56019. t1.$indexSet(0, key, result);
  56020. return result;
  56021. }
  56022. if (_2_5_isSet) {
  56023. t7 = _2_5;
  56024. _2_3_isSet = _2_5_isSet;
  56025. } else {
  56026. _2_3 = _2_0._1;
  56027. t7 = _2_3;
  56028. _2_3_isSet = true;
  56029. }
  56030. t7 = t7 && !cacheable;
  56031. if (t7) {
  56032. t4.$indexSet(0, perImporterKey, _2_1);
  56033. if (_2_1 != null)
  56034. return _2_1;
  56035. break $label0$1;
  56036. }
  56037. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  56038. if (t7) {
  56039. if (cacheable) {
  56040. for (j = 0; j < i; ++j)
  56041. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  56042. cacheable = false;
  56043. }
  56044. if (_2_1 != null)
  56045. return _2_1;
  56046. }
  56047. }
  56048. }
  56049. if (cacheable)
  56050. t1.$indexSet(0, key, _null);
  56051. return _null;
  56052. },
  56053. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  56054. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  56055. },
  56056. _canonicalize$4(importer, url, baseUrl, forImport) {
  56057. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  56058. if (baseUrl != null)
  56059. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  56060. else
  56061. passContainingUrl = false;
  56062. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  56063. t1 = type$.nullable_Object;
  56064. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  56065. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  56066. if (result == null)
  56067. return new A._Record_2(null, cacheable);
  56068. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  56069. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  56070. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  56071. },
  56072. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  56073. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  56074. },
  56075. importCanonical$2(importer, canonicalUrl) {
  56076. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  56077. },
  56078. humanize$1(canonicalUrl) {
  56079. var t1 = this._canonicalizeCache,
  56080. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  56081. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.ImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1()), new A.ImportCache_humanize_closure2(canonicalUrl));
  56082. return t2 == null ? canonicalUrl : t2;
  56083. },
  56084. sourceMapUrl$1(_, canonicalUrl) {
  56085. var t1 = this._resultsCache.$index(0, canonicalUrl);
  56086. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  56087. return t1 == null ? canonicalUrl : t1;
  56088. },
  56089. clearCanonicalize$1(canonicalUrl) {
  56090. var key, t5, t6, _i0,
  56091. t1 = this._canonicalizeCache,
  56092. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_2_Uri_and_bool_forImport),
  56093. t3 = t2.length,
  56094. t4 = this._importers,
  56095. _i = 0;
  56096. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56097. key = t2[_i];
  56098. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  56099. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  56100. t1.remove$1(0, key);
  56101. break;
  56102. }
  56103. }
  56104. t1 = this._perImporterCanonicalizeCache;
  56105. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_3_Importer_and_Uri_and_bool_forImport);
  56106. t3 = t2.length;
  56107. _i = 0;
  56108. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56109. key = t2[_i];
  56110. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  56111. t1.remove$1(0, key);
  56112. }
  56113. },
  56114. clearImport$1(canonicalUrl) {
  56115. this._resultsCache.remove$1(0, canonicalUrl);
  56116. this._importCache.remove$1(0, canonicalUrl);
  56117. }
  56118. };
  56119. A.ImportCache_canonicalize_closure.prototype = {
  56120. call$0() {
  56121. var _this = this,
  56122. t1 = _this.$this,
  56123. t2 = _this.baseUrl,
  56124. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  56125. if (t2 != null)
  56126. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  56127. return _0_0._0;
  56128. },
  56129. $signature: 128
  56130. };
  56131. A.ImportCache__canonicalize_closure.prototype = {
  56132. call$0() {
  56133. return this.importer.canonicalize$1(0, this.url);
  56134. },
  56135. $signature: 143
  56136. };
  56137. A.ImportCache_importCanonical_closure.prototype = {
  56138. call$0() {
  56139. var t3, t4, _this = this,
  56140. t1 = Date.now(),
  56141. t2 = _this.canonicalUrl,
  56142. result = _this.importer.load$1(0, t2);
  56143. if (result == null)
  56144. return null;
  56145. t3 = _this.$this;
  56146. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  56147. t3._resultsCache.$indexSet(0, t2, result);
  56148. t3 = result.contents;
  56149. t1 = result.syntax;
  56150. t4 = _this.originalUrl;
  56151. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  56152. },
  56153. $signature: 84
  56154. };
  56155. A.ImportCache_humanize_closure.prototype = {
  56156. call$1(result) {
  56157. return result._1.$eq(0, this.canonicalUrl);
  56158. },
  56159. $signature: 616
  56160. };
  56161. A.ImportCache_humanize_closure0.prototype = {
  56162. call$1(result) {
  56163. return result._2;
  56164. },
  56165. $signature: 609
  56166. };
  56167. A.ImportCache_humanize_closure1.prototype = {
  56168. call$1(url) {
  56169. return url.get$path(url).length;
  56170. },
  56171. $signature: 88
  56172. };
  56173. A.ImportCache_humanize_closure2.prototype = {
  56174. call$1(url) {
  56175. var t1 = $.$get$url(),
  56176. t2 = this.canonicalUrl;
  56177. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  56178. },
  56179. $signature: 47
  56180. };
  56181. A.Importer.prototype = {
  56182. modificationTime$1(url) {
  56183. return new A.DateTime(Date.now(), 0, false);
  56184. },
  56185. couldCanonicalize$2(url, canonicalUrl) {
  56186. return true;
  56187. },
  56188. isNonCanonicalScheme$1(scheme) {
  56189. return false;
  56190. }
  56191. };
  56192. A.AsyncImporter.prototype = {};
  56193. A.CanonicalizeContext.prototype = {};
  56194. A.FilesystemImporter.prototype = {
  56195. canonicalize$1(_, url) {
  56196. var resolved, _0_0;
  56197. if (url.get$scheme() === "file")
  56198. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  56199. else if (url.get$scheme() !== "")
  56200. return null;
  56201. else {
  56202. _0_0 = this._loadPath;
  56203. if (_0_0 != null) {
  56204. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  56205. if (resolved != null && this._loadPathDeprecated)
  56206. A.warnForDeprecation(string$.Using_t, B.Deprecation_uJ0);
  56207. } else
  56208. return null;
  56209. }
  56210. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  56211. },
  56212. load$1(_, url) {
  56213. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  56214. t1 = A.readFile(path),
  56215. t2 = A.Syntax_forPath(path),
  56216. t3 = url.get$scheme();
  56217. if (t3 === "")
  56218. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  56219. return new A.ImporterResult(t1, url, t2);
  56220. },
  56221. modificationTime$1(url) {
  56222. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  56223. },
  56224. couldCanonicalize$2(url, canonicalUrl) {
  56225. var t1, t2, basename, canonicalBasename;
  56226. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  56227. return false;
  56228. if (canonicalUrl.get$scheme() !== "file")
  56229. return false;
  56230. t1 = $.$get$url();
  56231. t2 = t1.style;
  56232. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  56233. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  56234. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  56235. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  56236. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  56237. },
  56238. toString$0(_) {
  56239. var t1 = this._loadPath;
  56240. return t1 == null ? "<absolute file importer>" : t1;
  56241. }
  56242. };
  56243. A.FilesystemImporter_canonicalize_closure.prototype = {
  56244. call$1(resolved) {
  56245. var t2, t0, _null = null,
  56246. t1 = A.isNodeJs() ? self.process : _null;
  56247. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  56248. t1 = A.isNodeJs() ? self.process : _null;
  56249. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  56250. } else
  56251. t1 = true;
  56252. if (t1) {
  56253. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  56254. t2 = $.$get$context();
  56255. t1 = A._realCasePath(t2.normalize$1(t1));
  56256. } else {
  56257. t1 = $.$get$context();
  56258. t2 = t1.canonicalize$1(0, resolved);
  56259. t0 = t2;
  56260. t2 = t1;
  56261. t1 = t0;
  56262. }
  56263. return t2.toUri$1(t1);
  56264. },
  56265. $signature: 127
  56266. };
  56267. A.NoOpImporter.prototype = {};
  56268. A.NodePackageImporter.prototype = {
  56269. isNonCanonicalScheme$1(scheme) {
  56270. return scheme === "pkg";
  56271. },
  56272. canonicalize$1(_, url) {
  56273. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  56274. if (url.get$scheme() === "file")
  56275. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  56276. if (url.get$scheme() !== "pkg")
  56277. return _null;
  56278. if (url.get$hasAuthority())
  56279. throw A.wrapException(string$.A_pkg_h);
  56280. else {
  56281. t1 = $.$get$url();
  56282. t2 = t1.style;
  56283. if (t2.rootLength$1(url.get$path(url)) > 0)
  56284. throw A.wrapException("A pkg: URL's path must not begin with /.");
  56285. else if (url.get$path(url).length === 0)
  56286. throw A.wrapException("A pkg: URL must not have an empty path.");
  56287. else if (url.get$hasQuery() || url.get$hasFragment())
  56288. throw A.wrapException(string$.A_pkg_q);
  56289. }
  56290. t3 = A.canonicalizeContext();
  56291. t3._wasContainingUrlAccessed = true;
  56292. t3 = t3._containingUrl;
  56293. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  56294. t3 = A.canonicalizeContext();
  56295. t3._wasContainingUrlAccessed = true;
  56296. t3 = t3._containingUrl;
  56297. t3.toString;
  56298. t4 = $.$get$context();
  56299. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  56300. } else {
  56301. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  56302. t3 === $ && A.throwUnnamedLateFieldNI();
  56303. baseDirectory = t3;
  56304. }
  56305. packageName = null;
  56306. parts = t1.split$1(0, url.get$path(url));
  56307. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  56308. t4 = $.$get$context();
  56309. t5 = t4.style;
  56310. $name = t5.pathFromUri$1(A._parseUri(t3));
  56311. if (B.JSString_methods.startsWith$1($name, "@"))
  56312. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  56313. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  56314. packageName = $name;
  56315. t1 = true;
  56316. if (!J.startsWith$1$s(packageName, "."))
  56317. if (!J.contains$1$asx(packageName, "\\"))
  56318. if (!J.contains$1$asx(packageName, "%"))
  56319. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  56320. if (t1)
  56321. return _null;
  56322. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  56323. if (packageRoot == null)
  56324. return _null;
  56325. jsonPath = A.join(packageRoot, "package.json", _null);
  56326. jsonString = A.readFile(jsonPath);
  56327. packageManifest = null;
  56328. try {
  56329. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  56330. } catch (exception) {
  56331. e = A.unwrapException(exception);
  56332. t1 = A.S(jsonPath);
  56333. t2 = A.S(packageName);
  56334. t3 = A.S(e);
  56335. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  56336. }
  56337. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  56338. if (_1_0 != null)
  56339. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  56340. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  56341. else {
  56342. t1 = subpath == null ? "root" : subpath;
  56343. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  56344. }
  56345. if (subpath == null) {
  56346. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  56347. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  56348. }
  56349. subpathInRoot = A.join(packageRoot, subpath, _null);
  56350. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  56351. },
  56352. load$1(_, url) {
  56353. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  56354. },
  56355. _resolvePackageRoot$2(packageName, baseDirectory) {
  56356. var potentialPackage, t1;
  56357. for (;;) {
  56358. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  56359. if (A.dirExists(potentialPackage))
  56360. return potentialPackage;
  56361. t1 = $.$get$context();
  56362. if (t1.split$1(0, baseDirectory).length === 1)
  56363. return null;
  56364. baseDirectory = t1.dirname$1(baseDirectory);
  56365. }
  56366. },
  56367. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  56368. var t1, sassValue, _1_0, styleValue, _null = null,
  56369. _0_0 = packageManifest.$index(0, "sass");
  56370. if (typeof _0_0 == "string") {
  56371. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56372. sassValue = _0_0;
  56373. } else {
  56374. sassValue = _null;
  56375. t1 = false;
  56376. }
  56377. if (t1)
  56378. return A.join(packageRoot, sassValue, _null);
  56379. else {
  56380. _1_0 = packageManifest.$index(0, "style");
  56381. if (typeof _1_0 == "string") {
  56382. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56383. styleValue = _1_0;
  56384. } else {
  56385. styleValue = _null;
  56386. t1 = false;
  56387. }
  56388. if (t1)
  56389. return A.join(packageRoot, styleValue, _null);
  56390. }
  56391. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56392. },
  56393. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56394. var _0_0, _1_0, _this = this,
  56395. exports = packageManifest.$index(0, "exports");
  56396. if (exports == null)
  56397. return null;
  56398. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56399. if (_0_0 != null)
  56400. return _0_0;
  56401. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56402. return null;
  56403. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56404. if (_1_0 != null)
  56405. return _1_0;
  56406. return null;
  56407. },
  56408. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56409. var t2, matches, _1_1, path,
  56410. t1 = false;
  56411. if (type$.Map_String_dynamic._is(exports)) {
  56412. t2 = exports.get$keys(exports);
  56413. if (t2.any$1(t2, new A.NodePackageImporter__nodePackageExportsResolve_closure())) {
  56414. t1 = exports.get$keys(exports);
  56415. t1 = t1.any$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure0());
  56416. }
  56417. }
  56418. if (t1) {
  56419. t1 = exports.get$keys(exports);
  56420. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + t1.map$1$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  56421. }
  56422. t1 = type$.NonNullsIterable_String;
  56423. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure2(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), t1._eval$1("Iterable.E"));
  56424. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  56425. $label0$1: {
  56426. _1_1 = matches.length;
  56427. if (_1_1 === 1) {
  56428. path = matches[0];
  56429. t1 = path;
  56430. break $label0$1;
  56431. }
  56432. if (_1_1 <= 0) {
  56433. t1 = null;
  56434. break $label0$1;
  56435. }
  56436. t1 = subpath == null ? "root" : subpath;
  56437. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56438. }
  56439. return t1;
  56440. },
  56441. _compareExpansionKeys$2(keyA, keyB) {
  56442. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56443. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56444. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56445. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56446. if (baseLengthA > baseLengthB)
  56447. return -1;
  56448. if (baseLengthB > baseLengthA)
  56449. return 1;
  56450. if (!t1)
  56451. return 1;
  56452. if (!t2)
  56453. return -1;
  56454. t1 = keyA.length;
  56455. t2 = keyB.length;
  56456. if (t1 > t2)
  56457. return -1;
  56458. if (t2 > t1)
  56459. return 1;
  56460. return 0;
  56461. },
  56462. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56463. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56464. t1 = typeof exports == "string";
  56465. if (t1) {
  56466. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56467. string = exports;
  56468. } else {
  56469. string = _null;
  56470. t2 = false;
  56471. }
  56472. if (t2)
  56473. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56474. if (t1) {
  56475. t2 = patternMatch != null;
  56476. string = exports;
  56477. } else {
  56478. string = _null;
  56479. t2 = false;
  56480. }
  56481. if (t2) {
  56482. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56483. t2 = $.$get$context();
  56484. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56485. return A.fileExists(path) ? path : _null;
  56486. }
  56487. string = t1 ? exports : _null;
  56488. if (t1) {
  56489. t1 = $.$get$context();
  56490. string.toString;
  56491. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56492. }
  56493. t1 = type$.Map_String_dynamic._is(exports);
  56494. map = t1 ? exports : _null;
  56495. if (t1) {
  56496. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56497. t2 = t1.get$current(t1);
  56498. key = t2._0;
  56499. value = t2._1;
  56500. if (!B.Set_8229z.contains$1(0, key))
  56501. continue;
  56502. if (value == null)
  56503. continue;
  56504. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56505. if (_1_0 != null)
  56506. return _1_0;
  56507. }
  56508. return _null;
  56509. }
  56510. t1 = type$.List_dynamic._is(exports);
  56511. if (t1 && J.get$length$asx(exports) <= 0)
  56512. return _null;
  56513. array = t1 ? exports : _null;
  56514. if (t1) {
  56515. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56516. value = t1.get$current(t1);
  56517. if (value == null)
  56518. continue;
  56519. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56520. if (_2_0 != null)
  56521. return _2_0;
  56522. }
  56523. return _null;
  56524. }
  56525. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56526. },
  56527. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56528. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56529. },
  56530. _getMainExport$1(exports) {
  56531. var t1, t2, t3, map, _0_4, t4, $export;
  56532. $label0$0: {
  56533. t1 = null;
  56534. if (typeof exports == "string") {
  56535. t1 = exports;
  56536. break $label0$0;
  56537. }
  56538. if (type$.List_String._is(exports)) {
  56539. t1 = exports;
  56540. break $label0$0;
  56541. }
  56542. t2 = type$.Map_String_dynamic._is(exports);
  56543. if (t2) {
  56544. t3 = exports.get$keys(exports);
  56545. t3 = !t3.any$1(t3, new A.NodePackageImporter__getMainExport_closure());
  56546. map = exports;
  56547. } else {
  56548. map = t1;
  56549. t3 = false;
  56550. }
  56551. if (t3) {
  56552. t1 = map;
  56553. break $label0$0;
  56554. }
  56555. t3 = false;
  56556. if (t2) {
  56557. _0_4 = exports.$index(0, ".");
  56558. if (_0_4 == null)
  56559. t4 = exports.containsKey$1(".");
  56560. else
  56561. t4 = true;
  56562. if (t4)
  56563. t3 = _0_4 != null;
  56564. } else
  56565. _0_4 = null;
  56566. if (t3) {
  56567. $export = t2 ? _0_4 : exports.$index(0, ".");
  56568. t1 = $export;
  56569. break $label0$0;
  56570. }
  56571. break $label0$0;
  56572. }
  56573. return t1;
  56574. },
  56575. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56576. var basename, dirname, t3, t4, _i, path,
  56577. t1 = type$.JSArray_String,
  56578. paths = A._setArrayType([], t1),
  56579. t2 = subpath == null;
  56580. if (t2 && addIndex)
  56581. subpath = "index";
  56582. else if (!t2 && addIndex)
  56583. subpath = A.join(subpath, "index", null);
  56584. if (subpath == null)
  56585. return A._setArrayType([null], type$.JSArray_nullable_String);
  56586. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56587. paths.push(subpath);
  56588. else
  56589. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56590. t1 = $.$get$context();
  56591. t2 = t1.style;
  56592. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56593. dirname = t1.dirname$1(subpath);
  56594. if (B.JSString_methods.startsWith$1(basename, "_"))
  56595. return paths;
  56596. t1 = A.List_List$_of(paths, type$.nullable_String);
  56597. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56598. path = paths[_i];
  56599. if (t4)
  56600. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56601. else
  56602. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56603. }
  56604. return t1;
  56605. },
  56606. _exportsToCheck$1(subpath) {
  56607. return this._exportsToCheck$2$addIndex(subpath, false);
  56608. }
  56609. };
  56610. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56611. call$1(key) {
  56612. return B.JSString_methods.startsWith$1(key, ".");
  56613. },
  56614. $signature: 5
  56615. };
  56616. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56617. call$1(key) {
  56618. return !B.JSString_methods.startsWith$1(key, ".");
  56619. },
  56620. $signature: 5
  56621. };
  56622. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56623. call$1(key) {
  56624. return '"' + key + '"';
  56625. },
  56626. $signature: 6
  56627. };
  56628. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56629. call$1(variant) {
  56630. var t1, t2, matchKey, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  56631. if (variant == null) {
  56632. t1 = _this.$this;
  56633. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56634. } else {
  56635. t1 = _this.exports;
  56636. if (type$.Map_String_dynamic._is(t1)) {
  56637. t2 = t1.get$keys(t1);
  56638. t2 = t2.every$1(t2, new A.NodePackageImporter__nodePackageExportsResolve__closure0());
  56639. } else
  56640. t2 = true;
  56641. if (t2)
  56642. return _null;
  56643. }
  56644. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56645. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56646. t1 = t1.$index(0, matchKey);
  56647. if (t1 == null)
  56648. t1 = A._asObject(t1);
  56649. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56650. }
  56651. t2 = A._setArrayType([], type$.JSArray_String);
  56652. for (t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  56653. t4 = t3.get$current(t3);
  56654. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  56655. t2.push(t4);
  56656. }
  56657. t3 = _this.$this;
  56658. B.JSArray_methods.sort$1(t2, t3.get$_compareExpansionKeys());
  56659. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56660. expansionKey = t2[_i];
  56661. _0_0 = expansionKey.split("*");
  56662. t6 = _0_0.length === 2;
  56663. if (t6) {
  56664. patternBase = _0_0[0];
  56665. patternTrailer = _0_0[1];
  56666. } else {
  56667. patternTrailer = _null;
  56668. patternBase = patternTrailer;
  56669. }
  56670. if (!t6)
  56671. throw A.wrapException(A.StateError$("Pattern matching error"));
  56672. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56673. continue;
  56674. if (matchKey === patternBase)
  56675. continue;
  56676. t6 = patternTrailer.length;
  56677. if (t6 !== 0)
  56678. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  56679. else
  56680. t7 = true;
  56681. if (t7) {
  56682. target = t1.$index(0, expansionKey);
  56683. if (target == null)
  56684. continue;
  56685. return t3._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  56686. }
  56687. }
  56688. return _null;
  56689. },
  56690. $signature: 145
  56691. };
  56692. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56693. call$1(mainExport) {
  56694. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56695. },
  56696. $signature: 146
  56697. };
  56698. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56699. call$1(key) {
  56700. return !B.JSString_methods.startsWith$1(key, ".");
  56701. },
  56702. $signature: 5
  56703. };
  56704. A.NodePackageImporter__getMainExport_closure.prototype = {
  56705. call$1(key) {
  56706. return B.JSString_methods.startsWith$1(key, ".");
  56707. },
  56708. $signature: 5
  56709. };
  56710. A.ImporterResult.prototype = {
  56711. get$sourceMapUrl(_) {
  56712. return this._sourceMapUrl;
  56713. }
  56714. };
  56715. A.resolveImportPath_closure.prototype = {
  56716. call$0() {
  56717. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56718. },
  56719. $signature: 45
  56720. };
  56721. A.resolveImportPath_closure0.prototype = {
  56722. call$0() {
  56723. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56724. },
  56725. $signature: 45
  56726. };
  56727. A._tryPathAsDirectory_closure.prototype = {
  56728. call$0() {
  56729. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56730. },
  56731. $signature: 45
  56732. };
  56733. A._exactlyOne_closure.prototype = {
  56734. call$1(path) {
  56735. var t1 = $.$get$context();
  56736. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56737. },
  56738. $signature: 6
  56739. };
  56740. A.InterpolationBuffer.prototype = {
  56741. writeCharCode$1(character) {
  56742. var t1 = this._interpolation_buffer$_text,
  56743. t2 = A.Primitives_stringFromCharCode(character);
  56744. t1._contents += t2;
  56745. return null;
  56746. },
  56747. add$2(_, expression, span) {
  56748. this._flushText$0();
  56749. this._interpolation_buffer$_contents.push(expression);
  56750. this._spans.push(span);
  56751. },
  56752. addInterpolation$1(interpolation) {
  56753. var spansToAdd, _0_4_isSet, _0_4, first, rest, t2, t3, _this = this,
  56754. toAdd = interpolation.contents,
  56755. t1 = toAdd.length;
  56756. if (t1 === 0)
  56757. return;
  56758. spansToAdd = interpolation.spans;
  56759. _0_4_isSet = t1 >= 1;
  56760. if (_0_4_isSet) {
  56761. _0_4 = toAdd[0];
  56762. t1 = typeof _0_4 == "string";
  56763. } else {
  56764. _0_4 = null;
  56765. t1 = false;
  56766. }
  56767. if (t1) {
  56768. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56769. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56770. t1 = _this._interpolation_buffer$_text;
  56771. t1._contents += first;
  56772. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56773. toAdd = rest;
  56774. }
  56775. _this._flushText$0();
  56776. t1 = _this._interpolation_buffer$_contents;
  56777. B.JSArray_methods.addAll$1(t1, toAdd);
  56778. t2 = _this._spans;
  56779. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56780. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56781. t3 = _this._interpolation_buffer$_text;
  56782. t1 = A.S(t1.pop());
  56783. t3._contents += t1;
  56784. t2.pop();
  56785. }
  56786. },
  56787. _flushText$0() {
  56788. var t1 = this._interpolation_buffer$_text,
  56789. t2 = t1._contents;
  56790. if (t2.length === 0)
  56791. return;
  56792. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56793. this._spans.push(null);
  56794. t1._contents = "";
  56795. },
  56796. interpolation$1(span) {
  56797. var t1 = A.List_List$_of(this._interpolation_buffer$_contents, type$.Object),
  56798. t2 = this._interpolation_buffer$_text,
  56799. t3 = t2._contents;
  56800. if (t3.length !== 0)
  56801. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56802. t3 = A.List_List$_of(this._spans, type$.nullable_FileSpan);
  56803. if (t2._contents.length !== 0)
  56804. t3.push(null);
  56805. return A.Interpolation$(t1, t3, span);
  56806. },
  56807. toString$0(_) {
  56808. var t1, t2, _i, t3, element;
  56809. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56810. element = t1[_i];
  56811. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56812. }
  56813. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56814. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56815. }
  56816. };
  56817. A.InterpolationMap.prototype = {
  56818. mapException$1(error) {
  56819. var source, startIndex, endIndex, t3, t4, _this = this,
  56820. target = error.get$span(error),
  56821. t1 = _this._interpolation,
  56822. t2 = t1.contents;
  56823. if (t2.length === 0) {
  56824. if (_this._isMapped$1(target))
  56825. return error;
  56826. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56827. }
  56828. source = _this.mapSpan$1(target);
  56829. if (source === target)
  56830. return error;
  56831. startIndex = _this._indexInContents$1(target.get$start(target));
  56832. endIndex = _this._indexInContents$1(target.get$end(target));
  56833. t1 = error._span_exception$_message;
  56834. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56835. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56836. else {
  56837. t2 = type$.SourceSpan;
  56838. t3 = type$.String;
  56839. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56840. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56841. }
  56842. },
  56843. mapSpan$1(target) {
  56844. var _0_1, _0_2, t1, _0_2_isSet, t2, start, _0_20, end, _this = this, _null = null;
  56845. if (_this._isMapped$1(target))
  56846. return target;
  56847. _0_1 = _this._mapLocation$1(target.get$start(target));
  56848. _0_2 = _this._mapLocation$1(target.get$end(target));
  56849. $label0$0: {
  56850. t1 = type$.FileSpan;
  56851. _0_2_isSet = t1._is(_0_1);
  56852. t2 = false;
  56853. if (_0_2_isSet) {
  56854. t2 = t1._is(_0_2);
  56855. start = _0_1;
  56856. _0_20 = _0_2;
  56857. } else {
  56858. start = _null;
  56859. _0_20 = start;
  56860. }
  56861. if (t2) {
  56862. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56863. break $label0$0;
  56864. }
  56865. t2 = false;
  56866. if (t1._is(_0_1)) {
  56867. if (_0_2_isSet)
  56868. t2 = _0_20;
  56869. else {
  56870. t2 = _0_2;
  56871. _0_20 = t2;
  56872. _0_2_isSet = true;
  56873. }
  56874. t2 = t2 instanceof A.FileLocation;
  56875. start = _0_1;
  56876. } else
  56877. start = _null;
  56878. if (t2) {
  56879. t1 = _0_2_isSet ? _0_20 : _0_2;
  56880. type$.FileLocation._as(t1);
  56881. t2 = _this._interpolation.span;
  56882. t1 = t2.get$file(t2).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56883. break $label0$0;
  56884. }
  56885. t2 = false;
  56886. if (_0_1 instanceof A.FileLocation) {
  56887. if (_0_2_isSet)
  56888. t2 = _0_20;
  56889. else {
  56890. t2 = _0_2;
  56891. _0_20 = t2;
  56892. _0_2_isSet = true;
  56893. }
  56894. t2 = t1._is(t2);
  56895. start = _0_1;
  56896. } else
  56897. start = _null;
  56898. if (t2) {
  56899. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56900. t1 = _this._interpolation.span;
  56901. t1 = t1.get$file(t1).span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56902. break $label0$0;
  56903. }
  56904. t1 = false;
  56905. if (_0_1 instanceof A.FileLocation) {
  56906. if (_0_2_isSet)
  56907. t1 = _0_20;
  56908. else {
  56909. t1 = _0_2;
  56910. _0_20 = t1;
  56911. _0_2_isSet = true;
  56912. }
  56913. t1 = t1 instanceof A.FileLocation;
  56914. start = _0_1;
  56915. } else
  56916. start = _null;
  56917. if (t1) {
  56918. t1 = _0_2_isSet ? _0_20 : _0_2;
  56919. type$.FileLocation._as(t1);
  56920. t2 = _this._interpolation.span;
  56921. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  56922. break $label0$0;
  56923. }
  56924. t1 = A.throwExpression("[BUG] Unreachable");
  56925. }
  56926. return t1;
  56927. },
  56928. _isMapped$1(span) {
  56929. var file, t1;
  56930. $label0$0: {
  56931. file = span.get$file(span);
  56932. t1 = this._interpolation.span;
  56933. t1 = t1.get$file(t1);
  56934. break $label0$0;
  56935. }
  56936. return file === t1;
  56937. },
  56938. _mapLocation$1(target) {
  56939. var index, _0_0, t3, previousLocation, _this = this,
  56940. t1 = _this._interpolation,
  56941. t2 = t1.contents;
  56942. if (t2.length === 0)
  56943. return t1.span;
  56944. index = _this._indexInContents$1(target);
  56945. _0_0 = t2[index];
  56946. if (_0_0 instanceof A.Expression)
  56947. return _0_0.get$span(_0_0);
  56948. t3 = index === 0;
  56949. t1 = t1.span;
  56950. if (t3)
  56951. previousLocation = t1.get$start(t1);
  56952. else {
  56953. t1 = t1.get$file(t1);
  56954. t2 = type$.Expression._as(t2[index - 1]);
  56955. t2 = t2.get$span(t2);
  56956. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  56957. }
  56958. t1 = t3 ? 0 : _this._targetOffsets[index - 1];
  56959. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56960. },
  56961. _indexInContents$1(target) {
  56962. var t1, t2, t3, i;
  56963. for (t1 = this._targetOffsets, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56964. if (t3 < t1[i])
  56965. return i;
  56966. return this._interpolation.contents.length - 1;
  56967. },
  56968. _expandInterpolationSpanLeft$1(start) {
  56969. var i0, prev, char,
  56970. source = start.file._decodedChars,
  56971. i = start.offset - 1;
  56972. while (i >= 0) {
  56973. i0 = i - 1;
  56974. prev = source[i];
  56975. if (prev === 123) {
  56976. if (source[i0] === 35) {
  56977. i = i0;
  56978. break;
  56979. }
  56980. i = i0;
  56981. } else if (prev === 47) {
  56982. i = i0 - 1;
  56983. if (source[i0] === 42)
  56984. for (;;) {
  56985. i0 = i - 1;
  56986. if (source[i] !== 42) {
  56987. i = i0;
  56988. continue;
  56989. }
  56990. i = i0;
  56991. do {
  56992. i0 = i - 1;
  56993. char = source[i];
  56994. if (char === 42) {
  56995. i = i0;
  56996. continue;
  56997. } else
  56998. break;
  56999. } while (true);
  57000. if (char === 47) {
  57001. i = i0;
  57002. break;
  57003. }
  57004. i = i0;
  57005. }
  57006. } else
  57007. i = i0;
  57008. }
  57009. return i;
  57010. },
  57011. _expandInterpolationSpanRight$1(end) {
  57012. var t1, i0, next, second, t2, char,
  57013. source = end.file._decodedChars,
  57014. i = end.offset;
  57015. for (t1 = source.length; i < t1;) {
  57016. i0 = i + 1;
  57017. next = source[i];
  57018. if (next === 125) {
  57019. i = i0;
  57020. break;
  57021. }
  57022. if (next === 47) {
  57023. i = i0 + 1;
  57024. second = source[i0];
  57025. if (second === 47) {
  57026. for (;;) {
  57027. i0 = i + 1;
  57028. t2 = source[i];
  57029. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  57030. break;
  57031. i = i0;
  57032. }
  57033. i = i0;
  57034. } else if (second === 42)
  57035. for (;;) {
  57036. i0 = i + 1;
  57037. if (source[i] !== 42) {
  57038. i = i0;
  57039. continue;
  57040. }
  57041. i = i0;
  57042. do {
  57043. i0 = i + 1;
  57044. char = source[i];
  57045. if (char === 42) {
  57046. i = i0;
  57047. continue;
  57048. } else
  57049. break;
  57050. } while (true);
  57051. if (char === 47) {
  57052. i = i0;
  57053. break;
  57054. }
  57055. i = i0;
  57056. }
  57057. } else
  57058. i = i0;
  57059. }
  57060. return i;
  57061. }
  57062. };
  57063. A.InterpolationMap_mapException_closure.prototype = {
  57064. call$1($content) {
  57065. return $content instanceof A.Expression;
  57066. },
  57067. $signature: 74
  57068. };
  57069. A._realCasePath_helper.prototype = {
  57070. call$2(path, realPath) {
  57071. var dirname = $.$get$context().dirname$1(path);
  57072. if (dirname === path)
  57073. return path;
  57074. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(path, realPath, this, dirname));
  57075. },
  57076. call$1(path) {
  57077. return this.call$2(path, null);
  57078. },
  57079. $signature: 149
  57080. };
  57081. A._realCasePath_helper_closure.prototype = {
  57082. call$0() {
  57083. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  57084. t2 = _this.path;
  57085. if (!A.linkExists(t2)) {
  57086. realPathNonNull = null;
  57087. try {
  57088. realPathNonNull0 = _this.realPath;
  57089. realPathNonNull = realPathNonNull0 == null ? A.realpath(t2) : realPathNonNull0;
  57090. } catch (exception) {
  57091. if (A.unwrapException(exception) instanceof A.FileSystemException)
  57092. return t2;
  57093. else
  57094. throw exception;
  57095. }
  57096. t1 = realPathNonNull;
  57097. t2 = $.$get$context();
  57098. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  57099. }
  57100. realDirname = _this.helper.call$1(_this.dirname);
  57101. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  57102. try {
  57103. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  57104. t1 = null;
  57105. _0_0 = matches;
  57106. $label0$0: {
  57107. match = null;
  57108. if (J.get$length$asx(_0_0) === 1) {
  57109. match = J.$index$asx(_0_0, 0);
  57110. t1 = match;
  57111. break $label0$0;
  57112. }
  57113. t1 = A.join(realDirname, basename, null);
  57114. break $label0$0;
  57115. }
  57116. t1 = t1;
  57117. return t1;
  57118. } catch (exception) {
  57119. if (A.unwrapException(exception) instanceof A.FileSystemException)
  57120. return t2;
  57121. else
  57122. throw exception;
  57123. }
  57124. },
  57125. $signature: 29
  57126. };
  57127. A._realCasePath_helper__closure.prototype = {
  57128. call$1(realPath) {
  57129. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  57130. },
  57131. $signature: 5
  57132. };
  57133. A.FileSystemException.prototype = {
  57134. toString$0(_) {
  57135. var t1 = $.$get$context();
  57136. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  57137. },
  57138. get$message(receiver) {
  57139. return this.message;
  57140. }
  57141. };
  57142. A._readFile_closure.prototype = {
  57143. call$0() {
  57144. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  57145. },
  57146. $signature: 65
  57147. };
  57148. A.writeFile_closure.prototype = {
  57149. call$0() {
  57150. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  57151. },
  57152. $signature: 0
  57153. };
  57154. A.deleteFile_closure.prototype = {
  57155. call$0() {
  57156. return J.unlinkSync$1$x(A.fs(), this.path);
  57157. },
  57158. $signature: 0
  57159. };
  57160. A.readStdin_closure.prototype = {
  57161. call$1(result) {
  57162. this._box_0.contents = result;
  57163. this.completer.complete$1(result);
  57164. },
  57165. $signature: 89
  57166. };
  57167. A.readStdin_closure0.prototype = {
  57168. call$1(chunk) {
  57169. this.sink.add$1(0, type$.List_int._as(chunk));
  57170. },
  57171. call$0() {
  57172. return this.call$1(null);
  57173. },
  57174. "call*": "call$1",
  57175. $requiredArgCount: 0,
  57176. $defaultValues() {
  57177. return [null];
  57178. },
  57179. $signature: 90
  57180. };
  57181. A.readStdin_closure1.prototype = {
  57182. call$1(arg) {
  57183. this.sink.close$0(0);
  57184. },
  57185. call$0() {
  57186. return this.call$1(null);
  57187. },
  57188. "call*": "call$1",
  57189. $requiredArgCount: 0,
  57190. $defaultValues() {
  57191. return [null];
  57192. },
  57193. $signature: 90
  57194. };
  57195. A.readStdin_closure2.prototype = {
  57196. call$1(e) {
  57197. A.printError("Failed to read from stdin");
  57198. A.printError(e);
  57199. e.toString;
  57200. this.completer.completeError$1(e);
  57201. },
  57202. call$0() {
  57203. return this.call$1(null);
  57204. },
  57205. "call*": "call$1",
  57206. $requiredArgCount: 0,
  57207. $defaultValues() {
  57208. return [null];
  57209. },
  57210. $signature: 90
  57211. };
  57212. A.fileExists_closure.prototype = {
  57213. call$0() {
  57214. var error, systemError, exception,
  57215. t1 = this.path;
  57216. if (!J.existsSync$1$x(A.fs(), t1))
  57217. return false;
  57218. try {
  57219. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  57220. return t1;
  57221. } catch (exception) {
  57222. error = A.unwrapException(exception);
  57223. systemError = type$.JsSystemError._as(error);
  57224. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  57225. return false;
  57226. throw exception;
  57227. }
  57228. },
  57229. $signature: 19
  57230. };
  57231. A.dirExists_closure.prototype = {
  57232. call$0() {
  57233. var error, systemError, exception,
  57234. t1 = this.path;
  57235. if (!J.existsSync$1$x(A.fs(), t1))
  57236. return false;
  57237. try {
  57238. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  57239. return t1;
  57240. } catch (exception) {
  57241. error = A.unwrapException(exception);
  57242. systemError = type$.JsSystemError._as(error);
  57243. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  57244. return false;
  57245. throw exception;
  57246. }
  57247. },
  57248. $signature: 19
  57249. };
  57250. A.linkExists_closure.prototype = {
  57251. call$0() {
  57252. var error, systemError, t1, exception;
  57253. try {
  57254. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  57255. return t1;
  57256. } catch (exception) {
  57257. error = A.unwrapException(exception);
  57258. systemError = type$.JsSystemError._as(error);
  57259. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  57260. return false;
  57261. throw exception;
  57262. }
  57263. },
  57264. $signature: 19
  57265. };
  57266. A.ensureDir_closure.prototype = {
  57267. call$0() {
  57268. var error, systemError, exception, t1;
  57269. try {
  57270. J.mkdirSync$1$x(A.fs(), this.path);
  57271. } catch (exception) {
  57272. error = A.unwrapException(exception);
  57273. systemError = type$.JsSystemError._as(error);
  57274. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  57275. return;
  57276. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  57277. throw exception;
  57278. t1 = this.path;
  57279. A.ensureDir($.$get$context().dirname$1(t1));
  57280. J.mkdirSync$1$x(A.fs(), t1);
  57281. }
  57282. },
  57283. $signature: 0
  57284. };
  57285. A.listDir_closure.prototype = {
  57286. call$0() {
  57287. var t1 = this.path;
  57288. if (!this.recursive)
  57289. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).super$Iterable$where(0, new A.listDir__closure0());
  57290. else
  57291. return new A.listDir_closure_list().call$1(t1);
  57292. },
  57293. $signature: 150
  57294. };
  57295. A.listDir__closure.prototype = {
  57296. call$1(child) {
  57297. return A.join(this.path, A._asString(child), null);
  57298. },
  57299. $signature: 134
  57300. };
  57301. A.listDir__closure0.prototype = {
  57302. call$1(child) {
  57303. return !A.dirExists(child);
  57304. },
  57305. $signature: 5
  57306. };
  57307. A.listDir_closure_list.prototype = {
  57308. call$1($parent) {
  57309. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  57310. },
  57311. $signature: 151
  57312. };
  57313. A.listDir__list_closure.prototype = {
  57314. call$1(child) {
  57315. var path = A.join(this.parent, A._asString(child), null);
  57316. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  57317. },
  57318. $signature: 152
  57319. };
  57320. A.realpath_closure.prototype = {
  57321. call$0() {
  57322. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  57323. },
  57324. $signature: 29
  57325. };
  57326. A.modificationTime_closure.prototype = {
  57327. call$0() {
  57328. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  57329. if (t1 < -864e13 || t1 > 864e13)
  57330. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  57331. A.checkNotNullable(false, "isUtc", type$.bool);
  57332. return new A.DateTime(t1, 0, false);
  57333. },
  57334. $signature: 153
  57335. };
  57336. A.watchDir_closure0.prototype = {
  57337. call$2(error, events) {
  57338. var t1, t2, t3, t4, t5, lastEvent;
  57339. if (error != null) {
  57340. t1 = this._box_0.controller;
  57341. if (t1 != null)
  57342. t1.addError$1(error);
  57343. } else
  57344. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  57345. t3 = t1.get$current(t1);
  57346. switch (t3.type) {
  57347. case "create":
  57348. t4 = t2.controller;
  57349. if (t4 != null) {
  57350. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  57351. t5 = t4._state;
  57352. if (t5 >= 4)
  57353. A.throwExpression(t4._badEventState$0());
  57354. if ((t5 & 1) !== 0)
  57355. t4._sendData$1(t3);
  57356. else if ((t5 & 3) === 0) {
  57357. t4 = t4._ensurePendingEvents$0();
  57358. t3 = new A._DelayedData(t3);
  57359. lastEvent = t4.lastPendingEvent;
  57360. if (lastEvent == null)
  57361. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57362. else {
  57363. lastEvent.set$next(t3);
  57364. t4.lastPendingEvent = t3;
  57365. }
  57366. }
  57367. }
  57368. break;
  57369. case "update":
  57370. t4 = t2.controller;
  57371. if (t4 != null) {
  57372. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  57373. t5 = t4._state;
  57374. if (t5 >= 4)
  57375. A.throwExpression(t4._badEventState$0());
  57376. if ((t5 & 1) !== 0)
  57377. t4._sendData$1(t3);
  57378. else if ((t5 & 3) === 0) {
  57379. t4 = t4._ensurePendingEvents$0();
  57380. t3 = new A._DelayedData(t3);
  57381. lastEvent = t4.lastPendingEvent;
  57382. if (lastEvent == null)
  57383. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57384. else {
  57385. lastEvent.set$next(t3);
  57386. t4.lastPendingEvent = t3;
  57387. }
  57388. }
  57389. }
  57390. break;
  57391. case "delete":
  57392. t4 = t2.controller;
  57393. if (t4 != null) {
  57394. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  57395. t5 = t4._state;
  57396. if (t5 >= 4)
  57397. A.throwExpression(t4._badEventState$0());
  57398. if ((t5 & 1) !== 0)
  57399. t4._sendData$1(t3);
  57400. else if ((t5 & 3) === 0) {
  57401. t4 = t4._ensurePendingEvents$0();
  57402. t3 = new A._DelayedData(t3);
  57403. lastEvent = t4.lastPendingEvent;
  57404. if (lastEvent == null)
  57405. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57406. else {
  57407. lastEvent.set$next(t3);
  57408. t4.lastPendingEvent = t3;
  57409. }
  57410. }
  57411. }
  57412. break;
  57413. }
  57414. }
  57415. },
  57416. $signature: 587
  57417. };
  57418. A.watchDir_closure.prototype = {
  57419. call$0() {
  57420. this.subscription.unsubscribe();
  57421. },
  57422. $signature: 1
  57423. };
  57424. A.watchDir_closure1.prototype = {
  57425. call$2(path, _) {
  57426. var t1 = this._box_0.controller;
  57427. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57428. },
  57429. call$1(path) {
  57430. return this.call$2(path, null);
  57431. },
  57432. "call*": "call$2",
  57433. $requiredArgCount: 1,
  57434. $defaultValues() {
  57435. return [null];
  57436. },
  57437. $signature: 154
  57438. };
  57439. A.watchDir_closure2.prototype = {
  57440. call$2(path, _) {
  57441. var t1 = this._box_0.controller;
  57442. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57443. },
  57444. call$1(path) {
  57445. return this.call$2(path, null);
  57446. },
  57447. "call*": "call$2",
  57448. $requiredArgCount: 1,
  57449. $defaultValues() {
  57450. return [null];
  57451. },
  57452. $signature: 154
  57453. };
  57454. A.watchDir_closure3.prototype = {
  57455. call$1(path) {
  57456. var t1 = this._box_0.controller;
  57457. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57458. },
  57459. $signature: 89
  57460. };
  57461. A.watchDir_closure4.prototype = {
  57462. call$1(error) {
  57463. var t1 = this._box_0.controller;
  57464. return t1 == null ? null : t1.addError$1(error);
  57465. },
  57466. $signature: 91
  57467. };
  57468. A.watchDir_closure5.prototype = {
  57469. call$0() {
  57470. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57471. this._box_0.controller = controller;
  57472. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57473. },
  57474. $signature: 1
  57475. };
  57476. A.watchDir__closure.prototype = {
  57477. call$0() {
  57478. J.close$0$x(this.watcher);
  57479. },
  57480. $signature: 1
  57481. };
  57482. A.JSArray0.prototype = {};
  57483. A.Chokidar.prototype = {};
  57484. A.ChokidarOptions.prototype = {};
  57485. A.ChokidarWatcher.prototype = {};
  57486. A.JSFunction.prototype = {};
  57487. A.ImmutableList.prototype = {};
  57488. A.ImmutableMap.prototype = {};
  57489. A.NodeImporterResult.prototype = {};
  57490. A.RenderContext.prototype = {};
  57491. A.RenderContextOptions.prototype = {};
  57492. A.RenderContextResult.prototype = {};
  57493. A.RenderContextResultStats.prototype = {};
  57494. A.JSModule.prototype = {};
  57495. A.JSModuleRequire.prototype = {};
  57496. A.ParcelWatcher_subscribe_closure.prototype = {
  57497. call$2(error, events) {
  57498. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57499. this.callback.call$2(error, t1);
  57500. },
  57501. $signature: 584
  57502. };
  57503. A.JSClass.prototype = {};
  57504. A.JSUrl.prototype = {};
  57505. A._PropertyDescriptor.prototype = {};
  57506. A._RequireMain.prototype = {};
  57507. A.LoggerWithDeprecationType.prototype = {
  57508. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57509. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_wRY : null, span, trace);
  57510. },
  57511. warn$1(_, message) {
  57512. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57513. },
  57514. warn$3$span$trace(_, message, span, trace) {
  57515. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57516. }
  57517. };
  57518. A._QuietLogger.prototype = {
  57519. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57520. },
  57521. warn$1(_, message) {
  57522. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57523. },
  57524. warn$3$span$trace(_, message, span, trace) {
  57525. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57526. },
  57527. debug$2(_, message, span) {
  57528. }
  57529. };
  57530. A.DeprecationProcessingLogger.prototype = {
  57531. validate$0() {
  57532. var t1, t2, t3, $self, t4, t5, _this = this, _null = null;
  57533. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57534. t3 = t1.get$current(t1);
  57535. $self = t3._obsoleteIn;
  57536. if ($self == null)
  57537. t4 = _null;
  57538. else
  57539. t4 = A.Version___parse_tearOff($self);
  57540. if (t4 instanceof A.Version) {
  57541. t3 = t3.toString$0(0);
  57542. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20deprex20ix2c, _null, _null, _null);
  57543. continue;
  57544. }
  57545. t4 = t2.contains$1(0, t3);
  57546. if (t4) {
  57547. t3 = t3.toString$0(0);
  57548. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57549. continue;
  57550. }
  57551. }
  57552. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57553. t4 = t1._collection$_current;
  57554. if (t4 == null)
  57555. t4 = t2._as(t4);
  57556. if (B.Deprecation_wRY === t4) {
  57557. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57558. continue;
  57559. }
  57560. $self = t4._obsoleteIn;
  57561. if ($self == null)
  57562. t5 = _null;
  57563. else
  57564. t5 = A.Version___parse_tearOff($self);
  57565. if (t5 instanceof A.Version) {
  57566. t4 = t4.toString$0(0);
  57567. _this.internalWarn$4$deprecation$span$trace(t4 + string$.x20deprex20ix2e, _null, _null, _null);
  57568. continue;
  57569. }
  57570. }
  57571. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57572. t3 = t1._collection$_current;
  57573. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57574. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57575. }
  57576. },
  57577. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57578. if (deprecation != null)
  57579. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57580. else
  57581. this._inner.warn$3$span$trace(0, message, span, trace);
  57582. },
  57583. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57584. var _0_3_isSet, t1, span0, _0_3, t2, count, _1_0, _this = this, _null = null;
  57585. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57586. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  57587. $label0$0: {
  57588. _0_3_isSet = span != null;
  57589. t1 = false;
  57590. if (_0_3_isSet) {
  57591. t1 = trace != null;
  57592. span0 = span;
  57593. _0_3 = trace;
  57594. } else {
  57595. span0 = _null;
  57596. _0_3 = span0;
  57597. }
  57598. if (t1) {
  57599. if (_0_3_isSet)
  57600. trace = _0_3;
  57601. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57602. break $label0$0;
  57603. }
  57604. t1 = false;
  57605. if (span != null)
  57606. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57607. else
  57608. span = _null;
  57609. if (t1) {
  57610. t1 = A.SassException$(message, span, _null);
  57611. break $label0$0;
  57612. }
  57613. t1 = A.SassScriptException$(message, _null);
  57614. break $label0$0;
  57615. }
  57616. throw A.wrapException(t1);
  57617. }
  57618. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57619. return;
  57620. if (_this.limitRepetition) {
  57621. t1 = _this._warningCounts;
  57622. t2 = t1.$index(0, deprecation);
  57623. count = (t2 == null ? 0 : t2) + 1;
  57624. t1.$indexSet(0, deprecation, count);
  57625. if (count > 5)
  57626. return;
  57627. }
  57628. _1_0 = _this._inner;
  57629. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57630. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57631. else
  57632. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57633. },
  57634. debug$2(_, message, span) {
  57635. return this._inner.debug$2(0, message, span);
  57636. },
  57637. summarize$1$js(js) {
  57638. var t1 = this._warningCounts,
  57639. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57640. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t1, t2), new A.DeprecationProcessingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  57641. if (total > 0) {
  57642. t1 = js ? "" : string$.x0aRun_i;
  57643. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57644. }
  57645. }
  57646. };
  57647. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57648. call$1(count) {
  57649. return count > 5;
  57650. },
  57651. $signature: 50
  57652. };
  57653. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57654. call$1(count) {
  57655. return count - 5;
  57656. },
  57657. $signature: 155
  57658. };
  57659. A.StderrLogger.prototype = {
  57660. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57661. var t3,
  57662. result = new A.StringBuffer(""),
  57663. t1 = deprecation != null,
  57664. showDeprecation = t1 && deprecation !== B.Deprecation_wRY,
  57665. t2 = this.color;
  57666. if (t2) {
  57667. t3 = result._contents = "\x1b[33m\x1b[1m";
  57668. t3 = result._contents = (t1 ? result._contents = "\x1b[33m\x1b[1mDeprecation " : t3) + "Warning\x1b[0m";
  57669. if (showDeprecation) {
  57670. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  57671. result._contents = t1;
  57672. } else
  57673. t1 = t3;
  57674. } else {
  57675. t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
  57676. if (showDeprecation) {
  57677. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  57678. result._contents = t1;
  57679. } else
  57680. t1 = t3;
  57681. }
  57682. if (span == null)
  57683. t1 = result._contents = t1 + (": " + message + "\n");
  57684. else if (trace != null) {
  57685. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57686. result._contents = t1;
  57687. } else {
  57688. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57689. result._contents = t1;
  57690. }
  57691. if (trace != null)
  57692. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57693. A.printError(result);
  57694. },
  57695. debug$2(_, message, span) {
  57696. var url, t1, t2;
  57697. if (span.get$start(span).file.url == null)
  57698. url = "-";
  57699. else {
  57700. t1 = span.get$start(span).file.url;
  57701. t2 = $.$get$context();
  57702. t1.toString;
  57703. url = t2.prettyUri$1(t1);
  57704. }
  57705. t1 = span.get$start(span);
  57706. t1 = t1.file.getLine$1(t1.offset);
  57707. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57708. t2 = url + ":" + (t1 + 1) + " " + t2 + (": " + message);
  57709. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57710. }
  57711. };
  57712. A.TrackingLogger.prototype = {
  57713. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57714. this._emittedWarning = true;
  57715. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57716. },
  57717. warn$1(_, message) {
  57718. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57719. },
  57720. warn$3$span$trace(_, message, span, trace) {
  57721. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57722. },
  57723. debug$2(_, message, span) {
  57724. this._emittedDebug = true;
  57725. this._tracking$_logger.debug$2(0, message, span);
  57726. }
  57727. };
  57728. A.BuiltInModule.prototype = {
  57729. get$upstream() {
  57730. return B.List_empty7;
  57731. },
  57732. get$variableNodes() {
  57733. return B.Map_empty3;
  57734. },
  57735. get$extensionStore() {
  57736. return B.C_EmptyExtensionStore;
  57737. },
  57738. get$css(_) {
  57739. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57740. },
  57741. get$preModuleComments() {
  57742. return B.Map_empty1;
  57743. },
  57744. get$transitivelyContainsCss() {
  57745. return false;
  57746. },
  57747. get$transitivelyContainsExtensions() {
  57748. return false;
  57749. },
  57750. setVariable$3($name, value, nodeWithSpan) {
  57751. if (!this.variables.containsKey$1($name))
  57752. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57753. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57754. },
  57755. variableIdentity$1($name) {
  57756. return this;
  57757. },
  57758. couldHaveBeenConfigured$1(_) {
  57759. return false;
  57760. },
  57761. cloneCss$0() {
  57762. return this;
  57763. },
  57764. $isModule0: 1,
  57765. get$url(receiver) {
  57766. return this.url;
  57767. },
  57768. get$functions(receiver) {
  57769. return this.functions;
  57770. },
  57771. get$mixins() {
  57772. return this.mixins;
  57773. },
  57774. get$variables() {
  57775. return this.variables;
  57776. }
  57777. };
  57778. A.ForwardedModuleView.prototype = {
  57779. get$url(_) {
  57780. var t1 = this._forwarded_view$_inner;
  57781. return t1.get$url(t1);
  57782. },
  57783. get$upstream() {
  57784. return this._forwarded_view$_inner.get$upstream();
  57785. },
  57786. get$extensionStore() {
  57787. return this._forwarded_view$_inner.get$extensionStore();
  57788. },
  57789. get$css(_) {
  57790. var t1 = this._forwarded_view$_inner;
  57791. return t1.get$css(t1);
  57792. },
  57793. get$preModuleComments() {
  57794. return this._forwarded_view$_inner.get$preModuleComments();
  57795. },
  57796. get$transitivelyContainsCss() {
  57797. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57798. },
  57799. get$transitivelyContainsExtensions() {
  57800. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57801. },
  57802. setVariable$3($name, value, nodeWithSpan) {
  57803. var t2, _1_0, _2_0,
  57804. _s19_ = "Undefined variable.",
  57805. t1 = this._rule,
  57806. _0_0 = t1.shownVariables;
  57807. if (_0_0 != null)
  57808. t2 = !_0_0._base.contains$1(0, $name);
  57809. else
  57810. t2 = false;
  57811. if (t2)
  57812. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57813. else {
  57814. _1_0 = t1.hiddenVariables;
  57815. if (_1_0 != null)
  57816. t2 = _1_0._base.contains$1(0, $name);
  57817. else
  57818. t2 = false;
  57819. if (t2)
  57820. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57821. }
  57822. _2_0 = t1.prefix;
  57823. if (_2_0 != null) {
  57824. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57825. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57826. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57827. }
  57828. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57829. },
  57830. variableIdentity$1($name) {
  57831. var _0_0 = this._rule.prefix;
  57832. if (_0_0 != null)
  57833. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57834. return this._forwarded_view$_inner.variableIdentity$1($name);
  57835. },
  57836. couldHaveBeenConfigured$1(variables) {
  57837. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  57838. t1 = _this._rule,
  57839. t2 = t1.prefix,
  57840. t3 = t2 == null,
  57841. t4 = false;
  57842. if (t3)
  57843. if (t1.shownVariables == null) {
  57844. t4 = t1.hiddenVariables;
  57845. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  57846. t4 = t4 !== false;
  57847. }
  57848. if (t4)
  57849. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables);
  57850. if (!t3) {
  57851. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57852. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  57853. t6 = t4.get$current(t4);
  57854. if (B.JSString_methods.startsWith$1(t6, t2))
  57855. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  57856. }
  57857. variables = t3;
  57858. }
  57859. _1_0 = t1.shownVariables;
  57860. if (_1_0 != null)
  57861. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  57862. else {
  57863. _2_0 = t1.hiddenVariables;
  57864. if (_2_0 != null) {
  57865. t1 = _2_0._base.get$isNotEmpty(0);
  57866. blocklist = _2_0;
  57867. } else {
  57868. blocklist = null;
  57869. t1 = false;
  57870. }
  57871. t2 = _this._forwarded_view$_inner;
  57872. if (t1)
  57873. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  57874. else
  57875. return t2.couldHaveBeenConfigured$1(variables);
  57876. }
  57877. },
  57878. $eq(_, other) {
  57879. if (other == null)
  57880. return false;
  57881. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57882. },
  57883. get$hashCode(_) {
  57884. var t1 = this._forwarded_view$_inner;
  57885. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57886. },
  57887. cloneCss$0() {
  57888. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57889. },
  57890. toString$0(_) {
  57891. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57892. },
  57893. $isModule0: 1,
  57894. get$variables() {
  57895. return this.variables;
  57896. },
  57897. get$variableNodes() {
  57898. return this.variableNodes;
  57899. },
  57900. get$functions(receiver) {
  57901. return this.functions;
  57902. },
  57903. get$mixins() {
  57904. return this.mixins;
  57905. }
  57906. };
  57907. A.ShadowedModuleView.prototype = {
  57908. get$url(_) {
  57909. var t1 = this._shadowed_view$_inner;
  57910. return t1.get$url(t1);
  57911. },
  57912. get$upstream() {
  57913. return this._shadowed_view$_inner.get$upstream();
  57914. },
  57915. get$extensionStore() {
  57916. return this._shadowed_view$_inner.get$extensionStore();
  57917. },
  57918. get$css(_) {
  57919. var t1 = this._shadowed_view$_inner;
  57920. return t1.get$css(t1);
  57921. },
  57922. get$preModuleComments() {
  57923. return this._shadowed_view$_inner.get$preModuleComments();
  57924. },
  57925. get$transitivelyContainsCss() {
  57926. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57927. },
  57928. get$transitivelyContainsExtensions() {
  57929. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57930. },
  57931. setVariable$3($name, value, nodeWithSpan) {
  57932. if (!this.variables.containsKey$1($name))
  57933. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57934. else
  57935. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57936. },
  57937. variableIdentity$1($name) {
  57938. return this._shadowed_view$_inner.variableIdentity$1($name);
  57939. },
  57940. couldHaveBeenConfigured$1(variables) {
  57941. var t3, t4,
  57942. t1 = this.variables,
  57943. t2 = this._shadowed_view$_inner;
  57944. if (t1 === t2.get$variables())
  57945. t1 = t2.couldHaveBeenConfigured$1(variables);
  57946. else {
  57947. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57948. for (t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  57949. t4 = t1.get$current(t1);
  57950. if (variables.contains$1(0, t4))
  57951. t3.add$1(0, t4);
  57952. }
  57953. t1 = t2.couldHaveBeenConfigured$1(t3);
  57954. }
  57955. return t1;
  57956. },
  57957. $eq(_, other) {
  57958. var t1, t2, t3, _this = this;
  57959. if (other == null)
  57960. return false;
  57961. t1 = false;
  57962. if (other instanceof A.ShadowedModuleView)
  57963. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57964. t2 = _this.variables;
  57965. t2 = t2.get$keys(t2);
  57966. t3 = other.variables;
  57967. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57968. t2 = _this.functions;
  57969. t2 = t2.get$keys(t2);
  57970. t3 = other.functions;
  57971. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57972. t1 = _this.mixins;
  57973. t1 = t1.get$keys(t1);
  57974. t2 = other.mixins;
  57975. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57976. t1 = t2;
  57977. }
  57978. }
  57979. }
  57980. return t1;
  57981. },
  57982. get$hashCode(_) {
  57983. var t1 = this._shadowed_view$_inner;
  57984. return t1.get$hashCode(t1);
  57985. },
  57986. cloneCss$0() {
  57987. var _this = this;
  57988. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57989. },
  57990. toString$0(_) {
  57991. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57992. },
  57993. $isModule0: 1,
  57994. get$variables() {
  57995. return this.variables;
  57996. },
  57997. get$variableNodes() {
  57998. return this.variableNodes;
  57999. },
  58000. get$functions(receiver) {
  58001. return this.functions;
  58002. },
  58003. get$mixins() {
  58004. return this.mixins;
  58005. }
  58006. };
  58007. A.AtRootQueryParser.prototype = {
  58008. parse$0(_) {
  58009. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  58010. }
  58011. };
  58012. A.AtRootQueryParser_parse_closure.prototype = {
  58013. call$0() {
  58014. var include, atRules,
  58015. t1 = this.$this,
  58016. t2 = t1.scanner;
  58017. t2.expectChar$1(40);
  58018. t1.whitespace$1$consumeNewlines(true);
  58019. include = t1.scanIdentifier$1("with");
  58020. if (!include)
  58021. t1.expectIdentifier$2$name("without", '"with" or "without"');
  58022. t1.whitespace$1$consumeNewlines(true);
  58023. t2.expectChar$1(58);
  58024. t1.whitespace$1$consumeNewlines(true);
  58025. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58026. do {
  58027. atRules.add$1(0, t1.identifier$0().toLowerCase());
  58028. t1.whitespace$1$consumeNewlines(true);
  58029. } while (t1.lookingAtIdentifier$0());
  58030. t2.expectChar$1(41);
  58031. t2.expectDone$0();
  58032. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  58033. },
  58034. $signature: 575
  58035. };
  58036. A._disallowedFunctionNames_closure.prototype = {
  58037. call$1($function) {
  58038. return $function.name;
  58039. },
  58040. $signature: 574
  58041. };
  58042. A.CssParser.prototype = {
  58043. get$plainCss() {
  58044. return true;
  58045. },
  58046. silentComment$0() {
  58047. var t1, t2, _this = this;
  58048. if (_this._inExpression)
  58049. return false;
  58050. t1 = _this.scanner;
  58051. t2 = t1._string_scanner$_position;
  58052. _this.super$Parser$silentComment();
  58053. _this.error$2(0, string$.Silent, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58054. },
  58055. atRule$2$root(child, root) {
  58056. var $name, _0_0, result, _this = this,
  58057. t1 = _this.scanner,
  58058. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58059. t1.expectChar$1(64);
  58060. $name = _this.interpolatedIdentifier$0();
  58061. _this.whitespace$1$consumeNewlines(true);
  58062. _0_0 = $name.get$asPlain();
  58063. $label0$0: {
  58064. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  58065. _this._forbiddenAtRule$1(start);
  58066. if ("import" === _0_0) {
  58067. t1 = _this._cssImportRule$1(start);
  58068. break $label0$0;
  58069. }
  58070. if ("function" === _0_0) {
  58071. _this.whitespace$1$consumeNewlines(true);
  58072. if (!t1.matches$1("--")) {
  58073. _this.almostAnyValue$0();
  58074. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  58075. result = null;
  58076. } else
  58077. result = _this.unknownAtRule$2(start, $name);
  58078. t1 = result;
  58079. break $label0$0;
  58080. }
  58081. if ("media" === _0_0) {
  58082. t1 = _this.mediaRule$1(start);
  58083. break $label0$0;
  58084. }
  58085. if ("-moz-document" === _0_0) {
  58086. t1 = _this.mozDocumentRule$2(start, $name);
  58087. break $label0$0;
  58088. }
  58089. if ("supports" === _0_0) {
  58090. t1 = _this.supportsRule$1(start);
  58091. break $label0$0;
  58092. }
  58093. t1 = _this.unknownAtRule$2(start, $name);
  58094. break $label0$0;
  58095. }
  58096. return t1;
  58097. },
  58098. _forbiddenAtRule$1(start) {
  58099. this.almostAnyValue$0();
  58100. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.spanFrom$1(start));
  58101. },
  58102. _cssImportRule$1(start) {
  58103. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  58104. t1 = _this.scanner,
  58105. t2 = t1._string_scanner$_position,
  58106. _1_0 = t1.peekChar$0();
  58107. $label1$1: {
  58108. if (117 === _1_0 || 85 === _1_0) {
  58109. _0_0 = _this.dynamicUrl$0();
  58110. $label0$0: {
  58111. if (_0_0 instanceof A.StringExpression) {
  58112. t3 = _0_0.text;
  58113. break $label0$0;
  58114. }
  58115. string = _null;
  58116. t3 = false;
  58117. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  58118. $name = _0_0.name;
  58119. _0_3 = _0_0.$arguments;
  58120. _0_4 = _0_3.positional;
  58121. t4 = _0_4;
  58122. if (t4.length === 1) {
  58123. _0_8 = _0_4[0];
  58124. t4 = _0_8;
  58125. if (t4 instanceof A.StringExpression) {
  58126. type$.StringExpression._as(_0_8);
  58127. t4 = _0_3.named;
  58128. if (t4.get$isEmpty(t4))
  58129. if (_0_3.rest == null)
  58130. t3 = _0_3.keywordRest == null;
  58131. string = _0_8;
  58132. }
  58133. }
  58134. } else
  58135. $name = _null;
  58136. if (t3) {
  58137. t3 = new A.StringBuffer("");
  58138. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58139. t4.addInterpolation$1($name);
  58140. t5 = A.Primitives_stringFromCharCode(40);
  58141. t3._contents += t5;
  58142. t4.addInterpolation$1(string.asInterpolation$0());
  58143. t5 = A.Primitives_stringFromCharCode(41);
  58144. t3._contents += t5;
  58145. t4 = t4.interpolation$1(_0_0.span);
  58146. t3 = t4;
  58147. break $label0$0;
  58148. }
  58149. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  58150. }
  58151. break $label1$1;
  58152. }
  58153. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  58154. break $label1$1;
  58155. }
  58156. _this.whitespace$1$consumeNewlines(true);
  58157. modifiers = _this.tryImportModifiers$0();
  58158. _this.expectStatementSeparator$1("@import rule");
  58159. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, _this.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  58160. t1 = _this.spanFrom$1(start);
  58161. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  58162. },
  58163. parentheses$0() {
  58164. var expression, _this = this,
  58165. t1 = _this.scanner,
  58166. t2 = t1._string_scanner$_position;
  58167. t1.expectChar$1(40);
  58168. _this.whitespace$1$consumeNewlines(true);
  58169. expression = _this.expressionUntilComma$0();
  58170. t1.expectChar$1(41);
  58171. return new A.ParenthesizedExpression(expression, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58172. },
  58173. identifierLike$0() {
  58174. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  58175. t1 = _this.scanner,
  58176. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  58177. identifier = _this.interpolatedIdentifier$0(),
  58178. plain = identifier.get$asPlain(),
  58179. lower = plain.toLowerCase(),
  58180. _0_0 = _this.trySpecialFunction$2(lower, start);
  58181. if (_0_0 != null)
  58182. return _0_0;
  58183. t2 = t1._string_scanner$_position;
  58184. if (t1.scanChar$1(46))
  58185. return _this.namespacedExpression$2(plain, start);
  58186. if (!t1.scanChar$1(40))
  58187. return new A.StringExpression(identifier, false);
  58188. allowEmptySecondArg = lower === "var";
  58189. $arguments = A._setArrayType([], type$.JSArray_Expression);
  58190. if (!t1.scanChar$1(41)) {
  58191. do {
  58192. _this.whitespace$1$consumeNewlines(true);
  58193. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  58194. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58195. t4 = t3.offset;
  58196. t4 = A._FileSpan$(t3.file, t4, t4);
  58197. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  58198. break;
  58199. }
  58200. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  58201. _this.whitespace$1$consumeNewlines(true);
  58202. } while (t1.scanChar$1(44));
  58203. t1.expectChar$1(41);
  58204. }
  58205. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  58206. _this.error$2(0, string$.This_f, _this.spanFrom$1(start));
  58207. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  58208. t2 = type$.Expression;
  58209. t3 = A.List_List$unmodifiable($arguments, t2);
  58210. t2 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t2);
  58211. t4 = _this.spanFrom$1(start);
  58212. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t3, t2, null, null, t1), t4);
  58213. },
  58214. namespacedExpression$2(namespace, start) {
  58215. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  58216. this.error$2(0, string$.Modulen, expression.get$span(expression));
  58217. }
  58218. };
  58219. A.KeyframeSelectorParser.prototype = {
  58220. parse$0(_) {
  58221. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  58222. },
  58223. _percentage$0() {
  58224. var $self, _0_0,
  58225. t1 = this.scanner,
  58226. t2 = t1.scanChar$1(43) ? A.Primitives_stringFromCharCode(43) : "",
  58227. second = t1.peekChar$0();
  58228. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  58229. t1.error$1(0, "Expected number.");
  58230. for (;;) {
  58231. $self = t1.peekChar$0();
  58232. if (!($self != null && $self >= 48 && $self <= 57))
  58233. break;
  58234. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58235. }
  58236. if (t1.peekChar$0() === 46) {
  58237. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58238. for (;;) {
  58239. $self = t1.peekChar$0();
  58240. if (!($self != null && $self >= 48 && $self <= 57))
  58241. break;
  58242. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58243. }
  58244. }
  58245. if (this.scanIdentChar$1(101)) {
  58246. t2 += A.Primitives_stringFromCharCode(101);
  58247. _0_0 = t1.peekChar$0();
  58248. if (43 === _0_0 || 45 === _0_0)
  58249. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58250. $self = t1.peekChar$0();
  58251. if (!($self != null && $self >= 48 && $self <= 57))
  58252. t1.error$1(0, "Expected digit.");
  58253. do {
  58254. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58255. $self = t1.peekChar$0();
  58256. } while ($self != null && $self >= 48 && $self <= 57);
  58257. }
  58258. t1.expectChar$1(37);
  58259. t2 += A.Primitives_stringFromCharCode(37);
  58260. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58261. }
  58262. };
  58263. A.KeyframeSelectorParser_parse_closure.prototype = {
  58264. call$0() {
  58265. var selectors = A._setArrayType([], type$.JSArray_String),
  58266. t1 = this.$this,
  58267. t2 = t1.scanner;
  58268. do {
  58269. t1.whitespace$1$consumeNewlines(true);
  58270. if (t1.lookingAtIdentifier$0())
  58271. if (t1.scanIdentifier$1("from"))
  58272. selectors.push("from");
  58273. else {
  58274. t1.expectIdentifier$2$name("to", '"to" or "from"');
  58275. selectors.push("to");
  58276. }
  58277. else
  58278. selectors.push(t1._percentage$0());
  58279. t1.whitespace$1$consumeNewlines(true);
  58280. } while (t2.scanChar$1(44));
  58281. t2.expectDone$0();
  58282. return selectors;
  58283. },
  58284. $signature: 138
  58285. };
  58286. A.MediaQueryParser.prototype = {
  58287. parse$0(_) {
  58288. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  58289. },
  58290. _mediaQuery$0() {
  58291. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  58292. if (_this.scanner.peekChar$0() === 40) {
  58293. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  58294. _this.whitespace$1$consumeNewlines(true);
  58295. if (_this.scanIdentifier$1(_s3_)) {
  58296. _this.expectWhitespace$0();
  58297. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  58298. conjunction = true;
  58299. } else {
  58300. t1 = _this.scanIdentifier$1("or");
  58301. if (t1) {
  58302. _this.expectWhitespace$0();
  58303. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  58304. }
  58305. conjunction = !t1;
  58306. }
  58307. return A.CssMediaQuery$condition(conditions, conjunction);
  58308. }
  58309. identifier1 = _this.identifier$0();
  58310. if (A.equalsIgnoreCase(identifier1, "not")) {
  58311. _this.expectWhitespace$0();
  58312. if (!_this.lookingAtIdentifier$0())
  58313. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  58314. }
  58315. _this.whitespace$1$consumeNewlines(true);
  58316. if (!_this.lookingAtIdentifier$0())
  58317. return A.CssMediaQuery$type(identifier1, _null, _null);
  58318. identifier2 = _this.identifier$0();
  58319. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  58320. _this.expectWhitespace$0();
  58321. type = identifier1;
  58322. modifier = _null;
  58323. } else {
  58324. _this.whitespace$1$consumeNewlines(true);
  58325. if (_this.scanIdentifier$1(_s3_))
  58326. _this.expectWhitespace$0();
  58327. else
  58328. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  58329. type = identifier2;
  58330. modifier = identifier1;
  58331. }
  58332. if (_this.scanIdentifier$1("not")) {
  58333. _this.expectWhitespace$0();
  58334. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  58335. }
  58336. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  58337. },
  58338. _mediaLogicSequence$1(operator) {
  58339. var t1, t2, _this = this,
  58340. result = A._setArrayType([], type$.JSArray_String);
  58341. for (t1 = _this.scanner;;) {
  58342. t1.expectChar$2$name(40, "media condition in parentheses");
  58343. t2 = _this.declarationValue$0();
  58344. t1.expectChar$1(41);
  58345. result.push("(" + t2 + ")");
  58346. _this.whitespace$1$consumeNewlines(true);
  58347. if (!_this.scanIdentifier$1(operator))
  58348. return result;
  58349. _this.expectWhitespace$0();
  58350. }
  58351. },
  58352. _mediaInParens$0() {
  58353. var t2,
  58354. t1 = this.scanner;
  58355. t1.expectChar$2$name(40, "media condition in parentheses");
  58356. t2 = this.declarationValue$0();
  58357. t1.expectChar$1(41);
  58358. return "(" + t2 + ")";
  58359. }
  58360. };
  58361. A.MediaQueryParser_parse_closure.prototype = {
  58362. call$0() {
  58363. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  58364. t1 = this.$this,
  58365. t2 = t1.scanner;
  58366. do {
  58367. t1.whitespace$1$consumeNewlines(true);
  58368. queries.push(t1._mediaQuery$0());
  58369. t1.whitespace$1$consumeNewlines(true);
  58370. } while (t2.scanChar$1(44));
  58371. t2.expectDone$0();
  58372. return queries;
  58373. },
  58374. $signature: 571
  58375. };
  58376. A.Parser.prototype = {
  58377. _parseIdentifier$0() {
  58378. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  58379. },
  58380. _isVariableDeclarationLike$0() {
  58381. var _this = this,
  58382. t1 = _this.scanner;
  58383. if (!t1.scanChar$1(36))
  58384. return false;
  58385. if (!_this.lookingAtIdentifier$0())
  58386. return false;
  58387. _this.identifier$0();
  58388. _this.whitespace$1$consumeNewlines(true);
  58389. return t1.scanChar$1(58);
  58390. },
  58391. whitespace$1$consumeNewlines(consumeNewlines) {
  58392. do
  58393. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  58394. while (this.scanComment$0());
  58395. },
  58396. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  58397. var t3,
  58398. t1 = this.scanner,
  58399. t2 = t1.string.length;
  58400. for (;;) {
  58401. if (t1._string_scanner$_position !== t2) {
  58402. t3 = t1.peekChar$0();
  58403. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  58404. } else
  58405. t3 = false;
  58406. if (!t3)
  58407. break;
  58408. t1.readChar$0();
  58409. }
  58410. },
  58411. spaces$0() {
  58412. var t3,
  58413. t1 = this.scanner,
  58414. t2 = t1.string.length;
  58415. for (;;) {
  58416. if (t1._string_scanner$_position !== t2) {
  58417. t3 = t1.peekChar$0();
  58418. t3 = t3 === 32 || t3 === 9;
  58419. } else
  58420. t3 = false;
  58421. if (!t3)
  58422. break;
  58423. t1.readChar$0();
  58424. }
  58425. },
  58426. scanComment$0() {
  58427. var _0_0,
  58428. t1 = this.scanner;
  58429. if (t1.peekChar$0() !== 47)
  58430. return false;
  58431. _0_0 = t1.peekChar$1(1);
  58432. if (47 === _0_0)
  58433. return this.silentComment$0();
  58434. if (42 === _0_0) {
  58435. this.loudComment$0();
  58436. return true;
  58437. }
  58438. return false;
  58439. },
  58440. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  58441. var t2, t3,
  58442. t1 = this.scanner;
  58443. if (t1._string_scanner$_position !== t1.string.length) {
  58444. t2 = t1.peekChar$0();
  58445. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  58446. t2 = t3;
  58447. } else
  58448. t2 = true;
  58449. if (t2)
  58450. t1.error$1(0, "Expected whitespace.");
  58451. this.whitespace$1$consumeNewlines(consumeNewlines);
  58452. },
  58453. expectWhitespace$0() {
  58454. return this.expectWhitespace$1$consumeNewlines(false);
  58455. },
  58456. silentComment$0() {
  58457. var t2, t3,
  58458. t1 = this.scanner;
  58459. t1.expect$1("//");
  58460. t2 = t1.string.length;
  58461. for (;;) {
  58462. if (t1._string_scanner$_position !== t2) {
  58463. t3 = t1.peekChar$0();
  58464. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58465. } else
  58466. t3 = false;
  58467. if (!t3)
  58468. break;
  58469. t1.readChar$0();
  58470. }
  58471. return true;
  58472. },
  58473. loudComment$0() {
  58474. var next,
  58475. t1 = this.scanner;
  58476. t1.expect$1("/*");
  58477. for (;;) {
  58478. if (t1.readChar$0() !== 42)
  58479. continue;
  58480. do
  58481. next = t1.readChar$0();
  58482. while (next === 42);
  58483. if (next === 47)
  58484. break;
  58485. }
  58486. },
  58487. identifier$2$normalize$unit(normalize, unit) {
  58488. var t2, _0_0, _this = this,
  58489. _s20_ = "Expected identifier.",
  58490. text = new A.StringBuffer(""),
  58491. t1 = _this.scanner;
  58492. if (t1.scanChar$1(45)) {
  58493. t2 = text._contents = A.Primitives_stringFromCharCode(45);
  58494. if (t1.scanChar$1(45)) {
  58495. text._contents = t2 + t2;
  58496. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58497. t1 = text._contents;
  58498. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58499. }
  58500. } else
  58501. t2 = "";
  58502. $label0$0: {
  58503. _0_0 = t1.peekChar$0();
  58504. if (_0_0 == null)
  58505. t1.error$1(0, _s20_);
  58506. if (95 === _0_0 && normalize) {
  58507. t1.readChar$0();
  58508. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58509. break $label0$0;
  58510. }
  58511. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58512. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58513. break $label0$0;
  58514. }
  58515. if (92 === _0_0) {
  58516. text._contents = t2 + _this.escape$1$identifierStart(true);
  58517. break $label0$0;
  58518. }
  58519. t1.error$1(0, _s20_);
  58520. }
  58521. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58522. t1 = text._contents;
  58523. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58524. },
  58525. identifier$0() {
  58526. return this.identifier$2$normalize$unit(false, false);
  58527. },
  58528. identifier$1$normalize(normalize) {
  58529. return this.identifier$2$normalize$unit(normalize, false);
  58530. },
  58531. identifier$1$unit(unit) {
  58532. return this.identifier$2$normalize$unit(false, unit);
  58533. },
  58534. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58535. var t1, _1_0, _0_0, t2;
  58536. for (t1 = this.scanner;;) {
  58537. _1_0 = t1.peekChar$0();
  58538. if (_1_0 == null)
  58539. break;
  58540. if (45 === _1_0 && unit) {
  58541. _0_0 = t1.peekChar$1(1);
  58542. if (46 !== _0_0)
  58543. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58544. else
  58545. t2 = true;
  58546. if (t2)
  58547. break;
  58548. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58549. text._contents += t2;
  58550. continue;
  58551. }
  58552. if (95 === _1_0 && normalize) {
  58553. t1.readChar$0();
  58554. t2 = A.Primitives_stringFromCharCode(45);
  58555. text._contents += t2;
  58556. continue;
  58557. }
  58558. if (_1_0 !== 95) {
  58559. if (!(_1_0 >= 97 && _1_0 <= 122))
  58560. t2 = _1_0 >= 65 && _1_0 <= 90;
  58561. else
  58562. t2 = true;
  58563. t2 = t2 || _1_0 >= 128;
  58564. } else
  58565. t2 = true;
  58566. if (!t2)
  58567. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58568. else
  58569. t2 = true;
  58570. if (t2) {
  58571. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58572. text._contents += t2;
  58573. continue;
  58574. }
  58575. if (92 === _1_0) {
  58576. t2 = this.escape$0();
  58577. text._contents += t2;
  58578. continue;
  58579. }
  58580. break;
  58581. }
  58582. },
  58583. _identifierBody$1(text) {
  58584. return this._identifierBody$3$normalize$unit(text, false, false);
  58585. },
  58586. string$0() {
  58587. var buffer, _0_0, t2,
  58588. t1 = this.scanner,
  58589. quote = t1.readChar$0();
  58590. if (quote !== 39 && quote !== 34)
  58591. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58592. buffer = new A.StringBuffer("");
  58593. for (;;) {
  58594. _0_0 = t1.peekChar$0();
  58595. if (_0_0 === quote) {
  58596. t1.readChar$0();
  58597. break;
  58598. }
  58599. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58600. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58601. if (92 === _0_0) {
  58602. t2 = t1.peekChar$1(1);
  58603. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58604. t1.readChar$0();
  58605. t1.readChar$0();
  58606. } else {
  58607. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58608. buffer._contents += t2;
  58609. }
  58610. continue;
  58611. }
  58612. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58613. buffer._contents += t2;
  58614. }
  58615. t1 = buffer._contents;
  58616. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58617. },
  58618. declarationValue$1$allowEmpty(allowEmpty) {
  58619. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58620. buffer = new A.StringBuffer(""),
  58621. brackets = A._setArrayType([], type$.JSArray_int);
  58622. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false;;) {
  58623. next = t1.peekChar$0();
  58624. if (next == null)
  58625. break;
  58626. wroteNewline0 = false;
  58627. if (92 === next) {
  58628. t4 = _this.escape$1$identifierStart(true);
  58629. buffer._contents += t4;
  58630. wroteNewline = wroteNewline0;
  58631. continue;
  58632. }
  58633. if (34 === next || 39 === next) {
  58634. start = t1._string_scanner$_position;
  58635. t3.call$0();
  58636. end = t1._string_scanner$_position;
  58637. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58638. wroteNewline = wroteNewline0;
  58639. continue;
  58640. }
  58641. if (47 === next) {
  58642. if (t1.peekChar$1(1) === 42) {
  58643. start = t1._string_scanner$_position;
  58644. t2.call$0();
  58645. end = t1._string_scanner$_position;
  58646. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58647. } else {
  58648. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58649. buffer._contents += t4;
  58650. }
  58651. wroteNewline = wroteNewline0;
  58652. continue;
  58653. }
  58654. if (32 === next || 9 === next) {
  58655. if (!wroteNewline) {
  58656. t4 = t1.peekChar$1(1);
  58657. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58658. } else
  58659. t4 = true;
  58660. if (t4) {
  58661. t4 = A.Primitives_stringFromCharCode(32);
  58662. buffer._contents += t4;
  58663. }
  58664. t1.readChar$0();
  58665. continue;
  58666. }
  58667. if (10 === next || 13 === next || 12 === next) {
  58668. t4 = t1.peekChar$1(-1);
  58669. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58670. buffer._contents += "\n";
  58671. t1.readChar$0();
  58672. wroteNewline = true;
  58673. continue;
  58674. }
  58675. if (40 === next || 123 === next || 91 === next) {
  58676. t4 = A.Primitives_stringFromCharCode(next);
  58677. buffer._contents += t4;
  58678. brackets.push(A.opposite(t1.readChar$0()));
  58679. wroteNewline = wroteNewline0;
  58680. continue;
  58681. }
  58682. if (41 === next || 125 === next || 93 === next) {
  58683. if (brackets.length === 0)
  58684. break;
  58685. t4 = A.Primitives_stringFromCharCode(next);
  58686. buffer._contents += t4;
  58687. t1.expectChar$1(brackets.pop());
  58688. wroteNewline = wroteNewline0;
  58689. continue;
  58690. }
  58691. if (59 === next) {
  58692. if (brackets.length === 0)
  58693. break;
  58694. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58695. buffer._contents += t4;
  58696. continue;
  58697. }
  58698. if (117 === next || 85 === next) {
  58699. _0_0 = _this.tryUrl$0();
  58700. if (_0_0 != null)
  58701. buffer._contents += _0_0;
  58702. else {
  58703. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58704. buffer._contents += t4;
  58705. }
  58706. wroteNewline = wroteNewline0;
  58707. continue;
  58708. }
  58709. if (_this.lookingAtIdentifier$0()) {
  58710. t4 = _this.identifier$0();
  58711. buffer._contents += t4;
  58712. } else {
  58713. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58714. buffer._contents += t4;
  58715. }
  58716. wroteNewline = wroteNewline0;
  58717. }
  58718. if (brackets.length !== 0)
  58719. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58720. if (!allowEmpty && buffer._contents.length === 0)
  58721. t1.error$1(0, "Expected token.");
  58722. t1 = buffer._contents;
  58723. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58724. },
  58725. declarationValue$0() {
  58726. return this.declarationValue$1$allowEmpty(false);
  58727. },
  58728. tryUrl$0() {
  58729. var buffer, _0_0, t2, _this = this,
  58730. t1 = _this.scanner,
  58731. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58732. if (!_this.scanIdentifier$1("url"))
  58733. return null;
  58734. if (!t1.scanChar$1(40)) {
  58735. t1.set$state(start);
  58736. return null;
  58737. }
  58738. _this.whitespace$1$consumeNewlines(true);
  58739. buffer = new A.StringBuffer("");
  58740. buffer._contents = "url(";
  58741. for (;;) {
  58742. _0_0 = t1.peekChar$0();
  58743. if (_0_0 == null)
  58744. break;
  58745. if (92 === _0_0) {
  58746. t2 = _this.escape$0();
  58747. buffer._contents += t2;
  58748. continue;
  58749. }
  58750. t2 = true;
  58751. if (37 !== _0_0)
  58752. if (38 !== _0_0)
  58753. if (35 !== _0_0)
  58754. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58755. if (t2) {
  58756. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58757. buffer._contents += t2;
  58758. continue;
  58759. }
  58760. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58761. _this.whitespace$1$consumeNewlines(true);
  58762. if (t1.peekChar$0() !== 41)
  58763. break;
  58764. continue;
  58765. }
  58766. if (41 === _0_0) {
  58767. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58768. t2 = buffer._contents += t2;
  58769. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58770. }
  58771. break;
  58772. }
  58773. t1.set$state(start);
  58774. return null;
  58775. },
  58776. variableName$0() {
  58777. this.scanner.expectChar$1(36);
  58778. return this.identifier$1$normalize(true);
  58779. },
  58780. escape$1$identifierStart(identifierStart) {
  58781. var value, _0_0, i, next, t2, exception,
  58782. _s25_ = "Expected escape sequence.",
  58783. t1 = this.scanner,
  58784. start = t1._string_scanner$_position;
  58785. t1.expectChar$1(92);
  58786. value = 0;
  58787. $label0$1: {
  58788. _0_0 = t1.peekChar$0();
  58789. if (_0_0 == null)
  58790. t1.error$1(0, _s25_);
  58791. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58792. t1.error$1(0, _s25_);
  58793. if (A.CharacterExtension_get_isHex(_0_0)) {
  58794. for (i = 0; i < 6; ++i) {
  58795. next = t1.peekChar$0();
  58796. if (next != null) {
  58797. t2 = true;
  58798. if (!(next >= 48 && next <= 57))
  58799. if (!(next >= 97 && next <= 102))
  58800. t2 = next >= 65 && next <= 70;
  58801. t2 = !t2;
  58802. } else
  58803. t2 = true;
  58804. if (t2)
  58805. break;
  58806. value *= 16;
  58807. value += A.asHex(t1.readChar$0());
  58808. }
  58809. this.scanCharIf$1(new A.Parser_escape_closure());
  58810. break $label0$1;
  58811. }
  58812. value = t1.readChar$0();
  58813. }
  58814. if (identifierStart) {
  58815. t2 = value;
  58816. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58817. } else {
  58818. t2 = value;
  58819. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58820. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58821. else
  58822. t2 = true;
  58823. }
  58824. if (t2)
  58825. try {
  58826. t2 = A.Primitives_stringFromCharCode(value);
  58827. return t2;
  58828. } catch (exception) {
  58829. if (type$.RangeError._is(A.unwrapException(exception)))
  58830. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58831. else
  58832. throw exception;
  58833. }
  58834. else {
  58835. t1 = true;
  58836. if (!(value <= 31))
  58837. if (!J.$eq$(value, 127))
  58838. if (identifierStart) {
  58839. t1 = value;
  58840. t1 = t1 >= 48 && t1 <= 57;
  58841. } else
  58842. t1 = false;
  58843. if (t1) {
  58844. t1 = A.Primitives_stringFromCharCode(92);
  58845. if (value > 15)
  58846. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58847. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58848. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58849. } else
  58850. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58851. }
  58852. },
  58853. escape$0() {
  58854. return this.escape$1$identifierStart(false);
  58855. },
  58856. scanCharIf$1(condition) {
  58857. var t1 = this.scanner;
  58858. if (!condition.call$1(t1.peekChar$0()))
  58859. return false;
  58860. t1.readChar$0();
  58861. return true;
  58862. },
  58863. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58864. var t3,
  58865. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58866. t2 = this.scanner,
  58867. _0_0 = t2.peekChar$0();
  58868. if (_0_0 != null)
  58869. t3 = t1.call$1(_0_0);
  58870. else
  58871. t3 = false;
  58872. if (t3) {
  58873. t2.readChar$0();
  58874. return true;
  58875. }
  58876. if (92 === _0_0) {
  58877. t3 = t2._string_scanner$_position;
  58878. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58879. return true;
  58880. t2.set$state(new A._SpanScannerState(t2, t3));
  58881. }
  58882. return false;
  58883. },
  58884. scanIdentChar$1(char) {
  58885. return this.scanIdentChar$2$caseSensitive(char, false);
  58886. },
  58887. expectIdentChar$1(letter) {
  58888. var t1;
  58889. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58890. return;
  58891. t1 = this.scanner;
  58892. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58893. },
  58894. lookingAtIdentifier$1($forward) {
  58895. var t1, _1_0, t2, _0_0;
  58896. if ($forward == null)
  58897. $forward = 0;
  58898. t1 = this.scanner;
  58899. _1_0 = t1.peekChar$1($forward);
  58900. $label0$0: {
  58901. if (A._isInt(_1_0))
  58902. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58903. else
  58904. t2 = false;
  58905. if (t2 || 92 === _1_0) {
  58906. t1 = true;
  58907. break $label0$0;
  58908. }
  58909. if (45 === _1_0) {
  58910. _0_0 = t1.peekChar$1($forward + 1);
  58911. $label1$1: {
  58912. if (A._isInt(_0_0))
  58913. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58914. else
  58915. t1 = false;
  58916. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58917. break $label1$1;
  58918. }
  58919. break $label0$0;
  58920. }
  58921. t1 = false;
  58922. break $label0$0;
  58923. }
  58924. return t1;
  58925. },
  58926. lookingAtIdentifier$0() {
  58927. return this.lookingAtIdentifier$1(null);
  58928. },
  58929. lookingAtIdentifierBody$0() {
  58930. var t1,
  58931. next = this.scanner.peekChar$0();
  58932. if (next != null) {
  58933. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58934. t1 = next >= 48 && next <= 57 || next === 45;
  58935. else
  58936. t1 = true;
  58937. t1 = t1 || next === 92;
  58938. } else
  58939. t1 = false;
  58940. return t1;
  58941. },
  58942. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58943. var t1, t2, _this = this;
  58944. if (!_this.lookingAtIdentifier$0())
  58945. return false;
  58946. t1 = _this.scanner;
  58947. t2 = t1._string_scanner$_position;
  58948. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58949. return true;
  58950. else {
  58951. t1.set$state(new A._SpanScannerState(t1, t2));
  58952. return false;
  58953. }
  58954. },
  58955. scanIdentifier$1(text) {
  58956. return this.scanIdentifier$2$caseSensitive(text, false);
  58957. },
  58958. _consumeIdentifier$2(text, caseSensitive) {
  58959. var t1, t2, t3;
  58960. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  58961. t3 = t1.__internal$_current;
  58962. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58963. return false;
  58964. }
  58965. return true;
  58966. },
  58967. expectIdentifier$2$name(text, $name) {
  58968. var t1, start, t2, t3, t4, t5, t6;
  58969. if ($name == null)
  58970. $name = '"' + text + '"';
  58971. t1 = this.scanner;
  58972. start = t1._string_scanner$_position;
  58973. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  58974. t6 = t2.__internal$_current;
  58975. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58976. continue;
  58977. t1.error$2$position(0, t5, start);
  58978. }
  58979. if (!this.lookingAtIdentifierBody$0())
  58980. return;
  58981. t1.error$2$position(0, t4, start);
  58982. },
  58983. expectIdentifier$1(text) {
  58984. return this.expectIdentifier$2$name(text, null);
  58985. },
  58986. rawText$1(consumer) {
  58987. var t1 = this.scanner,
  58988. start = t1._string_scanner$_position;
  58989. consumer.call$0();
  58990. return t1.substring$1(0, start);
  58991. },
  58992. spanFrom$2(start, end) {
  58993. var span = this.scanner.spanFrom$2(start, end);
  58994. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58995. },
  58996. spanFrom$1(start) {
  58997. return this.spanFrom$2(start, null);
  58998. },
  58999. spanFromPosition$1(start) {
  59000. var span = this.scanner.spanFromPosition$2(start, null);
  59001. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFromPosition_closure(this, span));
  59002. },
  59003. error$3(_, message, span, trace) {
  59004. var exception = new A.StringScannerException(this.scanner.string, message, span);
  59005. if (trace == null)
  59006. throw A.wrapException(exception);
  59007. else
  59008. A.throwWithTrace(exception, this.get$error(this), trace);
  59009. },
  59010. error$2(_, message, span) {
  59011. return this.error$3(0, message, span, null);
  59012. },
  59013. withErrorMessage$1$2(message, callback) {
  59014. var error, stackTrace, t1, exception;
  59015. try {
  59016. t1 = callback.call$0();
  59017. return t1;
  59018. } catch (exception) {
  59019. t1 = A.unwrapException(exception);
  59020. if (type$.SourceSpanFormatException._is(t1)) {
  59021. error = t1;
  59022. stackTrace = A.getTraceFromException(exception);
  59023. t1 = J.get$span$z(error);
  59024. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  59025. } else
  59026. throw exception;
  59027. }
  59028. },
  59029. withErrorMessage$2(message, callback) {
  59030. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  59031. },
  59032. wrapSpanFormatException$1$1(callback) {
  59033. var error, stackTrace, map, mapped, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  59034. _s8_ = "expected";
  59035. try {
  59036. try {
  59037. t3 = callback.call$0();
  59038. return t3;
  59039. } catch (exception) {
  59040. t3 = A.unwrapException(exception);
  59041. if (type$.SourceSpanFormatException._is(t3)) {
  59042. error = t3;
  59043. stackTrace = A.getTraceFromException(exception);
  59044. map = _this._interpolationMap;
  59045. if (map == null)
  59046. throw exception;
  59047. mapped = map.mapException$1(error);
  59048. t3 = mapped;
  59049. t4 = error;
  59050. if (t3 == null ? t4 == null : t3 === t4)
  59051. throw exception;
  59052. A.throwWithTrace(mapped, error, stackTrace);
  59053. } else
  59054. throw exception;
  59055. }
  59056. } catch (exception) {
  59057. t3 = A.unwrapException(exception);
  59058. if (type$.MultiSourceSpanFormatException._is(t3)) {
  59059. error0 = t3;
  59060. stackTrace0 = A.getTraceFromException(exception);
  59061. span = J.get$span$z(error0);
  59062. t3 = type$.FileSpan;
  59063. t4 = type$.String;
  59064. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  59065. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  59066. span = _this._adjustExceptionSpan$1(span);
  59067. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  59068. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  59069. t2 = t3.get$current(t3);
  59070. span0 = null;
  59071. description = null;
  59072. _0_0 = t2;
  59073. span0 = _0_0._0;
  59074. description = _0_0._1;
  59075. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  59076. }
  59077. secondarySpans = t1;
  59078. }
  59079. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  59080. } else if (type$.SourceSpanFormatException._is(t3)) {
  59081. error1 = t3;
  59082. stackTrace1 = A.getTraceFromException(exception);
  59083. span1 = J.get$span$z(error1);
  59084. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  59085. span1 = _this._adjustExceptionSpan$1(span1);
  59086. t1 = error1._span_exception$_message;
  59087. t2 = span1;
  59088. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  59089. } else
  59090. throw exception;
  59091. }
  59092. },
  59093. wrapSpanFormatException$1(callback) {
  59094. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  59095. },
  59096. _adjustExceptionSpan$1(span) {
  59097. var start, t1;
  59098. if (span.get$length(span) > 0)
  59099. return span;
  59100. start = this._firstNewlineBefore$1(span.get$start(span));
  59101. if (start.$eq(0, span.get$start(span)))
  59102. t1 = span;
  59103. else {
  59104. t1 = start.offset;
  59105. t1 = A._FileSpan$(start.file, t1, t1);
  59106. }
  59107. return t1;
  59108. },
  59109. _firstNewlineBefore$1($location) {
  59110. var lastNewline, codeUnit,
  59111. t1 = $location.file,
  59112. t2 = $location.offset,
  59113. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  59114. index = t2 - 1;
  59115. for (lastNewline = null; index >= 0;) {
  59116. codeUnit = text.charCodeAt(index);
  59117. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  59118. if (lastNewline == null)
  59119. t1 = $location;
  59120. else {
  59121. t2 = new A.FileLocation(t1, lastNewline);
  59122. t2.FileLocation$_$2(t1, lastNewline);
  59123. t1 = t2;
  59124. }
  59125. return t1;
  59126. }
  59127. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  59128. lastNewline = index;
  59129. --index;
  59130. }
  59131. return $location;
  59132. }
  59133. };
  59134. A.Parser__parseIdentifier_closure.prototype = {
  59135. call$0() {
  59136. var t1 = this.$this,
  59137. result = t1.identifier$0();
  59138. t1.scanner.expectDone$0();
  59139. return result;
  59140. },
  59141. $signature: 29
  59142. };
  59143. A.Parser_escape_closure.prototype = {
  59144. call$1(char) {
  59145. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  59146. },
  59147. $signature: 32
  59148. };
  59149. A.Parser_scanIdentChar_matches.prototype = {
  59150. call$1(actual) {
  59151. var t1 = this.char;
  59152. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  59153. },
  59154. $signature: 50
  59155. };
  59156. A.Parser_spanFrom_closure.prototype = {
  59157. call$0() {
  59158. var t1 = this.$this._interpolationMap;
  59159. if (t1 == null)
  59160. t1 = type$.InterpolationMap._as(t1);
  59161. return t1.mapSpan$1(this.span);
  59162. },
  59163. $signature: 22
  59164. };
  59165. A.Parser_spanFromPosition_closure.prototype = {
  59166. call$0() {
  59167. var t1 = this.$this._interpolationMap;
  59168. if (t1 == null)
  59169. t1 = type$.InterpolationMap._as(t1);
  59170. return t1.mapSpan$1(this.span);
  59171. },
  59172. $signature: 22
  59173. };
  59174. A.SassParser.prototype = {
  59175. get$currentIndentation() {
  59176. return this._currentIndentation;
  59177. },
  59178. get$indented() {
  59179. return true;
  59180. },
  59181. styleRuleSelector$0() {
  59182. var t4, _this = this,
  59183. t1 = _this.scanner,
  59184. t2 = t1._string_scanner$_position,
  59185. t3 = new A.StringBuffer(""),
  59186. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  59187. do {
  59188. buffer.addInterpolation$1(_this.almostAnyValue$1$omitComments(true));
  59189. t4 = A.Primitives_stringFromCharCode(10);
  59190. t4 = t3._contents += t4;
  59191. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && _this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure()));
  59192. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59193. },
  59194. expectStatementSeparator$1($name) {
  59195. var t1, _this = this,
  59196. trailingSemicolon = _this._tryTrailingSemicolon$0();
  59197. if (!_this.atEndOfStatement$0())
  59198. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  59199. if (_this._peekIndentation$0() <= _this._currentIndentation)
  59200. return;
  59201. t1 = $name == null ? "here" : "beneath a " + $name;
  59202. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  59203. },
  59204. expectStatementSeparator$0() {
  59205. return this.expectStatementSeparator$1(null);
  59206. },
  59207. atEndOfStatement$0() {
  59208. var t1 = this.scanner.peekChar$0();
  59209. if (t1 == null)
  59210. t1 = null;
  59211. else
  59212. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59213. return t1 !== false;
  59214. },
  59215. lookingAtChildren$0() {
  59216. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  59217. },
  59218. importArgument$0() {
  59219. var url, span, innerError, stackTrace, t1, _0_0, start, t2, next, t3, exception, _this = this;
  59220. $label0$0: {
  59221. t1 = _this.scanner;
  59222. _0_0 = t1.peekChar$0();
  59223. if (117 === _0_0 || 85 === _0_0) {
  59224. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59225. if (_this.scanIdentifier$1("url"))
  59226. if (t1.scanChar$1(40)) {
  59227. t1.set$state(start);
  59228. return _this.super$StylesheetParser$importArgument();
  59229. } else
  59230. t1.set$state(start);
  59231. break $label0$0;
  59232. }
  59233. if (39 === _0_0 || 34 === _0_0)
  59234. return _this.super$StylesheetParser$importArgument();
  59235. }
  59236. t2 = t1._string_scanner$_position;
  59237. next = t1.peekChar$0();
  59238. for (;;) {
  59239. t3 = false;
  59240. if (next != null)
  59241. if (next !== 44)
  59242. if (next !== 59)
  59243. t3 = !(next === 10 || next === 13 || next === 12);
  59244. if (!t3)
  59245. break;
  59246. t1.readChar$0();
  59247. next = t1.peekChar$0();
  59248. }
  59249. url = t1.substring$1(0, t2);
  59250. span = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59251. if (_this.isPlainImportUrl$1(url))
  59252. return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([A.serializeValue(new A.SassString(url, true), true, true)], type$.Object), B.List_null, span), null, span);
  59253. else
  59254. try {
  59255. t1 = _this.parseImportUrl$1(url);
  59256. return new A.DynamicImport(t1, span);
  59257. } catch (exception) {
  59258. t1 = A.unwrapException(exception);
  59259. if (type$.FormatException._is(t1)) {
  59260. innerError = t1;
  59261. stackTrace = A.getTraceFromException(exception);
  59262. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  59263. } else
  59264. throw exception;
  59265. }
  59266. },
  59267. scanElse$1(ifIndentation) {
  59268. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  59269. if (_this._peekIndentation$0() !== ifIndentation)
  59270. return false;
  59271. t1 = _this.scanner;
  59272. t2 = t1._string_scanner$_position;
  59273. startIndentation = _this._currentIndentation;
  59274. startNextIndentation = _this._nextIndentation;
  59275. startNextIndentationEnd = _this._nextIndentationEnd;
  59276. _this._readIndentation$0();
  59277. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  59278. return true;
  59279. t1.set$state(new A._SpanScannerState(t1, t2));
  59280. _this._currentIndentation = startIndentation;
  59281. _this._nextIndentation = startNextIndentation;
  59282. _this._nextIndentationEnd = startNextIndentationEnd;
  59283. return false;
  59284. },
  59285. children$1(_, child) {
  59286. var children = A._setArrayType([], type$.JSArray_Statement);
  59287. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  59288. return children;
  59289. },
  59290. statements$1(statement) {
  59291. var statements, t2, _1_0,
  59292. t1 = this.scanner,
  59293. _0_0 = t1.peekChar$0();
  59294. if (9 === _0_0 || 32 === _0_0)
  59295. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  59296. statements = A._setArrayType([], type$.JSArray_Statement);
  59297. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  59298. _1_0 = this._child$1(statement);
  59299. if (_1_0 != null)
  59300. statements.push(_1_0);
  59301. this._readIndentation$0();
  59302. }
  59303. return statements;
  59304. },
  59305. _child$1(child) {
  59306. var _0_0, _this = this,
  59307. t1 = _this.scanner,
  59308. _1_0 = t1.peekChar$0();
  59309. $label0$0: {
  59310. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  59311. t1 = null;
  59312. break $label0$0;
  59313. }
  59314. if (36 === _1_0) {
  59315. t1 = _this.variableDeclarationWithoutNamespace$0();
  59316. break $label0$0;
  59317. }
  59318. if (47 === _1_0) {
  59319. _0_0 = t1.peekChar$1(1);
  59320. $label1$1: {
  59321. if (47 === _0_0) {
  59322. t1 = _this._silentComment$0();
  59323. break $label1$1;
  59324. }
  59325. if (42 === _0_0) {
  59326. t1 = _this._loudComment$0();
  59327. break $label1$1;
  59328. }
  59329. t1 = child.call$0();
  59330. break $label1$1;
  59331. }
  59332. break $label0$0;
  59333. }
  59334. t1 = child.call$0();
  59335. break $label0$0;
  59336. }
  59337. return t1;
  59338. },
  59339. _silentComment$0() {
  59340. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  59341. t1 = _this.scanner,
  59342. t2 = t1._string_scanner$_position;
  59343. t1.expect$1("//");
  59344. buffer = new A.StringBuffer("");
  59345. parentIndentation = _this._currentIndentation;
  59346. t3 = t1.string.length;
  59347. t4 = 1 + parentIndentation;
  59348. t5 = 2 + parentIndentation;
  59349. $label0$0:
  59350. do {
  59351. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  59352. for (i = commentPrefix.length;;) {
  59353. t6 = buffer._contents += commentPrefix;
  59354. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  59355. t6 += A.Primitives_stringFromCharCode(32);
  59356. buffer._contents = t6;
  59357. }
  59358. for (;;) {
  59359. if (t1._string_scanner$_position !== t3) {
  59360. t7 = t1.peekChar$0();
  59361. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  59362. } else
  59363. t7 = false;
  59364. if (!t7)
  59365. break;
  59366. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59367. buffer._contents = t6;
  59368. }
  59369. buffer._contents = t6 + "\n";
  59370. if (_this._peekIndentation$0() < parentIndentation)
  59371. break $label0$0;
  59372. if (_this._peekIndentation$0() === parentIndentation) {
  59373. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  59374. _this._readIndentation$0();
  59375. break;
  59376. }
  59377. _this._readIndentation$0();
  59378. }
  59379. } while (t1.scan$1("//"));
  59380. t3 = buffer._contents;
  59381. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59382. },
  59383. _loudComment$0() {
  59384. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, span, _this = this,
  59385. t1 = _this.scanner,
  59386. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59387. t1.expect$1("/*");
  59388. t2 = new A.StringBuffer("");
  59389. t3 = A._setArrayType([], type$.JSArray_Object);
  59390. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59391. buffer = new A.InterpolationBuffer(t2, t3, t4);
  59392. t2._contents = "/*";
  59393. parentIndentation = _this._currentIndentation;
  59394. for (t5 = t1.string, t6 = t5.length, first = true;; first = false) {
  59395. if (first) {
  59396. beginningOfComment = t1._string_scanner$_position;
  59397. _this.spaces$0();
  59398. t7 = t1.peekChar$0();
  59399. if (t7 === 10 || t7 === 13 || t7 === 12) {
  59400. _this._readIndentation$0();
  59401. t7 = A.Primitives_stringFromCharCode(32);
  59402. t2._contents += t7;
  59403. } else {
  59404. end = t1._string_scanner$_position;
  59405. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  59406. }
  59407. } else
  59408. t2._contents = (t2._contents += "\n") + " * ";
  59409. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  59410. t7 = A.Primitives_stringFromCharCode(32);
  59411. t2._contents += t7;
  59412. }
  59413. while (t1._string_scanner$_position !== t6) {
  59414. _1_0 = t1.peekChar$0();
  59415. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  59416. break;
  59417. if (35 === _1_0) {
  59418. if (t1.peekChar$1(1) === 123) {
  59419. _0_0 = _this.singleInterpolation$0();
  59420. buffer._flushText$0();
  59421. t3.push(_0_0._0);
  59422. t4.push(_0_0._1);
  59423. } else {
  59424. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59425. t2._contents += t7;
  59426. }
  59427. continue;
  59428. }
  59429. if (42 === _1_0) {
  59430. if (t1.peekChar$1(1) === 47) {
  59431. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59432. t2._contents += t3;
  59433. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59434. t2._contents += t3;
  59435. span = _this.spanFrom$1(start);
  59436. _this.whitespace$1$consumeNewlines(false);
  59437. for (;;) {
  59438. t2 = t1.peekChar$0();
  59439. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  59440. break;
  59441. while (_this._lookingAtDoubleNewline$0())
  59442. _this._expectNewline$0();
  59443. _this._readIndentation$0();
  59444. _this.whitespace$1$consumeNewlines(false);
  59445. }
  59446. if (t1._string_scanner$_position !== t6) {
  59447. t2 = t1.peekChar$0();
  59448. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  59449. } else
  59450. t2 = false;
  59451. if (t2) {
  59452. t2 = t1._string_scanner$_position;
  59453. for (;;) {
  59454. if (t1._string_scanner$_position !== t6) {
  59455. t3 = t1.peekChar$0();
  59456. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59457. } else
  59458. t3 = false;
  59459. if (!t3)
  59460. break;
  59461. t1.readChar$0();
  59462. }
  59463. throw A.wrapException(A.MultiSpanSassFormatException$("Unexpected text after end of comment", _this.spanFrom$1(new A._SpanScannerState(t1, t2)), "extra text", A.LinkedHashMap_LinkedHashMap$_literal([span, "comment"], type$.FileSpan, type$.String), null));
  59464. } else
  59465. return new A.LoudComment(buffer.interpolation$1(span));
  59466. } else {
  59467. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59468. t2._contents += t7;
  59469. }
  59470. continue;
  59471. }
  59472. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59473. t2._contents += t7;
  59474. }
  59475. if (_this._peekIndentation$0() <= parentIndentation)
  59476. break;
  59477. while (_this._lookingAtDoubleNewline$0()) {
  59478. _this._expectNewline$0();
  59479. t2._contents = (t2._contents += "\n") + " *";
  59480. }
  59481. _this._readIndentation$0();
  59482. }
  59483. return new A.LoudComment(buffer.interpolation$1(_this.spanFrom$1(start)));
  59484. },
  59485. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  59486. var t1, t2, next, t3;
  59487. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  59488. next = t1.peekChar$0();
  59489. if (consumeNewlines)
  59490. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  59491. else
  59492. t3 = !(next === 32 || next === 9);
  59493. if (t3)
  59494. break;
  59495. t1.readChar$0();
  59496. }
  59497. },
  59498. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  59499. var t1 = this.scanner,
  59500. _0_0 = t1.peekChar$0();
  59501. if (13 === _0_0) {
  59502. t1.readChar$0();
  59503. if (t1.peekChar$0() === 10)
  59504. t1.readChar$0();
  59505. return;
  59506. }
  59507. if (10 === _0_0 || 12 === _0_0) {
  59508. t1.readChar$0();
  59509. return;
  59510. }
  59511. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  59512. },
  59513. _expectNewline$0() {
  59514. return this._expectNewline$1$trailingSemicolon(false);
  59515. },
  59516. _lookingAtDoubleNewline$0() {
  59517. var t2, _0_0,
  59518. t1 = this.scanner,
  59519. _1_0 = t1.peekChar$0();
  59520. $label1$1: {
  59521. t2 = false;
  59522. if (13 === _1_0) {
  59523. _0_0 = t1.peekChar$1(1);
  59524. $label0$0: {
  59525. if (10 === _0_0) {
  59526. t1 = t1.peekChar$1(2);
  59527. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59528. break $label0$0;
  59529. }
  59530. if (13 === _0_0 || 12 === _0_0) {
  59531. t1 = true;
  59532. break $label0$0;
  59533. }
  59534. t1 = t2;
  59535. break $label0$0;
  59536. }
  59537. break $label1$1;
  59538. }
  59539. if (10 === _1_0 || 12 === _1_0) {
  59540. t1 = t1.peekChar$1(1);
  59541. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59542. break $label1$1;
  59543. }
  59544. t1 = t2;
  59545. break $label1$1;
  59546. }
  59547. return t1;
  59548. },
  59549. _whileIndentedLower$1(body) {
  59550. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59551. parentIndentation = _this._currentIndentation;
  59552. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59553. indentation = _this._readIndentation$0();
  59554. if (childIndentation == null)
  59555. childIndentation = indentation;
  59556. if (childIndentation !== indentation) {
  59557. t3 = t1._string_scanner$_position;
  59558. t4 = t2.getColumn$1(t3);
  59559. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59560. }
  59561. body.call$0();
  59562. }
  59563. },
  59564. _readIndentation$0() {
  59565. var t1, _this = this,
  59566. currentIndentation = _this._nextIndentation;
  59567. if (currentIndentation == null)
  59568. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59569. _this._currentIndentation = currentIndentation;
  59570. t1 = _this._nextIndentationEnd;
  59571. t1.toString;
  59572. _this.scanner.set$state(t1);
  59573. _this._nextIndentationEnd = _this._nextIndentation = null;
  59574. return currentIndentation;
  59575. },
  59576. _peekIndentation$0() {
  59577. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59578. _0_0 = _this._nextIndentation;
  59579. if (_0_0 != null)
  59580. return _0_0;
  59581. t1 = _this.scanner;
  59582. t2 = t1._string_scanner$_position;
  59583. t3 = t1.string.length;
  59584. if (t2 === t3) {
  59585. _this._nextIndentation = 0;
  59586. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59587. return 0;
  59588. }
  59589. start = new A._SpanScannerState(t1, t2);
  59590. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59591. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59592. containsTab = A._Cell$();
  59593. containsSpace = A._Cell$();
  59594. nextIndentation = A._Cell$();
  59595. do {
  59596. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59597. nextIndentation.__late_helper$_value = 0;
  59598. for (;;) {
  59599. $label0$0: {
  59600. _1_0 = t1.peekChar$0();
  59601. if (32 === _1_0) {
  59602. containsSpace.__late_helper$_value = true;
  59603. break $label0$0;
  59604. }
  59605. if (9 === _1_0) {
  59606. containsTab.__late_helper$_value = true;
  59607. break $label0$0;
  59608. }
  59609. break;
  59610. }
  59611. t2 = nextIndentation.__late_helper$_value;
  59612. if (t2 === nextIndentation)
  59613. A.throwExpression(A.LateError$localNI(""));
  59614. nextIndentation.__late_helper$_value = t2 + 1;
  59615. t1.readChar$0();
  59616. }
  59617. t2 = t1._string_scanner$_position;
  59618. if (t2 === t3) {
  59619. _this._nextIndentation = 0;
  59620. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59621. t1.set$state(start);
  59622. return 0;
  59623. }
  59624. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59625. t2 = containsTab._readLocal$0();
  59626. t3 = containsSpace._readLocal$0();
  59627. if (t2) {
  59628. if (t3) {
  59629. t2 = t1._string_scanner$_position;
  59630. t3 = t1._sourceFile;
  59631. t4 = t3.getColumn$1(t2);
  59632. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59633. } else if (_this._spaces === true) {
  59634. t2 = t1._string_scanner$_position;
  59635. t3 = t1._sourceFile;
  59636. t4 = t3.getColumn$1(t2);
  59637. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59638. }
  59639. } else if (t3 && _this._spaces === false) {
  59640. t2 = t1._string_scanner$_position;
  59641. t3 = t1._sourceFile;
  59642. t4 = t3.getColumn$1(t2);
  59643. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59644. }
  59645. _this._nextIndentation = nextIndentation._readLocal$0();
  59646. if (nextIndentation._readLocal$0() > 0)
  59647. if (_this._spaces == null)
  59648. _this._spaces = containsSpace._readLocal$0();
  59649. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59650. t1.set$state(start);
  59651. return nextIndentation._readLocal$0();
  59652. },
  59653. _tryTrailingSemicolon$0() {
  59654. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59655. this.whitespace$1$consumeNewlines(false);
  59656. return true;
  59657. }
  59658. return false;
  59659. }
  59660. };
  59661. A.SassParser_styleRuleSelector_closure.prototype = {
  59662. call$1(char) {
  59663. return char === 10 || char === 13 || char === 12;
  59664. },
  59665. $signature: 32
  59666. };
  59667. A.SassParser_children_closure.prototype = {
  59668. call$0() {
  59669. var _0_0 = this.$this._child$1(this.child);
  59670. if (_0_0 != null)
  59671. this.children.push(_0_0);
  59672. },
  59673. $signature: 0
  59674. };
  59675. A.SassParser__peekIndentation_closure.prototype = {
  59676. call$1(char) {
  59677. return char === 10 || char === 13 || char === 12;
  59678. },
  59679. $signature: 32
  59680. };
  59681. A.SassParser__peekIndentation_closure0.prototype = {
  59682. call$1(char) {
  59683. return char === 10 || char === 13 || char === 12;
  59684. },
  59685. $signature: 32
  59686. };
  59687. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59688. call$1(char) {
  59689. return char === 59;
  59690. },
  59691. $signature: 32
  59692. };
  59693. A.ScssParser.prototype = {
  59694. get$indented() {
  59695. return false;
  59696. },
  59697. get$currentIndentation() {
  59698. return 0;
  59699. },
  59700. styleRuleSelector$0() {
  59701. return this.almostAnyValue$0();
  59702. },
  59703. expectStatementSeparator$1($name) {
  59704. var t1, _0_0;
  59705. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59706. t1 = this.scanner;
  59707. if (t1._string_scanner$_position === t1.string.length)
  59708. return;
  59709. _0_0 = t1.peekChar$0();
  59710. if (59 === _0_0 || 125 === _0_0)
  59711. return;
  59712. t1.expectChar$1(59);
  59713. },
  59714. expectStatementSeparator$0() {
  59715. return this.expectStatementSeparator$1(null);
  59716. },
  59717. atEndOfStatement$0() {
  59718. var next = this.scanner.peekChar$0();
  59719. return next == null || next === 59 || next === 125 || next === 123;
  59720. },
  59721. lookingAtChildren$0() {
  59722. return this.scanner.peekChar$0() === 123;
  59723. },
  59724. scanElse$1(ifIndentation) {
  59725. var t3, _this = this,
  59726. t1 = _this.scanner,
  59727. t2 = t1._string_scanner$_position;
  59728. _this.whitespace$1$consumeNewlines(true);
  59729. t3 = t1._string_scanner$_position;
  59730. if (t1.scanChar$1(64)) {
  59731. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59732. return true;
  59733. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59734. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_HUu, string$.x40elsei, _this.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59735. t1.set$position(t1._string_scanner$_position - 2);
  59736. return true;
  59737. }
  59738. }
  59739. t1.set$state(new A._SpanScannerState(t1, t2));
  59740. return false;
  59741. },
  59742. children$1(_, child) {
  59743. var children, _this = this,
  59744. t1 = _this.scanner;
  59745. t1.expectChar$1(123);
  59746. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59747. children = A._setArrayType([], type$.JSArray_Statement);
  59748. for (;;)
  59749. switch (t1.peekChar$0()) {
  59750. case 36:
  59751. children.push(_this.variableDeclarationWithoutNamespace$0());
  59752. break;
  59753. case 47:
  59754. switch (t1.peekChar$1(1)) {
  59755. case 47:
  59756. children.push(_this._scss$_silentComment$0());
  59757. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59758. break;
  59759. case 42:
  59760. children.push(_this._scss$_loudComment$0());
  59761. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59762. break;
  59763. default:
  59764. children.push(child.call$0());
  59765. }
  59766. break;
  59767. case 59:
  59768. t1.readChar$0();
  59769. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59770. break;
  59771. case 125:
  59772. t1.expectChar$1(125);
  59773. return children;
  59774. default:
  59775. children.push(child.call$0());
  59776. }
  59777. },
  59778. statements$1(statement) {
  59779. var t1, t2, _0_0, _1_0, _this = this,
  59780. statements = A._setArrayType([], type$.JSArray_Statement);
  59781. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59782. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59783. switch (t1.peekChar$0()) {
  59784. case 36:
  59785. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59786. break;
  59787. case 47:
  59788. switch (t1.peekChar$1(1)) {
  59789. case 47:
  59790. statements.push(_this._scss$_silentComment$0());
  59791. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59792. break;
  59793. case 42:
  59794. statements.push(_this._scss$_loudComment$0());
  59795. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59796. break;
  59797. default:
  59798. _0_0 = statement.call$0();
  59799. if (_0_0 != null)
  59800. statements.push(_0_0);
  59801. }
  59802. break;
  59803. case 59:
  59804. t1.readChar$0();
  59805. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59806. break;
  59807. default:
  59808. _1_0 = statement.call$0();
  59809. if (_1_0 != null)
  59810. statements.push(_1_0);
  59811. }
  59812. return statements;
  59813. },
  59814. _scss$_silentComment$0() {
  59815. var t3, t4, _this = this,
  59816. t1 = _this.scanner,
  59817. t2 = t1._string_scanner$_position,
  59818. start = new A._SpanScannerState(t1, t2);
  59819. t1.expect$1("//");
  59820. t3 = t1.string.length;
  59821. do {
  59822. for (;;) {
  59823. if (t1._string_scanner$_position !== t3) {
  59824. t4 = t1.readChar$0();
  59825. t4 = !(t4 === 10 || t4 === 13 || t4 === 12);
  59826. } else
  59827. t4 = false;
  59828. if (!t4)
  59829. break;
  59830. }
  59831. if (t1._string_scanner$_position === t3)
  59832. break;
  59833. _this.spaces$0();
  59834. } while (t1.scan$1("//"));
  59835. if (_this.get$plainCss())
  59836. _this.error$2(0, string$.Silent, _this.spanFrom$1(start));
  59837. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, t2), _this.spanFrom$1(start));
  59838. },
  59839. _scss$_loudComment$0() {
  59840. var t3, t4, t5, buffer, _0_0, t6,
  59841. t1 = this.scanner,
  59842. t2 = t1._string_scanner$_position;
  59843. t1.expect$1("/*");
  59844. t3 = new A.StringBuffer("");
  59845. t4 = A._setArrayType([], type$.JSArray_Object);
  59846. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59847. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59848. t3._contents = "/*";
  59849. $label0$1:
  59850. for (;;)
  59851. switch (t1.peekChar$0()) {
  59852. case 35:
  59853. if (t1.peekChar$1(1) === 123) {
  59854. _0_0 = this.singleInterpolation$0();
  59855. buffer._flushText$0();
  59856. t4.push(_0_0._0);
  59857. t5.push(_0_0._1);
  59858. } else {
  59859. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59860. t3._contents += t6;
  59861. }
  59862. break;
  59863. case 42:
  59864. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59865. t3._contents += t6;
  59866. if (t1.peekChar$0() !== 47)
  59867. continue $label0$1;
  59868. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59869. t3._contents += t4;
  59870. return new A.LoudComment(buffer.interpolation$1(this.spanFrom$1(new A._SpanScannerState(t1, t2))));
  59871. case 13:
  59872. t1.readChar$0();
  59873. if (t1.peekChar$0() !== 10) {
  59874. t6 = A.Primitives_stringFromCharCode(10);
  59875. t3._contents += t6;
  59876. }
  59877. break;
  59878. case 12:
  59879. t1.readChar$0();
  59880. t6 = A.Primitives_stringFromCharCode(10);
  59881. t3._contents += t6;
  59882. break;
  59883. default:
  59884. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59885. t3._contents += t6;
  59886. }
  59887. }
  59888. };
  59889. A.SelectorParser.prototype = {
  59890. parse$0(_) {
  59891. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59892. },
  59893. parseCompoundSelector$0() {
  59894. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59895. },
  59896. _selectorList$0() {
  59897. var t4, t5, lineBreak, _this = this,
  59898. t1 = _this.scanner,
  59899. t2 = t1._string_scanner$_position,
  59900. t3 = t1._sourceFile,
  59901. previousLine = t3.getLine$1(t2),
  59902. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59903. _this.whitespace$1$consumeNewlines(true);
  59904. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59905. _this.whitespace$1$consumeNewlines(true);
  59906. if (t1.peekChar$0() === 44)
  59907. continue;
  59908. t5 = t1._string_scanner$_position;
  59909. if (t5 === t4)
  59910. break;
  59911. lineBreak = t3.getLine$1(t5) !== previousLine;
  59912. if (lineBreak)
  59913. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59914. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59915. }
  59916. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59917. },
  59918. _complexSelector$1$lineBreak(lineBreak) {
  59919. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59920. _s18_ = "expected selector.",
  59921. t1 = _this.scanner,
  59922. t2 = t1._string_scanner$_position,
  59923. componentStart = new A._SpanScannerState(t1, t2),
  59924. t3 = type$.JSArray_CssValue_Combinator,
  59925. combinators = A._setArrayType([], t3),
  59926. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59927. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null;;) {
  59928. _this.whitespace$1$consumeNewlines(true);
  59929. _0_0 = t1.peekChar$0();
  59930. if (43 === _0_0) {
  59931. t5 = t1._string_scanner$_position;
  59932. t1.readChar$0();
  59933. combinators.push(new A.CssValue(B.Combinator_sHB, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59934. continue;
  59935. }
  59936. if (62 === _0_0) {
  59937. t5 = t1._string_scanner$_position;
  59938. t1.readChar$0();
  59939. combinators.push(new A.CssValue(B.Combinator_iUF, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59940. continue;
  59941. }
  59942. if (126 === _0_0) {
  59943. t5 = t1._string_scanner$_position;
  59944. t1.readChar$0();
  59945. combinators.push(new A.CssValue(B.Combinator_98W, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59946. continue;
  59947. }
  59948. if (_0_0 == null)
  59949. break;
  59950. t5 = true;
  59951. if (91 !== _0_0)
  59952. if (46 !== _0_0)
  59953. if (35 !== _0_0)
  59954. if (37 !== _0_0)
  59955. if (58 !== _0_0)
  59956. if (38 !== _0_0)
  59957. if (42 !== _0_0)
  59958. if (124 !== _0_0)
  59959. t5 = _this.lookingAtIdentifier$0();
  59960. if (t5) {
  59961. if (lastCompound != null) {
  59962. t5 = _this.spanFrom$1(componentStart);
  59963. result = A.List_List$from(combinators, false, t4);
  59964. result.$flags = 3;
  59965. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59966. } else if (combinators.length !== 0) {
  59967. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59968. initialCombinators = combinators;
  59969. }
  59970. lastCompound = _this._compoundSelector$0();
  59971. combinators = A._setArrayType([], t3);
  59972. if (t1.peekChar$0() === 38)
  59973. t1.error$1(0, string$.x22x26__ma);
  59974. continue;
  59975. }
  59976. break;
  59977. }
  59978. t3 = combinators.length !== 0;
  59979. if (t3 && _this._plainCss)
  59980. t1.error$1(0, _s18_);
  59981. else if (lastCompound != null) {
  59982. t3 = _this.spanFrom$1(componentStart);
  59983. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59984. } else if (t3)
  59985. initialCombinators = combinators;
  59986. else
  59987. t1.error$1(0, _s18_);
  59988. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59989. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59990. },
  59991. _complexSelector$0() {
  59992. return this._complexSelector$1$lineBreak(false);
  59993. },
  59994. _compoundSelector$0() {
  59995. var t3, _this = this,
  59996. t1 = _this.scanner,
  59997. t2 = t1._string_scanner$_position,
  59998. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59999. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  60000. components.push(_this._simpleSelector$1$allowParent(t3));
  60001. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60002. },
  60003. _simpleSelector$1$allowParent(allowParent) {
  60004. var t2, $name, text, t3, suffix, _this = this,
  60005. t1 = _this.scanner,
  60006. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60007. if (allowParent == null)
  60008. allowParent = _this._allowParent;
  60009. switch (t1.peekChar$0()) {
  60010. case 91:
  60011. return _this._attributeSelector$0();
  60012. case 46:
  60013. t2 = t1._string_scanner$_position;
  60014. t1.expectChar$1(46);
  60015. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60016. case 35:
  60017. t2 = t1._string_scanner$_position;
  60018. t1.expectChar$1(35);
  60019. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60020. case 37:
  60021. t2 = t1._string_scanner$_position;
  60022. t1.expectChar$1(37);
  60023. $name = _this.identifier$0();
  60024. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  60025. if (_this._plainCss)
  60026. _this.error$2(0, string$.Placeh, _this.spanFrom$1(start));
  60027. return new A.PlaceholderSelector($name, t2);
  60028. case 58:
  60029. return _this._pseudoSelector$0();
  60030. case 38:
  60031. t2 = t1._string_scanner$_position;
  60032. t1.expectChar$1(38);
  60033. if (_this.lookingAtIdentifierBody$0()) {
  60034. text = new A.StringBuffer("");
  60035. _this._identifierBody$1(text);
  60036. if (text._contents.length === 0)
  60037. t1.error$1(0, "Expected identifier body.");
  60038. t3 = text._contents;
  60039. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  60040. } else
  60041. suffix = null;
  60042. if (_this._plainCss && suffix != null)
  60043. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  60044. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  60045. if (!allowParent)
  60046. _this.error$2(0, "Parent selectors aren't allowed here.", _this.spanFrom$1(start));
  60047. return new A.ParentSelector(suffix, t1);
  60048. default:
  60049. return _this._typeOrUniversalSelector$0();
  60050. }
  60051. },
  60052. _simpleSelector$0() {
  60053. return this._simpleSelector$1$allowParent(null);
  60054. },
  60055. _attributeSelector$0() {
  60056. var $name, operator, next, value, modifier, _this = this, _null = null,
  60057. t1 = _this.scanner,
  60058. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60059. t1.expectChar$1(91);
  60060. _this.whitespace$1$consumeNewlines(true);
  60061. $name = _this._attributeName$0();
  60062. _this.whitespace$1$consumeNewlines(true);
  60063. if (t1.scanChar$1(93))
  60064. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  60065. operator = _this._attributeOperator$0();
  60066. _this.whitespace$1$consumeNewlines(true);
  60067. next = t1.peekChar$0();
  60068. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  60069. _this.whitespace$1$consumeNewlines(true);
  60070. next = t1.peekChar$0();
  60071. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  60072. t1.expectChar$1(93);
  60073. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  60074. },
  60075. _attributeName$0() {
  60076. var nameOrNamespace, _this = this,
  60077. t1 = _this.scanner;
  60078. if (t1.scanChar$1(42)) {
  60079. t1.expectChar$1(124);
  60080. return new A.QualifiedName(_this.identifier$0(), "*");
  60081. }
  60082. if (t1.scanChar$1(124))
  60083. return new A.QualifiedName(_this.identifier$0(), "");
  60084. nameOrNamespace = _this.identifier$0();
  60085. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  60086. return new A.QualifiedName(nameOrNamespace, null);
  60087. t1.readChar$0();
  60088. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  60089. },
  60090. _attributeOperator$0() {
  60091. var t1 = this.scanner,
  60092. start = t1._string_scanner$_position;
  60093. switch (t1.readChar$0()) {
  60094. case 61:
  60095. return B.AttributeOperator_jFZ;
  60096. case 126:
  60097. t1.expectChar$1(61);
  60098. return B.AttributeOperator_OrK;
  60099. case 124:
  60100. t1.expectChar$1(61);
  60101. return B.AttributeOperator_g5B;
  60102. case 94:
  60103. t1.expectChar$1(61);
  60104. return B.AttributeOperator_stc;
  60105. case 36:
  60106. t1.expectChar$1(61);
  60107. return B.AttributeOperator_xJ9;
  60108. case 42:
  60109. t1.expectChar$1(61);
  60110. return B.AttributeOperator_h20;
  60111. default:
  60112. t1.error$2$position(0, 'Expected "]".', start);
  60113. }
  60114. },
  60115. _pseudoSelector$0() {
  60116. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  60117. t1 = _this.scanner,
  60118. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60119. t1.expectChar$1(58);
  60120. element = t1.scanChar$1(58);
  60121. $name = _this.identifier$0();
  60122. if (!t1.scanChar$1(40))
  60123. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  60124. _this.whitespace$1$consumeNewlines(true);
  60125. unvendored = A.unvendor($name);
  60126. argument = _null;
  60127. selector = _null;
  60128. if (element)
  60129. if ($.selectorPseudoElements.contains$1(0, unvendored))
  60130. selector = _this._selectorList$0();
  60131. else
  60132. argument = _this.declarationValue$1$allowEmpty(true);
  60133. else if ($.selectorPseudoClasses.contains$1(0, unvendored))
  60134. selector = _this._selectorList$0();
  60135. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  60136. argument = _this._aNPlusB$0();
  60137. _this.whitespace$1$consumeNewlines(true);
  60138. t2 = t1.peekChar$1(-1);
  60139. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  60140. _this.expectIdentifier$1("of");
  60141. argument += " of";
  60142. _this.whitespace$1$consumeNewlines(true);
  60143. selector = _this._selectorList$0();
  60144. }
  60145. } else
  60146. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  60147. t1.expectChar$1(41);
  60148. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  60149. },
  60150. _aNPlusB$0() {
  60151. var t1, _0_0, t2, $self, next, _this = this;
  60152. $label0$0: {
  60153. t1 = _this.scanner;
  60154. _0_0 = t1.peekChar$0();
  60155. if (101 === _0_0 || 69 === _0_0) {
  60156. _this.expectIdentifier$1("even");
  60157. return "even";
  60158. }
  60159. if (111 === _0_0 || 79 === _0_0) {
  60160. _this.expectIdentifier$1("odd");
  60161. return "odd";
  60162. }
  60163. if (43 === _0_0 || 45 === _0_0) {
  60164. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60165. break $label0$0;
  60166. }
  60167. t2 = "";
  60168. }
  60169. $self = t1.peekChar$0();
  60170. if ($self != null && $self >= 48 && $self <= 57) {
  60171. do {
  60172. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  60173. $self = t1.peekChar$0();
  60174. } while ($self != null && $self >= 48 && $self <= 57);
  60175. _this.whitespace$1$consumeNewlines(true);
  60176. if (!_this.scanIdentChar$1(110))
  60177. return t2.charCodeAt(0) == 0 ? t2 : t2;
  60178. } else
  60179. _this.expectIdentChar$1(110);
  60180. t2 += A.Primitives_stringFromCharCode(110);
  60181. _this.whitespace$1$consumeNewlines(true);
  60182. next = t1.peekChar$0();
  60183. if (next !== 43 && next !== 45)
  60184. return t2.charCodeAt(0) == 0 ? t2 : t2;
  60185. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  60186. _this.whitespace$1$consumeNewlines(true);
  60187. $self = t1.peekChar$0();
  60188. if (!($self != null && $self >= 48 && $self <= 57))
  60189. t1.error$1(0, "Expected a number.");
  60190. do {
  60191. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  60192. $self = t1.peekChar$0();
  60193. } while ($self != null && $self >= 48 && $self <= 57);
  60194. return t2.charCodeAt(0) == 0 ? t2 : t2;
  60195. },
  60196. _typeOrUniversalSelector$0() {
  60197. var nameOrNamespace, _this = this,
  60198. t1 = _this.scanner,
  60199. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60200. if (t1.scanChar$1(42)) {
  60201. if (!t1.scanChar$1(124))
  60202. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  60203. return t1.scanChar$1(42) ? new A.UniversalSelector("*", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  60204. } else if (t1.scanChar$1(124))
  60205. return t1.scanChar$1(42) ? new A.UniversalSelector("", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""), _this.spanFrom$1(start));
  60206. nameOrNamespace = _this.identifier$0();
  60207. if (!t1.scanChar$1(124))
  60208. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  60209. else if (t1.scanChar$1(42))
  60210. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  60211. else
  60212. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  60213. },
  60214. _isSimpleSelectorStart$1(character) {
  60215. var t1;
  60216. $label0$0: {
  60217. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  60218. t1 = true;
  60219. break $label0$0;
  60220. }
  60221. if (38 === character) {
  60222. t1 = this._plainCss;
  60223. break $label0$0;
  60224. }
  60225. t1 = false;
  60226. break $label0$0;
  60227. }
  60228. return t1;
  60229. }
  60230. };
  60231. A.SelectorParser_parse_closure.prototype = {
  60232. call$0() {
  60233. var t1 = this.$this,
  60234. selector = t1._selectorList$0();
  60235. t1 = t1.scanner;
  60236. if (t1._string_scanner$_position !== t1.string.length)
  60237. t1.error$1(0, "expected selector.");
  60238. return selector;
  60239. },
  60240. $signature: 541
  60241. };
  60242. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  60243. call$0() {
  60244. var t1 = this.$this,
  60245. compound = t1._compoundSelector$0();
  60246. t1 = t1.scanner;
  60247. if (t1._string_scanner$_position !== t1.string.length)
  60248. t1.error$1(0, "expected selector.");
  60249. return compound;
  60250. },
  60251. $signature: 540
  60252. };
  60253. A.StylesheetParser.prototype = {
  60254. parse$0(_) {
  60255. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  60256. },
  60257. parseParameterList$0() {
  60258. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  60259. },
  60260. parseVariableDeclaration$0() {
  60261. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  60262. },
  60263. parseUseRule$0() {
  60264. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  60265. },
  60266. _parseSingleProduction$1$1(production, $T) {
  60267. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  60268. },
  60269. _statement$1$root(root) {
  60270. var t2, _this = this,
  60271. t1 = _this.scanner,
  60272. _0_0 = t1.peekChar$0();
  60273. if (64 === _0_0)
  60274. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  60275. if (43 === _0_0) {
  60276. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  60277. return _this._styleRule$0();
  60278. _this._isUseAllowed = false;
  60279. t2 = t1._string_scanner$_position;
  60280. t1.readChar$0();
  60281. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  60282. }
  60283. if (61 === _0_0) {
  60284. if (!_this.get$indented())
  60285. return _this._styleRule$0();
  60286. _this._isUseAllowed = false;
  60287. t2 = t1._string_scanner$_position;
  60288. t1.readChar$0();
  60289. _this.whitespace$1$consumeNewlines(true);
  60290. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  60291. }
  60292. if (125 === _0_0)
  60293. t1.error$2$length(0, 'unmatched "}".', 1);
  60294. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  60295. },
  60296. _statement$0() {
  60297. return this._statement$1$root(false);
  60298. },
  60299. _variableDeclarationWithNamespace$0() {
  60300. var t1 = this.scanner,
  60301. t2 = t1._string_scanner$_position,
  60302. namespace = this.identifier$0();
  60303. t1.expectChar$1(46);
  60304. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  60305. },
  60306. variableDeclarationWithoutNamespace$2(namespace, start_) {
  60307. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, declaration, _this = this,
  60308. precedingComment = _this.lastSilentComment;
  60309. _this.lastSilentComment = null;
  60310. if (start_ == null) {
  60311. t1 = _this.scanner;
  60312. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60313. } else
  60314. start = start_;
  60315. $name = _this.variableName$0();
  60316. t1 = namespace != null;
  60317. if (t1)
  60318. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  60319. if (_this.get$plainCss())
  60320. _this.error$2(0, string$.Sass_v, _this.spanFrom$1(start));
  60321. _this.whitespace$1$consumeNewlines(true);
  60322. t2 = _this.scanner;
  60323. t2.expectChar$1(58);
  60324. _this.whitespace$1$consumeNewlines(true);
  60325. value = _this._expression$0();
  60326. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60327. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  60328. $label0$0: {
  60329. _0_0 = _this.identifier$0();
  60330. if ("default" === _0_0) {
  60331. if (guarded)
  60332. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_nRC, string$.x21defau, _this.spanFrom$1(flagStart)));
  60333. guarded = true;
  60334. break $label0$0;
  60335. }
  60336. if ("global" === _0_0) {
  60337. if (t1)
  60338. _this.error$2(0, string$.x21globai, _this.spanFrom$1(flagStart));
  60339. else if (global)
  60340. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_nRC, string$.x21globas, _this.spanFrom$1(flagStart)));
  60341. global = true;
  60342. break $label0$0;
  60343. }
  60344. _this.error$2(0, "Invalid flag name.", _this.spanFrom$1(flagStart));
  60345. }
  60346. _this.whitespace$1$consumeNewlines(false);
  60347. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60348. }
  60349. _this.expectStatementSeparator$1("variable declaration");
  60350. declaration = A.VariableDeclaration$($name, value, _this.spanFrom$1(start), precedingComment, global, guarded, namespace);
  60351. if (global)
  60352. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  60353. return declaration;
  60354. },
  60355. variableDeclarationWithoutNamespace$0() {
  60356. return this.variableDeclarationWithoutNamespace$2(null, null);
  60357. },
  60358. _variableDeclarationOrStyleRule$0() {
  60359. var t1, t2, variableOrInterpolation, t3, _this = this;
  60360. if (_this.get$plainCss())
  60361. return _this._styleRule$0();
  60362. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  60363. return _this._styleRule$0();
  60364. if (!_this.lookingAtIdentifier$0())
  60365. return _this._styleRule$0();
  60366. t1 = _this.scanner;
  60367. t2 = t1._string_scanner$_position;
  60368. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60369. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60370. t1 = variableOrInterpolation;
  60371. else {
  60372. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60373. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  60374. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  60375. t1 = t2;
  60376. }
  60377. return t1;
  60378. },
  60379. _declarationOrStyleRule$0() {
  60380. var t1, t2, declarationOrBuffer, _this = this;
  60381. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  60382. return _this._styleRule$0();
  60383. t1 = _this.scanner;
  60384. t2 = t1._string_scanner$_position;
  60385. declarationOrBuffer = _this._declarationOrBuffer$0();
  60386. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  60387. },
  60388. _declarationOrBuffer$0() {
  60389. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, $name, isCustomProperty, t4, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  60390. t1 = _this.scanner,
  60391. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60392. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  60393. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  60394. if (startsWithPunctuation) {
  60395. t2 = t1.readChar$0();
  60396. t3 = nameBuffer._interpolation_buffer$_text;
  60397. t2 = A.Primitives_stringFromCharCode(t2);
  60398. t3._contents += t2;
  60399. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  60400. t3 = nameBuffer._interpolation_buffer$_text;
  60401. t3._contents += t2;
  60402. }
  60403. if (!_this._lookingAtInterpolatedIdentifier$0())
  60404. return nameBuffer;
  60405. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  60406. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60407. return variableOrInterpolation;
  60408. else
  60409. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  60410. _this._isUseAllowed = false;
  60411. if (t1.matches$1("/*")) {
  60412. t2 = _this.rawText$1(_this.get$loudComment());
  60413. t3 = nameBuffer._interpolation_buffer$_text;
  60414. t3._contents += t2;
  60415. }
  60416. midBuffer = new A.StringBuffer("");
  60417. t2 = midBuffer;
  60418. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  60419. t2._contents += t3;
  60420. t3 = t1._string_scanner$_position;
  60421. if (!t1.scanChar$1(58)) {
  60422. if (midBuffer._contents.length !== 0) {
  60423. t1 = nameBuffer._interpolation_buffer$_text;
  60424. t2 = A.Primitives_stringFromCharCode(32);
  60425. t1._contents += t2;
  60426. }
  60427. return nameBuffer;
  60428. }
  60429. t2 = A.Primitives_stringFromCharCode(58);
  60430. midBuffer._contents += t2;
  60431. $name = nameBuffer.interpolation$1(_this.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  60432. isCustomProperty = B.JSString_methods.startsWith$1($name.get$initialPlain(), "--");
  60433. if (!isCustomProperty)
  60434. if (_this._inPlainCssFunction) {
  60435. t3 = A.NullableExtension_andThen($name.get$asPlain(), new A.StylesheetParser__declarationOrBuffer_closure1());
  60436. if (t3 == null)
  60437. t3 = false;
  60438. } else
  60439. t3 = false;
  60440. else
  60441. t3 = true;
  60442. if (t3) {
  60443. if (_this.atEndOfStatement$0()) {
  60444. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60445. t2 = t1.offset;
  60446. t2 = A.Interpolation$(B.List_empty11, B.List_empty12, A._FileSpan$(t1.file, t2, t2));
  60447. t1 = t2;
  60448. } else
  60449. t1 = _this._interpolatedDeclarationValue$1$silentComments(false);
  60450. _this.expectStatementSeparator$1(isCustomProperty ? "custom property" : "@function result");
  60451. return A.Declaration$notSassScript($name, new A.StringExpression(t1, false), _this.spanFrom$1(start));
  60452. }
  60453. if (t1.scanChar$1(58)) {
  60454. t1 = nameBuffer;
  60455. t3 = t1._interpolation_buffer$_text;
  60456. t4 = A.S(midBuffer);
  60457. t3._contents = (t3._contents += t4) + t2;
  60458. return t1;
  60459. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  60460. t1 = nameBuffer;
  60461. t2 = t1._interpolation_buffer$_text;
  60462. t3 = A.S(midBuffer);
  60463. t2._contents += t3;
  60464. return t1;
  60465. }
  60466. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  60467. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60468. if (_0_0 != null)
  60469. return _0_0;
  60470. midBuffer._contents += postColonWhitespace;
  60471. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  60472. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60473. value = null;
  60474. try {
  60475. value = _this._expression$0();
  60476. if (_this.lookingAtChildren$0()) {
  60477. if (couldBeSelector)
  60478. _this.expectStatementSeparator$0();
  60479. } else if (!_this.atEndOfStatement$0())
  60480. _this.expectStatementSeparator$0();
  60481. } catch (exception) {
  60482. if (type$.FormatException._is(A.unwrapException(exception))) {
  60483. if (!couldBeSelector)
  60484. throw exception;
  60485. t1.set$state(beforeDeclaration);
  60486. additional = _this.almostAnyValue$0();
  60487. if (!_this.get$indented() && t1.peekChar$0() === 59)
  60488. throw exception;
  60489. t1 = nameBuffer._interpolation_buffer$_text;
  60490. t2 = A.S(midBuffer);
  60491. t1._contents += t2;
  60492. nameBuffer.addInterpolation$1(additional);
  60493. return nameBuffer;
  60494. } else
  60495. throw exception;
  60496. }
  60497. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60498. if (_1_0 != null)
  60499. return _1_0;
  60500. else {
  60501. _this.expectStatementSeparator$0();
  60502. return A.Declaration$($name, value, _this.spanFrom$1(start));
  60503. }
  60504. },
  60505. _variableDeclarationOrInterpolation$0() {
  60506. var t1, start, identifier, buffer, _this = this;
  60507. if (!_this.lookingAtIdentifier$0())
  60508. return _this.interpolatedIdentifier$0();
  60509. t1 = _this.scanner;
  60510. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60511. identifier = _this.identifier$0();
  60512. if (t1.matches$1(".$")) {
  60513. t1.readChar$0();
  60514. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60515. } else {
  60516. t1 = new A.StringBuffer("");
  60517. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60518. t1._contents = identifier;
  60519. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60520. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60521. return buffer.interpolation$1(_this.spanFrom$1(start));
  60522. }
  60523. },
  60524. _styleRule$2(buffer, start_) {
  60525. var t1, start, interpolation, t2, _this = this;
  60526. _this._isUseAllowed = false;
  60527. if (start_ == null) {
  60528. t1 = _this.scanner;
  60529. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60530. } else
  60531. start = start_;
  60532. t1 = {};
  60533. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60534. if (buffer != null) {
  60535. buffer.addInterpolation$1(interpolation);
  60536. t2 = t1.interpolation = buffer.interpolation$1(_this.spanFrom$1(start));
  60537. } else
  60538. t2 = interpolation;
  60539. if (t2.contents.length === 0)
  60540. _this.scanner.error$1(0, 'expected "}".');
  60541. return _this._withStyleRuleChildren$1$3(t2, start, new A.StylesheetParser__styleRule_closure(t1, _this, start), type$.StyleRule);
  60542. },
  60543. _styleRule$0() {
  60544. return this._styleRule$2(null, null);
  60545. },
  60546. _withStyleRuleChildren$1$3(nodeWithSpan, start, create, $T) {
  60547. var _this = this,
  60548. wasInStyleRule = _this._inStyleRule;
  60549. _this._inStyleRule = true;
  60550. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__withStyleRuleChildren_closure(_this, nodeWithSpan, wasInStyleRule, create, $T));
  60551. },
  60552. _propertyOrVariableDeclaration$0() {
  60553. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60554. t1 = _this.scanner,
  60555. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60556. if (_this._lookingAtPotentialPropertyHack$0()) {
  60557. t2 = new A.StringBuffer("");
  60558. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60559. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60560. t2._contents += t3;
  60561. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60562. t2._contents += t3;
  60563. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60564. $name = nameBuffer.interpolation$1(_this.spanFrom$1(start));
  60565. } else if (!_this.get$plainCss()) {
  60566. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60567. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60568. return variableOrInterpolation;
  60569. else
  60570. type$.Interpolation._as(variableOrInterpolation);
  60571. $name = variableOrInterpolation;
  60572. } else
  60573. $name = _this.interpolatedIdentifier$0();
  60574. _this.whitespace$1$consumeNewlines(false);
  60575. t1.expectChar$1(58);
  60576. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--"))
  60577. _this.error$2(0, string$.Declarw, $name.span);
  60578. _this.whitespace$1$consumeNewlines(false);
  60579. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60580. if (_0_0 != null)
  60581. return _0_0;
  60582. value = _this._expression$0();
  60583. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60584. if (_1_0 != null)
  60585. return _1_0;
  60586. else {
  60587. _this.expectStatementSeparator$0();
  60588. return A.Declaration$($name, value, _this.spanFrom$1(start));
  60589. }
  60590. },
  60591. _tryDeclarationChildren$3$value($name, start, value) {
  60592. var _this = this;
  60593. if (!_this.lookingAtChildren$0())
  60594. return null;
  60595. if (_this.get$plainCss())
  60596. _this.scanner.error$1(0, string$.Nested);
  60597. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60598. },
  60599. _tryDeclarationChildren$2($name, start) {
  60600. return this._tryDeclarationChildren$3$value($name, start, null);
  60601. },
  60602. _declarationChild$0() {
  60603. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$0();
  60604. },
  60605. atRule$2$root(child, root) {
  60606. var $name, wasUseAllowed, value, optional, _this = this,
  60607. t1 = _this.scanner,
  60608. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60609. t1.expectChar$2$name(64, "@-rule");
  60610. $name = _this.interpolatedIdentifier$0();
  60611. wasUseAllowed = _this._isUseAllowed;
  60612. _this._isUseAllowed = false;
  60613. switch ($name.get$asPlain()) {
  60614. case "at-root":
  60615. return _this._atRootRule$1(start);
  60616. case "content":
  60617. return _this._contentRule$1(start);
  60618. case "debug":
  60619. return _this._debugRule$1(start);
  60620. case "each":
  60621. return _this._eachRule$2(start, child);
  60622. case "else":
  60623. return _this._disallowedAtRule$1(start);
  60624. case "error":
  60625. return _this._errorRule$1(start);
  60626. case "extend":
  60627. _this.whitespace$1$consumeNewlines(true);
  60628. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60629. _this.error$2(0, string$.x40exten, _this.spanFrom$1(start));
  60630. value = _this.almostAnyValue$0();
  60631. optional = t1.scanChar$1(33);
  60632. if (optional) {
  60633. _this.expectIdentifier$1("optional");
  60634. _this.whitespace$1$consumeNewlines(false);
  60635. }
  60636. _this.expectStatementSeparator$1("@extend rule");
  60637. return new A.ExtendRule(value, optional, _this.spanFrom$1(start));
  60638. case "for":
  60639. return _this._forRule$2(start, child);
  60640. case "forward":
  60641. _this._isUseAllowed = wasUseAllowed;
  60642. if (!root)
  60643. _this._disallowedAtRule$1(start);
  60644. return _this._forwardRule$1(start);
  60645. case "function":
  60646. return _this._functionRule$2(start, $name);
  60647. case "if":
  60648. return _this._ifRule$2(start, child);
  60649. case "import":
  60650. return _this._importRule$1(start);
  60651. case "include":
  60652. return _this._includeRule$1(start);
  60653. case "media":
  60654. return _this.mediaRule$1(start);
  60655. case "mixin":
  60656. return _this._mixinRule$1(start);
  60657. case "-moz-document":
  60658. return _this.mozDocumentRule$2(start, $name);
  60659. case "return":
  60660. return _this._disallowedAtRule$1(start);
  60661. case "supports":
  60662. return _this.supportsRule$1(start);
  60663. case "use":
  60664. _this._isUseAllowed = wasUseAllowed;
  60665. if (!root)
  60666. _this._disallowedAtRule$1(start);
  60667. return _this._useRule$1(start);
  60668. case "warn":
  60669. return _this._warnRule$1(start);
  60670. case "while":
  60671. return _this._whileRule$2(start, child);
  60672. default:
  60673. return _this.unknownAtRule$2(start, $name);
  60674. }
  60675. },
  60676. _declarationAtRule$0() {
  60677. var _this = this,
  60678. t1 = _this.scanner,
  60679. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60680. _0_0 = _this._plainAtRuleName$0();
  60681. $label0$0: {
  60682. if ("content" === _0_0) {
  60683. t1 = _this._contentRule$1(start);
  60684. break $label0$0;
  60685. }
  60686. if ("debug" === _0_0) {
  60687. t1 = _this._debugRule$1(start);
  60688. break $label0$0;
  60689. }
  60690. if ("each" === _0_0) {
  60691. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60692. break $label0$0;
  60693. }
  60694. if ("else" === _0_0)
  60695. _this._disallowedAtRule$1(start);
  60696. if ("error" === _0_0) {
  60697. t1 = _this._errorRule$1(start);
  60698. break $label0$0;
  60699. }
  60700. if ("for" === _0_0) {
  60701. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60702. break $label0$0;
  60703. }
  60704. if ("if" === _0_0) {
  60705. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60706. break $label0$0;
  60707. }
  60708. if ("include" === _0_0) {
  60709. t1 = _this._includeRule$1(start);
  60710. break $label0$0;
  60711. }
  60712. if ("warn" === _0_0) {
  60713. t1 = _this._warnRule$1(start);
  60714. break $label0$0;
  60715. }
  60716. if ("while" === _0_0) {
  60717. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60718. break $label0$0;
  60719. }
  60720. t1 = _this._disallowedAtRule$1(start);
  60721. }
  60722. return t1;
  60723. },
  60724. _functionChild$0() {
  60725. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60726. t1 = _this.scanner;
  60727. if (t1.peekChar$0() !== 64) {
  60728. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60729. try {
  60730. t2 = _this._variableDeclarationWithNamespace$0();
  60731. return t2;
  60732. } catch (exception) {
  60733. t2 = A.unwrapException(exception);
  60734. t3 = type$.SourceSpanFormatException;
  60735. if (t3._is(t2)) {
  60736. variableDeclarationError = t2;
  60737. stackTrace = A.getTraceFromException(exception);
  60738. t1.set$state(state);
  60739. statement = null;
  60740. try {
  60741. statement = _this._declarationOrStyleRule$0();
  60742. } catch (exception) {
  60743. if (t3._is(A.unwrapException(exception)))
  60744. throw A.wrapException(variableDeclarationError);
  60745. else
  60746. throw exception;
  60747. }
  60748. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60749. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60750. } else
  60751. throw exception;
  60752. }
  60753. }
  60754. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60755. _0_0 = _this._plainAtRuleName$0();
  60756. $label0$0: {
  60757. if ("debug" === _0_0) {
  60758. t1 = _this._debugRule$1(start);
  60759. break $label0$0;
  60760. }
  60761. if ("each" === _0_0) {
  60762. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60763. break $label0$0;
  60764. }
  60765. if ("else" === _0_0)
  60766. _this._disallowedAtRule$1(start);
  60767. if ("error" === _0_0) {
  60768. t1 = _this._errorRule$1(start);
  60769. break $label0$0;
  60770. }
  60771. if ("for" === _0_0) {
  60772. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60773. break $label0$0;
  60774. }
  60775. if ("if" === _0_0) {
  60776. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60777. break $label0$0;
  60778. }
  60779. if ("return" === _0_0) {
  60780. _this.whitespace$1$consumeNewlines(true);
  60781. value = _this._expression$0();
  60782. _this.expectStatementSeparator$1("@return rule");
  60783. t1 = new A.ReturnRule(value, _this.spanFrom$1(start));
  60784. break $label0$0;
  60785. }
  60786. if ("warn" === _0_0) {
  60787. t1 = _this._warnRule$1(start);
  60788. break $label0$0;
  60789. }
  60790. if ("while" === _0_0) {
  60791. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60792. break $label0$0;
  60793. }
  60794. t1 = _this._disallowedAtRule$1(start);
  60795. }
  60796. return t1;
  60797. },
  60798. _plainAtRuleName$0() {
  60799. this.scanner.expectChar$2$name(64, "@-rule");
  60800. return this.identifier$0();
  60801. },
  60802. _atRootRule$1(start) {
  60803. var t1, t2, t3, buffer, t4, _this = this;
  60804. _this.whitespace$1$consumeNewlines(false);
  60805. t1 = _this.scanner;
  60806. if (t1.peekChar$0() === 40) {
  60807. t2 = t1._string_scanner$_position;
  60808. t3 = new A.StringBuffer("");
  60809. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60810. t1.expectChar$1(40);
  60811. t4 = A.Primitives_stringFromCharCode(40);
  60812. t3._contents += t4;
  60813. _this.whitespace$1$consumeNewlines(true);
  60814. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60815. if (t1.scanChar$1(58)) {
  60816. _this.whitespace$1$consumeNewlines(true);
  60817. t4 = A.Primitives_stringFromCharCode(58);
  60818. t3._contents += t4;
  60819. t4 = A.Primitives_stringFromCharCode(32);
  60820. t3._contents += t4;
  60821. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60822. }
  60823. t1.expectChar$1(41);
  60824. _this.whitespace$1$consumeNewlines(false);
  60825. t4 = A.Primitives_stringFromCharCode(41);
  60826. t3._contents += t4;
  60827. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60828. } else {
  60829. if (!_this.lookingAtChildren$0())
  60830. t1 = _this.get$indented() && _this.atEndOfStatement$0();
  60831. else
  60832. t1 = true;
  60833. if (t1)
  60834. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60835. else
  60836. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), _this.spanFrom$1(start), null);
  60837. }
  60838. },
  60839. _contentRule$1(start) {
  60840. var t1, beforeWhitespace, $arguments, _this = this;
  60841. if (!_this._stylesheet$_inMixin)
  60842. _this.error$2(0, string$.x40conte, _this.spanFrom$1(start));
  60843. t1 = _this.scanner;
  60844. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60845. _this.whitespace$1$consumeNewlines(false);
  60846. if (t1.peekChar$0() === 40) {
  60847. $arguments = _this._argumentInvocation$1$mixin(true);
  60848. _this.whitespace$1$consumeNewlines(false);
  60849. } else {
  60850. t1 = beforeWhitespace.offset;
  60851. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t1, t1));
  60852. }
  60853. _this.expectStatementSeparator$1("@content rule");
  60854. return new A.ContentRule($arguments, _this.spanFrom$1(start));
  60855. },
  60856. _debugRule$1(start) {
  60857. var value, t1, t2, _this = this;
  60858. _this.whitespace$1$consumeNewlines(true);
  60859. value = _this._expression$0();
  60860. t1 = _this.scanner;
  60861. t2 = t1._string_scanner$_position;
  60862. _this.expectStatementSeparator$1("@debug rule");
  60863. return new A.DebugRule(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60864. },
  60865. _eachRule$2(start, child) {
  60866. var wasInControlDirective, variables, t1, _this = this;
  60867. _this.whitespace$1$consumeNewlines(true);
  60868. wasInControlDirective = _this._inControlDirective;
  60869. _this._inControlDirective = true;
  60870. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60871. _this.whitespace$1$consumeNewlines(true);
  60872. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60873. _this.whitespace$1$consumeNewlines(true);
  60874. t1.expectChar$1(36);
  60875. variables.push(_this.identifier$1$normalize(true));
  60876. _this.whitespace$1$consumeNewlines(true);
  60877. }
  60878. _this.whitespace$1$consumeNewlines(true);
  60879. _this.expectIdentifier$1("in");
  60880. _this.whitespace$1$consumeNewlines(true);
  60881. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60882. },
  60883. _errorRule$1(start) {
  60884. var value, t1, t2, _this = this;
  60885. _this.whitespace$1$consumeNewlines(true);
  60886. value = _this._expression$0();
  60887. t1 = _this.scanner;
  60888. t2 = t1._string_scanner$_position;
  60889. _this.expectStatementSeparator$1("@error rule");
  60890. return new A.ErrorRule(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60891. },
  60892. _functionRule$2(start, atRuleName) {
  60893. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  60894. _this.whitespace$1$consumeNewlines(true);
  60895. precedingComment = _this.lastSilentComment;
  60896. _this.lastSilentComment = null;
  60897. t1 = _this.scanner;
  60898. t2 = t1._string_scanner$_position;
  60899. if (t1.matches$1("--"))
  60900. return _this.unknownAtRule$2(start, atRuleName);
  60901. $name = _this.identifier$0();
  60902. if (A.equalsIgnoreCase($name, "type"))
  60903. _this.error$2(0, string$.This_n, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60904. _this.whitespace$1$consumeNewlines(true);
  60905. parameters = _this._parameterList$0();
  60906. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60907. _this.error$2(0, string$.Mixinscf, _this.spanFrom$1(start));
  60908. else if (_this._inControlDirective)
  60909. _this.error$2(0, string$.Functi, _this.spanFrom$1(start));
  60910. _0_0 = A.unvendor($name);
  60911. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  60912. _this.error$2(0, "Invalid function name.", _this.spanFrom$1(start));
  60913. _this.whitespace$1$consumeNewlines(false);
  60914. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60915. },
  60916. _forRule$2(start, child) {
  60917. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60918. _this.whitespace$1$consumeNewlines(true);
  60919. wasInControlDirective = _this._inControlDirective;
  60920. _this._inControlDirective = true;
  60921. variable = _this.variableName$0();
  60922. _this.whitespace$1$consumeNewlines(true);
  60923. _this.expectIdentifier$1("from");
  60924. _this.whitespace$1$consumeNewlines(true);
  60925. t1.exclusive = null;
  60926. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60927. if (t1.exclusive == null)
  60928. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60929. _this.whitespace$1$consumeNewlines(true);
  60930. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60931. },
  60932. _forwardRule$1(start) {
  60933. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60934. _this.whitespace$1$consumeNewlines(true);
  60935. url = _this._urlString$0();
  60936. _this.whitespace$1$consumeNewlines(false);
  60937. if (_this.scanIdentifier$1("as")) {
  60938. _this.whitespace$1$consumeNewlines(true);
  60939. prefix = _this.identifier$1$normalize(true);
  60940. _this.scanner.expectChar$1(42);
  60941. _this.whitespace$1$consumeNewlines(false);
  60942. } else
  60943. prefix = _null;
  60944. hiddenMixinsAndFunctions = _null;
  60945. hiddenVariables = _null;
  60946. if (_this.scanIdentifier$1("show")) {
  60947. _this.whitespace$1$consumeNewlines(true);
  60948. _0_0 = _this._memberList$0();
  60949. shownMixinsAndFunctions = _0_0._0;
  60950. shownVariables = _0_0._1;
  60951. } else {
  60952. if (_this.scanIdentifier$1("hide")) {
  60953. _this.whitespace$1$consumeNewlines(true);
  60954. _1_0 = _this._memberList$0();
  60955. hiddenMixinsAndFunctions = _1_0._0;
  60956. hiddenVariables = _1_0._1;
  60957. }
  60958. shownVariables = _null;
  60959. shownMixinsAndFunctions = shownVariables;
  60960. }
  60961. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60962. _this.whitespace$1$consumeNewlines(false);
  60963. _this.expectStatementSeparator$1("@forward rule");
  60964. span = _this.spanFrom$1(start);
  60965. if (!_this._isUseAllowed)
  60966. _this.error$2(0, string$.x40forwa, span);
  60967. if (shownMixinsAndFunctions != null) {
  60968. shownVariables.toString;
  60969. t1 = type$.String;
  60970. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60971. t3 = type$.UnmodifiableSetView_String;
  60972. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60973. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60974. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60975. } else if (hiddenMixinsAndFunctions != null) {
  60976. hiddenVariables.toString;
  60977. t1 = type$.String;
  60978. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60979. t3 = type$.UnmodifiableSetView_String;
  60980. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60981. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60982. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60983. } else
  60984. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60985. },
  60986. _memberList$0() {
  60987. var _this = this,
  60988. t1 = type$.String,
  60989. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60990. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60991. t1 = _this.scanner;
  60992. do {
  60993. _this.whitespace$1$consumeNewlines(true);
  60994. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60995. _this.whitespace$1$consumeNewlines(false);
  60996. } while (t1.scanChar$1(44));
  60997. return new A._Record_2(identifiers, variables);
  60998. },
  60999. _ifRule$2(start, child) {
  61000. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  61001. _this.whitespace$1$consumeNewlines(true);
  61002. ifIndentation = _this.get$currentIndentation();
  61003. wasInControlDirective = _this._inControlDirective;
  61004. _this._inControlDirective = true;
  61005. condition = _this._expression$0();
  61006. children = _this.children$1(0, child);
  61007. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  61008. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  61009. for (;;) {
  61010. if (!_this.scanElse$1(ifIndentation)) {
  61011. lastClause = null;
  61012. break;
  61013. }
  61014. _this.whitespace$1$consumeNewlines(false);
  61015. if (_this.scanIdentifier$1("if")) {
  61016. _this.whitespace$1$consumeNewlines(true);
  61017. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  61018. } else {
  61019. lastClause = A.ElseClause$(_this.children$1(0, child));
  61020. break;
  61021. }
  61022. }
  61023. _this._inControlDirective = wasInControlDirective;
  61024. span = _this.spanFrom$1(start);
  61025. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  61026. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  61027. },
  61028. _importRule$1(start) {
  61029. var argument, t3, _this = this,
  61030. imports = A._setArrayType([], type$.JSArray_Import),
  61031. t1 = _this.scanner,
  61032. t2 = _this.warnings;
  61033. do {
  61034. _this.whitespace$1$consumeNewlines(false);
  61035. argument = _this.importArgument$0();
  61036. t3 = argument instanceof A.DynamicImport;
  61037. if (t3)
  61038. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_6BW, string$.Sass__i, argument.span));
  61039. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  61040. _this._disallowedAtRule$1(start);
  61041. imports.push(argument);
  61042. _this.whitespace$1$consumeNewlines(false);
  61043. } while (t1.scanChar$1(44));
  61044. _this.expectStatementSeparator$1("@import rule");
  61045. t1 = _this.spanFrom$1(start);
  61046. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  61047. },
  61048. importArgument$0() {
  61049. var url, urlSpan, innerError, stackTrace, modifiers, exception, _this = this,
  61050. t1 = _this.scanner,
  61051. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61052. _0_0 = t1.peekChar$0();
  61053. if (117 === _0_0 || 85 === _0_0) {
  61054. url = _this.dynamicUrl$0();
  61055. _this.whitespace$1$consumeNewlines(false);
  61056. modifiers = _this.tryImportModifiers$0();
  61057. t1 = url instanceof A.StringExpression ? url.text : A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), A._setArrayType([url.get$span(url)], type$.JSArray_nullable_FileSpan), url.get$span(url));
  61058. return new A.StaticImport(t1, modifiers, _this.spanFrom$1(start));
  61059. }
  61060. url = _this.string$0();
  61061. urlSpan = _this.spanFrom$1(start);
  61062. _this.whitespace$1$consumeNewlines(false);
  61063. modifiers = _this.tryImportModifiers$0();
  61064. if (_this.isPlainImportUrl$1(url) || modifiers != null)
  61065. return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([urlSpan.get$text()], type$.Object), B.List_null, urlSpan), modifiers, _this.spanFrom$1(start));
  61066. else
  61067. try {
  61068. t1 = _this.parseImportUrl$1(url);
  61069. return new A.DynamicImport(t1, urlSpan);
  61070. } catch (exception) {
  61071. t1 = A.unwrapException(exception);
  61072. if (type$.FormatException._is(t1)) {
  61073. innerError = t1;
  61074. stackTrace = A.getTraceFromException(exception);
  61075. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  61076. } else
  61077. throw exception;
  61078. }
  61079. },
  61080. parseImportUrl$1(url) {
  61081. var t1 = $.$get$windows();
  61082. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  61083. return t1.toUri$1(url).toString$0(0);
  61084. A.Uri_parse(url);
  61085. return url;
  61086. },
  61087. isPlainImportUrl$1(url) {
  61088. var _0_0, t1;
  61089. if (url.length < 5)
  61090. return false;
  61091. if (B.JSString_methods.endsWith$1(url, ".css"))
  61092. return true;
  61093. _0_0 = url.charCodeAt(0);
  61094. $label0$0: {
  61095. if (47 === _0_0) {
  61096. t1 = url.charCodeAt(1) === 47;
  61097. break $label0$0;
  61098. }
  61099. if (104 === _0_0) {
  61100. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  61101. break $label0$0;
  61102. }
  61103. t1 = false;
  61104. break $label0$0;
  61105. }
  61106. return t1;
  61107. },
  61108. tryImportModifiers$0() {
  61109. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, _this = this;
  61110. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  61111. return null;
  61112. t1 = _this.scanner;
  61113. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61114. t2 = new A.StringBuffer("");
  61115. t3 = A._setArrayType([], type$.JSArray_Object);
  61116. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61117. buffer = new A.InterpolationBuffer(t2, t3, t4);
  61118. for (;;)
  61119. if (_this._lookingAtInterpolatedIdentifier$0()) {
  61120. if (!(t3.length === 0 && t2._contents.length === 0)) {
  61121. t5 = A.Primitives_stringFromCharCode(32);
  61122. t2._contents += t5;
  61123. }
  61124. identifier = _this.interpolatedIdentifier$0();
  61125. buffer.addInterpolation$1(identifier);
  61126. t5 = identifier.get$asPlain();
  61127. $name = t5 == null ? null : t5.toLowerCase();
  61128. if ($name !== "and" && t1.scanChar$1(40)) {
  61129. if ($name === "supports") {
  61130. query = _this._importSupportsQuery$0();
  61131. t5 = !(query instanceof A.SupportsDeclaration);
  61132. if (t5) {
  61133. t6 = A.Primitives_stringFromCharCode(40);
  61134. t2._contents += t6;
  61135. }
  61136. t6 = query.get$span(query);
  61137. buffer._flushText$0();
  61138. t3.push(new A.SupportsExpression(query));
  61139. t4.push(t6);
  61140. if (t5) {
  61141. t5 = A.Primitives_stringFromCharCode(41);
  61142. t2._contents += t5;
  61143. }
  61144. } else {
  61145. t5 = A.Primitives_stringFromCharCode(40);
  61146. t2._contents += t5;
  61147. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  61148. t5 = A.Primitives_stringFromCharCode(41);
  61149. t2._contents += t5;
  61150. }
  61151. t1.expectChar$1(41);
  61152. _this.whitespace$1$consumeNewlines(false);
  61153. } else {
  61154. _this.whitespace$1$consumeNewlines(false);
  61155. if (t1.scanChar$1(44)) {
  61156. t2._contents += ", ";
  61157. buffer.addInterpolation$1(_this._mediaQueryList$0());
  61158. return buffer.interpolation$1(_this.spanFrom$1(start));
  61159. }
  61160. }
  61161. } else if (t1.peekChar$0() === 40) {
  61162. if (!(t3.length === 0 && t2._contents.length === 0)) {
  61163. t1 = A.Primitives_stringFromCharCode(32);
  61164. t2._contents += t1;
  61165. }
  61166. buffer.addInterpolation$1(_this._mediaQueryList$0());
  61167. return buffer.interpolation$1(_this.spanFrom$1(start));
  61168. } else
  61169. return buffer.interpolation$1(_this.spanFrom$1(start));
  61170. },
  61171. _importSupportsQuery$0() {
  61172. var t1, t2, _0_0, $name, _this = this;
  61173. _this.whitespace$1$consumeNewlines(true);
  61174. if (_this.scanIdentifier$1("not")) {
  61175. _this.whitespace$1$consumeNewlines(true);
  61176. t1 = _this.scanner;
  61177. t2 = t1._string_scanner$_position;
  61178. return new A.SupportsNegation(_this._supportsConditionInParens$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61179. } else {
  61180. t1 = _this.scanner;
  61181. if (t1.peekChar$0() === 40)
  61182. return _this._supportsCondition$1$inParentheses(true);
  61183. else {
  61184. _0_0 = _this._tryImportSupportsFunction$0();
  61185. if (_0_0 != null)
  61186. return _0_0;
  61187. t2 = t1._string_scanner$_position;
  61188. $name = _this._expression$1$consumeNewlines(true);
  61189. t1.expectChar$1(58);
  61190. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61191. }
  61192. }
  61193. },
  61194. _tryImportSupportsFunction$0() {
  61195. var t1, start, $name, value, _this = this;
  61196. if (!_this._lookingAtInterpolatedIdentifier$0())
  61197. return null;
  61198. t1 = _this.scanner;
  61199. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61200. $name = _this.interpolatedIdentifier$0();
  61201. if (!t1.scanChar$1(40)) {
  61202. t1.set$state(start);
  61203. return null;
  61204. }
  61205. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  61206. t1.expectChar$1(41);
  61207. return new A.SupportsFunction($name, value, _this.spanFrom$1(start));
  61208. },
  61209. _includeRule$1(start) {
  61210. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  61211. _this.whitespace$1$consumeNewlines(true);
  61212. $name = _this.identifier$0();
  61213. t1 = _this.scanner;
  61214. if (t1.scanChar$1(46)) {
  61215. name0 = _this._publicIdentifier$0();
  61216. namespace = $name;
  61217. $name = name0;
  61218. } else
  61219. namespace = _null;
  61220. _this.whitespace$1$consumeNewlines(false);
  61221. if (t1.peekChar$0() === 40)
  61222. $arguments = _this._argumentInvocation$1$mixin(true);
  61223. else {
  61224. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  61225. t3 = t2.offset;
  61226. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  61227. }
  61228. _this.whitespace$1$consumeNewlines(false);
  61229. if (_this.scanIdentifier$1("using")) {
  61230. _this.whitespace$1$consumeNewlines(true);
  61231. contentParameters = _this._parameterList$0();
  61232. _this.whitespace$1$consumeNewlines(false);
  61233. } else
  61234. contentParameters = _null;
  61235. t2 = contentParameters == null;
  61236. if (!t2 || _this.lookingAtChildren$0()) {
  61237. if (t2) {
  61238. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  61239. t2 = t1.offset;
  61240. contentParameters_ = new A.ParameterList(B.List_empty13, _null, A._FileSpan$(t1.file, t2, t2));
  61241. } else
  61242. contentParameters_ = contentParameters;
  61243. wasInContentBlock = _this._inContentBlock;
  61244. _this._inContentBlock = true;
  61245. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  61246. _this._inContentBlock = wasInContentBlock;
  61247. } else {
  61248. _this.expectStatementSeparator$0();
  61249. $content = _null;
  61250. }
  61251. t1 = _this.spanFrom$2(start, start);
  61252. t2 = $content == null ? $arguments : $content;
  61253. span = t1.expand$1(0, t2.get$span(t2));
  61254. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  61255. },
  61256. mediaRule$1(start) {
  61257. var _this = this;
  61258. _this.whitespace$1$consumeNewlines(false);
  61259. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  61260. },
  61261. _mixinRule$1(start) {
  61262. var precedingComment, t1, t2, $name, parameters, _this = this;
  61263. _this.whitespace$1$consumeNewlines(true);
  61264. precedingComment = _this.lastSilentComment;
  61265. _this.lastSilentComment = null;
  61266. t1 = _this.scanner;
  61267. t2 = t1._string_scanner$_position;
  61268. $name = _this.identifier$0();
  61269. if (B.JSString_methods.startsWith$1($name, "--"))
  61270. _this.error$2(0, string$.Sass__m, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61271. _this.whitespace$1$consumeNewlines(false);
  61272. if (t1.peekChar$0() === 40)
  61273. parameters = _this._parameterList$0();
  61274. else {
  61275. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  61276. t2 = t1.offset;
  61277. parameters = new A.ParameterList(B.List_empty13, null, A._FileSpan$(t1.file, t2, t2));
  61278. }
  61279. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  61280. _this.error$2(0, string$.Mixinscm, _this.spanFrom$1(start));
  61281. else if (_this._inControlDirective)
  61282. _this.error$2(0, string$.Mixinsb, _this.spanFrom$1(start));
  61283. _this.whitespace$1$consumeNewlines(false);
  61284. _this._stylesheet$_inMixin = true;
  61285. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  61286. },
  61287. mozDocumentRule$2(start, $name) {
  61288. var t1, t2, t3, t4, t5, buffer, _0_0, identifierStart, identifier, _1_0, argument, t6, trailing, start0, end, _this = this, _box_0 = {};
  61289. _this.whitespace$1$consumeNewlines(false);
  61290. t1 = _this.scanner;
  61291. t2 = t1._string_scanner$_position;
  61292. t3 = new A.StringBuffer("");
  61293. t4 = A._setArrayType([], type$.JSArray_Object);
  61294. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61295. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61296. _box_0.needsDeprecationWarning = false;
  61297. for (;;) {
  61298. if (t1.peekChar$0() === 35) {
  61299. _0_0 = _this.singleInterpolation$0();
  61300. buffer._flushText$0();
  61301. t4.push(_0_0._0);
  61302. t5.push(_0_0._1);
  61303. _box_0.needsDeprecationWarning = true;
  61304. } else {
  61305. identifierStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61306. identifier = _this.identifier$0();
  61307. $label0$0: {
  61308. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  61309. _1_0 = _this._tryUrlContents$2$name(identifierStart, identifier);
  61310. if (_1_0 != null)
  61311. buffer.addInterpolation$1(_1_0);
  61312. else {
  61313. t1.expectChar$1(40);
  61314. _this.whitespace$1$consumeNewlines(false);
  61315. argument = _this.interpolatedStringToken$0();
  61316. t1.expectChar$1(41);
  61317. t3._contents += identifier;
  61318. t6 = A.Primitives_stringFromCharCode(40);
  61319. t3._contents += t6;
  61320. buffer.addInterpolation$1(argument);
  61321. t6 = A.Primitives_stringFromCharCode(41);
  61322. t3._contents += t6;
  61323. }
  61324. t6 = t3._contents;
  61325. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  61326. if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
  61327. _box_0.needsDeprecationWarning = true;
  61328. break $label0$0;
  61329. }
  61330. if ("regexp" === identifier) {
  61331. t3._contents += "regexp(";
  61332. t1.expectChar$1(40);
  61333. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  61334. t1.expectChar$1(41);
  61335. t6 = A.Primitives_stringFromCharCode(41);
  61336. t3._contents += t6;
  61337. _box_0.needsDeprecationWarning = true;
  61338. break $label0$0;
  61339. }
  61340. _this.error$2(0, "Invalid function name.", _this.spanFrom$1(identifierStart));
  61341. }
  61342. }
  61343. _this.whitespace$1$consumeNewlines(false);
  61344. if (!t1.scanChar$1(44))
  61345. break;
  61346. t6 = A.Primitives_stringFromCharCode(44);
  61347. t3._contents += t6;
  61348. start0 = t1._string_scanner$_position;
  61349. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  61350. end = t1._string_scanner$_position;
  61351. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  61352. }
  61353. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure0(_box_0, _this, $name, buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  61354. },
  61355. supportsRule$1(start) {
  61356. var condition, _this = this;
  61357. _this.whitespace$1$consumeNewlines(false);
  61358. condition = _this._supportsCondition$0();
  61359. _this.whitespace$1$consumeNewlines(false);
  61360. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  61361. },
  61362. _useRule$1(start) {
  61363. var url, namespace, configuration, span, t1, _this = this;
  61364. _this.whitespace$1$consumeNewlines(true);
  61365. url = _this._urlString$0();
  61366. _this.whitespace$1$consumeNewlines(false);
  61367. namespace = _this._useNamespace$2(url, start);
  61368. _this.whitespace$1$consumeNewlines(false);
  61369. configuration = _this._stylesheet$_configuration$0();
  61370. _this.whitespace$1$consumeNewlines(false);
  61371. span = _this.spanFrom$1(start);
  61372. if (!_this._isUseAllowed)
  61373. _this.error$2(0, string$.x40use_r, span);
  61374. _this.expectStatementSeparator$1("@use rule");
  61375. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  61376. t1.UseRule$4$configuration(url, namespace, span, configuration);
  61377. return t1;
  61378. },
  61379. _useNamespace$2(url, start) {
  61380. var namespace, basename, dot, t1, exception, _this = this;
  61381. if (_this.scanIdentifier$1("as")) {
  61382. _this.whitespace$1$consumeNewlines(true);
  61383. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  61384. }
  61385. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  61386. dot = B.JSString_methods.indexOf$1(basename, ".");
  61387. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  61388. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  61389. try {
  61390. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  61391. return t1;
  61392. } catch (exception) {
  61393. if (type$.SassFormatException._is(A.unwrapException(exception)))
  61394. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.spanFrom$1(start));
  61395. else
  61396. throw exception;
  61397. }
  61398. },
  61399. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  61400. var variableNames, configuration, t1, t2, variableStart, $name, expression, t3, guarded, span, _this = this;
  61401. if (!_this.scanIdentifier$1("with"))
  61402. return null;
  61403. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61404. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  61405. _this.whitespace$1$consumeNewlines(true);
  61406. t1 = _this.scanner;
  61407. t1.expectChar$1(40);
  61408. for (t2 = _this.warnings;;) {
  61409. _this.whitespace$1$consumeNewlines(true);
  61410. variableStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61411. t1.expectChar$1(36);
  61412. $name = _this.identifier$1$normalize(true);
  61413. if (B.JSString_methods.startsWith$1($name, "-"))
  61414. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_mXO, string$.Config, _this.spanFrom$1(variableStart)));
  61415. _this.whitespace$1$consumeNewlines(true);
  61416. t1.expectChar$1(58);
  61417. _this.whitespace$1$consumeNewlines(true);
  61418. expression = _this.expressionUntilComma$0();
  61419. t3 = t1._string_scanner$_position;
  61420. if (allowGuarded && t1.scanChar$1(33)) {
  61421. guarded = _this.identifier$0() === "default";
  61422. if (guarded)
  61423. _this.whitespace$1$consumeNewlines(true);
  61424. else
  61425. _this.error$2(0, "Invalid flag name.", _this.spanFrom$1(new A._SpanScannerState(t1, t3)));
  61426. } else
  61427. guarded = false;
  61428. span = _this.spanFrom$1(variableStart);
  61429. if (variableNames.contains$1(0, $name))
  61430. _this.error$2(0, string$.The_sa, span);
  61431. variableNames.add$1(0, $name);
  61432. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  61433. if (!t1.scanChar$1(44))
  61434. break;
  61435. _this.whitespace$1$consumeNewlines(true);
  61436. if (!_this._lookingAtExpression$0())
  61437. break;
  61438. }
  61439. t1.expectChar$1(41);
  61440. return configuration;
  61441. },
  61442. _stylesheet$_configuration$0() {
  61443. return this._stylesheet$_configuration$1$allowGuarded(false);
  61444. },
  61445. _warnRule$1(start) {
  61446. var value, t1, t2, _this = this;
  61447. _this.whitespace$1$consumeNewlines(true);
  61448. value = _this._expression$0();
  61449. t1 = _this.scanner;
  61450. t2 = t1._string_scanner$_position;
  61451. _this.expectStatementSeparator$1("@warn rule");
  61452. return new A.WarnRule(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  61453. },
  61454. _whileRule$2(start, child) {
  61455. var wasInControlDirective, _this = this;
  61456. _this.whitespace$1$consumeNewlines(true);
  61457. wasInControlDirective = _this._inControlDirective;
  61458. _this._inControlDirective = true;
  61459. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  61460. },
  61461. unknownAtRule$2(start, $name) {
  61462. var wasInPlainCssFunction, t2, _0_0, t3, _this = this, t1 = {},
  61463. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  61464. _this._stylesheet$_inUnknownAtRule = true;
  61465. _this.whitespace$1$consumeNewlines(false);
  61466. t1.value = null;
  61467. t2 = _this.scanner.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  61468. wasInPlainCssFunction = _this._inPlainCssFunction;
  61469. _0_0 = $name.get$asPlain();
  61470. if (_0_0 != null)
  61471. t3 = A.equalsIgnoreCase(_0_0, "function");
  61472. else
  61473. t3 = false;
  61474. if (t3)
  61475. _this._inPlainCssFunction = true;
  61476. try {
  61477. if (_this.lookingAtChildren$0()) {
  61478. t1 = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  61479. return t1;
  61480. } else {
  61481. _this.expectStatementSeparator$0();
  61482. t1 = A.AtRule$($name, _this.spanFrom$1(start), null, t2);
  61483. return t1;
  61484. }
  61485. } finally {
  61486. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  61487. _this._inPlainCssFunction = wasInPlainCssFunction;
  61488. }
  61489. },
  61490. _disallowedAtRule$1(start) {
  61491. var _this = this;
  61492. _this.whitespace$1$consumeNewlines(false);
  61493. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  61494. _this.error$2(0, "This at-rule is not allowed here.", _this.spanFrom$1(start));
  61495. },
  61496. _parameterList$0() {
  61497. var parameters, named, restParameter, t3, $name, defaultValue, _this = this,
  61498. t1 = _this.scanner,
  61499. t2 = t1._string_scanner$_position;
  61500. t1.expectChar$1(40);
  61501. _this.whitespace$1$consumeNewlines(true);
  61502. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61503. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61504. while (restParameter = null, t1.peekChar$0() === 36) {
  61505. t3 = t1._string_scanner$_position;
  61506. t1.expectChar$1(36);
  61507. $name = _this.identifier$1$normalize(true);
  61508. _this.whitespace$1$consumeNewlines(true);
  61509. if (t1.scanChar$1(58)) {
  61510. _this.whitespace$1$consumeNewlines(true);
  61511. defaultValue = _this.expressionUntilComma$0();
  61512. } else {
  61513. if (t1.scanChar$1(46)) {
  61514. t1.expectChar$1(46);
  61515. t1.expectChar$1(46);
  61516. _this.whitespace$1$consumeNewlines(true);
  61517. if (t1.scanChar$1(44))
  61518. _this.whitespace$1$consumeNewlines(true);
  61519. restParameter = $name;
  61520. break;
  61521. }
  61522. defaultValue = null;
  61523. }
  61524. parameters.push(new A.Parameter($name, defaultValue, _this.spanFrom$1(new A._SpanScannerState(t1, t3))));
  61525. if (!named.add$1(0, $name))
  61526. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61527. if (!t1.scanChar$1(44))
  61528. break;
  61529. _this.whitespace$1$consumeNewlines(true);
  61530. }
  61531. t1.expectChar$1(41);
  61532. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  61533. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61534. },
  61535. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61536. var positional, t3, t4, named, t5, t6, t7, rest, emittedRestDeprecation, keywordRest, expression, emittedRestDeprecation0, t8, result, _this = this,
  61537. t1 = _this.scanner,
  61538. t2 = t1._string_scanner$_position;
  61539. t1.expectChar$1(40);
  61540. _this.whitespace$1$consumeNewlines(true);
  61541. positional = A._setArrayType([], type$.JSArray_Expression);
  61542. t3 = type$.String;
  61543. t4 = type$.Expression;
  61544. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61545. for (t5 = !mixin, t6 = _this.warnings, t7 = type$.SourceSpan, rest = null, emittedRestDeprecation = false; keywordRest = null, _this._lookingAtExpression$0();) {
  61546. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61547. _this.whitespace$1$consumeNewlines(true);
  61548. emittedRestDeprecation0 = true;
  61549. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61550. _this.whitespace$1$consumeNewlines(true);
  61551. t8 = expression.name;
  61552. if (named.containsKey$1(t8))
  61553. _this.error$2(0, "Duplicate argument.", expression.span);
  61554. named.$indexSet(0, t8, _this.expressionUntilComma$1$singleEquals(t5));
  61555. if (rest != null && !emittedRestDeprecation) {
  61556. t8 = expression.span;
  61557. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_8Zg, string$.Named_, new A.MultiSpan(_this.spanFromPosition$1(t8.get$start(t8).offset), "named argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  61558. emittedRestDeprecation = emittedRestDeprecation0;
  61559. }
  61560. } else if (t1.scanChar$1(46)) {
  61561. t1.expectChar$1(46);
  61562. t1.expectChar$1(46);
  61563. if (rest != null) {
  61564. _this.whitespace$1$consumeNewlines(true);
  61565. if (t1.scanChar$1(44))
  61566. _this.whitespace$1$consumeNewlines(true);
  61567. keywordRest = expression;
  61568. break;
  61569. }
  61570. rest = expression;
  61571. } else if (named.__js_helper$_length !== 0)
  61572. _this.error$2(0, string$.Positik, expression.get$span(expression));
  61573. else {
  61574. positional.push(expression);
  61575. if (rest != null && !emittedRestDeprecation) {
  61576. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_8Zg, string$.Positir, new A.MultiSpan(expression.get$span(expression), "positional argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  61577. emittedRestDeprecation = emittedRestDeprecation0;
  61578. }
  61579. }
  61580. _this.whitespace$1$consumeNewlines(true);
  61581. if (!t1.scanChar$1(44))
  61582. break;
  61583. _this.whitespace$1$consumeNewlines(true);
  61584. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61585. t5 = t1._sourceFile;
  61586. t6 = t1._string_scanner$_position;
  61587. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  61588. t7 = new A._FileSpan(t5, t6, t6);
  61589. t7._FileSpan$3(t5, t6, t6);
  61590. result = A.List_List$from([""], false, type$.Object);
  61591. result.$flags = 3;
  61592. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t7), false));
  61593. break;
  61594. }
  61595. }
  61596. t1.expectChar$1(41);
  61597. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  61598. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61599. },
  61600. _argumentInvocation$0() {
  61601. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61602. },
  61603. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61604. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61605. },
  61606. _argumentInvocation$1$mixin(mixin) {
  61607. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61608. },
  61609. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61610. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, t4, _3_0, _1_0, t5, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  61611. _s20_ = "Expected expression.",
  61612. _box_0 = {},
  61613. t1 = until != null;
  61614. if (t1 && until.call$0())
  61615. _this.scanner.error$1(0, _s20_);
  61616. if (bracketList) {
  61617. t2 = _this.scanner;
  61618. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61619. t2.expectChar$1(91);
  61620. _this.whitespace$1$consumeNewlines(true);
  61621. if (t2.scanChar$1(93)) {
  61622. t1 = A._setArrayType([], type$.JSArray_Expression);
  61623. t2 = _this.spanFrom$1(beforeBracket);
  61624. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_3_undecided, true, t2);
  61625. }
  61626. } else
  61627. beforeBracket = null;
  61628. t2 = _this.scanner;
  61629. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61630. wasInExpression = _this._inExpression;
  61631. wasInParentheses = _this._inParentheses;
  61632. _this._inExpression = true;
  61633. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61634. _box_0.allowSlash = true;
  61635. _box_0.singleExpression_ = _this._singleExpression$0();
  61636. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61637. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61638. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61639. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61640. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation, addSingleExpression);
  61641. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61642. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression;;) {
  61643. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61644. if (t1 && until.call$0())
  61645. break;
  61646. _3_0 = t2.peekChar$0();
  61647. if (_3_0 == null)
  61648. break;
  61649. if (40 === _3_0) {
  61650. addSingleExpression.call$1(_this.parentheses$0());
  61651. continue;
  61652. }
  61653. if (91 === _3_0) {
  61654. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61655. continue;
  61656. }
  61657. if (36 === _3_0) {
  61658. addSingleExpression.call$1(_this._variable$0());
  61659. continue;
  61660. }
  61661. if (38 === _3_0) {
  61662. addSingleExpression.call$1(_this._selector$0());
  61663. continue;
  61664. }
  61665. if (39 === _3_0 || 34 === _3_0) {
  61666. addSingleExpression.call$1(_this.interpolatedString$0());
  61667. continue;
  61668. }
  61669. if (35 === _3_0) {
  61670. addSingleExpression.call$1(_this._hashExpression$0());
  61671. continue;
  61672. }
  61673. if (61 === _3_0) {
  61674. t2.readChar$0();
  61675. if (singleEquals && t2.peekChar$0() !== 61)
  61676. addOperator.call$1(B.BinaryOperator_g6F);
  61677. else {
  61678. t2.expectChar$1(61);
  61679. addOperator.call$1(B.BinaryOperator_K7S);
  61680. }
  61681. continue;
  61682. }
  61683. if (33 === _3_0) {
  61684. $label0$1: {
  61685. _1_0 = t2.peekChar$1(1);
  61686. if (61 === _1_0) {
  61687. t2.readChar$0();
  61688. t2.readChar$0();
  61689. addOperator.call$1(B.BinaryOperator_Fv2);
  61690. break $label0$1;
  61691. }
  61692. t5 = true;
  61693. if (_1_0 != null)
  61694. if (105 !== _1_0)
  61695. if (73 !== _1_0)
  61696. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61697. if (t5) {
  61698. addSingleExpression.call$1(_this._importantExpression$0());
  61699. break $label0$1;
  61700. }
  61701. break;
  61702. }
  61703. continue;
  61704. }
  61705. if (60 === _3_0) {
  61706. t2.readChar$0();
  61707. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_f2c : B.BinaryOperator_CG2);
  61708. continue;
  61709. }
  61710. if (62 === _3_0) {
  61711. t2.readChar$0();
  61712. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_YGt : B.BinaryOperator_Tic);
  61713. continue;
  61714. }
  61715. if (42 === _3_0) {
  61716. t2.readChar$0();
  61717. addOperator.call$1(B.BinaryOperator_wkM);
  61718. continue;
  61719. }
  61720. _3_28 = 43 === _3_0;
  61721. if (_3_28 && _box_0.singleExpression_ == null) {
  61722. addSingleExpression.call$1(_this._unaryOperation$0());
  61723. continue;
  61724. }
  61725. if (_3_28) {
  61726. t2.readChar$0();
  61727. addOperator.call$1(B.BinaryOperator_jCK);
  61728. continue;
  61729. }
  61730. if (45 === _3_0) {
  61731. _2_0 = t2.peekChar$1(1);
  61732. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61733. if (_box_0.singleExpression_ != null) {
  61734. t5 = t2.peekChar$1(-1);
  61735. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61736. } else
  61737. t5 = true;
  61738. else
  61739. t5 = false;
  61740. if (t5)
  61741. addSingleExpression.call$1(_this._number$0());
  61742. else if (_this._lookingAtInterpolatedIdentifier$0())
  61743. addSingleExpression.call$1(_this.identifierLike$0());
  61744. else if (_box_0.singleExpression_ == null)
  61745. addSingleExpression.call$1(_this._unaryOperation$0());
  61746. else {
  61747. t2.readChar$0();
  61748. addOperator.call$1(B.BinaryOperator_tDf);
  61749. }
  61750. continue;
  61751. }
  61752. _3_32 = 47 === _3_0;
  61753. if (_3_32 && _box_0.singleExpression_ == null) {
  61754. addSingleExpression.call$1(_this._unaryOperation$0());
  61755. continue;
  61756. }
  61757. if (_3_32) {
  61758. t2.readChar$0();
  61759. addOperator.call$1(B.BinaryOperator_ehp);
  61760. continue;
  61761. }
  61762. if (37 === _3_0) {
  61763. t2.readChar$0();
  61764. addOperator.call$1(B.BinaryOperator_bgA);
  61765. continue;
  61766. }
  61767. if (_3_0 >= 48 && _3_0 <= 57) {
  61768. addSingleExpression.call$1(_this._number$0());
  61769. continue;
  61770. }
  61771. _3_40 = 46 === _3_0;
  61772. if (_3_40 && t2.peekChar$1(1) === 46)
  61773. break;
  61774. if (_3_40) {
  61775. addSingleExpression.call$1(_this._number$0());
  61776. continue;
  61777. }
  61778. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61779. addOperator.call$1(B.BinaryOperator_5vK);
  61780. continue;
  61781. }
  61782. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61783. addOperator.call$1(B.BinaryOperator_OOf);
  61784. continue;
  61785. }
  61786. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61787. addSingleExpression.call$1(_this._unicodeRange$0());
  61788. continue;
  61789. }
  61790. if (!(_3_0 >= 97 && _3_0 <= 122))
  61791. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61792. else
  61793. t5 = true;
  61794. if (t5) {
  61795. addSingleExpression.call$1(_this.identifierLike$0());
  61796. continue;
  61797. }
  61798. if (44 === _3_0) {
  61799. if (_this._inParentheses) {
  61800. _this._inParentheses = false;
  61801. if (_box_0.allowSlash) {
  61802. resetState.call$0();
  61803. continue;
  61804. }
  61805. }
  61806. commaExpressions = _box_0.commaExpressions_;
  61807. if (commaExpressions == null)
  61808. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61809. if (_box_0.singleExpression_ == null)
  61810. t2.error$1(0, _s20_);
  61811. resolveSpaceExpressions.call$0();
  61812. t5 = _box_0.singleExpression_;
  61813. t5.toString;
  61814. commaExpressions.push(t5);
  61815. t2.readChar$0();
  61816. _box_0.allowSlash = true;
  61817. _box_0.singleExpression_ = null;
  61818. continue;
  61819. }
  61820. break;
  61821. }
  61822. if (bracketList)
  61823. t2.expectChar$1(93);
  61824. commaExpressions = _box_0.commaExpressions_;
  61825. spaceExpressions = _box_0.spaceExpressions_;
  61826. if (commaExpressions != null) {
  61827. resolveSpaceExpressions.call$0();
  61828. _this._inParentheses = wasInParentheses;
  61829. singleExpression = _box_0.singleExpression_;
  61830. if (singleExpression != null)
  61831. commaExpressions.push(singleExpression);
  61832. _this._inExpression = wasInExpression;
  61833. t1 = _this.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61834. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_z0K, bracketList, t1);
  61835. } else if (bracketList && spaceExpressions != null) {
  61836. resolveOperations.call$0();
  61837. _this._inExpression = wasInExpression;
  61838. t1 = _box_0.singleExpression_;
  61839. t1.toString;
  61840. spaceExpressions.push(t1);
  61841. beforeBracket.toString;
  61842. t1 = _this.spanFrom$1(beforeBracket);
  61843. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_SrV, true, t1);
  61844. } else {
  61845. resolveSpaceExpressions.call$0();
  61846. if (bracketList) {
  61847. t1 = _box_0.singleExpression_;
  61848. t1.toString;
  61849. t4 = A._setArrayType([t1], t4);
  61850. beforeBracket.toString;
  61851. t1 = _this.spanFrom$1(beforeBracket);
  61852. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_3_undecided, true, t1);
  61853. }
  61854. _this._inExpression = wasInExpression;
  61855. t1 = _box_0.singleExpression_;
  61856. t1.toString;
  61857. return t1;
  61858. }
  61859. },
  61860. _expression$0() {
  61861. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61862. },
  61863. _expression$1$consumeNewlines(consumeNewlines) {
  61864. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61865. },
  61866. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61867. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61868. },
  61869. _expression$1$bracketList(bracketList) {
  61870. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61871. },
  61872. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61873. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61874. },
  61875. expressionUntilComma$1$singleEquals(singleEquals) {
  61876. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61877. },
  61878. expressionUntilComma$0() {
  61879. return this.expressionUntilComma$1$singleEquals(false);
  61880. },
  61881. _isSlashOperand$1(expression) {
  61882. var t1 = true;
  61883. if (!(expression instanceof A.NumberExpression))
  61884. if (!(expression instanceof A.FunctionExpression))
  61885. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61886. return t1;
  61887. },
  61888. _singleExpression$0() {
  61889. var next, t2, _this = this,
  61890. _s20_ = "Expected expression.",
  61891. t1 = _this.scanner,
  61892. _0_0 = t1.peekChar$0();
  61893. $label0$0: {
  61894. if (_0_0 == null)
  61895. t1.error$1(0, _s20_);
  61896. if (40 === _0_0) {
  61897. t1 = _this.parentheses$0();
  61898. break $label0$0;
  61899. }
  61900. if (47 === _0_0) {
  61901. t1 = _this._unaryOperation$0();
  61902. break $label0$0;
  61903. }
  61904. if (46 === _0_0) {
  61905. t1 = _this._number$0();
  61906. break $label0$0;
  61907. }
  61908. if (91 === _0_0) {
  61909. t1 = _this._expression$1$bracketList(true);
  61910. break $label0$0;
  61911. }
  61912. if (36 === _0_0) {
  61913. t1 = _this._variable$0();
  61914. break $label0$0;
  61915. }
  61916. if (38 === _0_0) {
  61917. t1 = _this._selector$0();
  61918. break $label0$0;
  61919. }
  61920. if (39 === _0_0 || 34 === _0_0) {
  61921. t1 = _this.interpolatedString$0();
  61922. break $label0$0;
  61923. }
  61924. if (35 === _0_0) {
  61925. t1 = _this._hashExpression$0();
  61926. break $label0$0;
  61927. }
  61928. if (43 === _0_0) {
  61929. next = t1.peekChar$1(1);
  61930. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61931. break $label0$0;
  61932. }
  61933. if (45 === _0_0) {
  61934. t1 = _this._minusExpression$0();
  61935. break $label0$0;
  61936. }
  61937. if (33 === _0_0) {
  61938. t1 = _this._importantExpression$0();
  61939. break $label0$0;
  61940. }
  61941. if (37 === _0_0) {
  61942. t2 = t1._string_scanner$_position;
  61943. t1.readChar$0();
  61944. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  61945. t2 = new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  61946. t1 = t2;
  61947. break $label0$0;
  61948. }
  61949. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61950. t1 = _this._unicodeRange$0();
  61951. break $label0$0;
  61952. }
  61953. if (_0_0 >= 48 && _0_0 <= 57) {
  61954. t1 = _this._number$0();
  61955. break $label0$0;
  61956. }
  61957. if (!(_0_0 >= 97 && _0_0 <= 122))
  61958. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61959. else
  61960. t2 = true;
  61961. if (t2) {
  61962. t1 = _this.identifierLike$0();
  61963. break $label0$0;
  61964. }
  61965. t1 = t1.error$1(0, _s20_);
  61966. }
  61967. return t1;
  61968. },
  61969. parentheses$0() {
  61970. var start, inside, first, expressions, list, t1, t2, _this = this,
  61971. wasInParentheses = _this._inParentheses;
  61972. _this._inParentheses = true;
  61973. try {
  61974. t1 = _this.scanner;
  61975. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61976. t1.expectChar$1(40);
  61977. _this.whitespace$1$consumeNewlines(true);
  61978. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61979. if (!_this._lookingAtExpression$0()) {
  61980. t1.expectChar$1(41);
  61981. t1 = A._setArrayType([], type$.JSArray_Expression);
  61982. t2 = _this.spanFrom$1(start);
  61983. t1 = A.List_List$unmodifiable(t1, type$.Expression);
  61984. return new A.ListExpression(t1, B.ListSeparator_undecided_null_3_undecided, false, t2);
  61985. }
  61986. first = _this.expressionUntilComma$0();
  61987. if (t1.scanChar$1(58)) {
  61988. _this.whitespace$1$consumeNewlines(true);
  61989. t1 = _this._stylesheet$_map$2(first, start);
  61990. return t1;
  61991. }
  61992. if (!t1.scanChar$1(44)) {
  61993. t1.expectChar$1(41);
  61994. t1 = _this.spanFrom$1(start);
  61995. return new A.ParenthesizedExpression(first, t1);
  61996. }
  61997. _this.whitespace$1$consumeNewlines(true);
  61998. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61999. for (;;) {
  62000. if (!_this._lookingAtExpression$0())
  62001. break;
  62002. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  62003. if (!t1.scanChar$1(44))
  62004. break;
  62005. _this.whitespace$1$consumeNewlines(true);
  62006. }
  62007. t2 = _this.spanFrom$1(inside);
  62008. list = new A.ListExpression(A.List_List$unmodifiable(expressions, type$.Expression), B.ListSeparator_z0K, false, t2);
  62009. t1.expectChar$1(41);
  62010. t1 = _this.spanFrom$1(start);
  62011. return new A.ParenthesizedExpression(list, t1);
  62012. } finally {
  62013. _this._inParentheses = wasInParentheses;
  62014. }
  62015. },
  62016. _stylesheet$_map$2(first, start) {
  62017. var t1, key, _this = this,
  62018. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  62019. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  62020. _this.whitespace$1$consumeNewlines(true);
  62021. if (!_this._lookingAtExpression$0())
  62022. break;
  62023. key = _this.expressionUntilComma$0();
  62024. t1.expectChar$1(58);
  62025. _this.whitespace$1$consumeNewlines(true);
  62026. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  62027. }
  62028. t1.expectChar$1(41);
  62029. t1 = _this.spanFrom$1(start);
  62030. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  62031. },
  62032. _hashExpression$0() {
  62033. var start, t2, identifier, buffer, _this = this,
  62034. t1 = _this.scanner;
  62035. if (t1.peekChar$1(1) === 123)
  62036. return _this.identifierLike$0();
  62037. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62038. t1.expectChar$1(35);
  62039. t2 = t1.peekChar$0();
  62040. if (t2 == null)
  62041. t2 = null;
  62042. else
  62043. t2 = t2 >= 48 && t2 <= 57;
  62044. if (t2 === true)
  62045. return new A.ColorExpression(_this._hexColorContents$1(start), _this.spanFrom$1(start));
  62046. t2 = t1._string_scanner$_position;
  62047. identifier = _this.interpolatedIdentifier$0();
  62048. if (_this._isHexColor$1(identifier)) {
  62049. t1.set$state(new A._SpanScannerState(t1, t2));
  62050. return new A.ColorExpression(_this._hexColorContents$1(start), _this.spanFrom$1(start));
  62051. }
  62052. t1 = new A.StringBuffer("");
  62053. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62054. t2 = A.Primitives_stringFromCharCode(35);
  62055. t1._contents += t2;
  62056. buffer.addInterpolation$1(identifier);
  62057. return new A.StringExpression(buffer.interpolation$1(_this.spanFrom$1(start)), false);
  62058. },
  62059. _hexColorContents$1(start) {
  62060. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  62061. digit1 = _this._hexDigit$0(),
  62062. digit2 = _this._hexDigit$0(),
  62063. digit3 = _this._hexDigit$0(),
  62064. t1 = _this.scanner,
  62065. $self = t1.peekChar$0();
  62066. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  62067. red = (digit1 << 4 >>> 0) + digit1;
  62068. green = (digit2 << 4 >>> 0) + digit2;
  62069. blue = (digit3 << 4 >>> 0) + digit3;
  62070. alpha = null;
  62071. } else {
  62072. digit4 = _this._hexDigit$0();
  62073. $self = t1.peekChar$0();
  62074. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  62075. t3 = digit1 << 4 >>> 0;
  62076. t4 = digit3 << 4 >>> 0;
  62077. if (!t2) {
  62078. red = t3 + digit1;
  62079. green = (digit2 << 4 >>> 0) + digit2;
  62080. blue = t4 + digit3;
  62081. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  62082. } else {
  62083. red = t3 + digit2;
  62084. green = t4 + digit4;
  62085. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  62086. $self = t1.peekChar$0();
  62087. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  62088. }
  62089. }
  62090. t1 = alpha == null;
  62091. t2 = t1 ? 1 : alpha;
  62092. return A.SassColor_SassColor$rgbInternal(red, green, blue, t2, t1 ? new A.SpanColorFormat(_this.spanFrom$1(start)) : null);
  62093. },
  62094. _isHexColor$1(interpolation) {
  62095. var _0_2, t1,
  62096. plain = interpolation.get$asPlain();
  62097. if (typeof plain == "string") {
  62098. _0_2 = plain.length;
  62099. t1 = true;
  62100. if (3 !== _0_2)
  62101. if (4 !== _0_2)
  62102. if (6 !== _0_2)
  62103. t1 = 8 === _0_2;
  62104. } else
  62105. t1 = false;
  62106. if (t1) {
  62107. t1 = new A.CodeUnits(plain);
  62108. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  62109. } else
  62110. return false;
  62111. },
  62112. _hexDigit$0() {
  62113. var t1 = this.scanner,
  62114. t2 = t1.peekChar$0();
  62115. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  62116. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  62117. },
  62118. _minusExpression$0() {
  62119. var _this = this,
  62120. _0_0 = _this.scanner.peekChar$1(1);
  62121. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  62122. return _this._number$0();
  62123. if (_this._lookingAtInterpolatedIdentifier$0())
  62124. return _this.identifierLike$0();
  62125. return _this._unaryOperation$0();
  62126. },
  62127. _importantExpression$0() {
  62128. var _this = this,
  62129. t1 = _this.scanner,
  62130. t2 = t1._string_scanner$_position;
  62131. t1.readChar$0();
  62132. _this.whitespace$1$consumeNewlines(true);
  62133. _this.expectIdentifier$1("important");
  62134. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  62135. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  62136. },
  62137. _unaryOperation$0() {
  62138. var _this = this,
  62139. t1 = _this.scanner,
  62140. t2 = t1._string_scanner$_position,
  62141. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  62142. if (operator == null)
  62143. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  62144. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Y93)
  62145. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  62146. _this.whitespace$1$consumeNewlines(true);
  62147. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62148. },
  62149. _unaryOperatorFor$1(character) {
  62150. var t1;
  62151. $label0$0: {
  62152. if (43 === character) {
  62153. t1 = B.UnaryOperator_n2K;
  62154. break $label0$0;
  62155. }
  62156. if (45 === character) {
  62157. t1 = B.UnaryOperator_hCO;
  62158. break $label0$0;
  62159. }
  62160. if (47 === character) {
  62161. t1 = B.UnaryOperator_Y93;
  62162. break $label0$0;
  62163. }
  62164. t1 = null;
  62165. break $label0$0;
  62166. }
  62167. return t1;
  62168. },
  62169. _number$0() {
  62170. var number, unit, _this = this,
  62171. t1 = _this.scanner,
  62172. t2 = t1._string_scanner$_position,
  62173. first = t1.peekChar$0(),
  62174. t3 = first !== 43;
  62175. if (!t3 || first === 45)
  62176. t1.readChar$0();
  62177. if (t1.peekChar$0() !== 46)
  62178. _this._consumeNaturalNumber$0();
  62179. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  62180. _this._tryExponent$0();
  62181. number = A.double_parse(t1.substring$1(0, t2));
  62182. if (t1.scanChar$1(37))
  62183. unit = "%";
  62184. else {
  62185. if (_this.lookingAtIdentifier$0())
  62186. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  62187. else
  62188. t3 = false;
  62189. unit = t3 ? _this.identifier$1$unit(true) : null;
  62190. }
  62191. return new A.NumberExpression(number, unit, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62192. },
  62193. _consumeNaturalNumber$0() {
  62194. var $self,
  62195. t1 = this.scanner,
  62196. t2 = t1.readChar$0();
  62197. if (!(t2 >= 48 && t2 <= 57))
  62198. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  62199. for (;;) {
  62200. $self = t1.peekChar$0();
  62201. if (!($self != null && $self >= 48 && $self <= 57))
  62202. break;
  62203. t1.readChar$0();
  62204. }
  62205. },
  62206. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  62207. var $self,
  62208. t1 = this.scanner;
  62209. if (t1.peekChar$0() !== 46)
  62210. return;
  62211. $self = t1.peekChar$1(1);
  62212. if (!($self != null && $self >= 48 && $self <= 57)) {
  62213. if (allowTrailingDot)
  62214. return;
  62215. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  62216. }
  62217. t1.readChar$0();
  62218. for (;;) {
  62219. $self = t1.peekChar$0();
  62220. if (!($self != null && $self >= 48 && $self <= 57))
  62221. break;
  62222. t1.readChar$0();
  62223. }
  62224. },
  62225. _tryExponent$0() {
  62226. var next, $self,
  62227. t1 = this.scanner,
  62228. first = t1.peekChar$0();
  62229. if (first !== 101 && first !== 69)
  62230. return;
  62231. next = t1.peekChar$1(1);
  62232. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  62233. return;
  62234. t1.readChar$0();
  62235. if (43 === next || 45 === next)
  62236. t1.readChar$0();
  62237. $self = t1.peekChar$0();
  62238. if (!($self != null && $self >= 48 && $self <= 57))
  62239. t1.error$1(0, "Expected digit.");
  62240. for (;;) {
  62241. $self = t1.peekChar$0();
  62242. if (!($self != null && $self >= 48 && $self <= 57))
  62243. break;
  62244. t1.readChar$0();
  62245. }
  62246. },
  62247. _unicodeRange$0() {
  62248. var firstRangeLength, hasQuestionMark, t3, secondRangeLength, _this = this,
  62249. _s26_ = "Expected at most 6 digits.",
  62250. t1 = _this.scanner,
  62251. t2 = t1._string_scanner$_position,
  62252. start = new A._SpanScannerState(t1, t2);
  62253. _this.expectIdentChar$1(117);
  62254. t1.expectChar$1(43);
  62255. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  62256. ++firstRangeLength;
  62257. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  62258. ++firstRangeLength;
  62259. if (firstRangeLength === 0)
  62260. t1.error$1(0, 'Expected hex digit or "?".');
  62261. else if (firstRangeLength > 6)
  62262. _this.error$2(0, _s26_, _this.spanFrom$1(start));
  62263. else if (hasQuestionMark) {
  62264. t1 = t1.substring$1(0, t2);
  62265. t2 = _this.spanFrom$1(start);
  62266. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t1], type$.Object), B.List_null, t2), false);
  62267. }
  62268. if (t1.scanChar$1(45)) {
  62269. t3 = t1._string_scanner$_position;
  62270. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  62271. ++secondRangeLength;
  62272. if (secondRangeLength === 0)
  62273. t1.error$1(0, "Expected hex digit.");
  62274. else if (secondRangeLength > 6)
  62275. _this.error$2(0, _s26_, _this.spanFrom$1(new A._SpanScannerState(t1, t3)));
  62276. }
  62277. if (_this._lookingAtInterpolatedIdentifierBody$0())
  62278. t1.error$1(0, "Expected end of identifier.");
  62279. t1 = t1.substring$1(0, t2);
  62280. t2 = _this.spanFrom$1(start);
  62281. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t1], type$.Object), B.List_null, t2), false);
  62282. },
  62283. _variable$0() {
  62284. var _this = this,
  62285. t1 = _this.scanner,
  62286. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62287. $name = _this.variableName$0();
  62288. if (_this.get$plainCss())
  62289. _this.error$2(0, string$.Sass_v, _this.spanFrom$1(start));
  62290. return new A.VariableExpression(null, $name, _this.spanFrom$1(start));
  62291. },
  62292. _selector$0() {
  62293. var t1, start, _this = this;
  62294. if (_this.get$plainCss())
  62295. _this.scanner.error$2$length(0, string$.The_pa, 1);
  62296. t1 = _this.scanner;
  62297. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62298. t1.expectChar$1(38);
  62299. if (t1.scanChar$1(38)) {
  62300. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, _this.spanFrom$1(start)));
  62301. t1.set$position(t1._string_scanner$_position - 1);
  62302. }
  62303. return new A.SelectorExpression(_this.spanFrom$1(start));
  62304. },
  62305. interpolatedString$0() {
  62306. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  62307. t1 = this.scanner,
  62308. t2 = t1._string_scanner$_position,
  62309. quote = t1.readChar$0();
  62310. if (quote !== 39 && quote !== 34)
  62311. t1.error$2$position(0, "Expected string.", t2);
  62312. t3 = new A.StringBuffer("");
  62313. t4 = A._setArrayType([], type$.JSArray_Object);
  62314. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  62315. buffer = new A.InterpolationBuffer(t3, t4, t5);
  62316. for (;;) {
  62317. _1_0 = t1.peekChar$0();
  62318. if (_1_0 === quote) {
  62319. t1.readChar$0();
  62320. break;
  62321. }
  62322. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  62323. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  62324. if (92 === _1_0) {
  62325. second = t1.peekChar$1(1);
  62326. if (second === 10 || second === 13 || second === 12) {
  62327. t1.readChar$0();
  62328. t1.readChar$0();
  62329. if (second === 13)
  62330. t1.scanChar$1(10);
  62331. } else {
  62332. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  62333. t3._contents += t6;
  62334. }
  62335. continue;
  62336. }
  62337. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62338. _0_0 = this.singleInterpolation$0();
  62339. buffer._flushText$0();
  62340. t4.push(_0_0._0);
  62341. t5.push(_0_0._1);
  62342. continue;
  62343. }
  62344. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62345. t3._contents += t6;
  62346. }
  62347. return new A.StringExpression(buffer.interpolation$1(this.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  62348. },
  62349. interpolatedStringToken$0() {
  62350. var t3, t4, t5, buffer, t6, _1_0, second, t7, start, end, _0_0, _this = this,
  62351. t1 = _this.scanner,
  62352. t2 = t1._string_scanner$_position,
  62353. quote = t1.readChar$0();
  62354. if (quote !== 39 && quote !== 34)
  62355. t1.error$2$position(0, "Expected string.", t2);
  62356. t3 = new A.StringBuffer("");
  62357. t4 = A._setArrayType([], type$.JSArray_Object);
  62358. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  62359. buffer = new A.InterpolationBuffer(t3, t4, t5);
  62360. t6 = A.Primitives_stringFromCharCode(quote);
  62361. t3._contents += t6;
  62362. for (;;) {
  62363. _1_0 = t1.peekChar$0();
  62364. if (_1_0 === quote) {
  62365. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62366. t3._contents += t4;
  62367. break;
  62368. }
  62369. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  62370. t1.error$1(0, "Expected " + t6 + ".");
  62371. if (92 === _1_0) {
  62372. second = t1.peekChar$1(1);
  62373. if (second === 10 || second === 13 || second === 12) {
  62374. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62375. t3._contents += t7;
  62376. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62377. t3._contents += t7;
  62378. if (second === 13)
  62379. if (t1.scanChar$1(10)) {
  62380. t7 = A.Primitives_stringFromCharCode(10);
  62381. t3._contents += t7;
  62382. }
  62383. } else {
  62384. start = t1._string_scanner$_position;
  62385. new A.StylesheetParser_interpolatedStringToken_closure(_this).call$0();
  62386. end = t1._string_scanner$_position;
  62387. t3._contents += B.JSString_methods.substring$2(t1.string, start, end);
  62388. }
  62389. continue;
  62390. }
  62391. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62392. _0_0 = _this.singleInterpolation$0();
  62393. buffer._flushText$0();
  62394. t4.push(_0_0._0);
  62395. t5.push(_0_0._1);
  62396. continue;
  62397. }
  62398. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62399. t3._contents += t7;
  62400. }
  62401. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62402. },
  62403. identifierLike$0() {
  62404. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  62405. t1 = _this.scanner,
  62406. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62407. identifier = _this.interpolatedIdentifier$0(),
  62408. plain = identifier.get$asPlain(),
  62409. lower = A._Cell$(),
  62410. t2 = plain != null;
  62411. if (t2) {
  62412. if (plain === "if" && t1.peekChar$0() === 40) {
  62413. invocation = _this._argumentInvocation$0();
  62414. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  62415. } else if (plain === "not") {
  62416. _this.whitespace$1$consumeNewlines(true);
  62417. expression = _this._singleExpression$0();
  62418. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_3_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  62419. }
  62420. lower.__late_helper$_value = plain.toLowerCase();
  62421. if (t1.peekChar$0() !== 40) {
  62422. switch (plain) {
  62423. case "false":
  62424. return new A.BooleanExpression(false, identifier.span);
  62425. case "null":
  62426. return new A.NullExpression(identifier.span);
  62427. case "true":
  62428. return new A.BooleanExpression(true, identifier.span);
  62429. }
  62430. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  62431. if (_0_0 != null) {
  62432. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  62433. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  62434. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  62435. t4 = _0_0.alphaOrNull;
  62436. if (t4 == null)
  62437. t4 = 0;
  62438. t5 = identifier.span;
  62439. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  62440. }
  62441. }
  62442. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  62443. if (_1_0 != null)
  62444. return _1_0;
  62445. }
  62446. _2_0 = t1.peekChar$0();
  62447. _2_2 = 46 === _2_0;
  62448. if (_2_2 && t1.peekChar$1(1) === 46)
  62449. return new A.StringExpression(identifier, false);
  62450. if (_2_2) {
  62451. t1.readChar$0();
  62452. if (t2)
  62453. return _this.namespacedExpression$2(plain, start);
  62454. _this.error$2(0, string$.Interpn, identifier.span);
  62455. }
  62456. _2_4 = 40 === _2_0;
  62457. if (_2_4 && t2) {
  62458. t1 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  62459. t2 = _this.spanFrom$1(start);
  62460. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t1, t2);
  62461. }
  62462. if (_2_4)
  62463. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), _this.spanFrom$1(start));
  62464. return new A.StringExpression(identifier, false);
  62465. },
  62466. namespacedExpression$2(namespace, start) {
  62467. var $name, t1, t2, t3, _this = this;
  62468. if (_this.scanner.peekChar$0() === 36) {
  62469. $name = _this.variableName$0();
  62470. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  62471. return new A.VariableExpression(namespace, $name, _this.spanFrom$1(start));
  62472. }
  62473. t1 = _this._publicIdentifier$0();
  62474. t2 = _this._argumentInvocation$0();
  62475. t3 = _this.spanFrom$1(start);
  62476. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, t3);
  62477. },
  62478. trySpecialFunction$2($name, start) {
  62479. var t1, buffer, t2, normalized, next, t3, _this = this;
  62480. if ($name === "type" && _this.scanner.scanChar$1(40)) {
  62481. t1 = new A.StringBuffer("");
  62482. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62483. t1._contents = $name;
  62484. t2 = A.Primitives_stringFromCharCode(40);
  62485. t1._contents += t2;
  62486. } else {
  62487. normalized = A.unvendor($name);
  62488. $label0$0: {
  62489. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  62490. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  62491. else
  62492. t1 = true;
  62493. if (t1) {
  62494. t1 = new A.StringBuffer("");
  62495. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62496. t1._contents = $name;
  62497. t2 = A.Primitives_stringFromCharCode(40);
  62498. t1._contents += t2;
  62499. break $label0$0;
  62500. }
  62501. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  62502. t1 = new A.StringBuffer("");
  62503. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62504. t1._contents = $name;
  62505. t2 = A.Primitives_stringFromCharCode(58);
  62506. t1._contents += t2;
  62507. t2 = _this.scanner;
  62508. next = t2.peekChar$0();
  62509. for (;;) {
  62510. if (next != null) {
  62511. if (!(next >= 97 && next <= 122))
  62512. t3 = next >= 65 && next <= 90;
  62513. else
  62514. t3 = true;
  62515. t3 = t3 || next === 46;
  62516. } else
  62517. t3 = false;
  62518. if (!t3)
  62519. break;
  62520. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  62521. t1._contents += t3;
  62522. next = t2.peekChar$0();
  62523. }
  62524. t2.expectChar$1(40);
  62525. t2 = A.Primitives_stringFromCharCode(40);
  62526. t1._contents += t2;
  62527. break $label0$0;
  62528. }
  62529. if ("url" === normalized)
  62530. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  62531. return null;
  62532. }
  62533. }
  62534. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  62535. _this.scanner.expectChar$1(41);
  62536. t1 = buffer._interpolation_buffer$_text;
  62537. t2 = A.Primitives_stringFromCharCode(41);
  62538. t1._contents += t2;
  62539. return new A.StringExpression(buffer.interpolation$1(_this.spanFrom$1(start)), false);
  62540. },
  62541. _tryUrlContents$2$name(start, $name) {
  62542. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, _this = this,
  62543. t1 = _this.scanner,
  62544. t2 = t1._string_scanner$_position;
  62545. if (!t1.scanChar$1(40))
  62546. return null;
  62547. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62548. t3 = new A.StringBuffer("");
  62549. t4 = A._setArrayType([], type$.JSArray_Object);
  62550. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  62551. buffer = new A.InterpolationBuffer(t3, t4, t5);
  62552. t3._contents = $name == null ? "url" : $name;
  62553. t6 = A.Primitives_stringFromCharCode(40);
  62554. t3._contents += t6;
  62555. for (;;) {
  62556. _1_0 = t1.peekChar$0();
  62557. if (_1_0 == null)
  62558. break;
  62559. if (92 === _1_0) {
  62560. t6 = _this.escape$0();
  62561. t3._contents += t6;
  62562. continue;
  62563. }
  62564. _1_6 = 35 === _1_0;
  62565. if (_1_6 && t1.peekChar$1(1) === 123) {
  62566. _0_0 = _this.singleInterpolation$0();
  62567. buffer._flushText$0();
  62568. t4.push(_0_0._0);
  62569. t5.push(_0_0._1);
  62570. continue;
  62571. }
  62572. t6 = true;
  62573. if (33 !== _1_0)
  62574. if (37 !== _1_0)
  62575. if (38 !== _1_0)
  62576. if (!_1_6)
  62577. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62578. if (t6) {
  62579. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62580. t3._contents += t6;
  62581. continue;
  62582. }
  62583. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62584. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62585. if (t1.peekChar$0() !== 41)
  62586. break;
  62587. continue;
  62588. }
  62589. if (41 === _1_0) {
  62590. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62591. t3._contents += t2;
  62592. return buffer.interpolation$1(_this.spanFrom$1(start));
  62593. }
  62594. break;
  62595. }
  62596. t1.set$state(new A._SpanScannerState(t1, t2));
  62597. return null;
  62598. },
  62599. _tryUrlContents$1(start) {
  62600. return this._tryUrlContents$2$name(start, null);
  62601. },
  62602. dynamicUrl$0() {
  62603. var _0_0, _this = this,
  62604. t1 = _this.scanner,
  62605. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62606. _this.expectIdentifier$1("url");
  62607. _0_0 = _this._tryUrlContents$1(start);
  62608. if (_0_0 != null)
  62609. return new A.StringExpression(_0_0, false);
  62610. t1 = _this.spanFrom$1(start);
  62611. return new A.InterpolatedFunctionExpression(new A.Interpolation(A.List_List$unmodifiable(["url"], type$.Object), B.List_null, t1), _this._argumentInvocation$0(), _this.spanFrom$1(start));
  62612. },
  62613. almostAnyValue$1$omitComments(omitComments) {
  62614. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62615. t1 = _this.scanner,
  62616. t2 = t1._string_scanner$_position,
  62617. t3 = new A.StringBuffer(""),
  62618. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62619. brackets = A._setArrayType([], type$.JSArray_int);
  62620. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment();;)
  62621. $label0$0: {
  62622. _2_0 = t1.peekChar$0();
  62623. if (92 === _2_0) {
  62624. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62625. t3._contents += t8;
  62626. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62627. t3._contents += t8;
  62628. break $label0$0;
  62629. }
  62630. if (34 === _2_0 || 39 === _2_0) {
  62631. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  62632. break $label0$0;
  62633. }
  62634. if (47 === _2_0) {
  62635. $label1$1: {
  62636. _0_0 = t1.peekChar$1(1);
  62637. _0_2 = 42 === _0_0;
  62638. if (_0_2 && t6) {
  62639. start = t1._string_scanner$_position;
  62640. t7.call$0();
  62641. end = t1._string_scanner$_position;
  62642. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62643. break $label1$1;
  62644. }
  62645. if (_0_2) {
  62646. _this.loudComment$0();
  62647. break $label1$1;
  62648. }
  62649. _0_4 = 47 === _0_0;
  62650. if (_0_4 && t6) {
  62651. t8 = _this.get$silentComment();
  62652. start = t1._string_scanner$_position;
  62653. t8.call$0();
  62654. end = t1._string_scanner$_position;
  62655. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62656. break $label1$1;
  62657. }
  62658. if (_0_4) {
  62659. _this.silentComment$0();
  62660. break $label1$1;
  62661. }
  62662. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62663. t3._contents += t8;
  62664. }
  62665. break $label0$0;
  62666. }
  62667. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62668. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62669. break $label0$0;
  62670. }
  62671. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62672. if (_this.get$indented() && brackets.length === 0)
  62673. break;
  62674. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62675. t3._contents += t8;
  62676. break $label0$0;
  62677. }
  62678. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62679. break;
  62680. if (117 === _2_0 || 85 === _2_0) {
  62681. t8 = t1._string_scanner$_position;
  62682. identifier = _this.identifier$0();
  62683. if (identifier !== "url" && identifier !== "url-prefix") {
  62684. t3._contents += identifier;
  62685. continue;
  62686. }
  62687. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62688. if (_1_0 != null)
  62689. buffer.addInterpolation$1(_1_0);
  62690. else {
  62691. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62692. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62693. t1._string_scanner$_position = t8;
  62694. t1._lastMatch = null;
  62695. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62696. t3._contents += t8;
  62697. }
  62698. break $label0$0;
  62699. }
  62700. if (40 === _2_0 || 91 === _2_0) {
  62701. bracket = t1.readChar$0();
  62702. t8 = A.Primitives_stringFromCharCode(bracket);
  62703. t3._contents += t8;
  62704. brackets.push(A.opposite(bracket));
  62705. break $label0$0;
  62706. }
  62707. if (41 === _2_0 || 93 === _2_0) {
  62708. t8 = _2_0 != null;
  62709. char = t8 ? _2_0 : null;
  62710. } else {
  62711. char = null;
  62712. t8 = false;
  62713. }
  62714. if (t8) {
  62715. if (brackets.length === 0)
  62716. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62717. bracket = brackets.pop();
  62718. t1.expectChar$1(bracket);
  62719. t8 = A.Primitives_stringFromCharCode(bracket);
  62720. t3._contents += t8;
  62721. break $label0$0;
  62722. }
  62723. if (_2_0 == null)
  62724. break;
  62725. t8 = _this.lookingAtIdentifier$0();
  62726. if (t8) {
  62727. t8 = _this.identifier$0();
  62728. t3._contents += t8;
  62729. break $label0$0;
  62730. }
  62731. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62732. t3._contents += t8;
  62733. }
  62734. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62735. },
  62736. almostAnyValue$0() {
  62737. return this.almostAnyValue$1$omitComments(false);
  62738. },
  62739. _interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, endAfterOf, silentComments) {
  62740. var t5, t6, t7, t8, t9, t10, t11, wroteNewline, _2_0, wroteNewline0, t12, _0_0, start, end, _2_12, _2_14_isSet, _2_14, t13, _2_16, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, of, _this = this, _null = null,
  62741. t1 = _this.scanner,
  62742. t2 = t1._string_scanner$_position,
  62743. t3 = new A.StringBuffer(""),
  62744. t4 = A._setArrayType([], type$.JSArray_Object),
  62745. buffer = new A.InterpolationBuffer(t3, t4, A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62746. brackets = A._setArrayType([], type$.JSArray_int);
  62747. for (t5 = !consumeNewlines, t6 = !allowOpenBrace, t7 = t1.string, t8 = t7.length, t9 = !allowColon, t10 = !allowSemicolon, t11 = _this.get$loudComment(), wroteNewline = false;;)
  62748. $label0$0: {
  62749. _2_0 = t1.peekChar$0();
  62750. wroteNewline0 = false;
  62751. if (92 === _2_0) {
  62752. t12 = _this.escape$1$identifierStart(true);
  62753. t3._contents += t12;
  62754. wroteNewline = wroteNewline0;
  62755. break $label0$0;
  62756. }
  62757. if (34 === _2_0 || 39 === _2_0) {
  62758. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  62759. wroteNewline = wroteNewline0;
  62760. break $label0$0;
  62761. }
  62762. if (47 === _2_0) {
  62763. $label1$1: {
  62764. _0_0 = t1.peekChar$1(1);
  62765. if (42 === _0_0) {
  62766. start = t1._string_scanner$_position;
  62767. t11.call$0();
  62768. end = t1._string_scanner$_position;
  62769. t3._contents += B.JSString_methods.substring$2(t7, start, end);
  62770. break $label1$1;
  62771. }
  62772. if (47 === _0_0 && silentComments) {
  62773. _this.silentComment$0();
  62774. break $label1$1;
  62775. }
  62776. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62777. t3._contents += t12;
  62778. }
  62779. wroteNewline = wroteNewline0;
  62780. break $label0$0;
  62781. }
  62782. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62783. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62784. wroteNewline = wroteNewline0;
  62785. break $label0$0;
  62786. }
  62787. _2_12 = 32 === _2_0;
  62788. _2_14_isSet = !_2_12;
  62789. if (_2_14_isSet) {
  62790. _2_14 = 9 === _2_0;
  62791. t12 = _2_14;
  62792. } else {
  62793. _2_14 = _null;
  62794. t12 = true;
  62795. }
  62796. t13 = false;
  62797. if (t12)
  62798. if (!wroteNewline) {
  62799. t12 = t1.peekChar$1(1);
  62800. t12 = t12 === 32 || t12 === 9 || t12 === 10 || t12 === 13 || t12 === 12;
  62801. } else
  62802. t12 = t13;
  62803. else
  62804. t12 = t13;
  62805. if (t12) {
  62806. t1.readChar$0();
  62807. break $label0$0;
  62808. }
  62809. if (!_2_12)
  62810. t12 = _2_14_isSet ? _2_14 : 9 === _2_0;
  62811. else
  62812. t12 = true;
  62813. if (t12) {
  62814. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62815. t3._contents += t12;
  62816. break $label0$0;
  62817. }
  62818. _2_16 = 10 === _2_0;
  62819. _2_18_isSet = !_2_16;
  62820. _2_20 = _null;
  62821. t12 = true;
  62822. if (_2_18_isSet) {
  62823. _2_18 = 13 === _2_0;
  62824. _2_20_isSet = !_2_18;
  62825. if (_2_20_isSet) {
  62826. _2_20 = 12 === _2_0;
  62827. t12 = _2_20;
  62828. }
  62829. } else {
  62830. _2_18 = _null;
  62831. _2_20_isSet = false;
  62832. }
  62833. if (t12 && _this.get$indented() && t5 && brackets.length === 0)
  62834. break;
  62835. t12 = true;
  62836. if (!_2_16)
  62837. if (!(_2_18_isSet ? _2_18 : 13 === _2_0))
  62838. t12 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62839. if (t12) {
  62840. t12 = t1.peekChar$1(-1);
  62841. if (!(t12 === 10 || t12 === 13 || t12 === 12))
  62842. t3._contents += "\n";
  62843. t1.readChar$0();
  62844. wroteNewline = true;
  62845. break $label0$0;
  62846. }
  62847. _2_22 = 123 === _2_0;
  62848. if (_2_22 && t6)
  62849. break;
  62850. if (40 !== _2_0)
  62851. t12 = _2_22 || 91 === _2_0;
  62852. else
  62853. t12 = true;
  62854. if (t12) {
  62855. bracket = t1.readChar$0();
  62856. t12 = A.Primitives_stringFromCharCode(bracket);
  62857. t3._contents += t12;
  62858. brackets.push(A.opposite(bracket));
  62859. wroteNewline = wroteNewline0;
  62860. break $label0$0;
  62861. }
  62862. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62863. if (brackets.length === 0)
  62864. break;
  62865. bracket = brackets.pop();
  62866. t1.expectChar$1(bracket);
  62867. t12 = A.Primitives_stringFromCharCode(bracket);
  62868. t3._contents += t12;
  62869. wroteNewline = wroteNewline0;
  62870. break $label0$0;
  62871. }
  62872. if (59 === _2_0) {
  62873. if (t10 && brackets.length === 0)
  62874. break;
  62875. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62876. t3._contents += t12;
  62877. wroteNewline = wroteNewline0;
  62878. break $label0$0;
  62879. }
  62880. if (58 === _2_0) {
  62881. if (t9 && brackets.length === 0)
  62882. break;
  62883. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62884. t3._contents += t12;
  62885. wroteNewline = wroteNewline0;
  62886. break $label0$0;
  62887. }
  62888. if (117 === _2_0 || 85 === _2_0) {
  62889. t12 = t1._string_scanner$_position;
  62890. identifier = _this.identifier$0();
  62891. if (identifier !== "url" && identifier !== "url-prefix") {
  62892. t3._contents += identifier;
  62893. wroteNewline = wroteNewline0;
  62894. continue;
  62895. }
  62896. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t12), identifier);
  62897. if (_1_0 != null)
  62898. buffer.addInterpolation$1(_1_0);
  62899. else {
  62900. if ((t12 === 0 ? 1 / t12 < 0 : t12 < 0) || t12 > t8)
  62901. A.throwExpression(A.ArgumentError$("Invalid position " + t12, _null));
  62902. t1._string_scanner$_position = t12;
  62903. t1._lastMatch = null;
  62904. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62905. t3._contents += t12;
  62906. }
  62907. wroteNewline = wroteNewline0;
  62908. break $label0$0;
  62909. }
  62910. if (111 === _2_0 || 79 === _2_0) {
  62911. if (endAfterOf && brackets.length === 0) {
  62912. start = t1._string_scanner$_position;
  62913. new A.StylesheetParser__interpolatedDeclarationValue_closure(_this).call$0();
  62914. end = t1._string_scanner$_position;
  62915. of = B.JSString_methods.substring$2(t7, start, end);
  62916. if (of !== "") {
  62917. t3._contents += of;
  62918. break;
  62919. }
  62920. }
  62921. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62922. t3._contents += t12;
  62923. wroteNewline = wroteNewline0;
  62924. break $label0$0;
  62925. }
  62926. if (_2_0 == null)
  62927. break;
  62928. t12 = _this.lookingAtIdentifier$0();
  62929. if (t12) {
  62930. t12 = _this.identifier$0();
  62931. t3._contents += t12;
  62932. wroteNewline = wroteNewline0;
  62933. break $label0$0;
  62934. }
  62935. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62936. t3._contents += t12;
  62937. wroteNewline = wroteNewline0;
  62938. }
  62939. if (brackets.length !== 0)
  62940. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62941. if (!allowEmpty && t4.length === 0 && t3._contents.length === 0)
  62942. t1.error$1(0, "Expected token.");
  62943. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62944. },
  62945. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62946. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, true, false, false, false, true);
  62947. },
  62948. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62949. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, false, true);
  62950. },
  62951. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62952. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, false, true);
  62953. },
  62954. _interpolatedDeclarationValue$0() {
  62955. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, true, false, false, false, true);
  62956. },
  62957. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62958. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, allowOpenBrace, false, false, false, true);
  62959. },
  62960. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62961. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, allowOpenBrace, false, false, false, true);
  62962. },
  62963. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62964. return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, true, false, false, false, silentComments);
  62965. },
  62966. interpolatedIdentifier$0() {
  62967. var t3, _1_0, _0_0, _this = this,
  62968. _s20_ = "Expected identifier.",
  62969. t1 = _this.scanner,
  62970. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62971. t2 = new A.StringBuffer(""),
  62972. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62973. if (t1.scanChar$1(45)) {
  62974. t3 = A.Primitives_stringFromCharCode(45);
  62975. t2._contents += t3;
  62976. if (t1.scanChar$1(45)) {
  62977. t2._contents += t3;
  62978. _this._interpolatedIdentifierBodyHelper$1(buffer);
  62979. return buffer.interpolation$1(_this.spanFrom$1(start));
  62980. }
  62981. }
  62982. $label0$0: {
  62983. _1_0 = t1.peekChar$0();
  62984. if (_1_0 == null)
  62985. t1.error$1(0, _s20_);
  62986. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62987. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62988. t2._contents += t1;
  62989. break $label0$0;
  62990. }
  62991. if (92 === _1_0) {
  62992. t1 = _this.escape$1$identifierStart(true);
  62993. t2._contents += t1;
  62994. break $label0$0;
  62995. }
  62996. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62997. _0_0 = _this.singleInterpolation$0();
  62998. buffer.add$2(0, _0_0._0, _0_0._1);
  62999. break $label0$0;
  63000. }
  63001. t1.error$1(0, _s20_);
  63002. }
  63003. _this._interpolatedIdentifierBodyHelper$1(buffer);
  63004. return buffer.interpolation$1(_this.spanFrom$1(start));
  63005. },
  63006. _interpolatedIdentifierBodyHelper$1(buffer) {
  63007. var t1, t2, t3, t4, _1_0, t5, _0_0;
  63008. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text;;) {
  63009. _1_0 = t3.peekChar$0();
  63010. if (_1_0 == null)
  63011. break;
  63012. t5 = true;
  63013. if (95 !== _1_0)
  63014. if (45 !== _1_0) {
  63015. if (!(_1_0 >= 97 && _1_0 <= 122))
  63016. t5 = _1_0 >= 65 && _1_0 <= 90;
  63017. else
  63018. t5 = true;
  63019. if (!t5)
  63020. t5 = _1_0 >= 48 && _1_0 <= 57;
  63021. else
  63022. t5 = true;
  63023. t5 = t5 || _1_0 >= 128;
  63024. }
  63025. if (t5) {
  63026. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  63027. t4._contents += t5;
  63028. continue;
  63029. }
  63030. if (92 === _1_0) {
  63031. t5 = this.escape$0();
  63032. t4._contents += t5;
  63033. continue;
  63034. }
  63035. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  63036. _0_0 = this.singleInterpolation$0();
  63037. buffer._flushText$0();
  63038. t1.push(_0_0._0);
  63039. t2.push(_0_0._1);
  63040. continue;
  63041. }
  63042. break;
  63043. }
  63044. },
  63045. singleInterpolation$0() {
  63046. var contents, span, _this = this,
  63047. t1 = _this.scanner,
  63048. t2 = t1._string_scanner$_position;
  63049. t1.expect$1("#{");
  63050. _this.whitespace$1$consumeNewlines(true);
  63051. contents = _this._expression$1$consumeNewlines(true);
  63052. t1.expectChar$1(125);
  63053. span = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  63054. if (_this.get$plainCss())
  63055. _this.error$2(0, string$.Interpp, span);
  63056. return new A._Record_2(contents, span);
  63057. },
  63058. _mediaQueryList$0() {
  63059. var t4, _this = this,
  63060. t1 = _this.scanner,
  63061. t2 = t1._string_scanner$_position,
  63062. t3 = new A.StringBuffer(""),
  63063. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  63064. for (;;) {
  63065. _this.whitespace$1$consumeNewlines(false);
  63066. _this._stylesheet$_mediaQuery$1(buffer);
  63067. _this.whitespace$1$consumeNewlines(false);
  63068. if (!t1.scanChar$1(44))
  63069. break;
  63070. t4 = A.Primitives_stringFromCharCode(44);
  63071. t3._contents += t4;
  63072. t4 = A.Primitives_stringFromCharCode(32);
  63073. t3._contents += t4;
  63074. }
  63075. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  63076. },
  63077. _stylesheet$_mediaQuery$1(buffer) {
  63078. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  63079. if (_this.scanner.peekChar$0() === 40) {
  63080. _this._stylesheet$_mediaInParens$1(buffer);
  63081. _this.whitespace$1$consumeNewlines(false);
  63082. if (_this.scanIdentifier$1(_s3_)) {
  63083. buffer._interpolation_buffer$_text._contents += " and ";
  63084. _this.expectWhitespace$0();
  63085. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  63086. } else if (_this.scanIdentifier$1("or")) {
  63087. buffer._interpolation_buffer$_text._contents += " or ";
  63088. _this.expectWhitespace$0();
  63089. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  63090. }
  63091. return;
  63092. }
  63093. identifier1 = _this.interpolatedIdentifier$0();
  63094. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  63095. _this.expectWhitespace$0();
  63096. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  63097. buffer._interpolation_buffer$_text._contents += "not ";
  63098. _this._mediaOrInterp$1(buffer);
  63099. return;
  63100. }
  63101. }
  63102. _this.whitespace$1$consumeNewlines(false);
  63103. buffer.addInterpolation$1(identifier1);
  63104. if (!_this._lookingAtInterpolatedIdentifier$0())
  63105. return;
  63106. t1 = buffer._interpolation_buffer$_text;
  63107. t2 = A.Primitives_stringFromCharCode(32);
  63108. t1._contents += t2;
  63109. identifier2 = _this.interpolatedIdentifier$0();
  63110. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  63111. _this.expectWhitespace$0();
  63112. t1._contents += " and ";
  63113. } else {
  63114. _this.whitespace$1$consumeNewlines(false);
  63115. buffer.addInterpolation$1(identifier2);
  63116. if (_this.scanIdentifier$1(_s3_)) {
  63117. _this.expectWhitespace$0();
  63118. t1._contents += " and ";
  63119. } else
  63120. return;
  63121. }
  63122. if (_this.scanIdentifier$1("not")) {
  63123. _this.expectWhitespace$0();
  63124. t1._contents += "not ";
  63125. _this._mediaOrInterp$1(buffer);
  63126. return;
  63127. }
  63128. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  63129. return;
  63130. },
  63131. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  63132. var t1, t2, t3, _this = this;
  63133. for (t1 = buffer._interpolation_buffer$_text;;) {
  63134. _this._mediaOrInterp$1(buffer);
  63135. _this.whitespace$1$consumeNewlines(false);
  63136. if (!_this.scanIdentifier$1(operator))
  63137. return;
  63138. _this.expectWhitespace$1$consumeNewlines(false);
  63139. t2 = A.Primitives_stringFromCharCode(32);
  63140. t3 = (t1._contents += t2) + operator;
  63141. t1._contents = t3;
  63142. t1._contents = t3 + t2;
  63143. }
  63144. },
  63145. _mediaOrInterp$1(buffer) {
  63146. var _0_0;
  63147. if (this.scanner.peekChar$0() === 35) {
  63148. _0_0 = this.singleInterpolation$0();
  63149. buffer.add$2(0, _0_0._0, _0_0._1);
  63150. } else
  63151. this._stylesheet$_mediaInParens$1(buffer);
  63152. },
  63153. _stylesheet$_mediaInParens$1(buffer) {
  63154. var t2, t3, expressionBefore, expressionAfter, next, t4, t5, expressionMiddle, _this = this,
  63155. t1 = _this.scanner;
  63156. t1.expectChar$2$name(40, "media condition in parentheses");
  63157. t2 = buffer._interpolation_buffer$_text;
  63158. t3 = A.Primitives_stringFromCharCode(40);
  63159. t2._contents += t3;
  63160. _this.whitespace$1$consumeNewlines(true);
  63161. if (t1.peekChar$0() === 40) {
  63162. _this._stylesheet$_mediaInParens$1(buffer);
  63163. _this.whitespace$1$consumeNewlines(true);
  63164. if (_this.scanIdentifier$1("and")) {
  63165. t2._contents += " and ";
  63166. _this.expectWhitespace$1$consumeNewlines(true);
  63167. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  63168. } else if (_this.scanIdentifier$1("or")) {
  63169. t2._contents += " or ";
  63170. _this.expectWhitespace$1$consumeNewlines(true);
  63171. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  63172. }
  63173. } else if (_this.scanIdentifier$1("not")) {
  63174. t2._contents += "not ";
  63175. _this.expectWhitespace$1$consumeNewlines(true);
  63176. _this._mediaOrInterp$1(buffer);
  63177. } else {
  63178. expressionBefore = _this._expressionUntilComparison$0();
  63179. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  63180. if (t1.scanChar$1(58)) {
  63181. _this.whitespace$1$consumeNewlines(true);
  63182. t3 = A.Primitives_stringFromCharCode(58);
  63183. t2._contents += t3;
  63184. t3 = A.Primitives_stringFromCharCode(32);
  63185. t2._contents += t3;
  63186. expressionAfter = _this._expression$1$consumeNewlines(true);
  63187. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  63188. } else {
  63189. next = t1.peekChar$0();
  63190. t3 = 60 !== next;
  63191. if (!t3 || 62 === next || 61 === next) {
  63192. t4 = A.Primitives_stringFromCharCode(32);
  63193. t2._contents += t4;
  63194. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  63195. t2._contents += t5;
  63196. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  63197. t5 = A.Primitives_stringFromCharCode(61);
  63198. t2._contents += t5;
  63199. }
  63200. t2._contents += t4;
  63201. _this.whitespace$1$consumeNewlines(true);
  63202. expressionMiddle = _this._expressionUntilComparison$0();
  63203. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  63204. if (!t3 || 62 === next) {
  63205. next.toString;
  63206. t3 = t1.scanChar$1(next);
  63207. } else
  63208. t3 = false;
  63209. if (t3) {
  63210. t2._contents += t4;
  63211. t3 = A.Primitives_stringFromCharCode(next);
  63212. t2._contents += t3;
  63213. if (t1.scanChar$1(61)) {
  63214. t3 = A.Primitives_stringFromCharCode(61);
  63215. t2._contents += t3;
  63216. }
  63217. t2._contents += t4;
  63218. _this.whitespace$1$consumeNewlines(true);
  63219. expressionAfter = _this._expressionUntilComparison$0();
  63220. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  63221. }
  63222. }
  63223. }
  63224. }
  63225. t1.expectChar$1(41);
  63226. _this.whitespace$1$consumeNewlines(false);
  63227. t1 = A.Primitives_stringFromCharCode(41);
  63228. t2._contents += t1;
  63229. },
  63230. _expressionUntilComparison$0() {
  63231. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  63232. },
  63233. _supportsCondition$1$inParentheses(inParentheses) {
  63234. var condition, operator, lowerOperator, _this = this,
  63235. t1 = _this.scanner,
  63236. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  63237. if (_this.scanIdentifier$1("not")) {
  63238. _this.whitespace$1$consumeNewlines(inParentheses);
  63239. return new A.SupportsNegation(_this._supportsConditionInParens$0(), _this.spanFrom$1(start));
  63240. }
  63241. condition = _this._supportsConditionInParens$0();
  63242. _this.whitespace$1$consumeNewlines(inParentheses);
  63243. for (operator = null; _this.lookingAtIdentifier$0();) {
  63244. if (operator != null)
  63245. _this.expectIdentifier$1(operator);
  63246. else if (_this.scanIdentifier$1("or"))
  63247. operator = "or";
  63248. else {
  63249. _this.expectIdentifier$1("and");
  63250. operator = "and";
  63251. }
  63252. _this.whitespace$1$consumeNewlines(inParentheses);
  63253. condition = new A.SupportsOperation(condition, _this._supportsConditionInParens$0(), operator, _this.spanFrom$1(start));
  63254. lowerOperator = operator.toLowerCase();
  63255. if (lowerOperator !== "and" && lowerOperator !== "or")
  63256. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  63257. _this.whitespace$1$consumeNewlines(inParentheses);
  63258. }
  63259. return condition;
  63260. },
  63261. _supportsCondition$0() {
  63262. return this._supportsCondition$1$inParentheses(false);
  63263. },
  63264. _supportsConditionInParens$0() {
  63265. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, value, _this = this,
  63266. t1 = _this.scanner,
  63267. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  63268. if (_this._lookingAtInterpolatedIdentifier$0()) {
  63269. identifier0 = _this.interpolatedIdentifier$0();
  63270. t2 = identifier0.get$asPlain();
  63271. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  63272. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  63273. if (t1.scanChar$1(40)) {
  63274. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  63275. t1.expectChar$1(41);
  63276. return new A.SupportsFunction(identifier0, $arguments, _this.spanFrom$1(start));
  63277. } else {
  63278. _0_0 = identifier0.contents;
  63279. _0_4_isSet = _0_0.length === 1;
  63280. if (_0_4_isSet) {
  63281. _0_4 = _0_0[0];
  63282. t2 = _0_4 instanceof A.Expression;
  63283. } else {
  63284. _0_4 = null;
  63285. t2 = false;
  63286. }
  63287. if (t2) {
  63288. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  63289. return new A.SupportsInterpolation(type$.Expression._as(t1), _this.spanFrom$1(start));
  63290. } else
  63291. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  63292. }
  63293. }
  63294. t1.expectChar$1(40);
  63295. _this.whitespace$1$consumeNewlines(true);
  63296. if (_this.scanIdentifier$1("not")) {
  63297. _this.whitespace$1$consumeNewlines(true);
  63298. condition = _this._supportsConditionInParens$0();
  63299. t1.expectChar$1(41);
  63300. return new A.SupportsNegation(condition, _this.spanFrom$1(start));
  63301. } else if (t1.peekChar$0() === 40) {
  63302. condition = _this._supportsCondition$1$inParentheses(true);
  63303. t1.expectChar$1(41);
  63304. return condition.withSpan$1(_this.spanFrom$1(start));
  63305. }
  63306. $name = null;
  63307. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  63308. wasInParentheses = _this._inParentheses;
  63309. try {
  63310. $name = _this._expression$1$consumeNewlines(true);
  63311. t1.expectChar$1(58);
  63312. } catch (exception) {
  63313. if (type$.FormatException._is(A.unwrapException(exception))) {
  63314. t1.set$state(nameStart);
  63315. _this._inParentheses = wasInParentheses;
  63316. identifier = _this.interpolatedIdentifier$0();
  63317. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  63318. operation = null;
  63319. if (_1_0 != null) {
  63320. operation = _1_0;
  63321. t1.expectChar$1(41);
  63322. t1 = operation;
  63323. t2 = _this.spanFrom$1(start);
  63324. return A.SupportsOperation$(t1.left, t1.right, t1.operator, t2);
  63325. }
  63326. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  63327. t2.addInterpolation$1(identifier);
  63328. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  63329. contents = t2.interpolation$1(_this.spanFrom$1(nameStart));
  63330. if (t1.peekChar$0() === 58)
  63331. throw exception;
  63332. t1.expectChar$1(41);
  63333. return new A.SupportsAnything(contents, _this.spanFrom$1(start));
  63334. } else
  63335. throw exception;
  63336. }
  63337. value = _this._supportsDeclarationValue$1($name);
  63338. t1.expectChar$1(41);
  63339. return new A.SupportsDeclaration($name, value, _this.spanFrom$1(start));
  63340. },
  63341. _supportsDeclarationValue$1($name) {
  63342. var t1 = false;
  63343. if ($name instanceof A.StringExpression)
  63344. if (!$name.hasQuotes)
  63345. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  63346. if (t1)
  63347. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  63348. else {
  63349. this.whitespace$1$consumeNewlines(true);
  63350. return this._expression$1$consumeNewlines(true);
  63351. }
  63352. },
  63353. _trySupportsOperation$2(interpolation, start) {
  63354. var expression, t2, t3, operator, operation, right, t4, lowerOperator, _this = this, _null = null,
  63355. t1 = interpolation.contents;
  63356. if (t1.length !== 1)
  63357. return _null;
  63358. expression = B.JSArray_methods.get$first(t1);
  63359. if (!(expression instanceof A.Expression))
  63360. return _null;
  63361. t1 = _this.scanner;
  63362. t2 = t1._string_scanner$_position;
  63363. _this.whitespace$1$consumeNewlines(true);
  63364. for (t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  63365. if (operator != null)
  63366. _this.expectIdentifier$1(operator);
  63367. else if (_this.scanIdentifier$1("and"))
  63368. operator = "and";
  63369. else {
  63370. if (!_this.scanIdentifier$1("or")) {
  63371. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  63372. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  63373. t1._string_scanner$_position = t2;
  63374. return t1._lastMatch = null;
  63375. }
  63376. operator = "or";
  63377. }
  63378. _this.whitespace$1$consumeNewlines(true);
  63379. right = _this._supportsConditionInParens$0();
  63380. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  63381. operation = new A.SupportsOperation(t4, right, operator, _this.spanFrom$1(start));
  63382. lowerOperator = operator.toLowerCase();
  63383. if (lowerOperator !== "and" && lowerOperator !== "or")
  63384. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  63385. _this.whitespace$1$consumeNewlines(true);
  63386. }
  63387. return operation;
  63388. },
  63389. _lookingAtInterpolatedIdentifier$0() {
  63390. var t2, _0_0,
  63391. t1 = this.scanner,
  63392. _1_0 = t1.peekChar$0();
  63393. $label0$0: {
  63394. t2 = false;
  63395. if (_1_0 == null) {
  63396. t1 = t2;
  63397. break $label0$0;
  63398. }
  63399. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  63400. t1 = true;
  63401. break $label0$0;
  63402. }
  63403. if (35 === _1_0) {
  63404. t1 = t1.peekChar$1(1) === 123;
  63405. break $label0$0;
  63406. }
  63407. if (45 === _1_0) {
  63408. _0_0 = t1.peekChar$1(1);
  63409. $label1$1: {
  63410. if (_0_0 == null) {
  63411. t1 = t2;
  63412. break $label1$1;
  63413. }
  63414. if (35 === _0_0) {
  63415. t1 = t1.peekChar$1(2) === 123;
  63416. break $label1$1;
  63417. }
  63418. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  63419. t1 = true;
  63420. break $label1$1;
  63421. }
  63422. t1 = t2;
  63423. break $label1$1;
  63424. }
  63425. break $label0$0;
  63426. }
  63427. t1 = t2;
  63428. break $label0$0;
  63429. }
  63430. return t1;
  63431. },
  63432. _lookingAtPotentialPropertyHack$0() {
  63433. var t1 = this.scanner,
  63434. _0_0 = t1.peekChar$0();
  63435. $label0$0: {
  63436. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  63437. t1 = true;
  63438. break $label0$0;
  63439. }
  63440. if (35 === _0_0) {
  63441. t1 = t1.peekChar$1(1) !== 123;
  63442. break $label0$0;
  63443. }
  63444. t1 = false;
  63445. break $label0$0;
  63446. }
  63447. return t1;
  63448. },
  63449. _lookingAtInterpolatedIdentifierBody$0() {
  63450. var t2, t3,
  63451. t1 = this.scanner,
  63452. _0_0 = t1.peekChar$0();
  63453. $label0$0: {
  63454. t2 = false;
  63455. if (_0_0 == null) {
  63456. t1 = t2;
  63457. break $label0$0;
  63458. }
  63459. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  63460. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  63461. else
  63462. t3 = true;
  63463. if (t3 || 92 === _0_0) {
  63464. t1 = true;
  63465. break $label0$0;
  63466. }
  63467. if (35 === _0_0) {
  63468. t1 = t1.peekChar$1(1) === 123;
  63469. break $label0$0;
  63470. }
  63471. t1 = t2;
  63472. break $label0$0;
  63473. }
  63474. return t1;
  63475. },
  63476. _lookingAtExpression$0() {
  63477. var t2, _0_0,
  63478. t1 = this.scanner,
  63479. _1_0 = t1.peekChar$0();
  63480. $label0$0: {
  63481. t2 = true;
  63482. if (_1_0 == null) {
  63483. t1 = false;
  63484. break $label0$0;
  63485. }
  63486. if (46 === _1_0) {
  63487. t1 = t1.peekChar$1(1) !== 46;
  63488. break $label0$0;
  63489. }
  63490. if (33 === _1_0) {
  63491. _0_0 = t1.peekChar$1(1);
  63492. $label1$1: {
  63493. if (_0_0 != null)
  63494. if (105 !== _0_0)
  63495. if (73 !== _0_0)
  63496. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  63497. else
  63498. t1 = t2;
  63499. else
  63500. t1 = t2;
  63501. else
  63502. t1 = t2;
  63503. break $label1$1;
  63504. }
  63505. break $label0$0;
  63506. }
  63507. t1 = true;
  63508. if (40 !== _1_0)
  63509. if (47 !== _1_0)
  63510. if (91 !== _1_0)
  63511. if (39 !== _1_0)
  63512. if (34 !== _1_0)
  63513. if (35 !== _1_0)
  63514. if (43 !== _1_0)
  63515. if (45 !== _1_0)
  63516. if (92 !== _1_0)
  63517. if (36 !== _1_0)
  63518. if (38 !== _1_0)
  63519. if (37 !== _1_0)
  63520. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  63521. t1 = _1_0 >= 48 && _1_0 <= 57;
  63522. if (t1) {
  63523. t1 = t2;
  63524. break $label0$0;
  63525. }
  63526. t1 = false;
  63527. break $label0$0;
  63528. }
  63529. return t1;
  63530. },
  63531. _withChildren$1$3(child, start, create) {
  63532. var result = create.call$2(this.children$1(0, child), this.spanFrom$1(start));
  63533. this.whitespaceWithoutComments$1$consumeNewlines(false);
  63534. return result;
  63535. },
  63536. _withChildren$3(child, start, create) {
  63537. return this._withChildren$1$3(child, start, create, type$.dynamic);
  63538. },
  63539. _urlString$0() {
  63540. var innerError, stackTrace, exception, _this = this,
  63541. t1 = _this.scanner,
  63542. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  63543. url = _this.string$0();
  63544. try {
  63545. t1 = A.Uri_parse(url);
  63546. return t1;
  63547. } catch (exception) {
  63548. t1 = A.unwrapException(exception);
  63549. if (type$.FormatException._is(t1)) {
  63550. innerError = t1;
  63551. stackTrace = A.getTraceFromException(exception);
  63552. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), _this.spanFrom$1(start), stackTrace);
  63553. } else
  63554. throw exception;
  63555. }
  63556. },
  63557. _publicIdentifier$0() {
  63558. var _this = this,
  63559. t1 = _this.scanner,
  63560. t2 = t1._string_scanner$_position,
  63561. result = _this.identifier$0();
  63562. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  63563. return result;
  63564. },
  63565. _assertPublic$2(identifier, span) {
  63566. var first = identifier.charCodeAt(0);
  63567. if (!(first === 45 || first === 95))
  63568. return;
  63569. this.error$2(0, string$.Privat, span.call$0());
  63570. },
  63571. _addOrInject$2(buffer, expression) {
  63572. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63573. buffer.addInterpolation$1(expression.text);
  63574. else
  63575. buffer.add$2(0, expression, expression.get$span(expression));
  63576. },
  63577. get$plainCss() {
  63578. return false;
  63579. }
  63580. };
  63581. A.StylesheetParser_parse_closure.prototype = {
  63582. call$0() {
  63583. var statements,
  63584. t1 = this.$this,
  63585. t2 = t1.scanner,
  63586. t3 = t2._string_scanner$_position;
  63587. t2.scanChar$1(65279);
  63588. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63589. t2.expectDone$0();
  63590. return A.Stylesheet$internal(statements, t1.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63591. },
  63592. $signature: 530
  63593. };
  63594. A.StylesheetParser_parse__closure.prototype = {
  63595. call$0() {
  63596. var t1 = this.$this;
  63597. if (t1.scanner.scan$1("@charset")) {
  63598. t1.whitespace$1$consumeNewlines(false);
  63599. t1.string$0();
  63600. return null;
  63601. }
  63602. return t1._statement$1$root(true);
  63603. },
  63604. $signature: 523
  63605. };
  63606. A.StylesheetParser_parseParameterList_closure.prototype = {
  63607. call$0() {
  63608. var parameters,
  63609. t1 = this.$this,
  63610. t2 = t1.scanner;
  63611. t2.expectChar$2$name(64, "@-rule");
  63612. t1.identifier$0();
  63613. t1.whitespace$1$consumeNewlines(true);
  63614. t1.identifier$0();
  63615. parameters = t1._parameterList$0();
  63616. t1.whitespace$1$consumeNewlines(true);
  63617. t2.expectChar$1(123);
  63618. return parameters;
  63619. },
  63620. $signature: 521
  63621. };
  63622. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63623. call$0() {
  63624. var t1 = this.$this;
  63625. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63626. },
  63627. $signature: 508
  63628. };
  63629. A.StylesheetParser_parseUseRule_closure.prototype = {
  63630. call$0() {
  63631. var t1 = this.$this,
  63632. t2 = t1.scanner,
  63633. t3 = t2._string_scanner$_position;
  63634. t2.expectChar$2$name(64, "@-rule");
  63635. t1.expectIdentifier$1("use");
  63636. t1.whitespace$1$consumeNewlines(true);
  63637. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63638. },
  63639. $signature: 506
  63640. };
  63641. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63642. call$0() {
  63643. var result = this.production.call$0();
  63644. this.$this.scanner.expectDone$0();
  63645. return result;
  63646. },
  63647. $signature() {
  63648. return this.T._eval$1("0()");
  63649. }
  63650. };
  63651. A.StylesheetParser__statement_closure.prototype = {
  63652. call$0() {
  63653. return this.$this._statement$0();
  63654. },
  63655. $signature: 125
  63656. };
  63657. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63658. call$0() {
  63659. return this.$this.spanFrom$1(this.start);
  63660. },
  63661. $signature: 22
  63662. };
  63663. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63664. call$0() {
  63665. return this.declaration.span;
  63666. },
  63667. $signature: 22
  63668. };
  63669. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63670. call$0() {
  63671. return this.$this.whitespace$1$consumeNewlines(false);
  63672. },
  63673. $signature: 0
  63674. };
  63675. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63676. call$0() {
  63677. return this.$this.whitespace$1$consumeNewlines(false);
  63678. },
  63679. $signature: 0
  63680. };
  63681. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63682. call$1($name) {
  63683. return A.equalsIgnoreCase($name, "result");
  63684. },
  63685. $signature: 5
  63686. };
  63687. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  63688. call$0() {
  63689. return this.$this.whitespace$1$consumeNewlines(false);
  63690. },
  63691. $signature: 0
  63692. };
  63693. A.StylesheetParser__styleRule_closure.prototype = {
  63694. call$2(children, span) {
  63695. return A.StyleRule$(this._box_0.interpolation, children, this.$this.spanFrom$1(this.start));
  63696. },
  63697. $signature: 486
  63698. };
  63699. A.StylesheetParser__withStyleRuleChildren_closure.prototype = {
  63700. call$2(children, span) {
  63701. var t2, _this = this,
  63702. t1 = _this.$this;
  63703. if (t1.get$indented() && children.length === 0) {
  63704. t2 = _this.nodeWithSpan;
  63705. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, t2.get$span(t2)));
  63706. }
  63707. t1._inStyleRule = _this.wasInStyleRule;
  63708. return _this.create.call$2(children, span);
  63709. },
  63710. $signature() {
  63711. return this.T._eval$1("0(List<Statement>,FileSpan)");
  63712. }
  63713. };
  63714. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63715. call$0() {
  63716. return this.$this.whitespace$1$consumeNewlines(false);
  63717. },
  63718. $signature: 0
  63719. };
  63720. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63721. call$2(children, span) {
  63722. return A.Declaration$nested(this.name, children, span, this.value);
  63723. },
  63724. $signature: 485
  63725. };
  63726. A.StylesheetParser__atRootRule_closure.prototype = {
  63727. call$2(children, span) {
  63728. return A.AtRootRule$(children, span, this.query);
  63729. },
  63730. $signature: 159
  63731. };
  63732. A.StylesheetParser__atRootRule_closure0.prototype = {
  63733. call$2(children, span) {
  63734. return A.AtRootRule$(children, span, null);
  63735. },
  63736. $signature: 159
  63737. };
  63738. A.StylesheetParser__eachRule_closure.prototype = {
  63739. call$2(children, span) {
  63740. var _this = this;
  63741. _this.$this._inControlDirective = _this.wasInControlDirective;
  63742. return A.EachRule$(_this.variables, _this.list, children, span);
  63743. },
  63744. $signature: 479
  63745. };
  63746. A.StylesheetParser__functionRule_closure.prototype = {
  63747. call$2(children, span) {
  63748. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63749. },
  63750. $signature: 466
  63751. };
  63752. A.StylesheetParser__forRule_closure.prototype = {
  63753. call$0() {
  63754. var t1 = this.$this;
  63755. if (!t1.lookingAtIdentifier$0())
  63756. return false;
  63757. if (t1.scanIdentifier$1("to"))
  63758. return this._box_0.exclusive = true;
  63759. else if (t1.scanIdentifier$1("through")) {
  63760. this._box_0.exclusive = false;
  63761. return true;
  63762. } else
  63763. return false;
  63764. },
  63765. $signature: 19
  63766. };
  63767. A.StylesheetParser__forRule_closure0.prototype = {
  63768. call$2(children, span) {
  63769. var t1, _this = this;
  63770. _this.$this._inControlDirective = _this.wasInControlDirective;
  63771. t1 = _this._box_0.exclusive;
  63772. t1.toString;
  63773. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63774. },
  63775. $signature: 461
  63776. };
  63777. A.StylesheetParser__memberList_closure.prototype = {
  63778. call$0() {
  63779. var t1 = this.$this;
  63780. if (t1.scanner.peekChar$0() === 36)
  63781. this.variables.add$1(0, t1.variableName$0());
  63782. else
  63783. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63784. },
  63785. $signature: 1
  63786. };
  63787. A.StylesheetParser__includeRule_closure.prototype = {
  63788. call$2(children, span) {
  63789. return A.ContentBlock$(this.contentParameters_, children, span);
  63790. },
  63791. $signature: 457
  63792. };
  63793. A.StylesheetParser_mediaRule_closure.prototype = {
  63794. call$2(children, span) {
  63795. return A.MediaRule$(this.query, children, span);
  63796. },
  63797. $signature: 455
  63798. };
  63799. A.StylesheetParser__mixinRule_closure.prototype = {
  63800. call$2(children, span) {
  63801. var _this = this;
  63802. _this.$this._stylesheet$_inMixin = false;
  63803. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63804. },
  63805. $signature: 454
  63806. };
  63807. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63808. call$0() {
  63809. return this.$this.whitespace$1$consumeNewlines(false);
  63810. },
  63811. $signature: 0
  63812. };
  63813. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63814. call$2(children, span) {
  63815. var _this = this;
  63816. if (_this._box_0.needsDeprecationWarning)
  63817. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_PmQ, string$.x40_moz_, span));
  63818. return A.AtRule$(_this.name, span, children, _this.value);
  63819. },
  63820. $signature: 160
  63821. };
  63822. A.StylesheetParser_supportsRule_closure.prototype = {
  63823. call$2(children, span) {
  63824. return A.SupportsRule$(this.condition, children, span);
  63825. },
  63826. $signature: 449
  63827. };
  63828. A.StylesheetParser__whileRule_closure.prototype = {
  63829. call$2(children, span) {
  63830. this.$this._inControlDirective = this.wasInControlDirective;
  63831. return A.WhileRule$(this.condition, children, span);
  63832. },
  63833. $signature: 445
  63834. };
  63835. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63836. call$2(children, span) {
  63837. return A.AtRule$(this.name, span, children, this._box_0.value);
  63838. },
  63839. $signature: 160
  63840. };
  63841. A.StylesheetParser__expression_resetState.prototype = {
  63842. call$0() {
  63843. var t2,
  63844. t1 = this._box_0;
  63845. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63846. t2 = this.$this;
  63847. t2.scanner.set$state(this.start);
  63848. t1.allowSlash = true;
  63849. t1.singleExpression_ = t2._singleExpression$0();
  63850. },
  63851. $signature: 0
  63852. };
  63853. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63854. call$0() {
  63855. var t2, t3, t4, t5, t6, t7, _this = this,
  63856. t1 = _this._box_0,
  63857. operator = t1.operators_.pop(),
  63858. left = t1.operands_.pop(),
  63859. right = t1.singleExpression_;
  63860. if (right == null) {
  63861. t2 = _this.$this.scanner;
  63862. t3 = operator.operator.length;
  63863. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63864. }
  63865. if (t1.allowSlash) {
  63866. t2 = _this.$this;
  63867. t2 = !t2._inParentheses && operator === B.BinaryOperator_ehp && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63868. } else
  63869. t2 = false;
  63870. if (t2)
  63871. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_ehp, left, right, true);
  63872. else {
  63873. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63874. t2 = t1.allowSlash = false;
  63875. if (B.BinaryOperator_jCK === operator || B.BinaryOperator_tDf === operator) {
  63876. t3 = _this.$this;
  63877. t4 = t3.scanner.string;
  63878. t5 = right.get$span(right);
  63879. t5 = t5.get$start(t5);
  63880. t6 = right.get$span(right);
  63881. t7 = operator.operator;
  63882. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63883. t2 = left.get$span(left);
  63884. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63885. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63886. }
  63887. if (t2) {
  63888. t2 = left.toString$0(0);
  63889. t4 = right.toString$0(0);
  63890. t5 = left.toString$0(0);
  63891. t6 = right.toString$0(0);
  63892. t1 = t1.singleExpression_;
  63893. t3.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_K9u, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, t1.get$span(t1)));
  63894. }
  63895. }
  63896. }
  63897. },
  63898. $signature: 0
  63899. };
  63900. A.StylesheetParser__expression_resolveOperations.prototype = {
  63901. call$0() {
  63902. var t1,
  63903. operators = this._box_0.operators_;
  63904. if (operators == null)
  63905. return;
  63906. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63907. t1.call$0();
  63908. },
  63909. $signature: 0
  63910. };
  63911. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63912. call$1(expression) {
  63913. var t2, spaceExpressions, _this = this,
  63914. t1 = _this._box_0;
  63915. if (t1.singleExpression_ != null) {
  63916. t2 = _this.$this;
  63917. if (t2._inParentheses) {
  63918. t2._inParentheses = false;
  63919. if (t1.allowSlash) {
  63920. _this.resetState.call$0();
  63921. return;
  63922. }
  63923. }
  63924. spaceExpressions = t1.spaceExpressions_;
  63925. if (spaceExpressions == null)
  63926. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63927. _this.resolveOperations.call$0();
  63928. t2 = t1.singleExpression_;
  63929. t2.toString;
  63930. spaceExpressions.push(t2);
  63931. t1.allowSlash = true;
  63932. }
  63933. t1.singleExpression_ = expression;
  63934. },
  63935. $signature: 442
  63936. };
  63937. A.StylesheetParser__expression_addOperator.prototype = {
  63938. call$1(operator) {
  63939. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  63940. t1 = _this.$this;
  63941. if (t1.get$plainCss() && operator !== B.BinaryOperator_g6F && operator !== B.BinaryOperator_jCK && operator !== B.BinaryOperator_tDf && operator !== B.BinaryOperator_wkM && operator !== B.BinaryOperator_ehp) {
  63942. t2 = t1.scanner;
  63943. t3 = operator.operator.length;
  63944. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63945. }
  63946. t2 = _this._box_0;
  63947. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_ehp;
  63948. operators = t2.operators_;
  63949. if (operators == null)
  63950. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63951. operands = t2.operands_;
  63952. if (operands == null)
  63953. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63954. t3 = _this.resolveOneOperation;
  63955. t4 = operator.precedence;
  63956. for (;;) {
  63957. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63958. break;
  63959. t3.call$0();
  63960. }
  63961. singleExpression = t2.singleExpression_;
  63962. if (singleExpression == null) {
  63963. t3 = t1.scanner;
  63964. t4 = operator.operator.length;
  63965. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63966. }
  63967. t1.whitespace$1$consumeNewlines(true);
  63968. if (operator === B.BinaryOperator_bgA && !t1._lookingAtExpression$0()) {
  63969. t1 = t1.spanFromPosition$1(t1.scanner._string_scanner$_position - 1);
  63970. _this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  63971. } else {
  63972. operators.push(operator);
  63973. operands.push(singleExpression);
  63974. t2.singleExpression_ = t1._singleExpression$0();
  63975. }
  63976. },
  63977. $signature: 441
  63978. };
  63979. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63980. call$0() {
  63981. var t1, spaceExpressions, singleExpression, t2;
  63982. this.resolveOperations.call$0();
  63983. t1 = this._box_0;
  63984. spaceExpressions = t1.spaceExpressions_;
  63985. if (spaceExpressions == null)
  63986. return;
  63987. singleExpression = t1.singleExpression_;
  63988. if (singleExpression == null)
  63989. this.$this.scanner.error$1(0, "Expected expression.");
  63990. spaceExpressions.push(singleExpression);
  63991. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63992. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63993. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_SrV, false, t2);
  63994. t1.spaceExpressions_ = null;
  63995. },
  63996. $signature: 0
  63997. };
  63998. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63999. call$0() {
  64000. return this.$this.scanner.peekChar$0() === 44;
  64001. },
  64002. $signature: 19
  64003. };
  64004. A.StylesheetParser__isHexColor_closure.prototype = {
  64005. call$1(char) {
  64006. return A.CharacterExtension_get_isHex(char);
  64007. },
  64008. $signature: 50
  64009. };
  64010. A.StylesheetParser__unicodeRange_closure.prototype = {
  64011. call$1(char) {
  64012. return char != null && A.CharacterExtension_get_isHex(char);
  64013. },
  64014. $signature: 32
  64015. };
  64016. A.StylesheetParser__unicodeRange_closure0.prototype = {
  64017. call$1(char) {
  64018. return char != null && A.CharacterExtension_get_isHex(char);
  64019. },
  64020. $signature: 32
  64021. };
  64022. A.StylesheetParser_interpolatedStringToken_closure.prototype = {
  64023. call$0() {
  64024. return A.consumeEscapedCharacter(this.$this.scanner);
  64025. },
  64026. $signature: 0
  64027. };
  64028. A.StylesheetParser_namespacedExpression_closure.prototype = {
  64029. call$0() {
  64030. return this.$this.spanFrom$1(this.start);
  64031. },
  64032. $signature: 22
  64033. };
  64034. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  64035. call$1(contents) {
  64036. return new A.StringExpression(contents, false);
  64037. },
  64038. $signature: 438
  64039. };
  64040. A.StylesheetParser__interpolatedDeclarationValue_closure.prototype = {
  64041. call$0() {
  64042. return this.$this.scanIdentifier$2$caseSensitive("of", false);
  64043. },
  64044. $signature: 0
  64045. };
  64046. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  64047. call$0() {
  64048. var t1 = this.$this.scanner,
  64049. _0_0 = t1.peekChar$0();
  64050. $label0$0: {
  64051. if (61 === _0_0) {
  64052. t1 = t1.peekChar$1(1) !== 61;
  64053. break $label0$0;
  64054. }
  64055. if (60 === _0_0 || 62 === _0_0) {
  64056. t1 = true;
  64057. break $label0$0;
  64058. }
  64059. t1 = false;
  64060. break $label0$0;
  64061. }
  64062. return t1;
  64063. },
  64064. $signature: 19
  64065. };
  64066. A.StylesheetParser__publicIdentifier_closure.prototype = {
  64067. call$0() {
  64068. return this.$this.spanFrom$1(this.start);
  64069. },
  64070. $signature: 22
  64071. };
  64072. A.StylesheetGraph.prototype = {
  64073. modifiedSince$3(url, since, baseImporter) {
  64074. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  64075. if (node == null)
  64076. return true;
  64077. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  64078. },
  64079. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  64080. var importer, canonicalUrl, _this = this,
  64081. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  64082. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  64083. importer = result._0;
  64084. canonicalUrl = result._1;
  64085. _this.addCanonical$3(importer, canonicalUrl, result._2);
  64086. return _this._nodes.$index(0, canonicalUrl);
  64087. } else
  64088. return null;
  64089. },
  64090. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  64091. var stylesheet, _this = this,
  64092. t1 = _this._nodes;
  64093. if (t1.$index(0, canonicalUrl) != null)
  64094. return B.Set_empty4;
  64095. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  64096. if (stylesheet == null)
  64097. return B.Set_empty4;
  64098. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  64099. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty4;
  64100. },
  64101. addCanonical$3(importer, canonicalUrl, originalUrl) {
  64102. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  64103. },
  64104. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  64105. var t6, t7, t8,
  64106. t1 = type$.Uri,
  64107. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  64108. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  64109. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  64110. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  64111. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  64112. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  64113. t6 = type$.UnmodifiableSetView_Uri;
  64114. t7 = type$.nullable_StylesheetNode;
  64115. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  64116. for (t2 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([new A.UnmodifiableSetView0(t2, t6), new A.UnmodifiableSetView0(t3, t6), new A.UnmodifiableSetView0(t4, t6)], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  64117. t3 = t2.get$current(t2);
  64118. t8.$indexSet(0, t3, this._nodeFor$4(t3, baseImporter, baseUrl, active));
  64119. }
  64120. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  64121. for (t2 = t5.get$iterator(0); t2.moveNext$0();) {
  64122. t3 = t2.get$current(0);
  64123. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  64124. }
  64125. return new A._Record_2_imports_modules(t1, t8);
  64126. },
  64127. reload$1(canonicalUrl) {
  64128. var stylesheet, upstream, _this = this,
  64129. node = _this._nodes.$index(0, canonicalUrl);
  64130. if (node == null)
  64131. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  64132. _this._transitiveModificationTimes.clear$0(0);
  64133. _this.importCache.clearImport$1(canonicalUrl);
  64134. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  64135. if (stylesheet == null)
  64136. return false;
  64137. node._stylesheet = stylesheet;
  64138. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  64139. node._replaceUpstream$2(upstream._1, upstream._0);
  64140. return true;
  64141. },
  64142. reloadAllModified$0() {
  64143. var node, modified, loadTime, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this,
  64144. t1 = _this._nodes;
  64145. t1 = A.List_List$_of(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), type$.StylesheetNode);
  64146. t2 = t1.length;
  64147. t3 = _this.importCache._loadTimes;
  64148. _i = 0;
  64149. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  64150. node = t1[_i];
  64151. modified = false;
  64152. try {
  64153. loadTime = t3.$index(0, node.canonicalUrl);
  64154. if (loadTime != null) {
  64155. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  64156. t5 = loadTime;
  64157. t6 = t4._value;
  64158. t7 = t5._value;
  64159. if (t6 <= t7) {
  64160. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  64161. modified0 = t4;
  64162. } else
  64163. modified0 = true;
  64164. } else
  64165. modified0 = false;
  64166. modified = modified0;
  64167. } catch (exception) {
  64168. if (A.unwrapException(exception) instanceof A.FileSystemException)
  64169. modified = true;
  64170. else
  64171. throw exception;
  64172. }
  64173. if (modified)
  64174. if (!_this.reload$1(node.canonicalUrl))
  64175. _this.remove$2(0, node.importer, node.canonicalUrl);
  64176. }
  64177. },
  64178. remove$2(_, importer, canonicalUrl) {
  64179. var toRecompile, _this = this,
  64180. node = _this._nodes.remove$1(0, canonicalUrl),
  64181. t1 = node != null;
  64182. if (t1) {
  64183. _this._transitiveModificationTimes.clear$0(0);
  64184. _this.importCache.clearImport$1(canonicalUrl);
  64185. node._stylesheet_graph$_remove$0();
  64186. }
  64187. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  64188. if (t1)
  64189. toRecompile.addAll$1(0, node._downstream);
  64190. return toRecompile;
  64191. },
  64192. _recanonicalizeImports$2(importer, canonicalUrl) {
  64193. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  64194. _this.importCache.clearCanonicalize$1(canonicalUrl);
  64195. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  64196. for (t1 = _this._nodes.get$values(0).get$iterator(0), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
  64197. t5 = t1.get$current(0);
  64198. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  64199. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  64200. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  64201. changed.add$1(0, t5);
  64202. t5._replaceUpstream$2(A.mergeMaps(new A.UnmodifiableMapView(t5._upstream, t2), newUpstream, t3, t4), A.mergeMaps(new A.UnmodifiableMapView(t5._upstreamImports, t2), newUpstreamImports, t3, t4));
  64203. }
  64204. }
  64205. if (changed._collection$_length !== 0)
  64206. _this._transitiveModificationTimes.clear$0(0);
  64207. return changed;
  64208. },
  64209. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  64210. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  64211. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  64212. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  64213. t1 = type$.Uri;
  64214. t2 = type$.nullable_StylesheetNode;
  64215. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  64216. for (t1 = A.MapExtensions_get_pairs(map, t1, t2), t1 = t1.get$iterator(t1), t2 = this._nodes, t3 = this.importCache, t4 = node.importer, t5 = node.canonicalUrl; t1.moveNext$0();) {
  64217. t6 = t1.get$current(t1);
  64218. url = null;
  64219. url = t6._0;
  64220. upstream = t6._1;
  64221. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  64222. continue;
  64223. result = null;
  64224. try {
  64225. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  64226. } catch (exception) {
  64227. }
  64228. t6 = result;
  64229. newCanonicalUrl = t6 == null ? null : t6._1;
  64230. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  64231. continue;
  64232. t6 = url;
  64233. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  64234. }
  64235. return newMap;
  64236. },
  64237. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  64238. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  64239. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  64240. if (result == null)
  64241. return null;
  64242. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  64243. t1.importer = result._0;
  64244. canonicalUrl = t1.canonicalUrl = result._1;
  64245. t1.originalUrl = result._2;
  64246. t2 = _this._nodes;
  64247. _1_0 = t2.$index(0, canonicalUrl);
  64248. if (_1_0 != null)
  64249. return _1_0;
  64250. if (active.contains$1(0, canonicalUrl))
  64251. return null;
  64252. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  64253. if (stylesheet == null)
  64254. return null;
  64255. active.add$1(0, t1.canonicalUrl);
  64256. t3 = t1.importer;
  64257. t4 = t1.canonicalUrl;
  64258. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  64259. active.remove$1(0, t1.canonicalUrl);
  64260. t2.$indexSet(0, t1.canonicalUrl, node);
  64261. return node;
  64262. },
  64263. _nodeFor$4(url, baseImporter, baseUrl, active) {
  64264. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  64265. },
  64266. _ignoreErrors$1$1(callback) {
  64267. var t1, exception;
  64268. try {
  64269. t1 = callback.call$0();
  64270. return t1;
  64271. } catch (exception) {
  64272. return null;
  64273. }
  64274. },
  64275. _ignoreErrors$1(callback) {
  64276. return this._ignoreErrors$1$1(callback, type$.dynamic);
  64277. }
  64278. };
  64279. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  64280. call$1(node) {
  64281. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  64282. },
  64283. $signature: 437
  64284. };
  64285. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  64286. call$0() {
  64287. var t2, t3, upstreamTime, t4,
  64288. t1 = this.node,
  64289. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  64290. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  64291. t3 = t1.get$current(0);
  64292. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  64293. t3 = upstreamTime._value;
  64294. t4 = latest._value;
  64295. if (t3 <= t4)
  64296. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  64297. else
  64298. t3 = true;
  64299. if (t3)
  64300. latest = upstreamTime;
  64301. }
  64302. return latest;
  64303. },
  64304. $signature: 153
  64305. };
  64306. A.StylesheetGraph__add_closure.prototype = {
  64307. call$0() {
  64308. var _this = this;
  64309. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  64310. },
  64311. $signature: 128
  64312. };
  64313. A.StylesheetGraph_addCanonical_closure.prototype = {
  64314. call$0() {
  64315. var _this = this;
  64316. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  64317. },
  64318. $signature: 84
  64319. };
  64320. A.StylesheetGraph_reload_closure.prototype = {
  64321. call$0() {
  64322. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  64323. },
  64324. $signature: 84
  64325. };
  64326. A.StylesheetGraph__nodeFor_closure.prototype = {
  64327. call$0() {
  64328. var _this = this;
  64329. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  64330. },
  64331. $signature: 128
  64332. };
  64333. A.StylesheetGraph__nodeFor_closure0.prototype = {
  64334. call$0() {
  64335. var t1 = this._box_0;
  64336. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  64337. },
  64338. $signature: 84
  64339. };
  64340. A.StylesheetNode.prototype = {
  64341. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  64342. var t1, t2;
  64343. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  64344. t2 = t1.get$current(0);
  64345. if (t2 != null)
  64346. t2._downstream.add$1(0, this);
  64347. }
  64348. },
  64349. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  64350. var t3, oldUpstream, newUpstreamSet, _this = this,
  64351. t1 = type$.nullable_StylesheetNode,
  64352. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  64353. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  64354. t3 = type$.StylesheetNode;
  64355. oldUpstream = A.SetExtension_removeNull(t2, t3);
  64356. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  64357. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  64358. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  64359. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  64360. t1.get$current(t1)._downstream.remove$1(0, _this);
  64361. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  64362. t1.get$current(t1)._downstream.add$1(0, _this);
  64363. _this._upstream = newUpstream;
  64364. _this._upstreamImports = newUpstreamImports;
  64365. },
  64366. _stylesheet_graph$_remove$0() {
  64367. var t1, t2, t3, t4, _i, url, _this = this;
  64368. for (t1 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), type$.nullable_StylesheetNode), t1.addAll$1(0, _this._upstreamImports.get$values(0)), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  64369. t3 = t1._collection$_current;
  64370. if (t3 == null)
  64371. t3 = t2._as(t3);
  64372. if (t3 == null)
  64373. continue;
  64374. t3._downstream.remove$1(0, _this);
  64375. }
  64376. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  64377. t2 = t1.get$current(0);
  64378. t3 = t2._upstream;
  64379. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  64380. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  64381. t4 = t3.length;
  64382. _i = 0;
  64383. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  64384. url = t3[_i];
  64385. if (t2._upstream.$index(0, url) === _this) {
  64386. t2._upstream.$indexSet(0, url, null);
  64387. break;
  64388. }
  64389. }
  64390. t3 = t2._upstreamImports;
  64391. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  64392. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  64393. t4 = t3.length;
  64394. _i = 0;
  64395. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  64396. url = t3[_i];
  64397. if (t2._upstreamImports.$index(0, url) === _this) {
  64398. t2._upstreamImports.$indexSet(0, url, null);
  64399. break;
  64400. }
  64401. }
  64402. }
  64403. },
  64404. toString$0(_) {
  64405. var t1 = this._stylesheet.span;
  64406. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  64407. return t1 == null ? "<unknown>" : t1;
  64408. }
  64409. };
  64410. A.Syntax.prototype = {
  64411. _enumToString$0() {
  64412. return "Syntax." + this._name;
  64413. },
  64414. toString$0(_) {
  64415. return this._syntax$_name;
  64416. }
  64417. };
  64418. A.Box.prototype = {
  64419. $eq(_, other) {
  64420. if (other == null)
  64421. return false;
  64422. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  64423. },
  64424. get$hashCode(_) {
  64425. return A.Primitives_objectHashCode(this._box$_inner);
  64426. },
  64427. toString$0(_) {
  64428. return "<box: " + this._box$_inner.value.toString$0(0) + ">";
  64429. }
  64430. };
  64431. A.ModifiableBox.prototype = {
  64432. toString$0(_) {
  64433. return "<modifiable box: " + this.value.toString$0(0) + ">";
  64434. }
  64435. };
  64436. A.LazyFileSpan.prototype = {
  64437. get$span(_) {
  64438. var t1 = this._lazy_file_span$_span;
  64439. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  64440. },
  64441. compareTo$1(_, other) {
  64442. return this.get$span(0).compareTo$1(0, other);
  64443. },
  64444. get$context(_) {
  64445. var t1 = this.get$span(0);
  64446. return t1.get$context(t1);
  64447. },
  64448. get$end(_) {
  64449. var t1 = this.get$span(0);
  64450. return t1.get$end(t1);
  64451. },
  64452. expand$1(_, other) {
  64453. return this.get$span(0).expand$1(0, other);
  64454. },
  64455. get$file(_) {
  64456. var t1 = this.get$span(0);
  64457. return t1.get$file(t1);
  64458. },
  64459. highlight$1$color(color) {
  64460. return this.get$span(0).highlight$1$color(color);
  64461. },
  64462. get$length(_) {
  64463. var t1 = this.get$span(0);
  64464. return t1.get$length(t1);
  64465. },
  64466. message$2$color(_, message, color) {
  64467. return this.get$span(0).message$2$color(0, message, color);
  64468. },
  64469. message$1(_, message) {
  64470. return this.message$2$color(0, message, null);
  64471. },
  64472. get$sourceUrl(_) {
  64473. var t1 = this.get$span(0);
  64474. return t1.get$sourceUrl(t1);
  64475. },
  64476. get$start(_) {
  64477. var t1 = this.get$span(0);
  64478. return t1.get$start(t1);
  64479. },
  64480. get$text() {
  64481. return this.get$span(0).get$text();
  64482. },
  64483. $isComparable: 1,
  64484. $isFileSpan: 1,
  64485. $isSourceSpan: 1,
  64486. $isSourceSpanWithContext: 1
  64487. };
  64488. A.LimitedMapView.prototype = {
  64489. get$keys(_) {
  64490. return this._limited_map_view$_keys;
  64491. },
  64492. get$length(_) {
  64493. return this._limited_map_view$_keys._collection$_length;
  64494. },
  64495. get$isEmpty(_) {
  64496. return this._limited_map_view$_keys._collection$_length === 0;
  64497. },
  64498. get$isNotEmpty(_) {
  64499. return this._limited_map_view$_keys._collection$_length !== 0;
  64500. },
  64501. $index(_, key) {
  64502. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  64503. },
  64504. containsKey$1(key) {
  64505. return this._limited_map_view$_keys.contains$1(0, key);
  64506. },
  64507. remove$1(_, key) {
  64508. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  64509. }
  64510. };
  64511. A.MapExtensions_get_pairs_closure.prototype = {
  64512. call$1(e) {
  64513. return new A._Record_2(e.key, e.value);
  64514. },
  64515. $signature() {
  64516. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  64517. }
  64518. };
  64519. A.MergedMapView.prototype = {
  64520. get$keys(_) {
  64521. var t1 = this._mapsByKey;
  64522. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  64523. },
  64524. get$length(_) {
  64525. return this._mapsByKey.__js_helper$_length;
  64526. },
  64527. get$isEmpty(_) {
  64528. return this._mapsByKey.__js_helper$_length === 0;
  64529. },
  64530. get$isNotEmpty(_) {
  64531. return this._mapsByKey.__js_helper$_length !== 0;
  64532. },
  64533. MergedMapView$1(maps, $K, $V) {
  64534. var t1, t2, _i, map, t3, t4;
  64535. for (t1 = maps.length, t2 = this._mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  64536. map = maps[_i];
  64537. if (map instanceof A.MergedMapView)
  64538. for (t3 = map._mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  64539. t4 = t3.__js_helper$_current;
  64540. A.setAll(t2, t4.get$keys(t4), t4);
  64541. }
  64542. else
  64543. A.setAll(t2, map.get$keys(map), map);
  64544. }
  64545. },
  64546. $index(_, key) {
  64547. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  64548. return t1 == null ? null : t1.$index(0, key);
  64549. },
  64550. $indexSet(_, key, value) {
  64551. var _0_0 = this._mapsByKey.$index(0, key);
  64552. if (_0_0 != null)
  64553. _0_0.$indexSet(0, key, value);
  64554. else
  64555. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  64556. },
  64557. remove$1(_, key) {
  64558. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  64559. },
  64560. containsKey$1(key) {
  64561. return this._mapsByKey.containsKey$1(key);
  64562. }
  64563. };
  64564. A.MultiDirWatcher.prototype = {
  64565. watch$1(_, directory) {
  64566. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, stream, completer;
  64567. for (t1 = this._watchers, t2 = A.MapExtensions_get_pairs(t1, type$.nullable_String, type$.Stream_WatchEvent).toList$0(0), t3 = t2.length, t1 = t1._map, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  64568. t5 = t2[_i];
  64569. _0_1 = t5._0;
  64570. _0_1.toString;
  64571. if (!isParentOfExistingDir) {
  64572. t6 = $.$get$context();
  64573. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  64574. } else
  64575. t6 = false;
  64576. if (t6) {
  64577. t1 = new A._Future($.Zone__current, type$._Future_void);
  64578. t1._asyncComplete$1(null);
  64579. return t1;
  64580. }
  64581. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  64582. t1.remove$1(0, _0_1);
  64583. t4.remove$1(0, t5._1);
  64584. isParentOfExistingDir = true;
  64585. }
  64586. }
  64587. future = A.watchDir(directory, this._poll);
  64588. stream = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  64589. completer = new A.StreamCompleter(stream, type$.StreamCompleter_WatchEvent);
  64590. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  64591. t1.$indexSet(0, directory, stream);
  64592. t4.add$1(0, stream);
  64593. return future;
  64594. }
  64595. };
  64596. A.MultiSpan.prototype = {
  64597. get$start(_) {
  64598. var t1 = this._multi_span$_primary;
  64599. return t1.get$start(t1);
  64600. },
  64601. get$end(_) {
  64602. var t1 = this._multi_span$_primary;
  64603. return t1.get$end(t1);
  64604. },
  64605. get$text() {
  64606. return this._multi_span$_primary.get$text();
  64607. },
  64608. get$context(_) {
  64609. var t1 = this._multi_span$_primary;
  64610. return t1.get$context(t1);
  64611. },
  64612. get$file(_) {
  64613. var t1 = this._multi_span$_primary;
  64614. return t1.get$file(t1);
  64615. },
  64616. get$length(_) {
  64617. var t1 = this._multi_span$_primary;
  64618. return t1.get$length(t1);
  64619. },
  64620. get$sourceUrl(_) {
  64621. var t1 = this._multi_span$_primary;
  64622. return t1.get$sourceUrl(t1);
  64623. },
  64624. compareTo$1(_, other) {
  64625. return this._multi_span$_primary.compareTo$1(0, other);
  64626. },
  64627. toString$0(_) {
  64628. return this._multi_span$_primary.toString$0(0);
  64629. },
  64630. expand$1(_, other) {
  64631. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64632. },
  64633. highlight$1$color(color) {
  64634. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64635. },
  64636. message$2$color(_, message, color) {
  64637. var t1 = J.$eq$(color, true) || typeof color == "string",
  64638. t2 = typeof color == "string" ? color : null;
  64639. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64640. },
  64641. message$1(_, message) {
  64642. return this.message$2$color(0, message, null);
  64643. },
  64644. $isComparable: 1,
  64645. $isFileSpan: 1,
  64646. $isSourceSpan: 1,
  64647. $isSourceSpanWithContext: 1
  64648. };
  64649. A.NoSourceMapBuffer.prototype = {
  64650. get$length(_) {
  64651. return this._no_source_map_buffer$_buffer._contents.length;
  64652. },
  64653. forSpan$1$2(span, callback) {
  64654. return callback.call$0();
  64655. },
  64656. forSpan$2(span, callback) {
  64657. return this.forSpan$1$2(span, callback, type$.dynamic);
  64658. },
  64659. write$1(_, object) {
  64660. var t1 = this._no_source_map_buffer$_buffer,
  64661. t2 = A.S(object);
  64662. t1._contents += t2;
  64663. return null;
  64664. },
  64665. writeCharCode$1(charCode) {
  64666. var t1 = this._no_source_map_buffer$_buffer,
  64667. t2 = A.Primitives_stringFromCharCode(charCode);
  64668. t1._contents += t2;
  64669. return null;
  64670. },
  64671. toString$0(_) {
  64672. var t1 = this._no_source_map_buffer$_buffer._contents;
  64673. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64674. },
  64675. buildSourceMap$1$prefix(prefix) {
  64676. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64677. }
  64678. };
  64679. A.PrefixedMapView.prototype = {
  64680. get$keys(_) {
  64681. return new A._PrefixedKeys(this);
  64682. },
  64683. get$length(_) {
  64684. var t1 = this._prefixed_map_view$_map;
  64685. return t1.get$length(t1);
  64686. },
  64687. get$isEmpty(_) {
  64688. var t1 = this._prefixed_map_view$_map;
  64689. return t1.get$isEmpty(t1);
  64690. },
  64691. get$isNotEmpty(_) {
  64692. var t1 = this._prefixed_map_view$_map;
  64693. return t1.get$isNotEmpty(t1);
  64694. },
  64695. $index(_, key) {
  64696. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, B.JSString_methods.substring$1(key, this._prefix.length)) : null;
  64697. },
  64698. containsKey$1(key) {
  64699. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(B.JSString_methods.substring$1(key, this._prefix.length));
  64700. }
  64701. };
  64702. A._PrefixedKeys.prototype = {
  64703. get$length(_) {
  64704. var t1 = this._view._prefixed_map_view$_map;
  64705. return t1.get$length(t1);
  64706. },
  64707. get$iterator(_) {
  64708. var t1 = this._view._prefixed_map_view$_map;
  64709. t1 = t1.get$keys(t1);
  64710. t1 = t1.map$1$1(t1, new A._PrefixedKeys_iterator_closure(this), type$.String);
  64711. return t1.get$iterator(t1);
  64712. },
  64713. contains$1(_, key) {
  64714. return this._view.containsKey$1(key);
  64715. }
  64716. };
  64717. A._PrefixedKeys_iterator_closure.prototype = {
  64718. call$1(key) {
  64719. return this.$this._view._prefix + key;
  64720. },
  64721. $signature: 6
  64722. };
  64723. A.PublicMemberMapView.prototype = {
  64724. get$keys(_) {
  64725. var t1 = this._public_member_map_view$_inner;
  64726. t1 = t1.get$keys(t1);
  64727. return t1.where$1(t1, A.utils__isPublic$closure());
  64728. },
  64729. containsKey$1(key) {
  64730. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64731. },
  64732. $index(_, key) {
  64733. if (typeof key == "string" && A.isPublic(key))
  64734. return this._public_member_map_view$_inner.$index(0, key);
  64735. return null;
  64736. }
  64737. };
  64738. A.SourceMapBuffer.prototype = {
  64739. get$_targetLocation() {
  64740. var t1 = this._source_map_buffer$_buffer._contents,
  64741. t2 = this._line;
  64742. return A.SourceLocation$(t1.length, this._column, t2, null);
  64743. },
  64744. get$length(_) {
  64745. return this._source_map_buffer$_buffer._contents.length;
  64746. },
  64747. forSpan$1$2(span, callback) {
  64748. var t1, _this = this,
  64749. wasInSpan = _this._inSpan;
  64750. _this._inSpan = true;
  64751. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64752. try {
  64753. t1 = callback.call$0();
  64754. return t1;
  64755. } finally {
  64756. _this._inSpan = wasInSpan;
  64757. }
  64758. },
  64759. forSpan$2(span, callback) {
  64760. return this.forSpan$1$2(span, callback, type$.dynamic);
  64761. },
  64762. _addEntry$2(source, target) {
  64763. var entry, t2,
  64764. t1 = this._entries;
  64765. if (t1.length !== 0) {
  64766. entry = B.JSArray_methods.get$last(t1);
  64767. t2 = entry.source;
  64768. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64769. return;
  64770. if (entry.target.offset === target.offset)
  64771. return;
  64772. }
  64773. t1.push(new A.Entry(source, target, null));
  64774. },
  64775. write$1(_, object) {
  64776. var t1, i,
  64777. string = J.toString$0$(object);
  64778. this._source_map_buffer$_buffer._contents += string;
  64779. for (t1 = string.length, i = 0; i < t1; ++i)
  64780. if (string.charCodeAt(i) === 10)
  64781. this._source_map_buffer$_writeLine$0();
  64782. else
  64783. ++this._column;
  64784. },
  64785. writeCharCode$1(charCode) {
  64786. var t1 = this._source_map_buffer$_buffer,
  64787. t2 = A.Primitives_stringFromCharCode(charCode);
  64788. t1._contents += t2;
  64789. if (charCode === 10)
  64790. this._source_map_buffer$_writeLine$0();
  64791. else
  64792. ++this._column;
  64793. },
  64794. _source_map_buffer$_writeLine$0() {
  64795. var _this = this,
  64796. t1 = _this._entries;
  64797. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64798. t1.pop();
  64799. ++_this._line;
  64800. _this._column = 0;
  64801. if (_this._inSpan)
  64802. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64803. },
  64804. toString$0(_) {
  64805. var t1 = this._source_map_buffer$_buffer._contents;
  64806. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64807. },
  64808. buildSourceMap$1$prefix(prefix) {
  64809. var i, t2, prefixColumn, _box_0 = {},
  64810. t1 = prefix.length;
  64811. if (t1 === 0)
  64812. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64813. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64814. for (i = 0, t2 = 0; i < t1; ++i)
  64815. if (prefix.charCodeAt(i) === 10) {
  64816. ++_box_0.prefixLines;
  64817. _box_0.prefixColumn = 0;
  64818. t2 = 0;
  64819. } else {
  64820. prefixColumn = t2 + 1;
  64821. _box_0.prefixColumn = prefixColumn;
  64822. t2 = prefixColumn;
  64823. }
  64824. t2 = this._entries;
  64825. return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
  64826. }
  64827. };
  64828. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64829. call$1(entry) {
  64830. var t1 = entry.target,
  64831. t2 = t1.line,
  64832. t3 = this._box_0,
  64833. t4 = t3.prefixLines;
  64834. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64835. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64836. },
  64837. $signature: 162
  64838. };
  64839. A.UnprefixedMapView.prototype = {
  64840. get$keys(_) {
  64841. return new A._UnprefixedKeys(this);
  64842. },
  64843. $index(_, key) {
  64844. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64845. },
  64846. containsKey$1(key) {
  64847. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64848. },
  64849. remove$1(_, key) {
  64850. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64851. return t1;
  64852. }
  64853. };
  64854. A._UnprefixedKeys.prototype = {
  64855. get$iterator(_) {
  64856. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64857. t1 = t1.get$keys(t1);
  64858. t1 = t1.where$1(t1, new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
  64859. return t1.get$iterator(t1);
  64860. },
  64861. contains$1(_, key) {
  64862. return this._unprefixed_map_view$_view.containsKey$1(key);
  64863. }
  64864. };
  64865. A._UnprefixedKeys_iterator_closure.prototype = {
  64866. call$1(key) {
  64867. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64868. },
  64869. $signature: 5
  64870. };
  64871. A._UnprefixedKeys_iterator_closure0.prototype = {
  64872. call$1(key) {
  64873. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64874. },
  64875. $signature: 6
  64876. };
  64877. A.indent_closure.prototype = {
  64878. call$1(line) {
  64879. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64880. },
  64881. $signature: 6
  64882. };
  64883. A.flattenVertically_closure.prototype = {
  64884. call$1(inner) {
  64885. return A.QueueList_QueueList$from(inner, this.T);
  64886. },
  64887. $signature() {
  64888. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64889. }
  64890. };
  64891. A.flattenVertically_closure0.prototype = {
  64892. call$1(queue) {
  64893. this.result.push(queue.removeFirst$0());
  64894. return queue.get$length(0) === 0;
  64895. },
  64896. $signature() {
  64897. return this.T._eval$1("bool(QueueList<0>)");
  64898. }
  64899. };
  64900. A.longestCommonSubsequence_backtrack.prototype = {
  64901. call$2(i, j) {
  64902. var selection, t1, _this = this;
  64903. if (i === -1 || j === -1)
  64904. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64905. selection = _this.selections[i][j];
  64906. if (selection != null) {
  64907. t1 = _this.call$2(i - 1, j - 1);
  64908. J.add$1$ax(t1, selection);
  64909. return t1;
  64910. }
  64911. t1 = _this.lengths;
  64912. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64913. },
  64914. $signature() {
  64915. return this.T._eval$1("List<0>(int,int)");
  64916. }
  64917. };
  64918. A.mapAddAll2_closure.prototype = {
  64919. call$2(key, inner) {
  64920. var t1 = this.destination,
  64921. _0_0 = t1.$index(0, key);
  64922. if (_0_0 != null)
  64923. _0_0.addAll$1(0, inner);
  64924. else
  64925. t1.$indexSet(0, key, inner);
  64926. },
  64927. $signature() {
  64928. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64929. }
  64930. };
  64931. A.Value.prototype = {
  64932. get$isTruthy() {
  64933. return true;
  64934. },
  64935. get$separator(_) {
  64936. return B.ListSeparator_undecided_null_3_undecided;
  64937. },
  64938. get$hasBrackets() {
  64939. return false;
  64940. },
  64941. get$asList() {
  64942. return A._setArrayType([this], type$.JSArray_Value);
  64943. },
  64944. get$lengthAsList() {
  64945. return 1;
  64946. },
  64947. get$isBlank() {
  64948. return false;
  64949. },
  64950. get$isSpecialNumber() {
  64951. return false;
  64952. },
  64953. get$isVar() {
  64954. return false;
  64955. },
  64956. get$realNull() {
  64957. return this;
  64958. },
  64959. sassIndexToListIndex$2(sassIndex, $name) {
  64960. var t1, index,
  64961. indexValue = sassIndex.assertNumber$1($name);
  64962. if (indexValue.get$hasUnits()) {
  64963. t1 = indexValue.get$unitString();
  64964. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_7TE);
  64965. }
  64966. index = indexValue.assertInt$1($name);
  64967. if (index === 0)
  64968. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64969. if (Math.abs(index) > this.get$lengthAsList())
  64970. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64971. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64972. },
  64973. assertCalculation$1($name) {
  64974. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64975. },
  64976. assertColor$1($name) {
  64977. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64978. },
  64979. assertFunction$1($name) {
  64980. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64981. },
  64982. assertMixin$1($name) {
  64983. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64984. },
  64985. assertMap$1($name) {
  64986. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64987. },
  64988. tryMap$0() {
  64989. return null;
  64990. },
  64991. assertNumber$1($name) {
  64992. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64993. },
  64994. assertNumber$0() {
  64995. return this.assertNumber$1(null);
  64996. },
  64997. assertString$1($name) {
  64998. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64999. },
  65000. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  65001. var invalidSeparator, buffer, t1, _this = this,
  65002. _s8_ = "Expected",
  65003. _s23_ = "Expected an unbracketed";
  65004. if (_this.get$separator(_this) !== B.ListSeparator_z0K)
  65005. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_Lul;
  65006. else
  65007. invalidSeparator = true;
  65008. if (!invalidSeparator && !_this.get$hasBrackets())
  65009. return _this.get$asList();
  65010. buffer = new A.StringBuffer(_s8_);
  65011. if (_this.get$hasBrackets()) {
  65012. buffer._contents = _s23_;
  65013. t1 = _s23_;
  65014. } else
  65015. t1 = _s8_;
  65016. if (invalidSeparator) {
  65017. t1 += _this.get$hasBrackets() ? "," : " a";
  65018. buffer._contents = t1;
  65019. t1 = buffer._contents = t1 + " space-";
  65020. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  65021. }
  65022. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  65023. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  65024. },
  65025. _selectorString$1($name) {
  65026. var _0_0 = this._selectorStringOrNull$0();
  65027. if (_0_0 != null)
  65028. return _0_0;
  65029. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  65030. },
  65031. _selectorStringOrNull$0() {
  65032. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  65033. if (_this instanceof A.SassString)
  65034. return _this._string$_text;
  65035. if (!(_this instanceof A.SassList))
  65036. return _null;
  65037. t1 = _this._list$_contents;
  65038. t2 = t1.length;
  65039. if (t2 === 0)
  65040. return _null;
  65041. result = A._setArrayType([], type$.JSArray_String);
  65042. $label0$1: {
  65043. _1_0 = _this._separator;
  65044. if (B.ListSeparator_z0K === _1_0) {
  65045. for (_i = 0; _i < t2; ++_i) {
  65046. complex = t1[_i];
  65047. if (complex instanceof A.SassString) {
  65048. result.push(complex._string$_text);
  65049. continue;
  65050. }
  65051. if (complex instanceof A.SassList && B.ListSeparator_SrV === complex._separator) {
  65052. string = complex._selectorStringOrNull$0();
  65053. if (string == null)
  65054. return _null;
  65055. result.push(string);
  65056. continue;
  65057. }
  65058. return _null;
  65059. }
  65060. break $label0$1;
  65061. }
  65062. if (B.ListSeparator_Lul === _1_0)
  65063. return _null;
  65064. for (_i = 0; _i < t2; ++_i) {
  65065. compound = t1[_i];
  65066. if (!(compound instanceof A.SassString))
  65067. return _null;
  65068. result.push(compound._string$_text);
  65069. }
  65070. }
  65071. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_z0K ? ", " : " ");
  65072. },
  65073. withListContents$2$separator(contents, separator) {
  65074. var t1 = separator == null ? this.get$separator(this) : separator,
  65075. t2 = this.get$hasBrackets();
  65076. return A.SassList$(contents, t1, t2);
  65077. },
  65078. withListContents$1(contents) {
  65079. return this.withListContents$2$separator(contents, null);
  65080. },
  65081. greaterThan$1(other) {
  65082. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  65083. },
  65084. greaterThanOrEquals$1(other) {
  65085. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  65086. },
  65087. lessThan$1(other) {
  65088. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  65089. },
  65090. lessThanOrEquals$1(other) {
  65091. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  65092. },
  65093. times$1(other) {
  65094. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  65095. },
  65096. modulo$1(other) {
  65097. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  65098. },
  65099. plus$1(other) {
  65100. var t1;
  65101. $label0$0: {
  65102. if (other instanceof A.SassString) {
  65103. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  65104. break $label0$0;
  65105. }
  65106. if (other instanceof A.SassCalculation)
  65107. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65108. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  65109. break $label0$0;
  65110. }
  65111. return t1;
  65112. },
  65113. minus$1(other) {
  65114. return other instanceof A.SassCalculation ? A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  65115. },
  65116. dividedBy$1(other) {
  65117. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  65118. },
  65119. unaryPlus$0() {
  65120. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  65121. },
  65122. unaryMinus$0() {
  65123. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  65124. },
  65125. unaryNot$0() {
  65126. return B.SassBoolean_false;
  65127. },
  65128. withoutSlash$0() {
  65129. return this;
  65130. },
  65131. toCssString$1$quote(quote) {
  65132. return A.serializeValue(this, false, quote);
  65133. },
  65134. toCssString$0() {
  65135. return this.toCssString$1$quote(true);
  65136. },
  65137. toString$0(_) {
  65138. return A.serializeValue(this, true, true);
  65139. }
  65140. };
  65141. A.SassArgumentList.prototype = {};
  65142. A.SassBoolean.prototype = {
  65143. get$isTruthy() {
  65144. return this.value;
  65145. },
  65146. accept$1$1(visitor) {
  65147. return visitor._serialize$_buffer.write$1(0, String(this.value));
  65148. },
  65149. accept$1(visitor) {
  65150. return this.accept$1$1(visitor, type$.dynamic);
  65151. },
  65152. unaryNot$0() {
  65153. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  65154. }
  65155. };
  65156. A.SassCalculation.prototype = {
  65157. get$isSpecialNumber() {
  65158. return true;
  65159. },
  65160. accept$1$1(visitor) {
  65161. return visitor.visitCalculation$1(this);
  65162. },
  65163. accept$1(visitor) {
  65164. return this.accept$1$1(visitor, type$.dynamic);
  65165. },
  65166. assertCalculation$1($name) {
  65167. return this;
  65168. },
  65169. plus$1(other) {
  65170. if (other instanceof A.SassString)
  65171. return this.super$Value$plus(other);
  65172. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65173. },
  65174. minus$1(other) {
  65175. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  65176. },
  65177. unaryPlus$0() {
  65178. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  65179. },
  65180. unaryMinus$0() {
  65181. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  65182. },
  65183. $eq(_, other) {
  65184. if (other == null)
  65185. return false;
  65186. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  65187. },
  65188. get$hashCode(_) {
  65189. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  65190. }
  65191. };
  65192. A.SassCalculation__verifyLength_closure.prototype = {
  65193. call$1(arg) {
  65194. return arg instanceof A.SassString;
  65195. },
  65196. $signature: 74
  65197. };
  65198. A.CalculationOperation.prototype = {
  65199. $eq(_, other) {
  65200. if (other == null)
  65201. return false;
  65202. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  65203. },
  65204. get$hashCode(_) {
  65205. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  65206. },
  65207. toString$0(_) {
  65208. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  65209. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  65210. }
  65211. };
  65212. A.CalculationOperator.prototype = {
  65213. _enumToString$0() {
  65214. return "CalculationOperator." + this._name;
  65215. },
  65216. toString$0(_) {
  65217. return this.name;
  65218. }
  65219. };
  65220. A.SassColor.prototype = {
  65221. get$channels() {
  65222. var t2, t3,
  65223. t1 = this.channel0OrNull;
  65224. if (t1 == null)
  65225. t1 = 0;
  65226. t2 = this.channel1OrNull;
  65227. if (t2 == null)
  65228. t2 = 0;
  65229. t3 = this.channel2OrNull;
  65230. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  65231. },
  65232. get$channelsOrNull() {
  65233. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  65234. },
  65235. get$isChannel0Powerless() {
  65236. var t1, t2, _this = this,
  65237. _0_0 = _this._space;
  65238. $label0$0: {
  65239. if (B.HslColorSpace_JQ2 === _0_0) {
  65240. t1 = _this.channel1OrNull;
  65241. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  65242. break $label0$0;
  65243. }
  65244. if (B.HwbColorSpace_guQ === _0_0) {
  65245. t1 = _this.channel1OrNull;
  65246. if (t1 == null)
  65247. t1 = 0;
  65248. t2 = _this.channel2OrNull;
  65249. t1 += t2 == null ? 0 : t2;
  65250. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  65251. break $label0$0;
  65252. }
  65253. t1 = false;
  65254. break $label0$0;
  65255. }
  65256. return t1;
  65257. },
  65258. get$isChannel2Powerless() {
  65259. var t1,
  65260. _0_0 = this._space;
  65261. $label0$0: {
  65262. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  65263. t1 = this.channel1OrNull;
  65264. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  65265. break $label0$0;
  65266. }
  65267. t1 = false;
  65268. break $label0$0;
  65269. }
  65270. return t1;
  65271. },
  65272. get$isInGamut() {
  65273. var t2, t3, _this = this,
  65274. t1 = _this._space;
  65275. if (!t1.get$isBoundedInternal())
  65276. return true;
  65277. t2 = _this.channel0OrNull;
  65278. if (t2 == null)
  65279. t2 = 0;
  65280. t1 = t1._channels;
  65281. t3 = false;
  65282. if (_this._isChannelInGamut$2(t2, t1[0])) {
  65283. t2 = _this.channel1OrNull;
  65284. if (t2 == null)
  65285. t2 = 0;
  65286. if (_this._isChannelInGamut$2(t2, t1[1])) {
  65287. t2 = _this.channel2OrNull;
  65288. if (t2 == null)
  65289. t2 = 0;
  65290. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  65291. } else
  65292. t1 = t3;
  65293. } else
  65294. t1 = t3;
  65295. return t1;
  65296. },
  65297. _isChannelInGamut$2(value, channel) {
  65298. var min, max, t1;
  65299. $label0$0: {
  65300. if (channel instanceof A.LinearChannel) {
  65301. min = channel.min;
  65302. max = channel.max;
  65303. if (value < max || A.fuzzyEquals(value, max))
  65304. t1 = value > min || A.fuzzyEquals(value, min);
  65305. else
  65306. t1 = false;
  65307. break $label0$0;
  65308. }
  65309. t1 = true;
  65310. break $label0$0;
  65311. }
  65312. return t1;
  65313. },
  65314. accept$1$1(visitor) {
  65315. return visitor.visitColor$1(this);
  65316. },
  65317. accept$1(visitor) {
  65318. return this.accept$1$1(visitor, type$.dynamic);
  65319. },
  65320. assertColor$1($name) {
  65321. return this;
  65322. },
  65323. assertLegacy$1($name) {
  65324. if (this._space.get$isLegacyInternal())
  65325. return;
  65326. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  65327. },
  65328. channel$1(_, channel) {
  65329. var t1, _this = this,
  65330. channels = _this._space._channels;
  65331. if (channel === channels[0].name) {
  65332. t1 = _this.channel0OrNull;
  65333. return t1 == null ? 0 : t1;
  65334. }
  65335. if (channel === channels[1].name) {
  65336. t1 = _this.channel1OrNull;
  65337. return t1 == null ? 0 : t1;
  65338. }
  65339. if (channel === channels[2].name) {
  65340. t1 = _this.channel2OrNull;
  65341. return t1 == null ? 0 : t1;
  65342. }
  65343. if (channel === "alpha") {
  65344. t1 = _this.alphaOrNull;
  65345. return t1 == null ? 0 : t1;
  65346. }
  65347. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  65348. },
  65349. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  65350. var _this = this,
  65351. channels = _this._space._channels;
  65352. if (channel === channels[0].name)
  65353. return _this.channel0OrNull == null;
  65354. if (channel === channels[1].name)
  65355. return _this.channel1OrNull == null;
  65356. if (channel === channels[2].name)
  65357. return _this.channel2OrNull == null;
  65358. if (channel === "alpha")
  65359. return _this.alphaOrNull == null;
  65360. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  65361. },
  65362. isChannelMissing$1(channel) {
  65363. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  65364. },
  65365. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  65366. var _this = this,
  65367. channels = _this._space._channels;
  65368. if (channel === channels[0].name)
  65369. return _this.get$isChannel0Powerless();
  65370. if (channel === channels[1].name)
  65371. return false;
  65372. if (channel === channels[2].name)
  65373. return _this.get$isChannel2Powerless();
  65374. if (channel === "alpha")
  65375. return false;
  65376. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  65377. },
  65378. _legacyChannel$2(space, channel) {
  65379. if (!this._space.get$isLegacyInternal())
  65380. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  65381. return this.toSpace$1(space).channel$1(0, channel);
  65382. },
  65383. toSpace$2$legacyMissing(space, legacyMissing) {
  65384. var t2, converted, t3, t4, _this = this,
  65385. t1 = _this._space;
  65386. if (t1 === space)
  65387. return _this;
  65388. t2 = _this.alphaOrNull;
  65389. if (t2 == null)
  65390. t2 = 0;
  65391. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  65392. t1 = false;
  65393. if (!legacyMissing)
  65394. if (converted._space.get$isLegacyInternal())
  65395. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  65396. if (t1) {
  65397. t1 = converted.channel0OrNull;
  65398. if (t1 == null)
  65399. t1 = 0;
  65400. t2 = converted.channel1OrNull;
  65401. if (t2 == null)
  65402. t2 = 0;
  65403. t3 = converted.channel2OrNull;
  65404. if (t3 == null)
  65405. t3 = 0;
  65406. t4 = converted.alphaOrNull;
  65407. if (t4 == null)
  65408. t4 = 0;
  65409. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  65410. t1 = t4;
  65411. } else
  65412. t1 = converted;
  65413. return t1;
  65414. },
  65415. toSpace$1(space) {
  65416. return this.toSpace$2$legacyMissing(space, true);
  65417. },
  65418. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  65419. var t2, t3, t4, t5, _this = this, _null = null,
  65420. t1 = _this._space;
  65421. if (!t1.get$isLegacyInternal())
  65422. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  65423. t2 = hue == null ? _null : hue;
  65424. if (t2 == null)
  65425. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  65426. t3 = saturation == null ? _null : saturation;
  65427. if (t3 == null)
  65428. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  65429. t4 = lightness == null ? _null : lightness;
  65430. if (t4 == null)
  65431. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  65432. t5 = _this.alphaOrNull;
  65433. if (t5 == null)
  65434. t5 = 0;
  65435. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  65436. },
  65437. changeHsl$1$saturation(saturation) {
  65438. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  65439. },
  65440. changeHsl$1$lightness(lightness) {
  65441. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  65442. },
  65443. changeHsl$1$hue(hue) {
  65444. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  65445. },
  65446. changeAlpha$1(alpha) {
  65447. var t2, t3, _this = this,
  65448. t1 = _this.channel0OrNull;
  65449. if (t1 == null)
  65450. t1 = 0;
  65451. t2 = _this.channel1OrNull;
  65452. if (t2 == null)
  65453. t2 = 0;
  65454. t3 = _this.channel2OrNull;
  65455. if (t3 == null)
  65456. t3 = 0;
  65457. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  65458. },
  65459. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  65460. var t1, color1, color2, missing1_0, missing1_1, missing1_2, missing2_0, missing2_1, missing2_2, channel1_0, channel1_1, channel1_2, channel2_0, channel2_1, channel2_2, alpha1, t2, t3, alpha10, alpha2, alpha20, thisMultiplier, t4, t5, otherMultiplier, mixedAlpha, mixed0, mixed1, mixed2, _this = this, _null = null;
  65461. if (A.fuzzyEquals(weight, 0))
  65462. return other;
  65463. if (A.fuzzyEquals(weight, 1))
  65464. return _this;
  65465. t1 = method.space;
  65466. color1 = _this.toSpace$1(t1);
  65467. color2 = other.toSpace$1(t1);
  65468. if (weight < 0 || weight > 1)
  65469. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  65470. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  65471. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  65472. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  65473. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  65474. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  65475. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  65476. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  65477. if (channel1_0 == null)
  65478. channel1_0 = 0;
  65479. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  65480. if (channel1_1 == null)
  65481. channel1_1 = 0;
  65482. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  65483. if (channel1_2 == null)
  65484. channel1_2 = 0;
  65485. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  65486. if (channel2_0 == null)
  65487. channel2_0 = 0;
  65488. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  65489. if (channel2_1 == null)
  65490. channel2_1 = 0;
  65491. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  65492. if (channel2_2 == null)
  65493. channel2_2 = 0;
  65494. alpha1 = _this.alphaOrNull;
  65495. t2 = alpha1 == null;
  65496. if (t2) {
  65497. t3 = other.alphaOrNull;
  65498. alpha10 = t3 == null ? 0 : t3;
  65499. } else
  65500. alpha10 = alpha1;
  65501. alpha2 = other.alphaOrNull;
  65502. t3 = alpha2 == null;
  65503. if (t3)
  65504. alpha20 = t2 ? 0 : alpha1;
  65505. else
  65506. alpha20 = alpha2;
  65507. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  65508. t4 = t3 ? 1 : alpha2;
  65509. t5 = 1 - weight;
  65510. otherMultiplier = t4 * t5;
  65511. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  65512. if (missing1_0 && missing2_0)
  65513. mixed0 = _null;
  65514. else {
  65515. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65516. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  65517. }
  65518. if (missing1_1 && missing2_1)
  65519. mixed1 = _null;
  65520. else {
  65521. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65522. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  65523. }
  65524. if (missing1_2 && missing2_2)
  65525. mixed2 = _null;
  65526. else {
  65527. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65528. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  65529. }
  65530. $label0$0: {
  65531. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  65532. if (missing1_0 && missing2_0)
  65533. t2 = _null;
  65534. else {
  65535. t2 = method.hue;
  65536. t2.toString;
  65537. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  65538. }
  65539. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  65540. t1 = t2;
  65541. break $label0$0;
  65542. }
  65543. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  65544. if (missing1_2 && missing2_2)
  65545. t2 = _null;
  65546. else {
  65547. t2 = method.hue;
  65548. t2.toString;
  65549. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  65550. }
  65551. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  65552. t1 = t2;
  65553. break $label0$0;
  65554. }
  65555. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  65556. break $label0$0;
  65557. }
  65558. return t1.toSpace$2$legacyMissing(_this._space, false);
  65559. },
  65560. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  65561. var originalChannel;
  65562. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  65563. return true;
  65564. if (original === output)
  65565. return false;
  65566. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  65567. if (originalChannel == null)
  65568. return false;
  65569. return original.isChannelMissing$1(originalChannel.name);
  65570. },
  65571. _interpolateHues$4(hue1, hue2, method, weight) {
  65572. var _0_0, _1_0;
  65573. $label1$1: {
  65574. if (B.HueInterpolationMethod_0 === method) {
  65575. $label0$0: {
  65576. _0_0 = hue2 - hue1;
  65577. if (_0_0 > 180) {
  65578. hue1 += 360;
  65579. break $label0$0;
  65580. }
  65581. if (_0_0 < -180)
  65582. hue2 += 360;
  65583. }
  65584. break $label1$1;
  65585. }
  65586. if (B.HueInterpolationMethod_1 === method) {
  65587. $label2$2: {
  65588. _1_0 = hue2 - hue1;
  65589. if (_1_0 > 0 && _1_0 < 180) {
  65590. hue2 += 360;
  65591. break $label2$2;
  65592. }
  65593. if (_1_0 > -180 && _1_0 <= 0)
  65594. hue1 += 360;
  65595. }
  65596. break $label1$1;
  65597. }
  65598. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  65599. hue2 += 360;
  65600. break $label1$1;
  65601. }
  65602. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  65603. hue1 += 360;
  65604. break $label1$1;
  65605. }
  65606. }
  65607. return hue1 * weight + hue2 * (1 - weight);
  65608. },
  65609. plus$1(other) {
  65610. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65611. return this.super$Value$plus(other);
  65612. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65613. },
  65614. minus$1(other) {
  65615. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65616. return this.super$Value$minus(other);
  65617. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  65618. },
  65619. dividedBy$1(other) {
  65620. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65621. return this.super$Value$dividedBy(other);
  65622. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  65623. },
  65624. $eq(_, other) {
  65625. var t1, t2, _this = this;
  65626. if (other == null)
  65627. return false;
  65628. if (!(other instanceof A.SassColor))
  65629. return false;
  65630. t1 = _this._space;
  65631. if (t1.get$isLegacyInternal()) {
  65632. t2 = other._space;
  65633. if (!t2.get$isLegacyInternal())
  65634. return false;
  65635. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65636. return false;
  65637. if (t1 === t2)
  65638. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65639. else
  65640. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65641. }
  65642. return t1 === other._space && A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull) && A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull);
  65643. },
  65644. get$hashCode(_) {
  65645. var rgb, t2, t3, t4, t5, _this = this,
  65646. t1 = _this._space;
  65647. if (t1.get$isLegacyInternal()) {
  65648. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65649. t1 = rgb.channel0OrNull;
  65650. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65651. t2 = rgb.channel1OrNull;
  65652. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65653. t3 = rgb.channel2OrNull;
  65654. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65655. t4 = _this.alphaOrNull;
  65656. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65657. } else {
  65658. t1 = A.Primitives_objectHashCode(t1);
  65659. t2 = _this.channel0OrNull;
  65660. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65661. t3 = _this.channel1OrNull;
  65662. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65663. t4 = _this.channel2OrNull;
  65664. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65665. t5 = _this.alphaOrNull;
  65666. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65667. }
  65668. }
  65669. };
  65670. A.SassColor$_forSpace_closure.prototype = {
  65671. call$1(alpha) {
  65672. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65673. },
  65674. $signature: 16
  65675. };
  65676. A._ColorFormatEnum.prototype = {
  65677. toString$0(_) {
  65678. return "rgbFunction";
  65679. }
  65680. };
  65681. A.SpanColorFormat.prototype = {};
  65682. A.ColorChannel.prototype = {
  65683. isAnalogous$1(other) {
  65684. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65685. _0_1 = this.name,
  65686. _0_6 = other.name;
  65687. $label0$0: {
  65688. if ("red" !== _0_1)
  65689. _0_6_isSet = "x" === _0_1;
  65690. else
  65691. _0_6_isSet = true;
  65692. if (_0_6_isSet) {
  65693. if ("red" !== _0_6)
  65694. t1 = "x" === _0_6;
  65695. else
  65696. t1 = true;
  65697. _0_60 = _0_6;
  65698. } else {
  65699. _0_60 = null;
  65700. t1 = false;
  65701. }
  65702. t2 = true;
  65703. if (!t1) {
  65704. if ("green" !== _0_1)
  65705. t1 = "y" === _0_1;
  65706. else
  65707. t1 = true;
  65708. if (t1) {
  65709. _0_6_isSet0 = true;
  65710. if (_0_6_isSet)
  65711. t1 = _0_60;
  65712. else {
  65713. t1 = _0_6;
  65714. _0_6_isSet = _0_6_isSet0;
  65715. _0_60 = t1;
  65716. }
  65717. if ("green" !== t1) {
  65718. if (_0_6_isSet)
  65719. t1 = _0_60;
  65720. else {
  65721. t1 = _0_6;
  65722. _0_6_isSet = _0_6_isSet0;
  65723. _0_60 = t1;
  65724. }
  65725. t1 = "y" === t1;
  65726. } else
  65727. t1 = true;
  65728. } else
  65729. t1 = false;
  65730. if (!t1) {
  65731. if ("blue" !== _0_1)
  65732. t1 = "z" === _0_1;
  65733. else
  65734. t1 = true;
  65735. if (t1) {
  65736. _0_6_isSet0 = true;
  65737. if (_0_6_isSet)
  65738. t1 = _0_60;
  65739. else {
  65740. t1 = _0_6;
  65741. _0_6_isSet = _0_6_isSet0;
  65742. _0_60 = t1;
  65743. }
  65744. if ("blue" !== t1) {
  65745. if (_0_6_isSet)
  65746. t1 = _0_60;
  65747. else {
  65748. t1 = _0_6;
  65749. _0_6_isSet = _0_6_isSet0;
  65750. _0_60 = t1;
  65751. }
  65752. t1 = "z" === t1;
  65753. } else
  65754. t1 = true;
  65755. } else
  65756. t1 = false;
  65757. if (!t1) {
  65758. if ("chroma" !== _0_1)
  65759. t1 = "saturation" === _0_1;
  65760. else
  65761. t1 = true;
  65762. if (t1) {
  65763. _0_6_isSet0 = true;
  65764. if (_0_6_isSet)
  65765. t1 = _0_60;
  65766. else {
  65767. t1 = _0_6;
  65768. _0_6_isSet = _0_6_isSet0;
  65769. _0_60 = t1;
  65770. }
  65771. if ("chroma" !== t1) {
  65772. if (_0_6_isSet)
  65773. t1 = _0_60;
  65774. else {
  65775. t1 = _0_6;
  65776. _0_6_isSet = _0_6_isSet0;
  65777. _0_60 = t1;
  65778. }
  65779. t1 = "saturation" === t1;
  65780. } else
  65781. t1 = true;
  65782. } else
  65783. t1 = false;
  65784. if (!t1) {
  65785. if ("lightness" === _0_1) {
  65786. if (_0_6_isSet)
  65787. t1 = _0_60;
  65788. else {
  65789. t1 = _0_6;
  65790. _0_60 = t1;
  65791. _0_6_isSet = true;
  65792. }
  65793. t1 = "lightness" === t1;
  65794. } else
  65795. t1 = false;
  65796. if (!t1)
  65797. if ("hue" === _0_1)
  65798. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65799. else
  65800. t1 = false;
  65801. else
  65802. t1 = t2;
  65803. } else
  65804. t1 = t2;
  65805. } else
  65806. t1 = t2;
  65807. } else
  65808. t1 = t2;
  65809. } else
  65810. t1 = t2;
  65811. break $label0$0;
  65812. }
  65813. return t1;
  65814. }
  65815. };
  65816. A.LinearChannel.prototype = {};
  65817. A.GamutMapMethod.prototype = {
  65818. toString$0(_) {
  65819. return this.name;
  65820. }
  65821. };
  65822. A.ClipGamutMap.prototype = {
  65823. map$1(_, color) {
  65824. var t1 = color._space,
  65825. t2 = t1._channels;
  65826. return A.SassColor_SassColor$forSpaceInternal(t1, this._clampChannel$2(color.channel0OrNull, t2[0]), this._clampChannel$2(color.channel1OrNull, t2[1]), this._clampChannel$2(color.channel2OrNull, t2[2]), color.alphaOrNull);
  65827. },
  65828. _clampChannel$2(value, channel) {
  65829. var t1, min;
  65830. if (value == null)
  65831. t1 = null;
  65832. else
  65833. $label0$0: {
  65834. if (channel instanceof A.LinearChannel) {
  65835. min = channel.min;
  65836. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65837. break $label0$0;
  65838. }
  65839. t1 = value;
  65840. break $label0$0;
  65841. }
  65842. return t1;
  65843. }
  65844. };
  65845. A.LocalMindeGamutMap.prototype = {
  65846. map$1(_, color) {
  65847. var clipped, max, min, minInGamut, chroma, current, e,
  65848. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65849. lightness = originOklch.channel0OrNull,
  65850. hue = originOklch.channel2OrNull,
  65851. alpha = originOklch.alphaOrNull,
  65852. t1 = lightness == null,
  65853. t2 = t1 ? 0 : lightness;
  65854. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65855. t1 = color._space;
  65856. t2 = color.alphaOrNull;
  65857. return t1.get$isLegacyInternal() ? A.SassColor_SassColor$rgbInternal(255, 255, 255, t2, null).toSpace$1(t1) : A.SassColor_SassColor$forSpaceInternal(t1, 1, 1, 1, t2);
  65858. } else {
  65859. t1 = t1 ? 0 : lightness;
  65860. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65861. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65862. }
  65863. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65864. if (this._deltaEOK$2(clipped, color) < 0.02)
  65865. return clipped;
  65866. max = originOklch.channel1OrNull;
  65867. if (max == null)
  65868. max = 0;
  65869. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65870. chroma = (min + max) / 2;
  65871. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65872. if (minInGamut && current.get$isInGamut()) {
  65873. min = chroma;
  65874. continue;
  65875. }
  65876. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65877. e = this._deltaEOK$2(clipped, current);
  65878. if (e < 0.02) {
  65879. if (0.02 - e < 0.0001)
  65880. return clipped;
  65881. min = chroma;
  65882. minInGamut = false;
  65883. } else
  65884. max = chroma;
  65885. }
  65886. return clipped;
  65887. },
  65888. _deltaEOK$2(color1, color2) {
  65889. var t2, t3, t4,
  65890. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65891. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65892. t1 = lab1.channel0OrNull;
  65893. if (t1 == null)
  65894. t1 = 0;
  65895. t2 = lab2.channel0OrNull;
  65896. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65897. t2 = lab1.channel1OrNull;
  65898. if (t2 == null)
  65899. t2 = 0;
  65900. t3 = lab2.channel1OrNull;
  65901. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65902. t3 = lab1.channel2OrNull;
  65903. if (t3 == null)
  65904. t3 = 0;
  65905. t4 = lab2.channel2OrNull;
  65906. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65907. }
  65908. };
  65909. A.InterpolationMethod.prototype = {
  65910. toString$0(_) {
  65911. var t1 = this.hue;
  65912. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65913. return this.space.name + t1;
  65914. }
  65915. };
  65916. A.HueInterpolationMethod.prototype = {
  65917. _enumToString$0() {
  65918. return "HueInterpolationMethod." + this._name;
  65919. }
  65920. };
  65921. A.ColorSpace.prototype = {
  65922. get$isLegacyInternal() {
  65923. return false;
  65924. },
  65925. get$isPolarInternal() {
  65926. return false;
  65927. },
  65928. convert$5(dest, channel0, channel1, channel2, alpha) {
  65929. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65930. },
  65931. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65932. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65933. $label0$0: {
  65934. t1 = B.HslColorSpace_JQ2 !== dest;
  65935. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65936. t2 = B.SrgbColorSpace_thf;
  65937. break $label0$0;
  65938. }
  65939. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65940. t2 = B.XyzD50ColorSpace_2OB;
  65941. break $label0$0;
  65942. }
  65943. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65944. t2 = B.LmsColorSpace_Os3;
  65945. break $label0$0;
  65946. }
  65947. t2 = dest;
  65948. break $label0$0;
  65949. }
  65950. if (t2 === _this) {
  65951. transformedBlue = blue;
  65952. transformedGreen = green;
  65953. transformedRed = red;
  65954. } else {
  65955. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65956. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65957. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65958. matrix = _this.transformationMatrix$1(t2);
  65959. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65960. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65961. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65962. }
  65963. $label1$1: {
  65964. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65965. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65966. break $label1$1;
  65967. }
  65968. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65969. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65970. break $label1$1;
  65971. }
  65972. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65973. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65974. break $label1$1;
  65975. }
  65976. t1 = red == null ? null : transformedRed;
  65977. t2 = green == null ? null : transformedGreen;
  65978. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65979. break $label1$1;
  65980. }
  65981. return t1;
  65982. },
  65983. convertLinear$5(dest, red, green, blue, alpha) {
  65984. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65985. },
  65986. toLinear$1(channel) {
  65987. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65988. },
  65989. fromLinear$1(channel) {
  65990. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65991. },
  65992. transformationMatrix$1(dest) {
  65993. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65994. },
  65995. toString$0(_) {
  65996. return this.name;
  65997. }
  65998. };
  65999. A.A98RgbColorSpace.prototype = {
  66000. get$isBoundedInternal() {
  66001. return true;
  66002. },
  66003. toLinear$1(channel) {
  66004. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  66005. },
  66006. fromLinear$1(channel) {
  66007. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  66008. },
  66009. transformationMatrix$1(dest) {
  66010. var t1;
  66011. $label0$0: {
  66012. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66013. t1 = $.$get$linearA98RgbToLinearSrgb();
  66014. break $label0$0;
  66015. }
  66016. if (B.DisplayP3ColorSpace_MmT === dest) {
  66017. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  66018. break $label0$0;
  66019. }
  66020. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66021. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  66022. break $label0$0;
  66023. }
  66024. if (B.Rec2020ColorSpace_6oo === dest) {
  66025. t1 = $.$get$linearA98RgbToLinearRec2020();
  66026. break $label0$0;
  66027. }
  66028. if (B.XyzD65ColorSpace_WiJ === dest) {
  66029. t1 = $.$get$linearA98RgbToXyzD65();
  66030. break $label0$0;
  66031. }
  66032. if (B.XyzD50ColorSpace_2OB === dest) {
  66033. t1 = $.$get$linearA98RgbToXyzD50();
  66034. break $label0$0;
  66035. }
  66036. if (B.LmsColorSpace_Os3 === dest) {
  66037. t1 = $.$get$linearA98RgbToLms();
  66038. break $label0$0;
  66039. }
  66040. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66041. break $label0$0;
  66042. }
  66043. return t1;
  66044. }
  66045. };
  66046. A.DisplayP3ColorSpace.prototype = {
  66047. get$isBoundedInternal() {
  66048. return true;
  66049. },
  66050. toLinear$1(channel) {
  66051. return A.srgbAndDisplayP3ToLinear(channel);
  66052. },
  66053. fromLinear$1(channel) {
  66054. return A.srgbAndDisplayP3FromLinear(channel);
  66055. },
  66056. transformationMatrix$1(dest) {
  66057. var t1;
  66058. $label0$0: {
  66059. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66060. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  66061. break $label0$0;
  66062. }
  66063. if (B.A98RgbColorSpace_lf2 === dest) {
  66064. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  66065. break $label0$0;
  66066. }
  66067. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66068. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  66069. break $label0$0;
  66070. }
  66071. if (B.Rec2020ColorSpace_6oo === dest) {
  66072. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  66073. break $label0$0;
  66074. }
  66075. if (B.XyzD65ColorSpace_WiJ === dest) {
  66076. t1 = $.$get$linearDisplayP3ToXyzD65();
  66077. break $label0$0;
  66078. }
  66079. if (B.XyzD50ColorSpace_2OB === dest) {
  66080. t1 = $.$get$linearDisplayP3ToXyzD50();
  66081. break $label0$0;
  66082. }
  66083. if (B.LmsColorSpace_Os3 === dest) {
  66084. t1 = $.$get$linearDisplayP3ToLms();
  66085. break $label0$0;
  66086. }
  66087. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66088. break $label0$0;
  66089. }
  66090. return t1;
  66091. }
  66092. };
  66093. A.HslColorSpace.prototype = {
  66094. get$isBoundedInternal() {
  66095. return true;
  66096. },
  66097. get$isLegacyInternal() {
  66098. return true;
  66099. },
  66100. get$isPolarInternal() {
  66101. return true;
  66102. },
  66103. convert$5(dest, hue, saturation, lightness, alpha) {
  66104. var t1 = hue == null,
  66105. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  66106. t2 = saturation == null,
  66107. scaledSaturation = (t2 ? 0 : saturation) / 100,
  66108. t3 = lightness == null,
  66109. scaledLightness = (t3 ? 0 : lightness) / 100,
  66110. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  66111. m1 = scaledLightness * 2 - m2;
  66112. return B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, A.hueToRgb(m1, m2, scaledHue + 0.3333333333333333), A.hueToRgb(m1, m2, scaledHue), A.hueToRgb(m1, m2, scaledHue - 0.3333333333333333), alpha, t2, t1, t3);
  66113. }
  66114. };
  66115. A.HwbColorSpace.prototype = {
  66116. get$isBoundedInternal() {
  66117. return true;
  66118. },
  66119. get$isLegacyInternal() {
  66120. return true;
  66121. },
  66122. get$isPolarInternal() {
  66123. return true;
  66124. },
  66125. convert$5(dest, hue, whiteness, blackness, alpha) {
  66126. var t3, t1 = {},
  66127. t2 = hue == null,
  66128. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  66129. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  66130. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  66131. sum = scaledWhiteness + scaledBlackness;
  66132. if (sum > 1) {
  66133. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  66134. scaledBlackness /= sum;
  66135. } else
  66136. t3 = scaledWhiteness;
  66137. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  66138. return B.SrgbColorSpace_thf.convert$6$missingHue(dest, t3.call$1(scaledHue + 0.3333333333333333), t3.call$1(scaledHue), t3.call$1(scaledHue - 0.3333333333333333), alpha, t2);
  66139. }
  66140. };
  66141. A.HwbColorSpace_convert_toRgb.prototype = {
  66142. call$1(hue) {
  66143. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  66144. },
  66145. $signature: 16
  66146. };
  66147. A.LabColorSpace.prototype = {
  66148. get$isBoundedInternal() {
  66149. return false;
  66150. },
  66151. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  66152. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  66153. switch (dest) {
  66154. case B.LabColorSpace_2nT:
  66155. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  66156. t1 = a == null || powerlessAB ? null : a;
  66157. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  66158. case B.LchColorSpace_Bpv:
  66159. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  66160. default:
  66161. missingLightness = lightness == null;
  66162. if (missingLightness)
  66163. lightness = 0;
  66164. f1 = (lightness + 16) / 116;
  66165. t1 = a == null;
  66166. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  66167. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  66168. t4 = b == null;
  66169. return B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, t2 * 0.9642956764295677, t3, this._convertFToXorZ$1(f1 - (t4 ? 0 : b) / 200) * 0.8251046025104602, alpha, t1, t4, missingChroma, missingHue, missingLightness);
  66170. }
  66171. },
  66172. convert$5(dest, lightness, a, b, alpha) {
  66173. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  66174. },
  66175. _convertFToXorZ$1(component) {
  66176. var cubed = Math.pow(component, 3) + 0;
  66177. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  66178. }
  66179. };
  66180. A.LchColorSpace.prototype = {
  66181. get$isBoundedInternal() {
  66182. return false;
  66183. },
  66184. get$isPolarInternal() {
  66185. return true;
  66186. },
  66187. convert$5(dest, lightness, chroma, hue, alpha) {
  66188. var t1 = hue == null,
  66189. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  66190. t2 = chroma == null,
  66191. t3 = t2 ? 0 : chroma,
  66192. t4 = Math.cos(hueRadians),
  66193. t5 = t2 ? 0 : chroma;
  66194. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  66195. }
  66196. };
  66197. A.LmsColorSpace.prototype = {
  66198. get$isBoundedInternal() {
  66199. return false;
  66200. },
  66201. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  66202. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  66203. switch (dest) {
  66204. case B.OklabColorSpace_540:
  66205. t1 = long == null ? 0 : long;
  66206. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66207. t1 = medium == null ? 0 : medium;
  66208. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66209. t1 = short == null ? 0 : short;
  66210. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66211. t1 = $.$get$lmsToOklab();
  66212. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  66213. t2 = missingLightness ? _null : lightness;
  66214. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  66215. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  66216. case B.OklchColorSpace_9Gj:
  66217. t1 = long == null ? 0 : long;
  66218. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66219. t1 = medium == null ? 0 : medium;
  66220. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66221. t1 = short == null ? 0 : short;
  66222. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  66223. if (missingLightness)
  66224. t1 = _null;
  66225. else {
  66226. t1 = $.$get$lmsToOklab();
  66227. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  66228. }
  66229. t2 = $.$get$lmsToOklab();
  66230. return A.labToLch(dest, t1, t2[3] * longScaled + t2[4] * mediumScaled + t2[5] * shortScaled, t2[6] * longScaled + t2[7] * mediumScaled + t2[8] * shortScaled, alpha, missingChroma, missingHue);
  66231. default:
  66232. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66233. }
  66234. },
  66235. convert$5(dest, long, medium, short, alpha) {
  66236. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  66237. },
  66238. toLinear$1(channel) {
  66239. return channel;
  66240. },
  66241. fromLinear$1(channel) {
  66242. return channel;
  66243. },
  66244. transformationMatrix$1(dest) {
  66245. var t1;
  66246. $label0$0: {
  66247. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66248. t1 = $.$get$lmsToLinearSrgb();
  66249. break $label0$0;
  66250. }
  66251. if (B.A98RgbColorSpace_lf2 === dest) {
  66252. t1 = $.$get$lmsToLinearA98Rgb();
  66253. break $label0$0;
  66254. }
  66255. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66256. t1 = $.$get$lmsToLinearProphotoRgb();
  66257. break $label0$0;
  66258. }
  66259. if (B.DisplayP3ColorSpace_MmT === dest) {
  66260. t1 = $.$get$lmsToLinearDisplayP3();
  66261. break $label0$0;
  66262. }
  66263. if (B.Rec2020ColorSpace_6oo === dest) {
  66264. t1 = $.$get$lmsToLinearRec2020();
  66265. break $label0$0;
  66266. }
  66267. if (B.XyzD65ColorSpace_WiJ === dest) {
  66268. t1 = $.$get$lmsToXyzD65();
  66269. break $label0$0;
  66270. }
  66271. if (B.XyzD50ColorSpace_2OB === dest) {
  66272. t1 = $.$get$lmsToXyzD50();
  66273. break $label0$0;
  66274. }
  66275. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66276. break $label0$0;
  66277. }
  66278. return t1;
  66279. }
  66280. };
  66281. A.OklabColorSpace.prototype = {
  66282. get$isBoundedInternal() {
  66283. return false;
  66284. },
  66285. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  66286. var missingLightness, missingA, missingB, t1;
  66287. if (dest === B.OklchColorSpace_9Gj)
  66288. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  66289. missingLightness = lightness == null;
  66290. missingA = a == null;
  66291. missingB = b == null;
  66292. if (missingLightness)
  66293. lightness = 0;
  66294. if (missingA)
  66295. a = 0;
  66296. if (missingB)
  66297. b = 0;
  66298. t1 = $.$get$oklabToLms();
  66299. return B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, Math.pow(t1[0] * lightness + t1[1] * a + t1[2] * b, 3) + 0, Math.pow(t1[3] * lightness + t1[4] * a + t1[5] * b, 3) + 0, Math.pow(t1[6] * lightness + t1[7] * a + t1[8] * b, 3) + 0, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66300. },
  66301. convert$5(dest, lightness, a, b, alpha) {
  66302. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  66303. }
  66304. };
  66305. A.OklchColorSpace.prototype = {
  66306. get$isBoundedInternal() {
  66307. return false;
  66308. },
  66309. get$isPolarInternal() {
  66310. return true;
  66311. },
  66312. convert$5(dest, lightness, chroma, hue, alpha) {
  66313. var t1 = hue == null,
  66314. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  66315. t2 = chroma == null,
  66316. t3 = t2 ? 0 : chroma,
  66317. t4 = Math.cos(hueRadians),
  66318. t5 = t2 ? 0 : chroma;
  66319. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  66320. }
  66321. };
  66322. A.ProphotoRgbColorSpace.prototype = {
  66323. get$isBoundedInternal() {
  66324. return true;
  66325. },
  66326. toLinear$1(channel) {
  66327. var abs = Math.abs(channel);
  66328. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  66329. },
  66330. fromLinear$1(channel) {
  66331. var abs = Math.abs(channel);
  66332. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  66333. },
  66334. transformationMatrix$1(dest) {
  66335. var t1;
  66336. $label0$0: {
  66337. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66338. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  66339. break $label0$0;
  66340. }
  66341. if (B.A98RgbColorSpace_lf2 === dest) {
  66342. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  66343. break $label0$0;
  66344. }
  66345. if (B.DisplayP3ColorSpace_MmT === dest) {
  66346. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  66347. break $label0$0;
  66348. }
  66349. if (B.Rec2020ColorSpace_6oo === dest) {
  66350. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  66351. break $label0$0;
  66352. }
  66353. if (B.XyzD65ColorSpace_WiJ === dest) {
  66354. t1 = $.$get$linearProphotoRgbToXyzD65();
  66355. break $label0$0;
  66356. }
  66357. if (B.XyzD50ColorSpace_2OB === dest) {
  66358. t1 = $.$get$linearProphotoRgbToXyzD50();
  66359. break $label0$0;
  66360. }
  66361. if (B.LmsColorSpace_Os3 === dest) {
  66362. t1 = $.$get$linearProphotoRgbToLms();
  66363. break $label0$0;
  66364. }
  66365. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66366. break $label0$0;
  66367. }
  66368. return t1;
  66369. }
  66370. };
  66371. A.Rec2020ColorSpace.prototype = {
  66372. get$isBoundedInternal() {
  66373. return true;
  66374. },
  66375. toLinear$1(channel) {
  66376. var abs = Math.abs(channel);
  66377. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  66378. },
  66379. fromLinear$1(channel) {
  66380. var abs = Math.abs(channel);
  66381. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  66382. },
  66383. transformationMatrix$1(dest) {
  66384. var t1;
  66385. $label0$0: {
  66386. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66387. t1 = $.$get$linearRec2020ToLinearSrgb();
  66388. break $label0$0;
  66389. }
  66390. if (B.A98RgbColorSpace_lf2 === dest) {
  66391. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  66392. break $label0$0;
  66393. }
  66394. if (B.DisplayP3ColorSpace_MmT === dest) {
  66395. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  66396. break $label0$0;
  66397. }
  66398. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66399. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  66400. break $label0$0;
  66401. }
  66402. if (B.XyzD65ColorSpace_WiJ === dest) {
  66403. t1 = $.$get$linearRec2020ToXyzD65();
  66404. break $label0$0;
  66405. }
  66406. if (B.XyzD50ColorSpace_2OB === dest) {
  66407. t1 = $.$get$linearRec2020ToXyzD50();
  66408. break $label0$0;
  66409. }
  66410. if (B.LmsColorSpace_Os3 === dest) {
  66411. t1 = $.$get$linearRec2020ToLms();
  66412. break $label0$0;
  66413. }
  66414. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66415. break $label0$0;
  66416. }
  66417. return t1;
  66418. }
  66419. };
  66420. A.RgbColorSpace.prototype = {
  66421. get$isBoundedInternal() {
  66422. return true;
  66423. },
  66424. get$isLegacyInternal() {
  66425. return true;
  66426. },
  66427. convert$5(dest, red, green, blue, alpha) {
  66428. var t1 = red == null ? null : red / 255,
  66429. t2 = green == null ? null : green / 255;
  66430. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  66431. },
  66432. toLinear$1(channel) {
  66433. return A.srgbAndDisplayP3ToLinear(channel / 255);
  66434. },
  66435. fromLinear$1(channel) {
  66436. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  66437. }
  66438. };
  66439. A.SrgbColorSpace.prototype = {
  66440. get$isBoundedInternal() {
  66441. return true;
  66442. },
  66443. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  66444. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  66445. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  66446. if (red == null)
  66447. red = 0;
  66448. if (green == null)
  66449. green = 0;
  66450. if (blue == null)
  66451. blue = 0;
  66452. max = Math.max(Math.max(red, green), blue);
  66453. min = Math.min(Math.min(red, green), blue);
  66454. delta = max - min;
  66455. if (max === min)
  66456. hue = 0;
  66457. else if (max === red)
  66458. hue = 60 * (green - blue) / delta + 360;
  66459. else
  66460. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  66461. if (dest === B.HslColorSpace_JQ2) {
  66462. lightness = (min + max) / 2;
  66463. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  66464. if (saturation < 0) {
  66465. hue += 180;
  66466. saturation = Math.abs(saturation);
  66467. }
  66468. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  66469. t2 = missingChroma ? _null : saturation;
  66470. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  66471. } else {
  66472. whiteness = min * 100;
  66473. blackness = 100 - max * 100;
  66474. if (!missingHue) {
  66475. t1 = whiteness + blackness;
  66476. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  66477. } else
  66478. t1 = true;
  66479. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  66480. }
  66481. }
  66482. if (B.RgbColorSpace_i0P === dest) {
  66483. t1 = red == null ? _null : red * 255;
  66484. t2 = green == null ? _null : green * 255;
  66485. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  66486. }
  66487. if (B.SrgbLinearColorSpace_kUj === dest) {
  66488. t1 = this.get$toLinear();
  66489. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  66490. }
  66491. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  66492. },
  66493. convert$5(dest, red, green, blue, alpha) {
  66494. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  66495. },
  66496. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  66497. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  66498. },
  66499. toLinear$1(channel) {
  66500. return A.srgbAndDisplayP3ToLinear(channel);
  66501. },
  66502. fromLinear$1(channel) {
  66503. return A.srgbAndDisplayP3FromLinear(channel);
  66504. },
  66505. transformationMatrix$1(dest) {
  66506. var t1;
  66507. $label0$0: {
  66508. if (B.DisplayP3ColorSpace_MmT === dest) {
  66509. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66510. break $label0$0;
  66511. }
  66512. if (B.A98RgbColorSpace_lf2 === dest) {
  66513. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66514. break $label0$0;
  66515. }
  66516. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66517. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66518. break $label0$0;
  66519. }
  66520. if (B.Rec2020ColorSpace_6oo === dest) {
  66521. t1 = $.$get$linearSrgbToLinearRec2020();
  66522. break $label0$0;
  66523. }
  66524. if (B.XyzD65ColorSpace_WiJ === dest) {
  66525. t1 = $.$get$linearSrgbToXyzD65();
  66526. break $label0$0;
  66527. }
  66528. if (B.XyzD50ColorSpace_2OB === dest) {
  66529. t1 = $.$get$linearSrgbToXyzD50();
  66530. break $label0$0;
  66531. }
  66532. if (B.LmsColorSpace_Os3 === dest) {
  66533. t1 = $.$get$linearSrgbToLms();
  66534. break $label0$0;
  66535. }
  66536. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66537. break $label0$0;
  66538. }
  66539. return t1;
  66540. }
  66541. };
  66542. A.SrgbLinearColorSpace.prototype = {
  66543. get$isBoundedInternal() {
  66544. return true;
  66545. },
  66546. convert$5(dest, red, green, blue, alpha) {
  66547. var t1;
  66548. $label0$0: {
  66549. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  66550. t1 = B.SrgbColorSpace_thf.convert$5(dest, A.NullableExtension_andThen(red, A.utils0__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen(green, A.utils0__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen(blue, A.utils0__srgbAndDisplayP3FromLinear$closure()), alpha);
  66551. break $label0$0;
  66552. }
  66553. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  66554. break $label0$0;
  66555. }
  66556. return t1;
  66557. },
  66558. toLinear$1(channel) {
  66559. return channel;
  66560. },
  66561. fromLinear$1(channel) {
  66562. return channel;
  66563. },
  66564. transformationMatrix$1(dest) {
  66565. var t1;
  66566. $label0$0: {
  66567. if (B.DisplayP3ColorSpace_MmT === dest) {
  66568. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66569. break $label0$0;
  66570. }
  66571. if (B.A98RgbColorSpace_lf2 === dest) {
  66572. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66573. break $label0$0;
  66574. }
  66575. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66576. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66577. break $label0$0;
  66578. }
  66579. if (B.Rec2020ColorSpace_6oo === dest) {
  66580. t1 = $.$get$linearSrgbToLinearRec2020();
  66581. break $label0$0;
  66582. }
  66583. if (B.XyzD65ColorSpace_WiJ === dest) {
  66584. t1 = $.$get$linearSrgbToXyzD65();
  66585. break $label0$0;
  66586. }
  66587. if (B.XyzD50ColorSpace_2OB === dest) {
  66588. t1 = $.$get$linearSrgbToXyzD50();
  66589. break $label0$0;
  66590. }
  66591. if (B.LmsColorSpace_Os3 === dest) {
  66592. t1 = $.$get$linearSrgbToLms();
  66593. break $label0$0;
  66594. }
  66595. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66596. break $label0$0;
  66597. }
  66598. return t1;
  66599. }
  66600. };
  66601. A.XyzD50ColorSpace.prototype = {
  66602. get$isBoundedInternal() {
  66603. return false;
  66604. },
  66605. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  66606. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  66607. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  66608. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  66609. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  66610. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  66611. lightness = missingLightness ? _null : 116 * f1 - 16;
  66612. a = 500 * (f0 - f1);
  66613. b = 200 * (f1 - f2);
  66614. if (dest === B.LabColorSpace_2nT) {
  66615. t1 = missingA ? _null : a;
  66616. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  66617. } else
  66618. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  66619. return t1;
  66620. }
  66621. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66622. },
  66623. convert$5(dest, x, y, z, alpha) {
  66624. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  66625. },
  66626. _convertComponentToLabF$1(component) {
  66627. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66628. },
  66629. toLinear$1(channel) {
  66630. return channel;
  66631. },
  66632. fromLinear$1(channel) {
  66633. return channel;
  66634. },
  66635. transformationMatrix$1(dest) {
  66636. var t1;
  66637. $label0$0: {
  66638. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66639. t1 = $.$get$xyzD50ToLinearSrgb();
  66640. break $label0$0;
  66641. }
  66642. if (B.A98RgbColorSpace_lf2 === dest) {
  66643. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66644. break $label0$0;
  66645. }
  66646. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66647. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66648. break $label0$0;
  66649. }
  66650. if (B.DisplayP3ColorSpace_MmT === dest) {
  66651. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66652. break $label0$0;
  66653. }
  66654. if (B.Rec2020ColorSpace_6oo === dest) {
  66655. t1 = $.$get$xyzD50ToLinearRec2020();
  66656. break $label0$0;
  66657. }
  66658. if (B.XyzD65ColorSpace_WiJ === dest) {
  66659. t1 = $.$get$xyzD50ToXyzD65();
  66660. break $label0$0;
  66661. }
  66662. if (B.LmsColorSpace_Os3 === dest) {
  66663. t1 = $.$get$xyzD50ToLms();
  66664. break $label0$0;
  66665. }
  66666. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66667. break $label0$0;
  66668. }
  66669. return t1;
  66670. }
  66671. };
  66672. A.XyzD65ColorSpace.prototype = {
  66673. get$isBoundedInternal() {
  66674. return false;
  66675. },
  66676. toLinear$1(channel) {
  66677. return channel;
  66678. },
  66679. fromLinear$1(channel) {
  66680. return channel;
  66681. },
  66682. transformationMatrix$1(dest) {
  66683. var t1;
  66684. $label0$0: {
  66685. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66686. t1 = $.$get$xyzD65ToLinearSrgb();
  66687. break $label0$0;
  66688. }
  66689. if (B.A98RgbColorSpace_lf2 === dest) {
  66690. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66691. break $label0$0;
  66692. }
  66693. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66694. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66695. break $label0$0;
  66696. }
  66697. if (B.DisplayP3ColorSpace_MmT === dest) {
  66698. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66699. break $label0$0;
  66700. }
  66701. if (B.Rec2020ColorSpace_6oo === dest) {
  66702. t1 = $.$get$xyzD65ToLinearRec2020();
  66703. break $label0$0;
  66704. }
  66705. if (B.XyzD50ColorSpace_2OB === dest) {
  66706. t1 = $.$get$xyzD65ToXyzD50();
  66707. break $label0$0;
  66708. }
  66709. if (B.LmsColorSpace_Os3 === dest) {
  66710. t1 = $.$get$xyzD65ToLms();
  66711. break $label0$0;
  66712. }
  66713. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66714. break $label0$0;
  66715. }
  66716. return t1;
  66717. }
  66718. };
  66719. A.SassFunction.prototype = {
  66720. accept$1$1(visitor) {
  66721. var t1, t2;
  66722. if (!visitor._inspect)
  66723. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66724. t1 = visitor._serialize$_buffer;
  66725. t1.write$1(0, "get-function(");
  66726. t2 = this.callable;
  66727. visitor._visitQuotedString$1(t2.get$name(t2));
  66728. t1.writeCharCode$1(41);
  66729. return null;
  66730. },
  66731. accept$1(visitor) {
  66732. return this.accept$1$1(visitor, type$.dynamic);
  66733. },
  66734. assertFunction$1($name) {
  66735. return this;
  66736. },
  66737. assertCompileContext$1(compileContext) {
  66738. var t1 = this._function$_compileContext !== compileContext;
  66739. if (t1)
  66740. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66741. return this;
  66742. },
  66743. $eq(_, other) {
  66744. if (other == null)
  66745. return false;
  66746. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66747. },
  66748. get$hashCode(_) {
  66749. var t1 = this.callable;
  66750. return t1.get$hashCode(t1);
  66751. }
  66752. };
  66753. A.SassList.prototype = {
  66754. get$separator(_) {
  66755. return this._separator;
  66756. },
  66757. get$hasBrackets() {
  66758. return this._hasBrackets;
  66759. },
  66760. get$isBlank() {
  66761. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66762. },
  66763. get$asList() {
  66764. return this._list$_contents;
  66765. },
  66766. get$lengthAsList() {
  66767. return this._list$_contents.length;
  66768. },
  66769. SassList$3$brackets(contents, _separator, brackets) {
  66770. if (this._separator === B.ListSeparator_undecided_null_3_undecided && this._list$_contents.length > 1)
  66771. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66772. },
  66773. toString$0(_) {
  66774. var t2, _this = this,
  66775. t1 = true;
  66776. if (!_this._hasBrackets) {
  66777. t2 = _this._list$_contents.length;
  66778. if (t2 !== 0)
  66779. t1 = t2 === 1 && _this._separator === B.ListSeparator_z0K;
  66780. }
  66781. if (t1)
  66782. return _this.super$Value$toString(0);
  66783. return "(" + _this.super$Value$toString(0) + ")";
  66784. },
  66785. accept$1$1(visitor) {
  66786. return visitor.visitList$1(this);
  66787. },
  66788. accept$1(visitor) {
  66789. return this.accept$1$1(visitor, type$.dynamic);
  66790. },
  66791. assertMap$1($name) {
  66792. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66793. },
  66794. tryMap$0() {
  66795. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66796. },
  66797. $eq(_, other) {
  66798. var t1, _this = this;
  66799. if (other == null)
  66800. return false;
  66801. if (!(other instanceof A.SassList && other._separator === _this._separator && other._hasBrackets === _this._hasBrackets && B.C_ListEquality.equals$2(0, other._list$_contents, _this._list$_contents)))
  66802. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66803. else
  66804. t1 = true;
  66805. return t1;
  66806. },
  66807. get$hashCode(_) {
  66808. return B.C_ListEquality0.hash$1(this._list$_contents);
  66809. }
  66810. };
  66811. A.SassList_isBlank_closure.prototype = {
  66812. call$1(element) {
  66813. return element.get$isBlank();
  66814. },
  66815. $signature: 75
  66816. };
  66817. A.ListSeparator.prototype = {
  66818. _enumToString$0() {
  66819. return "ListSeparator." + this._name;
  66820. },
  66821. toString$0(_) {
  66822. return this._list$_name;
  66823. }
  66824. };
  66825. A.SassMap.prototype = {
  66826. get$separator(_) {
  66827. var t1 = this._map$_contents;
  66828. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_3_undecided : B.ListSeparator_z0K;
  66829. },
  66830. get$asList() {
  66831. var t3, t4, t5, result,
  66832. t1 = type$.JSArray_Value,
  66833. t2 = A._setArrayType([], t1);
  66834. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66835. t5 = t4.get$current(t4);
  66836. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66837. result.$flags = 3;
  66838. t2.push(new A.SassList(result, B.ListSeparator_SrV, false));
  66839. }
  66840. return t2;
  66841. },
  66842. get$lengthAsList() {
  66843. var t1 = this._map$_contents;
  66844. return t1.get$length(t1);
  66845. },
  66846. accept$1$1(visitor) {
  66847. return visitor.visitMap$1(this);
  66848. },
  66849. accept$1(visitor) {
  66850. return this.accept$1$1(visitor, type$.dynamic);
  66851. },
  66852. assertMap$1($name) {
  66853. return this;
  66854. },
  66855. tryMap$0() {
  66856. return this;
  66857. },
  66858. $eq(_, other) {
  66859. var t1;
  66860. if (other == null)
  66861. return false;
  66862. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66863. t1 = this._map$_contents;
  66864. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66865. } else
  66866. t1 = true;
  66867. return t1;
  66868. },
  66869. get$hashCode(_) {
  66870. var t1 = this._map$_contents;
  66871. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66872. }
  66873. };
  66874. A.SassMixin.prototype = {
  66875. accept$1$1(visitor) {
  66876. var t1, t2;
  66877. if (!visitor._inspect)
  66878. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66879. t1 = visitor._serialize$_buffer;
  66880. t1.write$1(0, "get-mixin(");
  66881. t2 = this.callable;
  66882. visitor._visitQuotedString$1(t2.get$name(t2));
  66883. t1.writeCharCode$1(41);
  66884. return null;
  66885. },
  66886. accept$1(visitor) {
  66887. return this.accept$1$1(visitor, type$.dynamic);
  66888. },
  66889. assertMixin$1($name) {
  66890. return this;
  66891. },
  66892. assertCompileContext$1(compileContext) {
  66893. var t1 = this._mixin$_compileContext !== compileContext;
  66894. if (t1)
  66895. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66896. return this;
  66897. },
  66898. $eq(_, other) {
  66899. if (other == null)
  66900. return false;
  66901. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66902. },
  66903. get$hashCode(_) {
  66904. var t1 = this.callable;
  66905. return t1.get$hashCode(t1);
  66906. }
  66907. };
  66908. A._SassNull.prototype = {
  66909. get$isTruthy() {
  66910. return false;
  66911. },
  66912. get$isBlank() {
  66913. return true;
  66914. },
  66915. get$realNull() {
  66916. return null;
  66917. },
  66918. accept$1$1(visitor) {
  66919. if (visitor._inspect)
  66920. visitor._serialize$_buffer.write$1(0, "null");
  66921. return null;
  66922. },
  66923. accept$1(visitor) {
  66924. return this.accept$1$1(visitor, type$.dynamic);
  66925. },
  66926. unaryNot$0() {
  66927. return B.SassBoolean_true;
  66928. }
  66929. };
  66930. A.SassNumber.prototype = {
  66931. get$unitString() {
  66932. var _this = this;
  66933. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66934. },
  66935. accept$1$1(visitor) {
  66936. return visitor.visitNumber$1(this);
  66937. },
  66938. accept$1(visitor) {
  66939. return this.accept$1$1(visitor, type$.dynamic);
  66940. },
  66941. withoutSlash$0() {
  66942. var _this = this;
  66943. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66944. },
  66945. assertNumber$1($name) {
  66946. return this;
  66947. },
  66948. assertNumber$0() {
  66949. return this.assertNumber$1(null);
  66950. },
  66951. assertInt$1($name) {
  66952. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66953. if (_0_0 != null)
  66954. return _0_0;
  66955. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66956. },
  66957. assertInt$0() {
  66958. return this.assertInt$1(null);
  66959. },
  66960. valueInRange$3(min, max, $name) {
  66961. var _this = this,
  66962. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66963. if (_0_0 != null)
  66964. return _0_0;
  66965. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66966. },
  66967. valueInRangeWithUnit$4(min, max, $name, unit) {
  66968. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66969. if (_0_0 != null)
  66970. return _0_0;
  66971. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66972. },
  66973. hasCompatibleUnits$1(other) {
  66974. var _this = this;
  66975. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66976. return false;
  66977. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66978. return false;
  66979. return _this.isComparableTo$1(other);
  66980. },
  66981. assertUnit$2(unit, $name) {
  66982. if (this.hasUnit$1(unit))
  66983. return;
  66984. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66985. },
  66986. assertNoUnits$1($name) {
  66987. if (!this.get$hasUnits())
  66988. return;
  66989. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66990. },
  66991. assertNoUnits$0() {
  66992. return this.assertNoUnits$1(null);
  66993. },
  66994. convertValueToMatch$3(other, $name, otherName) {
  66995. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66996. },
  66997. convertValueToMatch$1(other) {
  66998. return this.convertValueToMatch$3(other, null, null);
  66999. },
  67000. coerce$3(newNumerators, newDenominators, $name) {
  67001. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  67002. },
  67003. coerce$2(newNumerators, newDenominators) {
  67004. return this.coerce$3(newNumerators, newDenominators, null);
  67005. },
  67006. coerceValue$3(newNumerators, newDenominators, $name) {
  67007. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  67008. },
  67009. coerceValueToUnit$2(unit, $name) {
  67010. var t1 = type$.JSArray_String;
  67011. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  67012. },
  67013. coerceValueToUnit$1(unit) {
  67014. return this.coerceValueToUnit$2(unit, null);
  67015. },
  67016. coerceToMatch$3(other, $name, otherName) {
  67017. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  67018. t2 = other.get$numeratorUnits(other);
  67019. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  67020. },
  67021. coerceValueToMatch$3(other, $name, otherName) {
  67022. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  67023. },
  67024. coerceValueToMatch$1(other) {
  67025. return this.coerceValueToMatch$3(other, null, null);
  67026. },
  67027. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  67028. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  67029. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  67030. return _this._number$_value;
  67031. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  67032. if (coerceUnitless)
  67033. t1 = !_this.get$hasUnits() || !otherHasUnits;
  67034. else
  67035. t1 = false;
  67036. if (t1)
  67037. return _this._number$_value;
  67038. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  67039. _box_0.value = _this._number$_value;
  67040. t1 = _this.get$numeratorUnits(_this);
  67041. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  67042. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  67043. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  67044. t1 = _this.get$denominatorUnits(_this);
  67045. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  67046. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  67047. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  67048. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  67049. throw A.wrapException(compatibilityException.call$0());
  67050. return _box_0.value;
  67051. },
  67052. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  67053. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  67054. },
  67055. isComparableTo$1(other) {
  67056. var exception;
  67057. if (!this.get$hasUnits() || !other.get$hasUnits())
  67058. return true;
  67059. try {
  67060. this.greaterThan$1(other);
  67061. return true;
  67062. } catch (exception) {
  67063. if (A.unwrapException(exception) instanceof A.SassScriptException)
  67064. return false;
  67065. else
  67066. throw exception;
  67067. }
  67068. },
  67069. greaterThan$1(other) {
  67070. if (other instanceof A.SassNumber)
  67071. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  67072. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  67073. },
  67074. greaterThanOrEquals$1(other) {
  67075. if (other instanceof A.SassNumber)
  67076. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  67077. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  67078. },
  67079. lessThan$1(other) {
  67080. if (other instanceof A.SassNumber)
  67081. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  67082. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  67083. },
  67084. lessThanOrEquals$1(other) {
  67085. if (other instanceof A.SassNumber)
  67086. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  67087. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  67088. },
  67089. modulo$1(other) {
  67090. if (other instanceof A.SassNumber)
  67091. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  67092. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  67093. },
  67094. plus$1(other) {
  67095. var _this = this;
  67096. if (other instanceof A.SassNumber)
  67097. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  67098. if (!(other instanceof A.SassColor))
  67099. return _this.super$Value$plus(other);
  67100. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  67101. },
  67102. minus$1(other) {
  67103. var _this = this;
  67104. if (other instanceof A.SassNumber)
  67105. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  67106. if (!(other instanceof A.SassColor))
  67107. return _this.super$Value$minus(other);
  67108. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  67109. },
  67110. times$1(other) {
  67111. var _this = this;
  67112. if (other instanceof A.SassNumber) {
  67113. if (!other.get$hasUnits())
  67114. return _this.withValue$1(_this._number$_value * other._number$_value);
  67115. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  67116. }
  67117. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  67118. },
  67119. dividedBy$1(other) {
  67120. var _this = this;
  67121. if (other instanceof A.SassNumber) {
  67122. if (!other.get$hasUnits())
  67123. return _this.withValue$1(_this._number$_value / other._number$_value);
  67124. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  67125. }
  67126. return _this.super$Value$dividedBy(other);
  67127. },
  67128. unaryPlus$0() {
  67129. return this;
  67130. },
  67131. _coerceUnits$1$2(other, operation) {
  67132. var t1, exception;
  67133. try {
  67134. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  67135. return t1;
  67136. } catch (exception) {
  67137. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  67138. this.coerceValueToMatch$1(other);
  67139. throw exception;
  67140. } else
  67141. throw exception;
  67142. }
  67143. },
  67144. _coerceUnits$2(other, operation) {
  67145. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  67146. },
  67147. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67148. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, t3, denominators_case_0, _0_11_isSet, _0_11, _0_13, _0_13_isSet, numerators_case_0, t4, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  67149. _box_0.value = value;
  67150. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  67151. _0_1 = t1[0];
  67152. _0_6 = _null;
  67153. _0_3 = _null;
  67154. _0_9 = _null;
  67155. _0_9_isSet = false;
  67156. _0_7 = _null;
  67157. _0_7_isSet = false;
  67158. t2 = false;
  67159. _0_2 = t1[1];
  67160. _0_3 = t1[2];
  67161. _0_6 = _0_3.length <= 0;
  67162. t3 = _0_6;
  67163. if (t3) {
  67164. _0_7 = t1[3];
  67165. _0_9 = _0_7.length <= 0;
  67166. t2 = _0_9;
  67167. _0_9_isSet = true;
  67168. _0_7_isSet = true;
  67169. }
  67170. denominators_case_0 = _0_2;
  67171. _0_11_isSet = !t2;
  67172. _0_11 = _null;
  67173. _0_13 = _null;
  67174. _0_13_isSet = false;
  67175. t2 = true;
  67176. if (_0_11_isSet) {
  67177. _0_11 = _0_1.length <= 0;
  67178. t3 = _0_11;
  67179. if (t3) {
  67180. _0_13 = _0_2.length <= 0;
  67181. t3 = _0_13;
  67182. if (t3) {
  67183. if (_0_7_isSet)
  67184. denominators_case_0 = _0_7;
  67185. else {
  67186. _0_7 = t1[3];
  67187. denominators_case_0 = _0_7;
  67188. _0_7_isSet = true;
  67189. }
  67190. numerators_case_0 = _0_3;
  67191. } else {
  67192. numerators_case_0 = _0_1;
  67193. t2 = false;
  67194. }
  67195. _0_13_isSet = true;
  67196. } else {
  67197. numerators_case_0 = _0_1;
  67198. t2 = false;
  67199. }
  67200. } else
  67201. numerators_case_0 = _0_1;
  67202. if (t2) {
  67203. t4 = denominators_case_0;
  67204. t3 = numerators_case_0;
  67205. } else {
  67206. t4 = _null;
  67207. t3 = t4;
  67208. }
  67209. if (!t2) {
  67210. t2 = _null;
  67211. t5 = _null;
  67212. if (_0_11_isSet)
  67213. t6 = _0_11;
  67214. else {
  67215. _0_11 = _0_1.length <= 0;
  67216. t6 = _0_11;
  67217. }
  67218. t7 = false;
  67219. if (t6) {
  67220. if (_0_9_isSet)
  67221. t2 = _0_9;
  67222. else {
  67223. if (_0_7_isSet)
  67224. t2 = _0_7;
  67225. else {
  67226. _0_7 = t1[3];
  67227. t2 = _0_7;
  67228. _0_7_isSet = true;
  67229. }
  67230. _0_9 = t2.length <= 0;
  67231. t2 = _0_9;
  67232. }
  67233. numerators_case_1 = _0_3;
  67234. denominators_case_1 = _0_2;
  67235. } else {
  67236. numerators_case_1 = t2;
  67237. t2 = t7;
  67238. denominators_case_1 = t5;
  67239. }
  67240. if (!t2) {
  67241. t2 = false;
  67242. if (_0_13_isSet)
  67243. t5 = _0_13;
  67244. else {
  67245. _0_13 = _0_2.length <= 0;
  67246. t5 = _0_13;
  67247. }
  67248. if (t5)
  67249. if (_0_6) {
  67250. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  67251. t1 = true;
  67252. } else
  67253. t1 = t2;
  67254. else
  67255. t1 = t2;
  67256. numerators_case_1 = _0_1;
  67257. } else
  67258. t1 = true;
  67259. if (t1) {
  67260. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  67261. if (t1) {
  67262. t3 = denominators_case_1;
  67263. t2 = numerators_case_1;
  67264. } else {
  67265. t2 = t3;
  67266. t3 = t4;
  67267. }
  67268. t0 = t3;
  67269. t3 = t1;
  67270. t1 = t2;
  67271. t2 = t0;
  67272. } else {
  67273. t2 = t4;
  67274. t1 = t3;
  67275. t3 = false;
  67276. }
  67277. } else {
  67278. t2 = t4;
  67279. t1 = t3;
  67280. t3 = true;
  67281. }
  67282. if (t3)
  67283. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  67284. newNumerators = A._setArrayType([], type$.JSArray_String);
  67285. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67286. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  67287. numerator = t1[_i];
  67288. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  67289. }
  67290. t1 = _this.get$denominatorUnits(_this);
  67291. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  67292. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  67293. numerator = otherNumerators[_i];
  67294. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  67295. }
  67296. t1 = _box_0.value;
  67297. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  67298. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  67299. },
  67300. _areAnyConvertible$2(units1, units2) {
  67301. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  67302. },
  67303. _unitString$2(numerators, denominators) {
  67304. var _0_4, _0_7, _0_6, _0_5, t1, _0_9, _0_10, denominator, _null = null;
  67305. $label0$0: {
  67306. _0_4 = numerators.length <= 0;
  67307. _0_7 = _null;
  67308. _0_6 = _null;
  67309. _0_5 = _null;
  67310. if (_0_4) {
  67311. _0_6 = denominators.length;
  67312. t1 = _0_6;
  67313. _0_7 = t1 <= 0;
  67314. t1 = _0_7;
  67315. _0_5 = denominators;
  67316. } else
  67317. t1 = false;
  67318. if (t1) {
  67319. t1 = "no units";
  67320. break $label0$0;
  67321. }
  67322. _0_9 = _null;
  67323. if (_0_4) {
  67324. t1 = _0_6;
  67325. _0_9 = t1 === 1;
  67326. t1 = _0_9;
  67327. } else
  67328. t1 = false;
  67329. if (t1) {
  67330. _0_10 = (_0_4 ? _0_5 : denominators)[0];
  67331. denominator = _0_10;
  67332. t1 = denominator + "^-1";
  67333. break $label0$0;
  67334. }
  67335. if (_0_4) {
  67336. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  67337. break $label0$0;
  67338. }
  67339. t1 = denominators;
  67340. _0_5 = t1;
  67341. _0_6 = t1.length;
  67342. t1 = _0_6;
  67343. _0_7 = t1 <= 0;
  67344. t1 = _0_7;
  67345. if (t1) {
  67346. t1 = B.JSArray_methods.join$1(numerators, "*");
  67347. break $label0$0;
  67348. }
  67349. t1 = _0_6;
  67350. _0_9 = t1 === 1;
  67351. t1 = _0_9;
  67352. if (t1) {
  67353. _0_10 = _0_5[0];
  67354. denominator = _0_10;
  67355. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  67356. break $label0$0;
  67357. }
  67358. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  67359. break $label0$0;
  67360. }
  67361. return t1;
  67362. },
  67363. $eq(_, other) {
  67364. var _this = this;
  67365. if (other == null)
  67366. return false;
  67367. if (!(other instanceof A.SassNumber))
  67368. return false;
  67369. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  67370. return false;
  67371. if (!_this.get$hasUnits())
  67372. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  67373. if (!B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._canonicalizeUnitList$1(other.get$denominatorUnits(other))))
  67374. return false;
  67375. return A.fuzzyEquals(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this)), other._number$_value * _this._canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._canonicalMultiplier$1(other.get$denominatorUnits(other)));
  67376. },
  67377. get$hashCode(_) {
  67378. var _this = this,
  67379. t1 = _this.hashCache;
  67380. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
  67381. },
  67382. _canonicalizeUnitList$1(units) {
  67383. var type,
  67384. t1 = units.length;
  67385. if (t1 === 0)
  67386. return units;
  67387. if (t1 === 1) {
  67388. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  67389. if (type == null)
  67390. t1 = units;
  67391. else {
  67392. t1 = B.Map_Sr65K.$index(0, type);
  67393. t1.toString;
  67394. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  67395. }
  67396. return t1;
  67397. }
  67398. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  67399. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), t1._eval$1("ListIterable.E"));
  67400. B.JSArray_methods.sort$0(t1);
  67401. return t1;
  67402. },
  67403. _canonicalMultiplier$1(units) {
  67404. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  67405. },
  67406. canonicalMultiplierForUnit$1(unit) {
  67407. var t1,
  67408. innerMap = B.Map_NtHoP.$index(0, unit);
  67409. if (innerMap == null)
  67410. t1 = 1;
  67411. else {
  67412. t1 = innerMap.get$values(innerMap);
  67413. t1 = 1 / t1.get$first(t1);
  67414. }
  67415. return t1;
  67416. },
  67417. unitSuggestion$2($name, unit) {
  67418. var t2, t3, result, _this = this,
  67419. t1 = _this.get$denominatorUnits(_this);
  67420. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  67421. t2 = _this.get$numeratorUnits(_this);
  67422. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  67423. t3 = unit == null ? "" : " * 1" + unit;
  67424. result = "$" + $name + t1 + t2 + t3;
  67425. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  67426. },
  67427. unitSuggestion$1($name) {
  67428. return this.unitSuggestion$2($name, null);
  67429. }
  67430. };
  67431. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  67432. call$0() {
  67433. var t2, t3, message, t4, type, unit, _this = this,
  67434. t1 = _this.other;
  67435. if (t1 != null) {
  67436. t2 = _this.$this;
  67437. t3 = t2.toString$0(0) + " and";
  67438. message = new A.StringBuffer(t3);
  67439. t4 = _this.otherName;
  67440. if (t4 != null)
  67441. t3 = message._contents = t3 + (" $" + t4 + ":");
  67442. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  67443. message._contents = t1;
  67444. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  67445. message._contents = t1 + " (one has units and the other doesn't)";
  67446. t1 = message.toString$0(0) + ".";
  67447. t2 = _this.name;
  67448. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  67449. } else if (!_this.otherHasUnits) {
  67450. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  67451. t2 = _this.name;
  67452. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  67453. } else {
  67454. t1 = _this.newNumerators;
  67455. if (t1.length === 1 && _this.newDenominators.length === 0) {
  67456. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  67457. if (type != null) {
  67458. t1 = _this.$this.toString$0(0);
  67459. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  67460. t3 = B.Map_Sr65K.$index(0, type);
  67461. t3.toString;
  67462. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  67463. t2 = _this.name;
  67464. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  67465. }
  67466. }
  67467. t2 = _this.newDenominators;
  67468. unit = A.pluralize("unit", t1.length + t2.length, null);
  67469. t3 = _this.$this;
  67470. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  67471. t1 = _this.name;
  67472. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  67473. }
  67474. },
  67475. $signature: 420
  67476. };
  67477. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  67478. call$1(oldNumerator) {
  67479. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  67480. if (factor == null)
  67481. return false;
  67482. this._box_0.value *= factor;
  67483. return true;
  67484. },
  67485. $signature: 5
  67486. };
  67487. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  67488. call$0() {
  67489. return A.throwExpression(this.compatibilityException.call$0());
  67490. },
  67491. $signature: 0
  67492. };
  67493. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  67494. call$1(oldDenominator) {
  67495. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  67496. if (factor == null)
  67497. return false;
  67498. this._box_0.value /= factor;
  67499. return true;
  67500. },
  67501. $signature: 5
  67502. };
  67503. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  67504. call$0() {
  67505. return A.throwExpression(this.compatibilityException.call$0());
  67506. },
  67507. $signature: 0
  67508. };
  67509. A.SassNumber_plus_closure.prototype = {
  67510. call$2(num1, num2) {
  67511. return num1 + num2;
  67512. },
  67513. $signature: 57
  67514. };
  67515. A.SassNumber_minus_closure.prototype = {
  67516. call$2(num1, num2) {
  67517. return num1 - num2;
  67518. },
  67519. $signature: 57
  67520. };
  67521. A.SassNumber_multiplyUnits_closure.prototype = {
  67522. call$1(denominator) {
  67523. var factor = A.conversionFactor(this.numerator, denominator);
  67524. if (factor == null)
  67525. return false;
  67526. this._box_0.value /= factor;
  67527. return true;
  67528. },
  67529. $signature: 5
  67530. };
  67531. A.SassNumber_multiplyUnits_closure0.prototype = {
  67532. call$0() {
  67533. return this.newNumerators.push(this.numerator);
  67534. },
  67535. $signature: 0
  67536. };
  67537. A.SassNumber_multiplyUnits_closure1.prototype = {
  67538. call$1(denominator) {
  67539. var factor = A.conversionFactor(this.numerator, denominator);
  67540. if (factor == null)
  67541. return false;
  67542. this._box_0.value /= factor;
  67543. return true;
  67544. },
  67545. $signature: 5
  67546. };
  67547. A.SassNumber_multiplyUnits_closure2.prototype = {
  67548. call$0() {
  67549. return this.newNumerators.push(this.numerator);
  67550. },
  67551. $signature: 0
  67552. };
  67553. A.SassNumber__areAnyConvertible_closure.prototype = {
  67554. call$1(unit1) {
  67555. var t1,
  67556. _0_0 = B.Map_NtHoP.$index(0, unit1);
  67557. $label0$0: {
  67558. if (_0_0 != null) {
  67559. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  67560. break $label0$0;
  67561. }
  67562. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  67563. break $label0$0;
  67564. }
  67565. return t1;
  67566. },
  67567. $signature: 5
  67568. };
  67569. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  67570. call$1(unit) {
  67571. var t1,
  67572. type = $.$get$_typesByUnit().$index(0, unit);
  67573. if (type == null)
  67574. t1 = unit;
  67575. else {
  67576. t1 = B.Map_Sr65K.$index(0, type);
  67577. t1.toString;
  67578. t1 = B.JSArray_methods.get$first(t1);
  67579. }
  67580. return t1;
  67581. },
  67582. $signature: 6
  67583. };
  67584. A.SassNumber__canonicalMultiplier_closure.prototype = {
  67585. call$2(multiplier, unit) {
  67586. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  67587. },
  67588. $signature: 164
  67589. };
  67590. A.SassNumber_unitSuggestion_closure.prototype = {
  67591. call$1(unit) {
  67592. return " * 1" + unit;
  67593. },
  67594. $signature: 6
  67595. };
  67596. A.SassNumber_unitSuggestion_closure0.prototype = {
  67597. call$1(unit) {
  67598. return " / 1" + unit;
  67599. },
  67600. $signature: 6
  67601. };
  67602. A.ComplexSassNumber.prototype = {
  67603. get$numeratorUnits(_) {
  67604. return this._numeratorUnits;
  67605. },
  67606. get$denominatorUnits(_) {
  67607. return this._denominatorUnits;
  67608. },
  67609. get$hasUnits() {
  67610. return true;
  67611. },
  67612. get$hasComplexUnits() {
  67613. return true;
  67614. },
  67615. hasUnit$1(unit) {
  67616. return false;
  67617. },
  67618. compatibleWithUnit$1(unit) {
  67619. return false;
  67620. },
  67621. hasPossiblyCompatibleUnits$1(other) {
  67622. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67623. },
  67624. withValue$1(value) {
  67625. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67626. },
  67627. withSlash$2(numerator, denominator) {
  67628. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67629. }
  67630. };
  67631. A.SingleUnitSassNumber.prototype = {
  67632. get$numeratorUnits(_) {
  67633. return A.List_List$unmodifiable([this._unit], type$.String);
  67634. },
  67635. get$denominatorUnits(_) {
  67636. return B.List_empty;
  67637. },
  67638. get$hasUnits() {
  67639. return true;
  67640. },
  67641. get$hasComplexUnits() {
  67642. return false;
  67643. },
  67644. withValue$1(value) {
  67645. return new A.SingleUnitSassNumber(this._unit, value, null);
  67646. },
  67647. withSlash$2(numerator, denominator) {
  67648. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67649. },
  67650. hasUnit$1(unit) {
  67651. return unit === this._unit;
  67652. },
  67653. hasCompatibleUnits$1(other) {
  67654. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67655. },
  67656. hasPossiblyCompatibleUnits$1(other) {
  67657. var t1, knownCompatibilities, otherUnit;
  67658. if (!(other instanceof A.SingleUnitSassNumber))
  67659. return false;
  67660. t1 = $.$get$_knownCompatibilitiesByUnit();
  67661. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67662. if (knownCompatibilities == null)
  67663. return true;
  67664. otherUnit = other._unit.toLowerCase();
  67665. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67666. },
  67667. compatibleWithUnit$1(unit) {
  67668. return A.conversionFactor(this._unit, unit) != null;
  67669. },
  67670. coerceToMatch$1(other) {
  67671. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67672. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67673. },
  67674. coerceValueToMatch$3(other, $name, otherName) {
  67675. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67676. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67677. },
  67678. coerceValueToMatch$1(other) {
  67679. return this.coerceValueToMatch$3(other, null, null);
  67680. },
  67681. convertValueToMatch$3(other, $name, otherName) {
  67682. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67683. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67684. },
  67685. convertValueToMatch$1(other) {
  67686. return this.convertValueToMatch$3(other, null, null);
  67687. },
  67688. coerce$2(newNumerators, newDenominators) {
  67689. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67690. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67691. },
  67692. coerceValue$3(newNumerators, newDenominators, $name) {
  67693. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67694. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67695. },
  67696. coerceValueToUnit$2(unit, $name) {
  67697. var t1 = this._coerceValueToUnit$1(unit);
  67698. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67699. },
  67700. coerceValueToUnit$1(unit) {
  67701. return this.coerceValueToUnit$2(unit, null);
  67702. },
  67703. _coerceToUnit$1(unit) {
  67704. var t1 = this._unit;
  67705. if (t1 === unit)
  67706. return this;
  67707. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67708. },
  67709. _coerceValueToUnit$1(unit) {
  67710. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67711. },
  67712. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67713. var mutableOtherDenominators, t1 = {};
  67714. t1.value = value;
  67715. t1.newNumerators = otherNumerators;
  67716. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67717. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67718. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67719. },
  67720. unaryMinus$0() {
  67721. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67722. },
  67723. $eq(_, other) {
  67724. var factor;
  67725. if (other == null)
  67726. return false;
  67727. if (other instanceof A.SingleUnitSassNumber) {
  67728. factor = A.conversionFactor(other._unit, this._unit);
  67729. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67730. } else
  67731. return false;
  67732. },
  67733. get$hashCode(_) {
  67734. var _this = this,
  67735. t1 = _this.hashCache;
  67736. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67737. }
  67738. };
  67739. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67740. call$1(factor) {
  67741. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67742. },
  67743. $signature: 417
  67744. };
  67745. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67746. call$1(factor) {
  67747. return this.$this._number$_value * factor;
  67748. },
  67749. $signature: 16
  67750. };
  67751. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67752. call$1(denominator) {
  67753. var factor = A.conversionFactor(denominator, this.$this._unit);
  67754. if (factor == null)
  67755. return false;
  67756. this._box_0.value *= factor;
  67757. return true;
  67758. },
  67759. $signature: 5
  67760. };
  67761. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67762. call$0() {
  67763. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67764. t2 = this._box_0;
  67765. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67766. t2.newNumerators = t1;
  67767. },
  67768. $signature: 0
  67769. };
  67770. A.UnitlessSassNumber.prototype = {
  67771. get$numeratorUnits(_) {
  67772. return B.List_empty;
  67773. },
  67774. get$denominatorUnits(_) {
  67775. return B.List_empty;
  67776. },
  67777. get$hasUnits() {
  67778. return false;
  67779. },
  67780. get$hasComplexUnits() {
  67781. return false;
  67782. },
  67783. withValue$1(value) {
  67784. return new A.UnitlessSassNumber(value, null);
  67785. },
  67786. withSlash$2(numerator, denominator) {
  67787. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67788. },
  67789. hasUnit$1(unit) {
  67790. return false;
  67791. },
  67792. hasCompatibleUnits$1(other) {
  67793. return other instanceof A.UnitlessSassNumber;
  67794. },
  67795. hasPossiblyCompatibleUnits$1(other) {
  67796. return other instanceof A.UnitlessSassNumber;
  67797. },
  67798. compatibleWithUnit$1(unit) {
  67799. return true;
  67800. },
  67801. coerceToMatch$1(other) {
  67802. return other.withValue$1(this._number$_value);
  67803. },
  67804. coerceValueToMatch$3(other, $name, otherName) {
  67805. return this._number$_value;
  67806. },
  67807. coerceValueToMatch$1(other) {
  67808. return this.coerceValueToMatch$3(other, null, null);
  67809. },
  67810. convertValueToMatch$3(other, $name, otherName) {
  67811. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67812. },
  67813. convertValueToMatch$1(other) {
  67814. return this.convertValueToMatch$3(other, null, null);
  67815. },
  67816. coerce$2(newNumerators, newDenominators) {
  67817. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67818. },
  67819. coerceValue$3(newNumerators, newDenominators, $name) {
  67820. return this._number$_value;
  67821. },
  67822. coerceValueToUnit$2(unit, $name) {
  67823. return this._number$_value;
  67824. },
  67825. coerceValueToUnit$1(unit) {
  67826. return this.coerceValueToUnit$2(unit, null);
  67827. },
  67828. greaterThan$1(other) {
  67829. var t1, t2;
  67830. if (other instanceof A.SassNumber) {
  67831. t1 = this._number$_value;
  67832. t2 = other._number$_value;
  67833. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67834. }
  67835. return this.super$SassNumber$greaterThan(other);
  67836. },
  67837. greaterThanOrEquals$1(other) {
  67838. var t1, t2;
  67839. if (other instanceof A.SassNumber) {
  67840. t1 = this._number$_value;
  67841. t2 = other._number$_value;
  67842. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67843. }
  67844. return this.super$SassNumber$greaterThanOrEquals(other);
  67845. },
  67846. lessThan$1(other) {
  67847. var t1, t2;
  67848. if (other instanceof A.SassNumber) {
  67849. t1 = this._number$_value;
  67850. t2 = other._number$_value;
  67851. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67852. }
  67853. return this.super$SassNumber$lessThan(other);
  67854. },
  67855. lessThanOrEquals$1(other) {
  67856. var t1, t2;
  67857. if (other instanceof A.SassNumber) {
  67858. t1 = this._number$_value;
  67859. t2 = other._number$_value;
  67860. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67861. }
  67862. return this.super$SassNumber$lessThanOrEquals(other);
  67863. },
  67864. modulo$1(other) {
  67865. if (other instanceof A.SassNumber)
  67866. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67867. return this.super$SassNumber$modulo(other);
  67868. },
  67869. plus$1(other) {
  67870. if (other instanceof A.SassNumber)
  67871. return other.withValue$1(this._number$_value + other._number$_value);
  67872. return this.super$SassNumber$plus(other);
  67873. },
  67874. minus$1(other) {
  67875. if (other instanceof A.SassNumber)
  67876. return other.withValue$1(this._number$_value - other._number$_value);
  67877. return this.super$SassNumber$minus(other);
  67878. },
  67879. times$1(other) {
  67880. if (other instanceof A.SassNumber)
  67881. return other.withValue$1(this._number$_value * other._number$_value);
  67882. return this.super$SassNumber$times(other);
  67883. },
  67884. dividedBy$1(other) {
  67885. var t1, t2;
  67886. if (other instanceof A.SassNumber) {
  67887. t1 = this._number$_value / other._number$_value;
  67888. if (other.get$hasUnits()) {
  67889. t2 = other.get$denominatorUnits(other);
  67890. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67891. t1 = t2;
  67892. } else
  67893. t1 = new A.UnitlessSassNumber(t1, null);
  67894. return t1;
  67895. }
  67896. return this.super$SassNumber$dividedBy(other);
  67897. },
  67898. unaryMinus$0() {
  67899. return new A.UnitlessSassNumber(-this._number$_value, null);
  67900. },
  67901. $eq(_, other) {
  67902. if (other == null)
  67903. return false;
  67904. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67905. },
  67906. get$hashCode(_) {
  67907. var t1 = this.hashCache;
  67908. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67909. }
  67910. };
  67911. A.SassString.prototype = {
  67912. get$_sassLength() {
  67913. var result, _this = this,
  67914. value = _this.__SassString__sassLength_FI;
  67915. if (value === $) {
  67916. result = new A.Runes(_this._string$_text).get$length(0);
  67917. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67918. _this.__SassString__sassLength_FI = result;
  67919. value = result;
  67920. }
  67921. return value;
  67922. },
  67923. get$isSpecialNumber() {
  67924. var t1, _2_0, t2, _0_0, _1_0;
  67925. if (this._hasQuotes)
  67926. return false;
  67927. t1 = this._string$_text;
  67928. if (t1.length < 6)
  67929. return false;
  67930. _2_0 = t1.charCodeAt(0);
  67931. $label0$0: {
  67932. t2 = false;
  67933. if (97 === _2_0 || 65 === _2_0) {
  67934. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  67935. break $label0$0;
  67936. }
  67937. if (99 === _2_0 || 67 === _2_0) {
  67938. _0_0 = t1.charCodeAt(1);
  67939. $label1$1: {
  67940. if (108 === _0_0 || 76 === _0_0) {
  67941. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67942. break $label1$1;
  67943. }
  67944. if (97 === _0_0 || 65 === _0_0) {
  67945. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67946. break $label1$1;
  67947. }
  67948. t1 = t2;
  67949. break $label1$1;
  67950. }
  67951. break $label0$0;
  67952. }
  67953. if (118 === _2_0 || 86 === _2_0) {
  67954. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67955. break $label0$0;
  67956. }
  67957. if (101 === _2_0 || 69 === _2_0) {
  67958. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67959. break $label0$0;
  67960. }
  67961. if (109 === _2_0 || 77 === _2_0) {
  67962. _1_0 = t1.charCodeAt(1);
  67963. $label2$2: {
  67964. if (97 === _1_0 || 65 === _1_0) {
  67965. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67966. break $label2$2;
  67967. }
  67968. if (105 === _1_0 || 73 === _1_0) {
  67969. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67970. break $label2$2;
  67971. }
  67972. t1 = t2;
  67973. break $label2$2;
  67974. }
  67975. break $label0$0;
  67976. }
  67977. t1 = t2;
  67978. break $label0$0;
  67979. }
  67980. return t1;
  67981. },
  67982. get$isVar() {
  67983. if (this._hasQuotes)
  67984. return false;
  67985. var t1 = this._string$_text;
  67986. if (t1.length < 8)
  67987. return false;
  67988. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67989. },
  67990. get$isBlank() {
  67991. return !this._hasQuotes && this._string$_text.length === 0;
  67992. },
  67993. assertQuoted$1($name) {
  67994. if (this._hasQuotes)
  67995. return;
  67996. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67997. },
  67998. assertUnquoted$1($name) {
  67999. if (!this._hasQuotes)
  68000. return;
  68001. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  68002. },
  68003. assertUnquoted$0() {
  68004. return this.assertUnquoted$1(null);
  68005. },
  68006. accept$1$1(visitor) {
  68007. var t1 = visitor._quote && this._hasQuotes,
  68008. t2 = this._string$_text;
  68009. if (t1)
  68010. visitor._visitQuotedString$1(t2);
  68011. else
  68012. visitor._visitUnquotedString$1(t2);
  68013. return null;
  68014. },
  68015. accept$1(visitor) {
  68016. return this.accept$1$1(visitor, type$.dynamic);
  68017. },
  68018. assertString$1($name) {
  68019. return this;
  68020. },
  68021. plus$1(other) {
  68022. var t1 = this._string$_text,
  68023. t2 = this._hasQuotes;
  68024. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  68025. },
  68026. $eq(_, other) {
  68027. if (other == null)
  68028. return false;
  68029. return other instanceof A.SassString && this._string$_text === other._string$_text;
  68030. },
  68031. get$hashCode(_) {
  68032. var t1 = this._hashCache;
  68033. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  68034. }
  68035. };
  68036. A.AnySelectorVisitor.prototype = {
  68037. visitComplexSelector$1(complex) {
  68038. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  68039. },
  68040. visitCompoundSelector$1(compound) {
  68041. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  68042. },
  68043. visitPseudoSelector$1(_, pseudo) {
  68044. var selector = pseudo.selector;
  68045. return selector == null ? false : this.visitSelectorList$1(selector);
  68046. },
  68047. visitSelectorList$1(list) {
  68048. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  68049. },
  68050. visitAttributeSelector$1(_, attribute) {
  68051. return false;
  68052. },
  68053. visitClassSelector$1(_, klass) {
  68054. return false;
  68055. },
  68056. visitIDSelector$1(_, id) {
  68057. return false;
  68058. },
  68059. visitParentSelector$1(_, $parent) {
  68060. return false;
  68061. },
  68062. visitPlaceholderSelector$1(_, placeholder) {
  68063. return false;
  68064. },
  68065. visitTypeSelector$1(_, type) {
  68066. return false;
  68067. },
  68068. visitUniversalSelector$1(_, universal) {
  68069. return false;
  68070. }
  68071. };
  68072. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  68073. call$1(component) {
  68074. return this.$this.visitCompoundSelector$1(component.selector);
  68075. },
  68076. $signature: 55
  68077. };
  68078. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  68079. call$1(simple) {
  68080. return simple.accept$1(this.$this);
  68081. },
  68082. $signature: 13
  68083. };
  68084. A._EvaluateVisitor0.prototype = {
  68085. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  68086. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  68087. _s20_ = "$name, $module: null",
  68088. _s9_ = "sass:meta",
  68089. _s7_ = "$module",
  68090. t1 = type$.JSArray_AsyncBuiltInCallable,
  68091. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure16(_this), _s9_), A.BuiltInCallable$function("module-variables", _s7_, new A._EvaluateVisitor_closure17(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure18(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", false, _s9_).parseParameterList$0(), new A._EvaluateVisitor_closure22(_this), false)], t1),
  68092. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure23(_this), false, _s9_), A.AsyncBuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure24(_this), true, _s9_)], t1);
  68093. t1 = type$.AsyncBuiltInCallable;
  68094. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  68095. B.JSArray_methods.addAll$1(t2, metaFunctions);
  68096. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  68097. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_AsyncCallable);
  68098. t1.push(metaModule);
  68099. t2 = t1.length;
  68100. t3 = _this._async_evaluate$_builtInModules;
  68101. _i = 0;
  68102. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  68103. module = t1[_i];
  68104. t3.$indexSet(0, module.url, module);
  68105. }
  68106. t1 = type$.JSArray_AsyncCallable;
  68107. t2 = A._setArrayType([], t1);
  68108. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  68109. t1 = A._setArrayType([], t1);
  68110. for (_i = 0; _i < 11; ++_i)
  68111. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  68112. B.JSArray_methods.addAll$1(t2, t1);
  68113. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68114. $function = t2[_i];
  68115. t4 = $function.get$name($function);
  68116. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  68117. }
  68118. },
  68119. run$2(_, importer, node) {
  68120. return this.run$body$_EvaluateVisitor(0, importer, node);
  68121. },
  68122. run$body$_EvaluateVisitor(_, importer, node) {
  68123. var $async$goto = 0,
  68124. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  68125. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  68126. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68127. if ($async$errorCode === 1) {
  68128. $async$errorStack.push($async$result);
  68129. $async$goto = $async$handler;
  68130. }
  68131. for (;;)
  68132. switch ($async$goto) {
  68133. case 0:
  68134. // Function start
  68135. $async$handler = 4;
  68136. t1 = type$.nullable_Object;
  68137. t1 = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  68138. $async$goto = 7;
  68139. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet), $async$run$2);
  68140. case 7:
  68141. // returning from await.
  68142. t1 = $async$result;
  68143. $async$returnValue = t1;
  68144. // goto return
  68145. $async$goto = 1;
  68146. break;
  68147. $async$handler = 2;
  68148. // goto after finally
  68149. $async$goto = 6;
  68150. break;
  68151. case 4:
  68152. // catch
  68153. $async$handler = 3;
  68154. $async$exception = $async$errorStack.pop();
  68155. t1 = A.unwrapException($async$exception);
  68156. if (t1 instanceof A.SassException) {
  68157. error = t1;
  68158. stackTrace = A.getTraceFromException($async$exception);
  68159. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  68160. } else
  68161. throw $async$exception;
  68162. // goto after finally
  68163. $async$goto = 6;
  68164. break;
  68165. case 3:
  68166. // uncaught
  68167. // goto rethrow
  68168. $async$goto = 2;
  68169. break;
  68170. case 6:
  68171. // after finally
  68172. case 1:
  68173. // return
  68174. return A._asyncReturn($async$returnValue, $async$completer);
  68175. case 2:
  68176. // rethrow
  68177. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  68178. }
  68179. });
  68180. return A._asyncStartSync($async$run$2, $async$completer);
  68181. },
  68182. _async_evaluate$_assertInModule$1$2(value, $name) {
  68183. if (value != null)
  68184. return value;
  68185. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  68186. },
  68187. _async_evaluate$_assertInModule$2(value, $name) {
  68188. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  68189. },
  68190. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  68191. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  68192. },
  68193. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  68194. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  68195. },
  68196. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  68197. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  68198. },
  68199. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  68200. var $async$goto = 0,
  68201. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68202. $async$returnValue, $async$self = this, t2, _0_0, t1;
  68203. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68204. if ($async$errorCode === 1)
  68205. return A._asyncRethrow($async$result, $async$completer);
  68206. for (;;)
  68207. switch ($async$goto) {
  68208. case 0:
  68209. // Function start
  68210. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  68211. t1 = {};
  68212. t1.builtInModule = null;
  68213. $async$goto = _0_0 != null ? 3 : 4;
  68214. break;
  68215. case 3:
  68216. // then
  68217. t1.builtInModule = _0_0;
  68218. if (configuration instanceof A.ExplicitConfiguration) {
  68219. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  68220. t2 = configuration.nodeWithSpan;
  68221. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  68222. }
  68223. $async$goto = 5;
  68224. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(t1, callback), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  68225. case 5:
  68226. // returning from await.
  68227. // goto return
  68228. $async$goto = 1;
  68229. break;
  68230. case 4:
  68231. // join
  68232. $async$goto = 6;
  68233. return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure2($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  68234. case 6:
  68235. // returning from await.
  68236. case 1:
  68237. // return
  68238. return A._asyncReturn($async$returnValue, $async$completer);
  68239. }
  68240. });
  68241. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  68242. },
  68243. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  68244. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  68245. },
  68246. _async_evaluate$_execute$2(importer, stylesheet) {
  68247. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  68248. },
  68249. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  68250. var $async$goto = 0,
  68251. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  68252. $async$returnValue, $async$self = this, currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  68253. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68254. if ($async$errorCode === 1)
  68255. return A._asyncRethrow($async$result, $async$completer);
  68256. for (;;)
  68257. switch ($async$goto) {
  68258. case 0:
  68259. // Function start
  68260. t1 = stylesheet.span;
  68261. url = t1.get$sourceUrl(t1);
  68262. t1 = configuration == null;
  68263. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  68264. t2 = $async$self._async_evaluate$_modules;
  68265. _0_0 = t2.$index(0, url);
  68266. if (_0_0 != null) {
  68267. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  68268. t3 = t2.__originalConfiguration;
  68269. t2 = t3 == null ? t2 : t3;
  68270. t3 = currentConfiguration.__originalConfiguration;
  68271. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.MapKeySet_String))) {
  68272. if (namesInErrors) {
  68273. t2 = $.$get$context();
  68274. url.toString;
  68275. message = t2.prettyUri$1(url) + string$.x20was_a;
  68276. } else
  68277. message = string$.This_mw;
  68278. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  68279. existingSpan = t2 == null ? null : t2.get$span(t2);
  68280. if (t1) {
  68281. t1 = currentConfiguration.nodeWithSpan;
  68282. configurationSpan = t1.get$span(t1);
  68283. } else
  68284. configurationSpan = null;
  68285. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  68286. if (existingSpan != null)
  68287. t1.$indexSet(0, existingSpan, "original load");
  68288. if (configurationSpan != null)
  68289. t1.$indexSet(0, configurationSpan, "configuration");
  68290. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  68291. }
  68292. $async$returnValue = _0_0;
  68293. // goto return
  68294. $async$goto = 1;
  68295. break;
  68296. }
  68297. environment = A.AsyncEnvironment$();
  68298. css = A._Cell$();
  68299. preModuleComments = A._Cell$();
  68300. extensionStore = A.ExtensionStore$();
  68301. $async$goto = 3;
  68302. return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
  68303. case 3:
  68304. // returning from await.
  68305. t1 = css._readLocal$0();
  68306. t3 = preModuleComments._readLocal$0();
  68307. module = environment.toModule$3(t1, t3 == null ? B.Map_empty7 : t3, extensionStore);
  68308. if (url != null) {
  68309. t2.$indexSet(0, url, module);
  68310. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  68311. if (nodeWithSpan != null)
  68312. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  68313. }
  68314. $async$returnValue = module;
  68315. // goto return
  68316. $async$goto = 1;
  68317. break;
  68318. case 1:
  68319. // return
  68320. return A._asyncReturn($async$returnValue, $async$completer);
  68321. }
  68322. });
  68323. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  68324. },
  68325. _async_evaluate$_addOutOfOrderImports$0() {
  68326. var t1, t2, _this = this, _s5_ = "_root",
  68327. _s13_ = "_endOfImports",
  68328. _0_0 = _this._async_evaluate$_outOfOrderImports;
  68329. $label0$0: {
  68330. if (_0_0 == null) {
  68331. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  68332. break $label0$0;
  68333. }
  68334. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  68335. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode);
  68336. B.JSArray_methods.addAll$1(t1, _0_0);
  68337. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  68338. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  68339. break $label0$0;
  68340. }
  68341. return t1;
  68342. },
  68343. _async_evaluate$_combineCss$2$clone(root, clone) {
  68344. var selectors, _0_0, t1, imports, css, sorted, t2;
  68345. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  68346. selectors = root.get$extensionStore().get$simpleSelectors();
  68347. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  68348. if (_0_0 != null)
  68349. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  68350. return root.get$css(root);
  68351. }
  68352. t1 = type$.JSArray_CssNode;
  68353. imports = A._setArrayType([], t1);
  68354. css = A._setArrayType([], t1);
  68355. t1 = type$.Module_AsyncCallable;
  68356. sorted = A.ListQueue$(t1);
  68357. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  68358. if (root.get$transitivelyContainsExtensions())
  68359. this._async_evaluate$_extendModules$1(sorted);
  68360. t1 = B.JSArray_methods.$add(imports, css);
  68361. t2 = root.get$css(root);
  68362. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  68363. },
  68364. _async_evaluate$_combineCss$1(root) {
  68365. return this._async_evaluate$_combineCss$2$clone(root, false);
  68366. },
  68367. _async_evaluate$_extendModules$1(sortedModules) {
  68368. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  68369. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  68370. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  68371. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  68372. t3 = t1._collection$_current;
  68373. if (t3 == null)
  68374. t3 = t2._as(t3);
  68375. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  68376. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  68377. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  68378. t4 = t3.get$extensionStore().get$addExtensions();
  68379. if ($self != null)
  68380. t4.call$1($self);
  68381. t4 = t3.get$extensionStore();
  68382. if (t4.get$isEmpty(t4))
  68383. continue;
  68384. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  68385. upstream = t4[_i];
  68386. _0_0 = upstream.get$url(upstream);
  68387. if (_0_0 != null)
  68388. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  68389. }
  68390. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  68391. }
  68392. if (unsatisfiedExtensions._collection$_length !== 0)
  68393. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  68394. },
  68395. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  68396. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  68397. },
  68398. _async_evaluate$_indexAfterImports$1(statements) {
  68399. var t1, lastImport, i, _0_0;
  68400. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  68401. $label0$0: {
  68402. _0_0 = t1.$index(statements, i);
  68403. if (_0_0 instanceof A.ModifiableCssImport)
  68404. break $label0$0;
  68405. if (_0_0 instanceof A.ModifiableCssComment)
  68406. continue;
  68407. break;
  68408. }
  68409. lastImport = i;
  68410. }
  68411. return lastImport + 1;
  68412. },
  68413. visitStylesheet$1(_, node) {
  68414. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  68415. },
  68416. visitStylesheet$body$_EvaluateVisitor(_, node) {
  68417. var $async$goto = 0,
  68418. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68419. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  68420. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68421. if ($async$errorCode === 1)
  68422. return A._asyncRethrow($async$result, $async$completer);
  68423. for (;;)
  68424. switch ($async$goto) {
  68425. case 0:
  68426. // Function start
  68427. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  68428. warning = t1.__internal$_current;
  68429. if (warning == null)
  68430. warning = t2._as(warning);
  68431. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  68432. }
  68433. t1 = node.children, t2 = t1.length, _i = 0;
  68434. case 3:
  68435. // for condition
  68436. if (!(_i < t2)) {
  68437. // goto after for
  68438. $async$goto = 5;
  68439. break;
  68440. }
  68441. $async$goto = 6;
  68442. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  68443. case 6:
  68444. // returning from await.
  68445. case 4:
  68446. // for update
  68447. ++_i;
  68448. // goto for condition
  68449. $async$goto = 3;
  68450. break;
  68451. case 5:
  68452. // after for
  68453. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  68454. t2 = t1.get$current(t1);
  68455. $name = t2._0;
  68456. span = t2._1;
  68457. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  68458. }
  68459. $async$returnValue = null;
  68460. // goto return
  68461. $async$goto = 1;
  68462. break;
  68463. case 1:
  68464. // return
  68465. return A._asyncReturn($async$returnValue, $async$completer);
  68466. }
  68467. });
  68468. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  68469. },
  68470. visitAtRootRule$1(_, node) {
  68471. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  68472. },
  68473. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  68474. var $async$goto = 0,
  68475. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68476. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  68477. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68478. if ($async$errorCode === 1)
  68479. return A._asyncRethrow($async$result, $async$completer);
  68480. for (;;)
  68481. switch ($async$goto) {
  68482. case 0:
  68483. // Function start
  68484. _0_0 = node.query;
  68485. $async$goto = _0_0 != null ? 3 : 5;
  68486. break;
  68487. case 3:
  68488. // then
  68489. $async$goto = 6;
  68490. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  68491. case 6:
  68492. // returning from await.
  68493. _1_0 = $async$result;
  68494. resolved = _1_0._0;
  68495. _1_0._1;
  68496. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  68497. // goto join
  68498. $async$goto = 4;
  68499. break;
  68500. case 5:
  68501. // else
  68502. query = B.AtRootQuery_bfj;
  68503. case 4:
  68504. // join
  68505. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68506. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  68507. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  68508. if (!query.excludes$1($parent))
  68509. included.push($parent);
  68510. _2_0 = $parent._parent;
  68511. if (_2_0 == null)
  68512. throw A.wrapException(A.StateError$(string$.CssNod));
  68513. }
  68514. root = $async$self._async_evaluate$_trimIncluded$1(included);
  68515. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  68516. break;
  68517. case 7:
  68518. // then
  68519. $async$goto = 9;
  68520. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure1($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  68521. case 9:
  68522. // returning from await.
  68523. $async$returnValue = null;
  68524. // goto return
  68525. $async$goto = 1;
  68526. break;
  68527. case 8:
  68528. // join
  68529. if (included.length >= 1) {
  68530. first = included[0];
  68531. rest = B.JSArray_methods.sublist$1(included, 1);
  68532. innerCopy = first.copyWithoutChildren$0();
  68533. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  68534. copy = rest[_i].copyWithoutChildren$0();
  68535. copy.addChild$1(outerCopy);
  68536. }
  68537. root.addChild$1(outerCopy);
  68538. } else
  68539. innerCopy = root;
  68540. $async$goto = 10;
  68541. return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure2($async$self, node)), $async$visitAtRootRule$1);
  68542. case 10:
  68543. // returning from await.
  68544. $async$returnValue = null;
  68545. // goto return
  68546. $async$goto = 1;
  68547. break;
  68548. case 1:
  68549. // return
  68550. return A._asyncReturn($async$returnValue, $async$completer);
  68551. }
  68552. });
  68553. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  68554. },
  68555. _async_evaluate$_trimIncluded$1(nodes) {
  68556. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  68557. _s22_ = " to be an ancestor of ";
  68558. if (nodes.length === 0)
  68559. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68560. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  68561. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  68562. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  68563. _0_0 = $parent._parent;
  68564. if (_0_0 == null)
  68565. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68566. }
  68567. if (innermostContiguous == null)
  68568. innermostContiguous = i;
  68569. _1_0 = $parent._parent;
  68570. if (_1_0 == null)
  68571. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68572. }
  68573. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  68574. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68575. innermostContiguous.toString;
  68576. root = nodes[innermostContiguous];
  68577. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  68578. return root;
  68579. },
  68580. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  68581. var _this = this,
  68582. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  68583. t1 = query._all || query._at_root_query$_rule;
  68584. if (t1 !== query.include)
  68585. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  68586. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  68587. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  68588. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  68589. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  68590. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  68591. },
  68592. visitContentBlock$1(_, node) {
  68593. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  68594. },
  68595. visitContentRule$1(_, node) {
  68596. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  68597. },
  68598. visitContentRule$body$_EvaluateVisitor(_, node) {
  68599. var $async$goto = 0,
  68600. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68601. $async$returnValue, $async$self = this, $content;
  68602. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68603. if ($async$errorCode === 1)
  68604. return A._asyncRethrow($async$result, $async$completer);
  68605. for (;;)
  68606. switch ($async$goto) {
  68607. case 0:
  68608. // Function start
  68609. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  68610. if ($content == null) {
  68611. $async$returnValue = null;
  68612. // goto return
  68613. $async$goto = 1;
  68614. break;
  68615. }
  68616. $async$goto = 3;
  68617. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure0($async$self, $content), type$.Null), $async$visitContentRule$1);
  68618. case 3:
  68619. // returning from await.
  68620. $async$returnValue = null;
  68621. // goto return
  68622. $async$goto = 1;
  68623. break;
  68624. case 1:
  68625. // return
  68626. return A._asyncReturn($async$returnValue, $async$completer);
  68627. }
  68628. });
  68629. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68630. },
  68631. visitDebugRule$1(_, node) {
  68632. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68633. },
  68634. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68635. var $async$goto = 0,
  68636. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68637. $async$returnValue, $async$self = this, value, t1;
  68638. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68639. if ($async$errorCode === 1)
  68640. return A._asyncRethrow($async$result, $async$completer);
  68641. for (;;)
  68642. switch ($async$goto) {
  68643. case 0:
  68644. // Function start
  68645. $async$goto = 3;
  68646. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68647. case 3:
  68648. // returning from await.
  68649. value = $async$result;
  68650. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68651. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68652. $async$returnValue = null;
  68653. // goto return
  68654. $async$goto = 1;
  68655. break;
  68656. case 1:
  68657. // return
  68658. return A._asyncReturn($async$returnValue, $async$completer);
  68659. }
  68660. });
  68661. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68662. },
  68663. visitDeclaration$1(_, node) {
  68664. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68665. },
  68666. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68667. var $async$goto = 0,
  68668. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68669. $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, _2_0, oldDeclarationName;
  68670. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68671. if ($async$errorCode === 1)
  68672. return A._asyncRethrow($async$result, $async$completer);
  68673. for (;;)
  68674. switch ($async$goto) {
  68675. case 0:
  68676. // Function start
  68677. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68678. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68679. if ($async$self._async_evaluate$_declarationName != null && !node.parsedAsSassScript) {
  68680. t1 = B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--") ? string$.Declarw : string$.Declarp;
  68681. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, node.span));
  68682. }
  68683. $async$goto = 3;
  68684. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.name, true), $async$visitDeclaration$1);
  68685. case 3:
  68686. // returning from await.
  68687. $name = $async$result;
  68688. _0_0 = $async$self._async_evaluate$_declarationName;
  68689. if (_0_0 != null)
  68690. $name = new A.CssValue(_0_0 + "-" + $name.value, $name.span, type$.CssValue_String);
  68691. _1_0 = node.value;
  68692. $async$goto = _1_0 != null ? 4 : 5;
  68693. break;
  68694. case 4:
  68695. // then
  68696. $async$goto = 6;
  68697. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  68698. case 6:
  68699. // returning from await.
  68700. value = $async$result;
  68701. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  68702. $async$self._async_evaluate$_copyParentAfterSibling$0();
  68703. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68704. t2 = _1_0.get$span(_1_0);
  68705. if ($async$self._async_evaluate$_sourceMap) {
  68706. t3 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
  68707. t3 = t3 == null ? null : J.get$span$z(t3);
  68708. } else
  68709. t3 = null;
  68710. t1.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t2, type$.CssValue_Value), node.span, node.parsedAsSassScript, t3));
  68711. }
  68712. case 5:
  68713. // join
  68714. _2_0 = node.children;
  68715. t1 = {};
  68716. t1.children = null;
  68717. $async$goto = _2_0 != null ? 7 : 8;
  68718. break;
  68719. case 7:
  68720. // then
  68721. t1.children = _2_0;
  68722. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68723. $async$self._async_evaluate$_declarationName = $name.value;
  68724. $async$goto = 9;
  68725. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  68726. case 9:
  68727. // returning from await.
  68728. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68729. case 8:
  68730. // join
  68731. $async$returnValue = null;
  68732. // goto return
  68733. $async$goto = 1;
  68734. break;
  68735. case 1:
  68736. // return
  68737. return A._asyncReturn($async$returnValue, $async$completer);
  68738. }
  68739. });
  68740. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68741. },
  68742. visitEachRule$1(_, node) {
  68743. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68744. },
  68745. visitEachRule$body$_EvaluateVisitor(_, node) {
  68746. var $async$goto = 0,
  68747. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68748. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68749. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68750. if ($async$errorCode === 1)
  68751. return A._asyncRethrow($async$result, $async$completer);
  68752. for (;;)
  68753. switch ($async$goto) {
  68754. case 0:
  68755. // Function start
  68756. t1 = node.list;
  68757. $async$goto = 3;
  68758. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68759. case 3:
  68760. // returning from await.
  68761. list = $async$result;
  68762. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68763. _0_0 = node.variables;
  68764. $label0$0: {
  68765. t1 = {};
  68766. t1.variable = null;
  68767. if (_0_0.length === 1) {
  68768. t1.variable = _0_0[0];
  68769. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68770. break $label0$0;
  68771. }
  68772. t1 = {};
  68773. t1.variables = null;
  68774. t1.variables = _0_0;
  68775. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68776. break $label0$0;
  68777. }
  68778. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, t1, node), true, type$.nullable_Value);
  68779. // goto return
  68780. $async$goto = 1;
  68781. break;
  68782. case 1:
  68783. // return
  68784. return A._asyncReturn($async$returnValue, $async$completer);
  68785. }
  68786. });
  68787. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68788. },
  68789. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68790. var i,
  68791. list = value.get$asList(),
  68792. t1 = variables.length,
  68793. minLength = Math.min(t1, list.length);
  68794. for (i = 0; i < minLength; ++i)
  68795. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68796. for (i = minLength; i < t1; ++i)
  68797. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68798. },
  68799. visitErrorRule$1(_, node) {
  68800. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68801. },
  68802. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68803. var $async$goto = 0,
  68804. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68805. $async$self = this, $async$temp1, $async$temp2;
  68806. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68807. if ($async$errorCode === 1)
  68808. return A._asyncRethrow($async$result, $async$completer);
  68809. for (;;)
  68810. switch ($async$goto) {
  68811. case 0:
  68812. // Function start
  68813. $async$temp1 = A;
  68814. $async$temp2 = J;
  68815. $async$goto = 2;
  68816. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68817. case 2:
  68818. // returning from await.
  68819. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68820. // implicit return
  68821. return A._asyncReturn(null, $async$completer);
  68822. }
  68823. });
  68824. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68825. },
  68826. visitExtendRule$1(_, node) {
  68827. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68828. },
  68829. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68830. var $async$goto = 0,
  68831. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68832. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, simple, styleRule;
  68833. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68834. if ($async$errorCode === 1)
  68835. return A._asyncRethrow($async$result, $async$completer);
  68836. for (;;)
  68837. switch ($async$goto) {
  68838. case 0:
  68839. // Function start
  68840. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68841. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68842. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68843. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68844. complex = t1[_i];
  68845. if (!complex.accept$1(B._IsBogusVisitor_true))
  68846. continue;
  68847. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68848. complex.accept$1(visitor);
  68849. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68850. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68851. $async$self._async_evaluate$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_0rM);
  68852. }
  68853. $async$goto = 3;
  68854. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68855. case 3:
  68856. // returning from await.
  68857. _0_0 = $async$result;
  68858. targetText = _0_0._0;
  68859. targetMap = _0_0._1;
  68860. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, targetMap, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  68861. complex = t1[_i];
  68862. compound = complex.get$singleCompound();
  68863. if (compound == null)
  68864. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68865. t4 = compound.components;
  68866. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68867. if (simple == null)
  68868. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68869. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, $async$self._async_evaluate$_mediaQueries);
  68870. }
  68871. $async$returnValue = null;
  68872. // goto return
  68873. $async$goto = 1;
  68874. break;
  68875. case 1:
  68876. // return
  68877. return A._asyncReturn($async$returnValue, $async$completer);
  68878. }
  68879. });
  68880. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68881. },
  68882. visitAtRule$1(_, node) {
  68883. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68884. },
  68885. visitAtRule$body$_EvaluateVisitor(_, node) {
  68886. var $async$goto = 0,
  68887. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68888. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68889. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68890. if ($async$errorCode === 1)
  68891. return A._asyncRethrow($async$result, $async$completer);
  68892. for (;;)
  68893. switch ($async$goto) {
  68894. case 0:
  68895. // Function start
  68896. if ($async$self._async_evaluate$_declarationName != null)
  68897. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68898. $async$goto = 3;
  68899. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68900. case 3:
  68901. // returning from await.
  68902. $name = $async$result;
  68903. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68904. $async$goto = 4;
  68905. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68906. case 4:
  68907. // returning from await.
  68908. value = $async$result;
  68909. children = node.children;
  68910. if (children == null) {
  68911. $async$self._async_evaluate$_copyParentAfterSibling$0();
  68912. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68913. $async$returnValue = null;
  68914. // goto return
  68915. $async$goto = 1;
  68916. break;
  68917. }
  68918. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68919. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68920. if (A.unvendor($name.value) === "keyframes")
  68921. $async$self._async_evaluate$_inKeyframes = true;
  68922. else
  68923. $async$self._async_evaluate$_inUnknownAtRule = true;
  68924. $async$goto = 5;
  68925. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure3($async$self, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
  68926. case 5:
  68927. // returning from await.
  68928. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68929. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68930. $async$returnValue = null;
  68931. // goto return
  68932. $async$goto = 1;
  68933. break;
  68934. case 1:
  68935. // return
  68936. return A._asyncReturn($async$returnValue, $async$completer);
  68937. }
  68938. });
  68939. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68940. },
  68941. visitForRule$1(_, node) {
  68942. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68943. },
  68944. visitForRule$body$_EvaluateVisitor(_, node) {
  68945. var $async$goto = 0,
  68946. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68947. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68948. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68949. if ($async$errorCode === 1)
  68950. return A._asyncRethrow($async$result, $async$completer);
  68951. for (;;)
  68952. switch ($async$goto) {
  68953. case 0:
  68954. // Function start
  68955. t1 = {};
  68956. t2 = node.from;
  68957. t3 = type$.SassNumber;
  68958. $async$goto = 3;
  68959. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68960. case 3:
  68961. // returning from await.
  68962. fromNumber = $async$result;
  68963. t4 = node.to;
  68964. $async$goto = 4;
  68965. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68966. case 4:
  68967. // returning from await.
  68968. toNumber = $async$result;
  68969. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68970. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68971. direction = from > to ? -1 : 1;
  68972. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68973. $async$returnValue = null;
  68974. // goto return
  68975. $async$goto = 1;
  68976. break;
  68977. }
  68978. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure8(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value);
  68979. // goto return
  68980. $async$goto = 1;
  68981. break;
  68982. case 1:
  68983. // return
  68984. return A._asyncReturn($async$returnValue, $async$completer);
  68985. }
  68986. });
  68987. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68988. },
  68989. visitForwardRule$1(_, node) {
  68990. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68991. },
  68992. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68993. var $async$goto = 0,
  68994. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68995. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68996. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68997. if ($async$errorCode === 1)
  68998. return A._asyncRethrow($async$result, $async$completer);
  68999. for (;;)
  69000. switch ($async$goto) {
  69001. case 0:
  69002. // Function start
  69003. oldConfiguration = $async$self._async_evaluate$_configuration;
  69004. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  69005. t1 = node.configuration;
  69006. t2 = t1.length;
  69007. t3 = node.url;
  69008. $async$goto = t2 !== 0 ? 3 : 5;
  69009. break;
  69010. case 3:
  69011. // then
  69012. $async$goto = 6;
  69013. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  69014. case 6:
  69015. // returning from await.
  69016. newConfiguration = $async$result;
  69017. $async$goto = 7;
  69018. return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure1($async$self, node), newConfiguration), $async$visitForwardRule$1);
  69019. case 7:
  69020. // returning from await.
  69021. t3 = type$.String;
  69022. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  69023. for (_i = 0; _i < t2; ++_i) {
  69024. variable = t1[_i];
  69025. if (!variable.isGuarded)
  69026. t4.add$1(0, variable.name);
  69027. }
  69028. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  69029. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  69030. for (_i = 0; _i < t2; ++_i)
  69031. t3.add$1(0, t1[_i].name);
  69032. for (t1 = newConfiguration._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  69033. $name = t2[_i];
  69034. if (!t3.contains$1(0, $name))
  69035. if (!t1.get$isEmpty(t1))
  69036. t1.remove$1(0, $name);
  69037. }
  69038. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  69039. // goto join
  69040. $async$goto = 4;
  69041. break;
  69042. case 5:
  69043. // else
  69044. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  69045. $async$goto = 8;
  69046. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  69047. case 8:
  69048. // returning from await.
  69049. $async$self._async_evaluate$_configuration = oldConfiguration;
  69050. case 4:
  69051. // join
  69052. $async$returnValue = null;
  69053. // goto return
  69054. $async$goto = 1;
  69055. break;
  69056. case 1:
  69057. // return
  69058. return A._asyncReturn($async$returnValue, $async$completer);
  69059. }
  69060. });
  69061. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  69062. },
  69063. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  69064. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  69065. },
  69066. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  69067. var $async$goto = 0,
  69068. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  69069. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, _0_0, t7, oldValue, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  69070. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69071. if ($async$errorCode === 1)
  69072. return A._asyncRethrow($async$result, $async$completer);
  69073. for (;;)
  69074. switch ($async$goto) {
  69075. case 0:
  69076. // Function start
  69077. t1 = configuration._configuration$_values;
  69078. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  69079. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  69080. case 3:
  69081. // for condition
  69082. if (!(_i < t3)) {
  69083. // goto after for
  69084. $async$goto = 5;
  69085. break;
  69086. }
  69087. variable = t2[_i];
  69088. if (variable.isGuarded) {
  69089. t6 = variable.name;
  69090. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  69091. if (_0_0 != null) {
  69092. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  69093. oldValue = _0_0;
  69094. } else {
  69095. oldValue = null;
  69096. t7 = false;
  69097. }
  69098. if (t7) {
  69099. newValues.$indexSet(0, t6, oldValue);
  69100. // goto for update
  69101. $async$goto = 4;
  69102. break;
  69103. }
  69104. }
  69105. t6 = variable.expression;
  69106. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  69107. t6 = t6.accept$1($async$self);
  69108. if (!t5._is(t6)) {
  69109. t7 = new A._Future($.Zone__current, t4);
  69110. t7._state = 8;
  69111. t7._resultOrListeners = t6;
  69112. t6 = t7;
  69113. }
  69114. $async$temp1 = newValues;
  69115. $async$temp2 = variable.name;
  69116. $async$temp3 = A;
  69117. $async$goto = 6;
  69118. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  69119. case 6:
  69120. // returning from await.
  69121. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69122. case 4:
  69123. // for update
  69124. ++_i;
  69125. // goto for condition
  69126. $async$goto = 3;
  69127. break;
  69128. case 5:
  69129. // after for
  69130. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  69131. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  69132. // goto return
  69133. $async$goto = 1;
  69134. break;
  69135. } else {
  69136. $async$returnValue = new A.Configuration(newValues, null);
  69137. // goto return
  69138. $async$goto = 1;
  69139. break;
  69140. }
  69141. case 1:
  69142. // return
  69143. return A._asyncReturn($async$returnValue, $async$completer);
  69144. }
  69145. });
  69146. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  69147. },
  69148. _async_evaluate$_registerCommentsForModule$1(module) {
  69149. var _this = this, _s5_ = "_root",
  69150. t1 = _this._async_evaluate$__root;
  69151. if (t1 == null)
  69152. return;
  69153. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  69154. return;
  69155. t1 = _this._async_evaluate$_preModuleComments;
  69156. if (t1 == null)
  69157. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  69158. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure0()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  69159. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  69160. _this._async_evaluate$__endOfImports = 0;
  69161. },
  69162. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  69163. var t1, t2, t3, t4, _i, $name;
  69164. for (t1 = upstream._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  69165. $name = t2[_i];
  69166. if (except.contains$1(0, $name))
  69167. continue;
  69168. if (!t4.containsKey$1($name))
  69169. if (!t1.get$isEmpty(t1))
  69170. t1.remove$1(0, $name);
  69171. }
  69172. },
  69173. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  69174. var t1, _0_0;
  69175. if (!(configuration instanceof A.ExplicitConfiguration))
  69176. return;
  69177. t1 = configuration._configuration$_values;
  69178. if (t1.get$isEmpty(t1))
  69179. return;
  69180. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  69181. _0_0 = t1.get$first(t1);
  69182. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  69183. throw A.wrapException(this._async_evaluate$_exception$2(t1, _0_0._1.configurationSpan));
  69184. },
  69185. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  69186. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  69187. },
  69188. visitFunctionRule$1(_, node) {
  69189. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  69190. },
  69191. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  69192. var $async$goto = 0,
  69193. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69194. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69195. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69196. if ($async$errorCode === 1)
  69197. return A._asyncRethrow($async$result, $async$completer);
  69198. for (;;)
  69199. switch ($async$goto) {
  69200. case 0:
  69201. // Function start
  69202. t1 = $async$self._async_evaluate$_environment;
  69203. t2 = t1.closure$0();
  69204. t3 = $async$self._async_evaluate$_inDependency;
  69205. t4 = t1._async_environment$_functions;
  69206. index = t4.length - 1;
  69207. t5 = node.name;
  69208. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  69209. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69210. $async$returnValue = null;
  69211. // goto return
  69212. $async$goto = 1;
  69213. break;
  69214. case 1:
  69215. // return
  69216. return A._asyncReturn($async$returnValue, $async$completer);
  69217. }
  69218. });
  69219. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  69220. },
  69221. visitIfRule$1(_, node) {
  69222. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  69223. },
  69224. visitIfRule$body$_EvaluateVisitor(_, node) {
  69225. var $async$goto = 0,
  69226. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69227. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  69228. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69229. if ($async$errorCode === 1)
  69230. return A._asyncRethrow($async$result, $async$completer);
  69231. for (;;)
  69232. switch ($async$goto) {
  69233. case 0:
  69234. // Function start
  69235. clause = node.lastClause;
  69236. t1 = node.clauses, t2 = t1.length, _i = 0;
  69237. case 3:
  69238. // for condition
  69239. if (!(_i < t2)) {
  69240. // goto after for
  69241. $async$goto = 5;
  69242. break;
  69243. }
  69244. clauseToCheck = t1[_i];
  69245. $async$goto = 6;
  69246. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  69247. case 6:
  69248. // returning from await.
  69249. if ($async$result.get$isTruthy()) {
  69250. clause = clauseToCheck;
  69251. // goto after for
  69252. $async$goto = 5;
  69253. break;
  69254. }
  69255. case 4:
  69256. // for update
  69257. ++_i;
  69258. // goto for condition
  69259. $async$goto = 3;
  69260. break;
  69261. case 5:
  69262. // after for
  69263. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  69264. $async$goto = 7;
  69265. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  69266. case 7:
  69267. // returning from await.
  69268. $async$returnValue = $async$result;
  69269. // goto return
  69270. $async$goto = 1;
  69271. break;
  69272. case 1:
  69273. // return
  69274. return A._asyncReturn($async$returnValue, $async$completer);
  69275. }
  69276. });
  69277. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  69278. },
  69279. visitImportRule$1(_, node) {
  69280. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  69281. },
  69282. visitImportRule$body$_EvaluateVisitor(_, node) {
  69283. var $async$goto = 0,
  69284. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69285. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  69286. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69287. if ($async$errorCode === 1)
  69288. return A._asyncRethrow($async$result, $async$completer);
  69289. for (;;)
  69290. switch ($async$goto) {
  69291. case 0:
  69292. // Function start
  69293. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  69294. case 3:
  69295. // for condition
  69296. if (!(_i < t2)) {
  69297. // goto after for
  69298. $async$goto = 5;
  69299. break;
  69300. }
  69301. $import = t1[_i];
  69302. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  69303. break;
  69304. case 6:
  69305. // then
  69306. $async$goto = 9;
  69307. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  69308. case 9:
  69309. // returning from await.
  69310. // goto join
  69311. $async$goto = 7;
  69312. break;
  69313. case 8:
  69314. // else
  69315. $async$goto = 10;
  69316. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  69317. case 10:
  69318. // returning from await.
  69319. case 7:
  69320. // join
  69321. case 4:
  69322. // for update
  69323. ++_i;
  69324. // goto for condition
  69325. $async$goto = 3;
  69326. break;
  69327. case 5:
  69328. // after for
  69329. $async$returnValue = null;
  69330. // goto return
  69331. $async$goto = 1;
  69332. break;
  69333. case 1:
  69334. // return
  69335. return A._asyncReturn($async$returnValue, $async$completer);
  69336. }
  69337. });
  69338. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  69339. },
  69340. _async_evaluate$_visitDynamicImport$1($import) {
  69341. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  69342. },
  69343. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  69344. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  69345. },
  69346. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  69347. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  69348. },
  69349. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  69350. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  69351. },
  69352. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  69353. var $async$goto = 0,
  69354. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  69355. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, $async$exception;
  69356. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69357. if ($async$errorCode === 1) {
  69358. $async$errorStack.push($async$result);
  69359. $async$goto = $async$handler;
  69360. }
  69361. for (;;)
  69362. switch ($async$goto) {
  69363. case 0:
  69364. // Function start
  69365. baseUrl = baseUrl;
  69366. $async$handler = 4;
  69367. $async$self._async_evaluate$_importSpan = span;
  69368. _0_0 = $async$self._async_evaluate$_importCache;
  69369. importCache = null;
  69370. $async$goto = _0_0 != null ? 7 : 8;
  69371. break;
  69372. case 7:
  69373. // then
  69374. importCache = _0_0;
  69375. if (baseUrl == null) {
  69376. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  69377. baseUrl = t1.get$sourceUrl(t1);
  69378. }
  69379. $async$goto = 9;
  69380. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate$_importer, baseUrl, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  69381. case 9:
  69382. // returning from await.
  69383. _1_0 = $async$result;
  69384. importer = null;
  69385. canonicalUrl = null;
  69386. originalUrl = null;
  69387. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  69388. break;
  69389. case 10:
  69390. // then
  69391. importer = _1_0._0;
  69392. canonicalUrl = _1_0._1;
  69393. originalUrl = _1_0._2;
  69394. if (canonicalUrl.get$scheme() === "")
  69395. A.WarnForDeprecation_warnForDeprecation($async$self._async_evaluate$_logger, B.Deprecation_IqB, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  69396. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  69397. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  69398. $async$goto = 12;
  69399. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  69400. case 12:
  69401. // returning from await.
  69402. _2_0 = $async$result;
  69403. stylesheet = null;
  69404. if (_2_0 != null) {
  69405. stylesheet = _2_0;
  69406. t1 = stylesheet;
  69407. t2 = importer;
  69408. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  69409. $async$next = [1];
  69410. // goto finally
  69411. $async$goto = 5;
  69412. break;
  69413. }
  69414. case 11:
  69415. // join
  69416. case 8:
  69417. // join
  69418. t1 = B.JSString_methods.startsWith$1(url, "package:");
  69419. if (t1)
  69420. throw A.wrapException(string$.x22packa);
  69421. else
  69422. throw A.wrapException("Can't find stylesheet to import.");
  69423. $async$next.push(6);
  69424. // goto finally
  69425. $async$goto = 5;
  69426. break;
  69427. case 4:
  69428. // catch
  69429. $async$handler = 3;
  69430. $async$exception = $async$errorStack.pop();
  69431. t1 = A.unwrapException($async$exception);
  69432. if (t1 instanceof A.SassException)
  69433. throw $async$exception;
  69434. else if (t1 instanceof A.ArgumentError) {
  69435. error = t1;
  69436. stackTrace = A.getTraceFromException($async$exception);
  69437. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  69438. } else {
  69439. error0 = t1;
  69440. stackTrace0 = A.getTraceFromException($async$exception);
  69441. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  69442. }
  69443. $async$next.push(6);
  69444. // goto finally
  69445. $async$goto = 5;
  69446. break;
  69447. case 3:
  69448. // uncaught
  69449. $async$next = [2];
  69450. case 5:
  69451. // finally
  69452. $async$handler = 2;
  69453. $async$self._async_evaluate$_importSpan = null;
  69454. // goto the next finally handler
  69455. $async$goto = $async$next.pop();
  69456. break;
  69457. case 6:
  69458. // after finally
  69459. case 1:
  69460. // return
  69461. return A._asyncReturn($async$returnValue, $async$completer);
  69462. case 2:
  69463. // rethrow
  69464. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69465. }
  69466. });
  69467. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  69468. },
  69469. _visitStaticImport$1($import) {
  69470. return this._visitStaticImport$body$_EvaluateVisitor($import);
  69471. },
  69472. _visitStaticImport$body$_EvaluateVisitor($import) {
  69473. var $async$goto = 0,
  69474. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69475. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  69476. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69477. if ($async$errorCode === 1)
  69478. return A._asyncRethrow($async$result, $async$completer);
  69479. for (;;)
  69480. switch ($async$goto) {
  69481. case 0:
  69482. // Function start
  69483. $async$goto = 2;
  69484. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  69485. case 2:
  69486. // returning from await.
  69487. t1 = $async$result;
  69488. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  69489. $async$temp1 = A;
  69490. $async$temp2 = t1;
  69491. $async$goto = 3;
  69492. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  69493. case 3:
  69494. // returning from await.
  69495. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  69496. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root")) {
  69497. $async$self._async_evaluate$_copyParentAfterSibling$0();
  69498. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  69499. } else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
  69500. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  69501. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69502. } else {
  69503. t1 = $async$self._async_evaluate$_outOfOrderImports;
  69504. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  69505. }
  69506. // implicit return
  69507. return A._asyncReturn(null, $async$completer);
  69508. }
  69509. });
  69510. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  69511. },
  69512. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69513. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  69514. },
  69515. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69516. var $async$goto = 0,
  69517. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69518. $async$self = this, t1, _0_0, t2, _1_8, t3;
  69519. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69520. if ($async$errorCode === 1)
  69521. return A._asyncRethrow($async$result, $async$completer);
  69522. for (;;)
  69523. switch ($async$goto) {
  69524. case 0:
  69525. // Function start
  69526. if (mixin == null)
  69527. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  69528. t1 = type$.AsyncBuiltInCallable._is(mixin);
  69529. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  69530. break;
  69531. case 3:
  69532. // then
  69533. $async$goto = 5;
  69534. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  69535. case 5:
  69536. // returning from await.
  69537. t1 = $async$result._values;
  69538. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  69539. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  69540. case 4:
  69541. // join
  69542. $async$goto = t1 ? 6 : 7;
  69543. break;
  69544. case 6:
  69545. // then
  69546. $async$goto = 8;
  69547. return A._asyncAwait($async$self._async_evaluate$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure1($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate$_applyMixin$5);
  69548. case 8:
  69549. // returning from await.
  69550. // goto break $label0$0
  69551. $async$goto = 2;
  69552. break;
  69553. case 7:
  69554. // join
  69555. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  69556. t2 = false;
  69557. if (t1) {
  69558. _1_8 = mixin.declaration;
  69559. t3 = _1_8;
  69560. if (t3 instanceof A.MixinRule)
  69561. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  69562. }
  69563. if (t2)
  69564. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  69565. $async$goto = t1 ? 9 : 10;
  69566. break;
  69567. case 9:
  69568. // then
  69569. $async$goto = 11;
  69570. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure2($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate$_applyMixin$5);
  69571. case 11:
  69572. // returning from await.
  69573. // goto break $label0$0
  69574. $async$goto = 2;
  69575. break;
  69576. case 10:
  69577. // join
  69578. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  69579. case 2:
  69580. // break $label0$0
  69581. // implicit return
  69582. return A._asyncReturn(null, $async$completer);
  69583. }
  69584. });
  69585. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  69586. },
  69587. visitIncludeRule$1(_, node) {
  69588. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  69589. },
  69590. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  69591. var $async$goto = 0,
  69592. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69593. $async$returnValue, $async$self = this, mixin;
  69594. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69595. if ($async$errorCode === 1)
  69596. return A._asyncRethrow($async$result, $async$completer);
  69597. for (;;)
  69598. switch ($async$goto) {
  69599. case 0:
  69600. // Function start
  69601. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69602. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69603. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Sass__m, node.get$nameSpan()));
  69604. $async$goto = 3;
  69605. return A._asyncAwait($async$self._async_evaluate$_applyMixin$5(mixin, A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node))), $async$visitIncludeRule$1);
  69606. case 3:
  69607. // returning from await.
  69608. $async$returnValue = null;
  69609. // goto return
  69610. $async$goto = 1;
  69611. break;
  69612. case 1:
  69613. // return
  69614. return A._asyncReturn($async$returnValue, $async$completer);
  69615. }
  69616. });
  69617. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69618. },
  69619. visitMixinRule$1(_, node) {
  69620. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69621. },
  69622. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69623. var $async$goto = 0,
  69624. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69625. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69626. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69627. if ($async$errorCode === 1)
  69628. return A._asyncRethrow($async$result, $async$completer);
  69629. for (;;)
  69630. switch ($async$goto) {
  69631. case 0:
  69632. // Function start
  69633. t1 = $async$self._async_evaluate$_environment;
  69634. t2 = t1.closure$0();
  69635. t3 = $async$self._async_evaluate$_inDependency;
  69636. t4 = t1._async_environment$_mixins;
  69637. index = t4.length - 1;
  69638. t5 = node.name;
  69639. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69640. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69641. $async$returnValue = null;
  69642. // goto return
  69643. $async$goto = 1;
  69644. break;
  69645. case 1:
  69646. // return
  69647. return A._asyncReturn($async$returnValue, $async$completer);
  69648. }
  69649. });
  69650. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69651. },
  69652. visitLoudComment$1(_, node) {
  69653. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69654. },
  69655. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69656. var $async$goto = 0,
  69657. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69658. $async$returnValue, $async$self = this, t1, text;
  69659. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69660. if ($async$errorCode === 1)
  69661. return A._asyncRethrow($async$result, $async$completer);
  69662. for (;;)
  69663. switch ($async$goto) {
  69664. case 0:
  69665. // Function start
  69666. if ($async$self._async_evaluate$_inFunction) {
  69667. $async$returnValue = null;
  69668. // goto return
  69669. $async$goto = 1;
  69670. break;
  69671. }
  69672. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
  69673. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69674. t1 = node.text;
  69675. $async$goto = 3;
  69676. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69677. case 3:
  69678. // returning from await.
  69679. text = $async$result;
  69680. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69681. text += " */";
  69682. $async$self._async_evaluate$_copyParentAfterSibling$0();
  69683. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69684. $async$returnValue = null;
  69685. // goto return
  69686. $async$goto = 1;
  69687. break;
  69688. case 1:
  69689. // return
  69690. return A._asyncReturn($async$returnValue, $async$completer);
  69691. }
  69692. });
  69693. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69694. },
  69695. visitMediaRule$1(_, node) {
  69696. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69697. },
  69698. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69699. var $async$goto = 0,
  69700. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69701. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69702. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69703. if ($async$errorCode === 1)
  69704. return A._asyncRethrow($async$result, $async$completer);
  69705. for (;;)
  69706. switch ($async$goto) {
  69707. case 0:
  69708. // Function start
  69709. if ($async$self._async_evaluate$_declarationName != null)
  69710. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69711. $async$goto = 3;
  69712. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69713. case 3:
  69714. // returning from await.
  69715. queries = $async$result;
  69716. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69717. t1 = mergedQueries == null;
  69718. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69719. $async$returnValue = null;
  69720. // goto return
  69721. $async$goto = 1;
  69722. break;
  69723. }
  69724. if (t1)
  69725. mergedSources = B.Set_empty2;
  69726. else {
  69727. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69728. t2.toString;
  69729. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69730. t3 = $async$self._async_evaluate$_mediaQueries;
  69731. t3.toString;
  69732. t2.addAll$1(0, t3);
  69733. t2.addAll$1(0, queries);
  69734. mergedSources = t2;
  69735. }
  69736. t1 = t1 ? queries : mergedQueries;
  69737. $async$goto = 4;
  69738. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure3($async$self, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure4(mergedSources), type$.ModifiableCssMediaRule, type$.Null), $async$visitMediaRule$1);
  69739. case 4:
  69740. // returning from await.
  69741. $async$returnValue = null;
  69742. // goto return
  69743. $async$goto = 1;
  69744. break;
  69745. case 1:
  69746. // return
  69747. return A._asyncReturn($async$returnValue, $async$completer);
  69748. }
  69749. });
  69750. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69751. },
  69752. _visitMediaQueries$1(interpolation) {
  69753. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69754. },
  69755. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69756. var $async$goto = 0,
  69757. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69758. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69759. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69760. if ($async$errorCode === 1)
  69761. return A._asyncRethrow($async$result, $async$completer);
  69762. for (;;)
  69763. switch ($async$goto) {
  69764. case 0:
  69765. // Function start
  69766. $async$goto = 3;
  69767. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69768. case 3:
  69769. // returning from await.
  69770. _0_0 = $async$result;
  69771. resolved = _0_0._0;
  69772. map = _0_0._1;
  69773. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69774. // goto return
  69775. $async$goto = 1;
  69776. break;
  69777. case 1:
  69778. // return
  69779. return A._asyncReturn($async$returnValue, $async$completer);
  69780. }
  69781. });
  69782. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69783. },
  69784. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69785. var t1, t2, t3, t4, _0_0, t5, result,
  69786. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69787. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69788. t3 = t1.get$current(t1);
  69789. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69790. _0_0 = t3.merge$1(t4.get$current(t4));
  69791. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69792. continue;
  69793. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69794. return null;
  69795. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69796. result = t5 ? _0_0 : null;
  69797. if (t5)
  69798. queries.push(result.query);
  69799. }
  69800. }
  69801. return queries;
  69802. },
  69803. visitReturnRule$1(_, node) {
  69804. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69805. },
  69806. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69807. var $async$goto = 0,
  69808. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69809. $async$returnValue, $async$self = this, t1, t2;
  69810. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69811. if ($async$errorCode === 1)
  69812. return A._asyncRethrow($async$result, $async$completer);
  69813. for (;;)
  69814. switch ($async$goto) {
  69815. case 0:
  69816. // Function start
  69817. t1 = node.expression;
  69818. t2 = t1.accept$1($async$self);
  69819. $async$goto = 3;
  69820. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69821. case 3:
  69822. // returning from await.
  69823. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69824. // goto return
  69825. $async$goto = 1;
  69826. break;
  69827. case 1:
  69828. // return
  69829. return A._asyncReturn($async$returnValue, $async$completer);
  69830. }
  69831. });
  69832. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69833. },
  69834. visitSilentComment$1(_, node) {
  69835. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69836. },
  69837. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69838. var $async$goto = 0,
  69839. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69840. $async$returnValue;
  69841. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69842. if ($async$errorCode === 1)
  69843. return A._asyncRethrow($async$result, $async$completer);
  69844. for (;;)
  69845. switch ($async$goto) {
  69846. case 0:
  69847. // Function start
  69848. $async$returnValue = null;
  69849. // goto return
  69850. $async$goto = 1;
  69851. break;
  69852. case 1:
  69853. // return
  69854. return A._asyncReturn($async$returnValue, $async$completer);
  69855. }
  69856. });
  69857. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69858. },
  69859. visitStyleRule$1(_, node) {
  69860. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69861. },
  69862. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69863. var $async$goto = 0,
  69864. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69865. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  69866. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69867. if ($async$errorCode === 1)
  69868. return A._asyncRethrow($async$result, $async$completer);
  69869. for (;;)
  69870. switch ($async$goto) {
  69871. case 0:
  69872. // Function start
  69873. if ($async$self._async_evaluate$_declarationName != null)
  69874. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69875. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69876. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69877. t1 = node.selector;
  69878. t1.toString;
  69879. $async$goto = 3;
  69880. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69881. case 3:
  69882. // returning from await.
  69883. _0_0 = $async$result;
  69884. selectorText = _0_0._0;
  69885. selectorMap = _0_0._1;
  69886. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69887. break;
  69888. case 4:
  69889. // then
  69890. $async$goto = 6;
  69891. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(selectorText, null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure3($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure4(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  69892. case 6:
  69893. // returning from await.
  69894. $async$returnValue = null;
  69895. // goto return
  69896. $async$goto = 1;
  69897. break;
  69898. case 5:
  69899. // join
  69900. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69901. _1_0 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69902. $label0$0: {
  69903. if (_1_0 == null) {
  69904. t1 = true;
  69905. break $label0$0;
  69906. }
  69907. if (_1_0.fromPlainCss) {
  69908. t1 = false;
  69909. break $label0$0;
  69910. }
  69911. t1 = !($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  69912. break $label0$0;
  69913. }
  69914. if (t1) {
  69915. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69916. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  69917. _2_0 = t2[_i].leadingCombinators;
  69918. if (_2_0.length >= 1) {
  69919. first = _2_0[0];
  69920. t4 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69921. } else {
  69922. first = null;
  69923. t4 = false;
  69924. }
  69925. if (t4)
  69926. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69927. }
  69928. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69929. t2 = t2 == null ? null : t2.originalSelector;
  69930. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69931. }
  69932. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate$_mediaQueries), node.span, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  69933. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69934. t2 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69935. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69936. $async$goto = 7;
  69937. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  69938. case 7:
  69939. // returning from await.
  69940. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69941. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69942. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69943. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69944. t1 = !t1.get$isEmpty(t1);
  69945. } else
  69946. t1 = t2;
  69947. if (t1) {
  69948. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69949. t1.get$last(t1).isGroupEnd = true;
  69950. }
  69951. $async$returnValue = null;
  69952. // goto return
  69953. $async$goto = 1;
  69954. break;
  69955. case 1:
  69956. // return
  69957. return A._asyncReturn($async$returnValue, $async$completer);
  69958. }
  69959. });
  69960. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69961. },
  69962. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69963. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69964. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69965. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  69966. complex = t1[_i];
  69967. if (!complex.accept$1(B._IsBogusVisitor_true))
  69968. continue;
  69969. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69970. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69971. complex.accept$1(visitor);
  69972. _this._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_0rM);
  69973. } else if (complex.leadingCombinators.length !== 0) {
  69974. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69975. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69976. complex.accept$1(visitor);
  69977. _this._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_0rM);
  69978. }
  69979. } else {
  69980. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69981. complex.accept$1(visitor);
  69982. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69983. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69984. t8 = A.SpanExtensions_trimRight(complex.span);
  69985. if (t5.get$length(0) === 0)
  69986. A.throwExpression(A.IterableElementError_noElement());
  69987. t9 = J.get$span$z(t5.$index(0, 0));
  69988. _this._async_evaluate$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure0()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_0rM);
  69989. }
  69990. }
  69991. },
  69992. visitSupportsRule$1(_, node) {
  69993. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69994. },
  69995. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69996. var $async$goto = 0,
  69997. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69998. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69999. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70000. if ($async$errorCode === 1)
  70001. return A._asyncRethrow($async$result, $async$completer);
  70002. for (;;)
  70003. switch ($async$goto) {
  70004. case 0:
  70005. // Function start
  70006. if ($async$self._async_evaluate$_declarationName != null)
  70007. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  70008. t1 = node.condition;
  70009. $async$temp1 = A;
  70010. $async$temp2 = A;
  70011. $async$goto = 4;
  70012. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  70013. case 4:
  70014. // returning from await.
  70015. $async$goto = 3;
  70016. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$(new $async$temp2.CssValue($async$result, t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure1($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitSupportsRule$1);
  70017. case 3:
  70018. // returning from await.
  70019. $async$returnValue = null;
  70020. // goto return
  70021. $async$goto = 1;
  70022. break;
  70023. case 1:
  70024. // return
  70025. return A._asyncReturn($async$returnValue, $async$completer);
  70026. }
  70027. });
  70028. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  70029. },
  70030. _async_evaluate$_visitSupportsCondition$1(condition) {
  70031. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  70032. },
  70033. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  70034. var $async$goto = 0,
  70035. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  70036. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  70037. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70038. if ($async$errorCode === 1)
  70039. return A._asyncRethrow($async$result, $async$completer);
  70040. for (;;)
  70041. switch ($async$goto) {
  70042. case 0:
  70043. // Function start
  70044. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  70045. break;
  70046. case 4:
  70047. // then
  70048. t1 = condition.operator;
  70049. $async$temp1 = A;
  70050. $async$goto = 6;
  70051. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  70052. case 6:
  70053. // returning from await.
  70054. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  70055. $async$temp2 = A;
  70056. $async$goto = 7;
  70057. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  70058. case 7:
  70059. // returning from await.
  70060. t1 = $async$temp1 + $async$temp2.S($async$result);
  70061. // goto break $label0$0
  70062. $async$goto = 3;
  70063. break;
  70064. case 5:
  70065. // join
  70066. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  70067. break;
  70068. case 8:
  70069. // then
  70070. $async$temp1 = A;
  70071. $async$goto = 10;
  70072. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  70073. case 10:
  70074. // returning from await.
  70075. t1 = "not " + $async$temp1.S($async$result);
  70076. // goto break $label0$0
  70077. $async$goto = 3;
  70078. break;
  70079. case 9:
  70080. // join
  70081. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  70082. break;
  70083. case 11:
  70084. // then
  70085. $async$goto = 13;
  70086. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  70087. case 13:
  70088. // returning from await.
  70089. t1 = $async$result;
  70090. // goto break $label0$0
  70091. $async$goto = 3;
  70092. break;
  70093. case 12:
  70094. // join
  70095. t1 = {};
  70096. t1.declaration = null;
  70097. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  70098. break;
  70099. case 14:
  70100. // then
  70101. t1.declaration = condition;
  70102. $async$goto = 16;
  70103. return A._asyncAwait($async$self._async_evaluate$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure0(t1, $async$self), type$.String), $async$_async_evaluate$_visitSupportsCondition$1);
  70104. case 16:
  70105. // returning from await.
  70106. t1 = $async$result;
  70107. // goto break $label0$0
  70108. $async$goto = 3;
  70109. break;
  70110. case 15:
  70111. // join
  70112. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  70113. break;
  70114. case 17:
  70115. // then
  70116. $async$temp1 = A;
  70117. $async$goto = 19;
  70118. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  70119. case 19:
  70120. // returning from await.
  70121. $async$temp1 = $async$temp1.S($async$result) + "(";
  70122. $async$temp2 = A;
  70123. $async$goto = 20;
  70124. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  70125. case 20:
  70126. // returning from await.
  70127. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  70128. // goto break $label0$0
  70129. $async$goto = 3;
  70130. break;
  70131. case 18:
  70132. // join
  70133. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  70134. break;
  70135. case 21:
  70136. // then
  70137. $async$temp1 = A;
  70138. $async$goto = 23;
  70139. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  70140. case 23:
  70141. // returning from await.
  70142. t1 = "(" + $async$temp1.S($async$result) + ")";
  70143. // goto break $label0$0
  70144. $async$goto = 3;
  70145. break;
  70146. case 22:
  70147. // join
  70148. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  70149. case 3:
  70150. // break $label0$0
  70151. $async$returnValue = t1;
  70152. // goto return
  70153. $async$goto = 1;
  70154. break;
  70155. case 1:
  70156. // return
  70157. return A._asyncReturn($async$returnValue, $async$completer);
  70158. }
  70159. });
  70160. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  70161. },
  70162. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  70163. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  70164. },
  70165. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  70166. var $async$goto = 0,
  70167. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70168. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  70169. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70170. if ($async$errorCode === 1) {
  70171. $async$errorStack.push($async$result);
  70172. $async$goto = $async$handler;
  70173. }
  70174. for (;;)
  70175. switch ($async$goto) {
  70176. case 0:
  70177. // Function start
  70178. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  70179. $async$self._async_evaluate$_inSupportsDeclaration = true;
  70180. $async$handler = 3;
  70181. t1 = callback.call$0();
  70182. $async$goto = 6;
  70183. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  70184. case 6:
  70185. // returning from await.
  70186. t1 = $async$result;
  70187. $async$returnValue = t1;
  70188. $async$next = [1];
  70189. // goto finally
  70190. $async$goto = 4;
  70191. break;
  70192. $async$next.push(5);
  70193. // goto finally
  70194. $async$goto = 4;
  70195. break;
  70196. case 3:
  70197. // uncaught
  70198. $async$next = [2];
  70199. case 4:
  70200. // finally
  70201. $async$handler = 2;
  70202. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  70203. // goto the next finally handler
  70204. $async$goto = $async$next.pop();
  70205. break;
  70206. case 5:
  70207. // after finally
  70208. case 1:
  70209. // return
  70210. return A._asyncReturn($async$returnValue, $async$completer);
  70211. case 2:
  70212. // rethrow
  70213. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  70214. }
  70215. });
  70216. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  70217. },
  70218. _async_evaluate$_parenthesize$2(condition, operator) {
  70219. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  70220. },
  70221. _async_evaluate$_parenthesize$1(condition) {
  70222. return this._async_evaluate$_parenthesize$2(condition, null);
  70223. },
  70224. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  70225. var $async$goto = 0,
  70226. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  70227. $async$returnValue, $async$self = this, t1, $async$temp1;
  70228. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70229. if ($async$errorCode === 1)
  70230. return A._asyncRethrow($async$result, $async$completer);
  70231. for (;;)
  70232. switch ($async$goto) {
  70233. case 0:
  70234. // Function start
  70235. if (!(condition instanceof A.SupportsNegation))
  70236. if (condition instanceof A.SupportsOperation)
  70237. t1 = operator == null || operator !== condition.operator;
  70238. else
  70239. t1 = false;
  70240. else
  70241. t1 = true;
  70242. $async$goto = t1 ? 3 : 4;
  70243. break;
  70244. case 3:
  70245. // then
  70246. $async$temp1 = A;
  70247. $async$goto = 5;
  70248. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  70249. case 5:
  70250. // returning from await.
  70251. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  70252. // goto return
  70253. $async$goto = 1;
  70254. break;
  70255. case 4:
  70256. // join
  70257. $async$goto = 6;
  70258. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  70259. case 6:
  70260. // returning from await.
  70261. $async$returnValue = $async$result;
  70262. // goto return
  70263. $async$goto = 1;
  70264. break;
  70265. case 1:
  70266. // return
  70267. return A._asyncReturn($async$returnValue, $async$completer);
  70268. }
  70269. });
  70270. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  70271. },
  70272. visitVariableDeclaration$1(_, node) {
  70273. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  70274. },
  70275. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  70276. var $async$goto = 0,
  70277. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70278. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  70279. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70280. if ($async$errorCode === 1)
  70281. return A._asyncRethrow($async$result, $async$completer);
  70282. for (;;)
  70283. switch ($async$goto) {
  70284. case 0:
  70285. // Function start
  70286. if (node.isGuarded) {
  70287. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  70288. t1 = node.name;
  70289. $async$self._async_evaluate$_environment._async_environment$_configurableVariables.add$1(0, t1);
  70290. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  70291. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  70292. t1 = {};
  70293. t1.override = null;
  70294. if (_0_0 != null) {
  70295. t1.override = _0_0;
  70296. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  70297. } else
  70298. t2 = false;
  70299. if (t2) {
  70300. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  70301. $async$returnValue = null;
  70302. // goto return
  70303. $async$goto = 1;
  70304. break;
  70305. }
  70306. }
  70307. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  70308. if (value != null && !value.$eq(0, B.C__SassNull)) {
  70309. $async$returnValue = null;
  70310. // goto return
  70311. $async$goto = 1;
  70312. break;
  70313. }
  70314. }
  70315. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  70316. t1 = $async$self._async_evaluate$_environment._async_environment$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  70317. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_jGw);
  70318. }
  70319. t1 = node.expression;
  70320. t2 = t1.accept$1($async$self);
  70321. $async$temp1 = node;
  70322. $async$temp2 = A;
  70323. $async$temp3 = node;
  70324. $async$goto = 3;
  70325. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  70326. case 3:
  70327. // returning from await.
  70328. $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure4($async$self, $async$temp3, $async$self._async_evaluate$_withoutSlash$2($async$result, t1)));
  70329. $async$returnValue = null;
  70330. // goto return
  70331. $async$goto = 1;
  70332. break;
  70333. case 1:
  70334. // return
  70335. return A._asyncReturn($async$returnValue, $async$completer);
  70336. }
  70337. });
  70338. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  70339. },
  70340. visitUseRule$1(_, node) {
  70341. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  70342. },
  70343. visitUseRule$body$_EvaluateVisitor(_, node) {
  70344. var $async$goto = 0,
  70345. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70346. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  70347. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70348. if ($async$errorCode === 1)
  70349. return A._asyncRethrow($async$result, $async$completer);
  70350. for (;;)
  70351. switch ($async$goto) {
  70352. case 0:
  70353. // Function start
  70354. t1 = node.configuration;
  70355. t2 = t1.length;
  70356. $async$goto = t2 !== 0 ? 3 : 5;
  70357. break;
  70358. case 3:
  70359. // then
  70360. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  70361. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  70362. case 6:
  70363. // for condition
  70364. if (!(_i < t2)) {
  70365. // goto after for
  70366. $async$goto = 8;
  70367. break;
  70368. }
  70369. variable = t1[_i];
  70370. t5 = variable.expression;
  70371. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  70372. t5 = t5.accept$1($async$self);
  70373. if (!t4._is(t5)) {
  70374. t6 = new A._Future($.Zone__current, t3);
  70375. t6._state = 8;
  70376. t6._resultOrListeners = t5;
  70377. t5 = t6;
  70378. }
  70379. $async$temp1 = values;
  70380. $async$temp2 = variable.name;
  70381. $async$temp3 = A;
  70382. $async$goto = 9;
  70383. return A._asyncAwait(t5, $async$visitUseRule$1);
  70384. case 9:
  70385. // returning from await.
  70386. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  70387. case 7:
  70388. // for update
  70389. ++_i;
  70390. // goto for condition
  70391. $async$goto = 6;
  70392. break;
  70393. case 8:
  70394. // after for
  70395. configuration = new A.ExplicitConfiguration(node, values, null);
  70396. // goto join
  70397. $async$goto = 4;
  70398. break;
  70399. case 5:
  70400. // else
  70401. configuration = B.Configuration_Map_empty_null;
  70402. case 4:
  70403. // join
  70404. $async$goto = 10;
  70405. return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure0($async$self, node), configuration), $async$visitUseRule$1);
  70406. case 10:
  70407. // returning from await.
  70408. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  70409. $async$returnValue = null;
  70410. // goto return
  70411. $async$goto = 1;
  70412. break;
  70413. case 1:
  70414. // return
  70415. return A._asyncReturn($async$returnValue, $async$completer);
  70416. }
  70417. });
  70418. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  70419. },
  70420. visitWarnRule$1(_, node) {
  70421. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  70422. },
  70423. visitWarnRule$body$_EvaluateVisitor(_, node) {
  70424. var $async$goto = 0,
  70425. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70426. $async$returnValue, $async$self = this, value, t1, t2;
  70427. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70428. if ($async$errorCode === 1)
  70429. return A._asyncRethrow($async$result, $async$completer);
  70430. for (;;)
  70431. switch ($async$goto) {
  70432. case 0:
  70433. // Function start
  70434. $async$goto = 3;
  70435. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  70436. case 3:
  70437. // returning from await.
  70438. value = $async$result;
  70439. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  70440. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  70441. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  70442. $async$returnValue = null;
  70443. // goto return
  70444. $async$goto = 1;
  70445. break;
  70446. case 1:
  70447. // return
  70448. return A._asyncReturn($async$returnValue, $async$completer);
  70449. }
  70450. });
  70451. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  70452. },
  70453. visitWhileRule$1(_, node) {
  70454. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  70455. },
  70456. visitBinaryOperationExpression$1(_, node) {
  70457. var t1, _this = this;
  70458. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  70459. t1 = node.operator;
  70460. t1 = t1 !== B.BinaryOperator_g6F && t1 !== B.BinaryOperator_ehp;
  70461. } else
  70462. t1 = false;
  70463. if (t1)
  70464. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  70465. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  70466. },
  70467. _async_evaluate$_slash$3(left, right, node) {
  70468. var left0, _1_2,
  70469. result = left.dividedBy$1(right),
  70470. _1_2_isSet = left instanceof A.SassNumber,
  70471. right0 = null,
  70472. t1 = false;
  70473. if (_1_2_isSet) {
  70474. if (right instanceof A.SassNumber) {
  70475. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  70476. right0 = right;
  70477. }
  70478. left0 = left;
  70479. _1_2 = right;
  70480. } else {
  70481. _1_2 = null;
  70482. left0 = null;
  70483. }
  70484. if (t1)
  70485. return type$.SassNumber._as(result).withSlash$2(left0, right0);
  70486. if (left instanceof A.SassNumber)
  70487. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  70488. else
  70489. t1 = false;
  70490. if (t1) {
  70491. this._async_evaluate$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation0().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_qZ1);
  70492. return result;
  70493. }
  70494. return result;
  70495. },
  70496. _async_evaluate$_operandAllowsSlash$1(node) {
  70497. var t1;
  70498. if (node instanceof A.FunctionExpression)
  70499. if (node.namespace == null) {
  70500. t1 = node.name;
  70501. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  70502. } else
  70503. t1 = false;
  70504. else
  70505. t1 = true;
  70506. return t1;
  70507. },
  70508. visitValueExpression$1(_, node) {
  70509. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  70510. },
  70511. visitValueExpression$body$_EvaluateVisitor(_, node) {
  70512. var $async$goto = 0,
  70513. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70514. $async$returnValue;
  70515. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70516. if ($async$errorCode === 1)
  70517. return A._asyncRethrow($async$result, $async$completer);
  70518. for (;;)
  70519. switch ($async$goto) {
  70520. case 0:
  70521. // Function start
  70522. $async$returnValue = node.value;
  70523. // goto return
  70524. $async$goto = 1;
  70525. break;
  70526. case 1:
  70527. // return
  70528. return A._asyncReturn($async$returnValue, $async$completer);
  70529. }
  70530. });
  70531. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  70532. },
  70533. visitVariableExpression$1(_, node) {
  70534. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  70535. },
  70536. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  70537. var $async$goto = 0,
  70538. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70539. $async$returnValue, $async$self = this, result;
  70540. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70541. if ($async$errorCode === 1)
  70542. return A._asyncRethrow($async$result, $async$completer);
  70543. for (;;)
  70544. switch ($async$goto) {
  70545. case 0:
  70546. // Function start
  70547. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  70548. if (result != null) {
  70549. $async$returnValue = result;
  70550. // goto return
  70551. $async$goto = 1;
  70552. break;
  70553. }
  70554. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  70555. case 1:
  70556. // return
  70557. return A._asyncReturn($async$returnValue, $async$completer);
  70558. }
  70559. });
  70560. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  70561. },
  70562. visitUnaryOperationExpression$1(_, node) {
  70563. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  70564. },
  70565. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  70566. var $async$goto = 0,
  70567. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70568. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  70569. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70570. if ($async$errorCode === 1)
  70571. return A._asyncRethrow($async$result, $async$completer);
  70572. for (;;)
  70573. switch ($async$goto) {
  70574. case 0:
  70575. // Function start
  70576. $async$temp1 = node;
  70577. $async$temp2 = A;
  70578. $async$temp3 = node;
  70579. $async$goto = 3;
  70580. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  70581. case 3:
  70582. // returning from await.
  70583. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  70584. // goto return
  70585. $async$goto = 1;
  70586. break;
  70587. case 1:
  70588. // return
  70589. return A._asyncReturn($async$returnValue, $async$completer);
  70590. }
  70591. });
  70592. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  70593. },
  70594. visitBooleanExpression$1(_, node) {
  70595. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  70596. },
  70597. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  70598. var $async$goto = 0,
  70599. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  70600. $async$returnValue;
  70601. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70602. if ($async$errorCode === 1)
  70603. return A._asyncRethrow($async$result, $async$completer);
  70604. for (;;)
  70605. switch ($async$goto) {
  70606. case 0:
  70607. // Function start
  70608. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  70609. // goto return
  70610. $async$goto = 1;
  70611. break;
  70612. case 1:
  70613. // return
  70614. return A._asyncReturn($async$returnValue, $async$completer);
  70615. }
  70616. });
  70617. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70618. },
  70619. visitIfExpression$1(_, node) {
  70620. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70621. },
  70622. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70623. var $async$goto = 0,
  70624. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70625. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70626. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70627. if ($async$errorCode === 1)
  70628. return A._asyncRethrow($async$result, $async$completer);
  70629. for (;;)
  70630. switch ($async$goto) {
  70631. case 0:
  70632. // Function start
  70633. $async$goto = 3;
  70634. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70635. case 3:
  70636. // returning from await.
  70637. _0_0 = $async$result;
  70638. positional = _0_0._0;
  70639. named = _0_0._1;
  70640. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70641. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70642. if (condition == null) {
  70643. t1 = named.$index(0, "condition");
  70644. t1.toString;
  70645. condition = t1;
  70646. }
  70647. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70648. if (ifTrue == null) {
  70649. t1 = named.$index(0, "if-true");
  70650. t1.toString;
  70651. ifTrue = t1;
  70652. }
  70653. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70654. if (ifFalse == null) {
  70655. t1 = named.$index(0, "if-false");
  70656. t1.toString;
  70657. ifFalse = t1;
  70658. }
  70659. $async$goto = 4;
  70660. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70661. case 4:
  70662. // returning from await.
  70663. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70664. t1 = result.accept$1($async$self);
  70665. $async$goto = 5;
  70666. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70667. case 5:
  70668. // returning from await.
  70669. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70670. // goto return
  70671. $async$goto = 1;
  70672. break;
  70673. case 1:
  70674. // return
  70675. return A._asyncReturn($async$returnValue, $async$completer);
  70676. }
  70677. });
  70678. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70679. },
  70680. visitNullExpression$1(_, node) {
  70681. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70682. },
  70683. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70684. var $async$goto = 0,
  70685. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70686. $async$returnValue;
  70687. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70688. if ($async$errorCode === 1)
  70689. return A._asyncRethrow($async$result, $async$completer);
  70690. for (;;)
  70691. switch ($async$goto) {
  70692. case 0:
  70693. // Function start
  70694. $async$returnValue = B.C__SassNull;
  70695. // goto return
  70696. $async$goto = 1;
  70697. break;
  70698. case 1:
  70699. // return
  70700. return A._asyncReturn($async$returnValue, $async$completer);
  70701. }
  70702. });
  70703. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70704. },
  70705. visitNumberExpression$1(_, node) {
  70706. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70707. },
  70708. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70709. var $async$goto = 0,
  70710. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70711. $async$returnValue;
  70712. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70713. if ($async$errorCode === 1)
  70714. return A._asyncRethrow($async$result, $async$completer);
  70715. for (;;)
  70716. switch ($async$goto) {
  70717. case 0:
  70718. // Function start
  70719. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70720. // goto return
  70721. $async$goto = 1;
  70722. break;
  70723. case 1:
  70724. // return
  70725. return A._asyncReturn($async$returnValue, $async$completer);
  70726. }
  70727. });
  70728. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70729. },
  70730. visitParenthesizedExpression$1(_, node) {
  70731. var _this = this;
  70732. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  70733. },
  70734. visitColorExpression$1(_, node) {
  70735. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70736. },
  70737. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70738. var $async$goto = 0,
  70739. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70740. $async$returnValue;
  70741. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70742. if ($async$errorCode === 1)
  70743. return A._asyncRethrow($async$result, $async$completer);
  70744. for (;;)
  70745. switch ($async$goto) {
  70746. case 0:
  70747. // Function start
  70748. $async$returnValue = node.value;
  70749. // goto return
  70750. $async$goto = 1;
  70751. break;
  70752. case 1:
  70753. // return
  70754. return A._asyncReturn($async$returnValue, $async$completer);
  70755. }
  70756. });
  70757. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70758. },
  70759. visitListExpression$1(_, node) {
  70760. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70761. },
  70762. visitListExpression$body$_EvaluateVisitor(_, node) {
  70763. var $async$goto = 0,
  70764. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70765. $async$returnValue, $async$self = this, $async$temp1;
  70766. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70767. if ($async$errorCode === 1)
  70768. return A._asyncRethrow($async$result, $async$completer);
  70769. for (;;)
  70770. switch ($async$goto) {
  70771. case 0:
  70772. // Function start
  70773. $async$temp1 = A;
  70774. $async$goto = 3;
  70775. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70776. case 3:
  70777. // returning from await.
  70778. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70779. // goto return
  70780. $async$goto = 1;
  70781. break;
  70782. case 1:
  70783. // return
  70784. return A._asyncReturn($async$returnValue, $async$completer);
  70785. }
  70786. });
  70787. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70788. },
  70789. visitMapExpression$1(_, node) {
  70790. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70791. },
  70792. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70793. var $async$goto = 0,
  70794. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70795. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70796. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70797. if ($async$errorCode === 1)
  70798. return A._asyncRethrow($async$result, $async$completer);
  70799. for (;;)
  70800. switch ($async$goto) {
  70801. case 0:
  70802. // Function start
  70803. t1 = type$.Value;
  70804. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70805. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70806. t2 = node.pairs, t3 = t2.length, _i = 0;
  70807. case 3:
  70808. // for condition
  70809. if (!(_i < t3)) {
  70810. // goto after for
  70811. $async$goto = 5;
  70812. break;
  70813. }
  70814. t4 = t2[_i];
  70815. key = t4._0;
  70816. $async$goto = 6;
  70817. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70818. case 6:
  70819. // returning from await.
  70820. keyValue = $async$result;
  70821. $async$goto = 7;
  70822. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70823. case 7:
  70824. // returning from await.
  70825. valueValue = $async$result;
  70826. if (map.containsKey$1(keyValue)) {
  70827. t1 = keyNodes.$index(0, keyValue);
  70828. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70829. t1 = key.get$span(key);
  70830. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70831. if (oldValueSpan != null)
  70832. t2.$indexSet(0, oldValueSpan, "first key");
  70833. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70834. }
  70835. map.$indexSet(0, keyValue, valueValue);
  70836. keyNodes.$indexSet(0, keyValue, key);
  70837. case 4:
  70838. // for update
  70839. ++_i;
  70840. // goto for condition
  70841. $async$goto = 3;
  70842. break;
  70843. case 5:
  70844. // after for
  70845. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70846. // goto return
  70847. $async$goto = 1;
  70848. break;
  70849. case 1:
  70850. // return
  70851. return A._asyncReturn($async$returnValue, $async$completer);
  70852. }
  70853. });
  70854. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70855. },
  70856. visitFunctionExpression$1(_, node) {
  70857. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70858. },
  70859. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70860. var $async$goto = 0,
  70861. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70862. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70863. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70864. if ($async$errorCode === 1)
  70865. return A._asyncRethrow($async$result, $async$completer);
  70866. for (;;)
  70867. switch ($async$goto) {
  70868. case 0:
  70869. // Function start
  70870. t1 = {};
  70871. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2($async$self, node));
  70872. t1.$function = $function;
  70873. $async$goto = $function == null || B.JSString_methods.startsWith$1(node.originalName, "--") ? 3 : 4;
  70874. break;
  70875. case 3:
  70876. // then
  70877. if (node.namespace != null)
  70878. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70879. t2 = node.name;
  70880. _0_0 = t2.toLowerCase();
  70881. t3 = false;
  70882. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70883. t3 = node.$arguments;
  70884. t4 = t3.named;
  70885. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70886. $name = _0_0;
  70887. } else
  70888. $name = null;
  70889. $async$goto = t3 ? 5 : 6;
  70890. break;
  70891. case 5:
  70892. // then
  70893. $async$goto = 7;
  70894. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70895. case 7:
  70896. // returning from await.
  70897. $async$returnValue = $async$result;
  70898. // goto return
  70899. $async$goto = 1;
  70900. break;
  70901. case 6:
  70902. // join
  70903. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0 ? 8 : 9;
  70904. break;
  70905. case 8:
  70906. // then
  70907. $async$goto = 10;
  70908. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70909. case 10:
  70910. // returning from await.
  70911. $async$returnValue = $async$result;
  70912. // goto return
  70913. $async$goto = 1;
  70914. break;
  70915. case 9:
  70916. // join
  70917. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70918. t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70919. case 4:
  70920. // join
  70921. oldInFunction = $async$self._async_evaluate$_inFunction;
  70922. $async$self._async_evaluate$_inFunction = true;
  70923. $async$goto = 11;
  70924. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
  70925. case 11:
  70926. // returning from await.
  70927. result = $async$result;
  70928. $async$self._async_evaluate$_inFunction = oldInFunction;
  70929. $async$returnValue = result;
  70930. // goto return
  70931. $async$goto = 1;
  70932. break;
  70933. case 1:
  70934. // return
  70935. return A._asyncReturn($async$returnValue, $async$completer);
  70936. }
  70937. });
  70938. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70939. },
  70940. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70941. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70942. },
  70943. _async_evaluate$_visitCalculation$1(node) {
  70944. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70945. },
  70946. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70947. var $async$goto = 0,
  70948. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70949. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70950. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70951. if ($async$errorCode === 1)
  70952. return A._asyncRethrow($async$result, $async$completer);
  70953. for (;;)
  70954. switch ($async$goto) {
  70955. case 0:
  70956. // Function start
  70957. t2 = node.$arguments;
  70958. t3 = t2.named;
  70959. if (t3.get$isNotEmpty(t3))
  70960. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70961. else if (t2.rest != null)
  70962. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70963. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70964. t3 = A._setArrayType([], type$.JSArray_Object);
  70965. t2 = t2.positional, t4 = t2.length, _i = 0;
  70966. case 3:
  70967. // for condition
  70968. if (!(_i < t4)) {
  70969. // goto after for
  70970. $async$goto = 5;
  70971. break;
  70972. }
  70973. $async$temp1 = t3;
  70974. $async$goto = 6;
  70975. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70976. case 6:
  70977. // returning from await.
  70978. $async$temp1.push($async$result);
  70979. case 4:
  70980. // for update
  70981. ++_i;
  70982. // goto for condition
  70983. $async$goto = 3;
  70984. break;
  70985. case 5:
  70986. // after for
  70987. $arguments = t3;
  70988. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70989. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70990. // goto return
  70991. $async$goto = 1;
  70992. break;
  70993. }
  70994. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70995. $async$self._async_evaluate$_callableNode = node;
  70996. try {
  70997. t1 = null;
  70998. t3 = node.name;
  70999. _0_0 = t3.toLowerCase();
  71000. $label0$0: {
  71001. if ("calc" === _0_0) {
  71002. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  71003. break $label0$0;
  71004. }
  71005. if ("sqrt" === _0_0) {
  71006. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  71007. break $label0$0;
  71008. }
  71009. if ("sin" === _0_0) {
  71010. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  71011. break $label0$0;
  71012. }
  71013. if ("cos" === _0_0) {
  71014. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  71015. break $label0$0;
  71016. }
  71017. if ("tan" === _0_0) {
  71018. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  71019. break $label0$0;
  71020. }
  71021. if ("asin" === _0_0) {
  71022. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  71023. break $label0$0;
  71024. }
  71025. if ("acos" === _0_0) {
  71026. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  71027. break $label0$0;
  71028. }
  71029. if ("atan" === _0_0) {
  71030. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  71031. break $label0$0;
  71032. }
  71033. if ("abs" === _0_0) {
  71034. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  71035. break $label0$0;
  71036. }
  71037. if ("exp" === _0_0) {
  71038. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  71039. break $label0$0;
  71040. }
  71041. if ("sign" === _0_0) {
  71042. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  71043. break $label0$0;
  71044. }
  71045. if ("min" === _0_0) {
  71046. t1 = A.SassCalculation_min($arguments);
  71047. break $label0$0;
  71048. }
  71049. if ("max" === _0_0) {
  71050. t1 = A.SassCalculation_max($arguments);
  71051. break $label0$0;
  71052. }
  71053. if ("hypot" === _0_0) {
  71054. t1 = A.SassCalculation_hypot($arguments);
  71055. break $label0$0;
  71056. }
  71057. if ("pow" === _0_0) {
  71058. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71059. break $label0$0;
  71060. }
  71061. if ("atan2" === _0_0) {
  71062. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71063. break $label0$0;
  71064. }
  71065. if ("log" === _0_0) {
  71066. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71067. break $label0$0;
  71068. }
  71069. if ("mod" === _0_0) {
  71070. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71071. break $label0$0;
  71072. }
  71073. if ("rem" === _0_0) {
  71074. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71075. break $label0$0;
  71076. }
  71077. if ("round" === _0_0) {
  71078. t1 = A.SassCalculation_roundInternal(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure0($async$self, node));
  71079. break $label0$0;
  71080. }
  71081. if ("clamp" === _0_0) {
  71082. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  71083. break $label0$0;
  71084. }
  71085. if ("calc-size" === _0_0) {
  71086. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  71087. break $label0$0;
  71088. }
  71089. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  71090. t1 = A.throwExpression(t3);
  71091. }
  71092. t1 = t1;
  71093. $async$returnValue = t1;
  71094. // goto return
  71095. $async$goto = 1;
  71096. break;
  71097. } catch (exception) {
  71098. t1 = A.unwrapException(exception);
  71099. if (t1 instanceof A.SassScriptException) {
  71100. error = t1;
  71101. stackTrace = A.getTraceFromException(exception);
  71102. if (B.JSString_methods.contains$1(error.message, "compatible"))
  71103. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  71104. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  71105. } else
  71106. throw exception;
  71107. } finally {
  71108. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71109. }
  71110. case 1:
  71111. // return
  71112. return A._asyncReturn($async$returnValue, $async$completer);
  71113. }
  71114. });
  71115. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  71116. },
  71117. _async_evaluate$_checkCalculationArguments$1(node) {
  71118. var t1, _0_0,
  71119. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  71120. $label0$0: {
  71121. t1 = node.name;
  71122. _0_0 = t1.toLowerCase();
  71123. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  71124. check.call$1(1);
  71125. break $label0$0;
  71126. }
  71127. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  71128. check.call$0();
  71129. break $label0$0;
  71130. }
  71131. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  71132. check.call$1(2);
  71133. break $label0$0;
  71134. }
  71135. if ("round" === _0_0 || "clamp" === _0_0) {
  71136. check.call$1(3);
  71137. break $label0$0;
  71138. }
  71139. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  71140. }
  71141. },
  71142. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  71143. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  71144. for (i = 0; t1 = args.length, i < t1; ++i) {
  71145. _0_0 = args[i];
  71146. if (_0_0 instanceof A.SassNumber) {
  71147. t1 = _0_0.get$hasComplexUnits();
  71148. arg = _0_0;
  71149. } else {
  71150. arg = null;
  71151. t1 = false;
  71152. }
  71153. if (t1) {
  71154. t1 = A.S(arg);
  71155. t2 = nodesWithSpans[i];
  71156. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  71157. }
  71158. }
  71159. for (i = 0; i < t1 - 1; ++i) {
  71160. number1 = args[i];
  71161. if (!(number1 instanceof A.SassNumber))
  71162. continue;
  71163. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  71164. number2 = args[j];
  71165. if (!(number2 instanceof A.SassNumber))
  71166. continue;
  71167. if (number1.hasPossiblyCompatibleUnits$1(number2))
  71168. continue;
  71169. t1 = number1.toString$0(0);
  71170. t2 = number2.toString$0(0);
  71171. t3 = nodesWithSpans[i];
  71172. t3 = t3.get$span(t3);
  71173. t4 = number1.toString$0(0);
  71174. t5 = nodesWithSpans[j];
  71175. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  71176. t6 = nodesWithSpans[i];
  71177. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  71178. }
  71179. }
  71180. },
  71181. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  71182. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  71183. },
  71184. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  71185. var $async$goto = 0,
  71186. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  71187. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  71188. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71189. if ($async$errorCode === 1)
  71190. return A._asyncRethrow($async$result, $async$completer);
  71191. for (;;)
  71192. switch ($async$goto) {
  71193. case 0:
  71194. // Function start
  71195. t1 = node instanceof A.ParenthesizedExpression;
  71196. inner = t1 ? node.expression : null;
  71197. $async$goto = t1 ? 3 : 4;
  71198. break;
  71199. case 3:
  71200. // then
  71201. $async$goto = 5;
  71202. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  71203. case 5:
  71204. // returning from await.
  71205. result = $async$result;
  71206. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  71207. // goto return
  71208. $async$goto = 1;
  71209. break;
  71210. case 4:
  71211. // join
  71212. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  71213. break;
  71214. case 6:
  71215. // then
  71216. t1 = node.text;
  71217. t2 = t1.get$asPlain();
  71218. _0_0 = t2 == null ? null : t2.toLowerCase();
  71219. if ("pi" === _0_0) {
  71220. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  71221. // goto break $label0$0
  71222. $async$goto = 8;
  71223. break;
  71224. }
  71225. if ("e" === _0_0) {
  71226. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  71227. // goto break $label0$0
  71228. $async$goto = 8;
  71229. break;
  71230. }
  71231. if ("infinity" === _0_0) {
  71232. t1 = A.SassNumber_SassNumber(1 / 0, null);
  71233. // goto break $label0$0
  71234. $async$goto = 8;
  71235. break;
  71236. }
  71237. if ("-infinity" === _0_0) {
  71238. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  71239. // goto break $label0$0
  71240. $async$goto = 8;
  71241. break;
  71242. }
  71243. if ("nan" === _0_0) {
  71244. t1 = A.SassNumber_SassNumber(0 / 0, null);
  71245. // goto break $label0$0
  71246. $async$goto = 8;
  71247. break;
  71248. }
  71249. $async$temp1 = A;
  71250. $async$goto = 9;
  71251. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  71252. case 9:
  71253. // returning from await.
  71254. t1 = new $async$temp1.SassString($async$result, false);
  71255. // goto break $label0$0
  71256. $async$goto = 8;
  71257. break;
  71258. case 8:
  71259. // break $label0$0
  71260. $async$returnValue = t1;
  71261. // goto return
  71262. $async$goto = 1;
  71263. break;
  71264. case 7:
  71265. // join
  71266. _box_0 = {};
  71267. _box_0.right = _box_0.left = _box_0.operator = null;
  71268. t1 = node instanceof A.BinaryOperationExpression;
  71269. if (t1) {
  71270. _box_0.operator = node.operator;
  71271. _box_0.left = node.left;
  71272. _box_0.right = node.right;
  71273. }
  71274. $async$goto = t1 ? 10 : 11;
  71275. break;
  71276. case 10:
  71277. // then
  71278. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  71279. $async$goto = 12;
  71280. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure0(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  71281. case 12:
  71282. // returning from await.
  71283. $async$returnValue = $async$result;
  71284. // goto return
  71285. $async$goto = 1;
  71286. break;
  71287. case 11:
  71288. // join
  71289. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  71290. break;
  71291. case 13:
  71292. // then
  71293. $async$goto = 15;
  71294. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  71295. case 15:
  71296. // returning from await.
  71297. _1_0 = $async$result;
  71298. $label1$1: {
  71299. if (_1_0 instanceof A.SassNumber) {
  71300. t1 = _1_0;
  71301. break $label1$1;
  71302. }
  71303. if (_1_0 instanceof A.SassCalculation) {
  71304. t1 = _1_0;
  71305. break $label1$1;
  71306. }
  71307. if (_1_0 instanceof A.SassString) {
  71308. t1 = !_1_0._hasQuotes;
  71309. result = _1_0;
  71310. } else {
  71311. result = null;
  71312. t1 = false;
  71313. }
  71314. if (t1) {
  71315. t1 = result;
  71316. break $label1$1;
  71317. }
  71318. t1 = A.throwExpression($async$self._async_evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  71319. }
  71320. $async$returnValue = t1;
  71321. // goto return
  71322. $async$goto = 1;
  71323. break;
  71324. case 14:
  71325. // join
  71326. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_SrV === node.separator && node.contents.length >= 2 ? 16 : 17;
  71327. break;
  71328. case 16:
  71329. // then
  71330. t1 = A._setArrayType([], type$.JSArray_Object);
  71331. t2 = node.contents, t3 = t2.length, _i = 0;
  71332. case 18:
  71333. // for condition
  71334. if (!(_i < t3)) {
  71335. // goto after for
  71336. $async$goto = 20;
  71337. break;
  71338. }
  71339. $async$temp1 = t1;
  71340. $async$goto = 21;
  71341. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  71342. case 21:
  71343. // returning from await.
  71344. $async$temp1.push($async$result);
  71345. case 19:
  71346. // for update
  71347. ++_i;
  71348. // goto for condition
  71349. $async$goto = 18;
  71350. break;
  71351. case 20:
  71352. // after for
  71353. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  71354. for (i = 0; i < t1.length; ++i) {
  71355. t3 = t1[i];
  71356. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  71357. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  71358. }
  71359. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  71360. // goto return
  71361. $async$goto = 1;
  71362. break;
  71363. case 17:
  71364. // join
  71365. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  71366. case 1:
  71367. // return
  71368. return A._asyncReturn($async$returnValue, $async$completer);
  71369. }
  71370. });
  71371. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  71372. },
  71373. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  71374. var t2, t3, t4, textBetweenOperands, first, last,
  71375. t1 = node.operator;
  71376. if (t1 !== B.BinaryOperator_jCK && t1 !== B.BinaryOperator_tDf)
  71377. return;
  71378. t1 = node.left;
  71379. t2 = t1.get$span(t1);
  71380. t2 = t2.get$file(t2);
  71381. t3 = node.right;
  71382. t4 = t3.get$span(t3);
  71383. if (t2 !== t4.get$file(t4))
  71384. return;
  71385. t2 = t1.get$span(t1);
  71386. t2 = t2.get$end(t2);
  71387. t4 = t3.get$span(t3);
  71388. if (t2.offset >= t4.get$start(t4).offset)
  71389. return;
  71390. t2 = t1.get$span(t1);
  71391. t2 = t2.get$file(t2);
  71392. t1 = t1.get$span(t1);
  71393. t1 = t1.get$end(t1);
  71394. t3 = t3.get$span(t3);
  71395. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  71396. first = textBetweenOperands.charCodeAt(0);
  71397. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  71398. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  71399. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  71400. else
  71401. t1 = true;
  71402. if (t1)
  71403. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  71404. },
  71405. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  71406. var t1;
  71407. $label0$0: {
  71408. if (B.BinaryOperator_jCK === operator) {
  71409. t1 = B.CalculationOperator_dpX;
  71410. break $label0$0;
  71411. }
  71412. if (B.BinaryOperator_tDf === operator) {
  71413. t1 = B.CalculationOperator_KrC;
  71414. break $label0$0;
  71415. }
  71416. if (B.BinaryOperator_wkM === operator) {
  71417. t1 = B.CalculationOperator_LPB;
  71418. break $label0$0;
  71419. }
  71420. if (B.BinaryOperator_ehp === operator) {
  71421. t1 = B.CalculationOperator_wFL;
  71422. break $label0$0;
  71423. }
  71424. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  71425. }
  71426. return t1;
  71427. },
  71428. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  71429. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  71430. for (t1 = elements.length, i = 1; i < t1; ++i) {
  71431. t2 = i - 1;
  71432. previous = elements[t2];
  71433. current = elements[i];
  71434. if (previous instanceof A.SassString || current instanceof A.SassString)
  71435. continue;
  71436. t1 = node.contents;
  71437. previousNode = t1[t2];
  71438. currentNode = t1[i];
  71439. if (currentNode instanceof A.UnaryOperationExpression) {
  71440. _0_2 = currentNode.operator;
  71441. if (B.UnaryOperator_hCO !== _0_2)
  71442. t1 = B.UnaryOperator_n2K === _0_2;
  71443. else
  71444. t1 = true;
  71445. } else
  71446. t1 = false;
  71447. if (!t1)
  71448. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  71449. else
  71450. t1 = true;
  71451. if (t1)
  71452. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  71453. else
  71454. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  71455. }
  71456. },
  71457. visitInterpolatedFunctionExpression$1(_, node) {
  71458. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  71459. },
  71460. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  71461. var $async$goto = 0,
  71462. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71463. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  71464. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71465. if ($async$errorCode === 1)
  71466. return A._asyncRethrow($async$result, $async$completer);
  71467. for (;;)
  71468. switch ($async$goto) {
  71469. case 0:
  71470. // Function start
  71471. $async$goto = 3;
  71472. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  71473. case 3:
  71474. // returning from await.
  71475. t1 = $async$result;
  71476. oldInFunction = $async$self._async_evaluate$_inFunction;
  71477. $async$self._async_evaluate$_inFunction = true;
  71478. $async$goto = 4;
  71479. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0($async$self, node, new A.PlainCssCallable(t1)), type$.Value), $async$visitInterpolatedFunctionExpression$1);
  71480. case 4:
  71481. // returning from await.
  71482. result = $async$result;
  71483. $async$self._async_evaluate$_inFunction = oldInFunction;
  71484. $async$returnValue = result;
  71485. // goto return
  71486. $async$goto = 1;
  71487. break;
  71488. case 1:
  71489. // return
  71490. return A._asyncReturn($async$returnValue, $async$completer);
  71491. }
  71492. });
  71493. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  71494. },
  71495. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  71496. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  71497. },
  71498. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  71499. var $async$goto = 0,
  71500. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71501. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  71502. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71503. if ($async$errorCode === 1)
  71504. return A._asyncRethrow($async$result, $async$completer);
  71505. for (;;)
  71506. switch ($async$goto) {
  71507. case 0:
  71508. // Function start
  71509. $async$goto = 3;
  71510. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  71511. case 3:
  71512. // returning from await.
  71513. evaluated = $async$result;
  71514. $name = callable.declaration.name;
  71515. if ($name !== "@content")
  71516. $name += "()";
  71517. oldInDependency = $async$self._async_evaluate$_inDependency;
  71518. $async$self._async_evaluate$_inDependency = callable.inDependency;
  71519. $async$goto = 4;
  71520. return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure0($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  71521. case 4:
  71522. // returning from await.
  71523. result = $async$result;
  71524. $async$self._async_evaluate$_inDependency = oldInDependency;
  71525. $async$returnValue = result;
  71526. // goto return
  71527. $async$goto = 1;
  71528. break;
  71529. case 1:
  71530. // return
  71531. return A._asyncReturn($async$returnValue, $async$completer);
  71532. }
  71533. });
  71534. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  71535. },
  71536. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  71537. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71538. },
  71539. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71540. var $async$goto = 0,
  71541. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71542. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  71543. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71544. if ($async$errorCode === 1) {
  71545. $async$errorStack.push($async$result);
  71546. $async$goto = $async$handler;
  71547. }
  71548. for (;;)
  71549. switch ($async$goto) {
  71550. case 0:
  71551. // Function start
  71552. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  71553. break;
  71554. case 3:
  71555. // then
  71556. $async$goto = 6;
  71557. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  71558. case 6:
  71559. // returning from await.
  71560. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  71561. // goto return
  71562. $async$goto = 1;
  71563. break;
  71564. // goto join
  71565. $async$goto = 4;
  71566. break;
  71567. case 5:
  71568. // else
  71569. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  71570. break;
  71571. case 7:
  71572. // then
  71573. $async$goto = 10;
  71574. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure0($async$self, callable), type$.Value), $async$_async_evaluate$_runFunctionCallable$3);
  71575. case 10:
  71576. // returning from await.
  71577. $async$returnValue = $async$result;
  71578. // goto return
  71579. $async$goto = 1;
  71580. break;
  71581. // goto join
  71582. $async$goto = 8;
  71583. break;
  71584. case 9:
  71585. // else
  71586. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  71587. break;
  71588. case 11:
  71589. // then
  71590. t1 = $arguments.named;
  71591. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  71592. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  71593. buffer = new A.StringBuffer(callable.name + "(");
  71594. $async$handler = 15;
  71595. first = true;
  71596. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  71597. case 18:
  71598. // for condition
  71599. if (!(_i < t2)) {
  71600. // goto after for
  71601. $async$goto = 20;
  71602. break;
  71603. }
  71604. argument = t1[_i];
  71605. if (first)
  71606. first = false;
  71607. else
  71608. buffer._contents += ", ";
  71609. t3 = buffer;
  71610. $async$temp1 = A;
  71611. $async$goto = 21;
  71612. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71613. case 21:
  71614. // returning from await.
  71615. t4 = $async$temp1.S($async$result);
  71616. t3._contents += t4;
  71617. case 19:
  71618. // for update
  71619. ++_i;
  71620. // goto for condition
  71621. $async$goto = 18;
  71622. break;
  71623. case 20:
  71624. // after for
  71625. restArg = $arguments.rest;
  71626. $async$goto = restArg != null ? 22 : 23;
  71627. break;
  71628. case 22:
  71629. // then
  71630. $async$goto = 24;
  71631. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71632. case 24:
  71633. // returning from await.
  71634. rest = $async$result;
  71635. if (!first)
  71636. buffer._contents += ", ";
  71637. t1 = buffer;
  71638. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71639. t1._contents += t2;
  71640. case 23:
  71641. // join
  71642. $async$handler = 2;
  71643. // goto after finally
  71644. $async$goto = 17;
  71645. break;
  71646. case 15:
  71647. // catch
  71648. $async$handler = 14;
  71649. $async$exception = $async$errorStack.pop();
  71650. t1 = A.unwrapException($async$exception);
  71651. if (type$.SassRuntimeException._is(t1)) {
  71652. error = t1;
  71653. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71654. throw $async$exception;
  71655. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  71656. } else
  71657. throw $async$exception;
  71658. // goto after finally
  71659. $async$goto = 17;
  71660. break;
  71661. case 14:
  71662. // uncaught
  71663. // goto rethrow
  71664. $async$goto = 2;
  71665. break;
  71666. case 17:
  71667. // after finally
  71668. t1 = buffer;
  71669. t2 = A.Primitives_stringFromCharCode(41);
  71670. t1._contents += t2;
  71671. t2 = buffer._contents;
  71672. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71673. // goto return
  71674. $async$goto = 1;
  71675. break;
  71676. // goto join
  71677. $async$goto = 12;
  71678. break;
  71679. case 13:
  71680. // else
  71681. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71682. case 12:
  71683. // join
  71684. case 8:
  71685. // join
  71686. case 4:
  71687. // join
  71688. case 1:
  71689. // return
  71690. return A._asyncReturn($async$returnValue, $async$completer);
  71691. case 2:
  71692. // rethrow
  71693. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71694. }
  71695. });
  71696. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71697. },
  71698. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71699. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71700. },
  71701. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71702. var $async$goto = 0,
  71703. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71704. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, result, error, stackTrace, namedSet, _0_0, parameters, i, t1, t2, t3, parameter, t4, t5, t6, t7, rest, argumentList, exception, _box_0, evaluated, oldCallableNode, $async$exception;
  71705. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71706. if ($async$errorCode === 1) {
  71707. $async$errorStack.push($async$result);
  71708. $async$goto = $async$handler;
  71709. }
  71710. for (;;)
  71711. switch ($async$goto) {
  71712. case 0:
  71713. // Function start
  71714. _box_0 = {};
  71715. $async$goto = 3;
  71716. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71717. case 3:
  71718. // returning from await.
  71719. evaluated = $async$result;
  71720. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71721. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71722. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71723. _box_0.callback = _box_0.overload = null;
  71724. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71725. _box_0.overload = _0_0._0;
  71726. _box_0.callback = _0_0._1;
  71727. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71728. parameters = _box_0.overload.parameters;
  71729. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71730. case 4:
  71731. // for condition
  71732. if (!(i < t1)) {
  71733. // goto after for
  71734. $async$goto = 6;
  71735. break;
  71736. }
  71737. parameter = parameters[i];
  71738. t4 = evaluated._values[2];
  71739. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71740. $async$goto = t5 == null ? 7 : 8;
  71741. break;
  71742. case 7:
  71743. // then
  71744. t5 = parameter.defaultValue;
  71745. t6 = t5.accept$1($async$self);
  71746. if (!t3._is(t6)) {
  71747. t7 = new A._Future($.Zone__current, t2);
  71748. t7._state = 8;
  71749. t7._resultOrListeners = t6;
  71750. t6 = t7;
  71751. }
  71752. $async$goto = 9;
  71753. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71754. case 9:
  71755. // returning from await.
  71756. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71757. case 8:
  71758. // join
  71759. J.add$1$ax(t4, t5);
  71760. case 5:
  71761. // for update
  71762. ++i;
  71763. // goto for condition
  71764. $async$goto = 4;
  71765. break;
  71766. case 6:
  71767. // after for
  71768. if (_box_0.overload.restParameter != null) {
  71769. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71770. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71771. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71772. } else
  71773. rest = B.List_empty8;
  71774. t1 = evaluated._values[0];
  71775. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_3_undecided ? B.ListSeparator_z0K : evaluated._values[4]);
  71776. J.add$1$ax(evaluated._values[2], argumentList);
  71777. } else
  71778. argumentList = null;
  71779. result = null;
  71780. $async$handler = 11;
  71781. $async$goto = 14;
  71782. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71783. case 14:
  71784. // returning from await.
  71785. result = $async$result;
  71786. $async$handler = 2;
  71787. // goto after finally
  71788. $async$goto = 13;
  71789. break;
  71790. case 11:
  71791. // catch
  71792. $async$handler = 10;
  71793. $async$exception = $async$errorStack.pop();
  71794. t1 = A.unwrapException($async$exception);
  71795. if (t1 instanceof A.SassException)
  71796. throw $async$exception;
  71797. else {
  71798. error = t1;
  71799. stackTrace = A.getTraceFromException($async$exception);
  71800. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71801. }
  71802. // goto after finally
  71803. $async$goto = 13;
  71804. break;
  71805. case 10:
  71806. // uncaught
  71807. // goto rethrow
  71808. $async$goto = 2;
  71809. break;
  71810. case 13:
  71811. // after finally
  71812. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71813. if (argumentList == null) {
  71814. $async$returnValue = result;
  71815. // goto return
  71816. $async$goto = 1;
  71817. break;
  71818. }
  71819. t1 = evaluated._values[0];
  71820. if (t1.get$isEmpty(t1)) {
  71821. $async$returnValue = result;
  71822. // goto return
  71823. $async$goto = 1;
  71824. break;
  71825. }
  71826. if (argumentList._wereKeywordsAccessed) {
  71827. $async$returnValue = result;
  71828. // goto return
  71829. $async$goto = 1;
  71830. break;
  71831. }
  71832. t1 = evaluated._values[0];
  71833. t1 = t1.get$keys(t1);
  71834. t1 = A.pluralize("parameter", t1.get$length(t1), null);
  71835. t2 = evaluated._values[0];
  71836. t2 = t2.get$keys(t2);
  71837. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(t2.map$1$1(t2, new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  71838. case 1:
  71839. // return
  71840. return A._asyncReturn($async$returnValue, $async$completer);
  71841. case 2:
  71842. // rethrow
  71843. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71844. }
  71845. });
  71846. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71847. },
  71848. _async_evaluate$_evaluateArguments$1($arguments) {
  71849. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71850. },
  71851. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71852. var $async$goto = 0,
  71853. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator),
  71854. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  71855. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71856. if ($async$errorCode === 1)
  71857. return A._asyncRethrow($async$result, $async$completer);
  71858. for (;;)
  71859. switch ($async$goto) {
  71860. case 0:
  71861. // Function start
  71862. positional = A._setArrayType([], type$.JSArray_Value);
  71863. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71864. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71865. case 3:
  71866. // for condition
  71867. if (!(_i < t2)) {
  71868. // goto after for
  71869. $async$goto = 5;
  71870. break;
  71871. }
  71872. expression = t1[_i];
  71873. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71874. t5 = expression.accept$1($async$self);
  71875. if (!t4._is(t5)) {
  71876. t6 = new A._Future($.Zone__current, t3);
  71877. t6._state = 8;
  71878. t6._resultOrListeners = t5;
  71879. t5 = t6;
  71880. }
  71881. $async$temp1 = positional;
  71882. $async$goto = 6;
  71883. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71884. case 6:
  71885. // returning from await.
  71886. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71887. positionalNodes.push(nodeForSpan);
  71888. case 4:
  71889. // for update
  71890. ++_i;
  71891. // goto for condition
  71892. $async$goto = 3;
  71893. break;
  71894. case 5:
  71895. // after for
  71896. t1 = type$.String;
  71897. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71898. t2 = type$.AstNode;
  71899. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71900. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71901. case 7:
  71902. // for condition
  71903. if (!t5.moveNext$0()) {
  71904. // goto after for
  71905. $async$goto = 8;
  71906. break;
  71907. }
  71908. t6 = t5.get$current(t5);
  71909. $name = t6._0;
  71910. value = t6._1;
  71911. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71912. t6 = value.accept$1($async$self);
  71913. if (!t4._is(t6)) {
  71914. t7 = new A._Future($.Zone__current, t3);
  71915. t7._state = 8;
  71916. t7._resultOrListeners = t6;
  71917. t6 = t7;
  71918. }
  71919. $async$temp1 = named;
  71920. $async$temp2 = $name;
  71921. $async$goto = 9;
  71922. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71923. case 9:
  71924. // returning from await.
  71925. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71926. namedNodes.$indexSet(0, $name, nodeForSpan);
  71927. // goto for condition
  71928. $async$goto = 7;
  71929. break;
  71930. case 8:
  71931. // after for
  71932. restArgs = $arguments.rest;
  71933. if (restArgs == null) {
  71934. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_3_undecided]);
  71935. // goto return
  71936. $async$goto = 1;
  71937. break;
  71938. }
  71939. $async$goto = 10;
  71940. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71941. case 10:
  71942. // returning from await.
  71943. rest = $async$result;
  71944. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71945. if (rest instanceof A.SassMap) {
  71946. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71947. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71948. for (t4 = rest._map$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString; t4.moveNext$0();)
  71949. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71950. namedNodes.addAll$1(0, t3);
  71951. separator = B.ListSeparator_undecided_null_3_undecided;
  71952. } else if (rest instanceof A.SassList) {
  71953. t3 = rest._list$_contents;
  71954. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure4($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
  71955. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71956. separator = rest._separator;
  71957. if (rest instanceof A.SassArgumentList) {
  71958. rest._wereKeywordsAccessed = true;
  71959. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71960. }
  71961. } else {
  71962. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71963. positionalNodes.push(restNodeForSpan);
  71964. separator = B.ListSeparator_undecided_null_3_undecided;
  71965. }
  71966. keywordRestArgs = $arguments.keywordRest;
  71967. if (keywordRestArgs == null) {
  71968. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71969. // goto return
  71970. $async$goto = 1;
  71971. break;
  71972. }
  71973. $async$goto = 11;
  71974. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71975. case 11:
  71976. // returning from await.
  71977. keywordRest = $async$result;
  71978. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71979. if (keywordRest instanceof A.SassMap) {
  71980. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71981. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71982. for (t2 = keywordRest._map$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString; t2.moveNext$0();)
  71983. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71984. namedNodes.addAll$1(0, t1);
  71985. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71986. // goto return
  71987. $async$goto = 1;
  71988. break;
  71989. } else
  71990. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71991. case 1:
  71992. // return
  71993. return A._asyncReturn($async$returnValue, $async$completer);
  71994. }
  71995. });
  71996. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71997. },
  71998. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71999. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  72000. },
  72001. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  72002. var $async$goto = 0,
  72003. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  72004. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  72005. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72006. if ($async$errorCode === 1)
  72007. return A._asyncRethrow($async$result, $async$completer);
  72008. for (;;)
  72009. switch ($async$goto) {
  72010. case 0:
  72011. // Function start
  72012. t1 = invocation.$arguments;
  72013. restArgs_ = t1.rest;
  72014. if (restArgs_ == null) {
  72015. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  72016. // goto return
  72017. $async$goto = 1;
  72018. break;
  72019. }
  72020. t2 = t1.positional;
  72021. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  72022. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  72023. $async$goto = 3;
  72024. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  72025. case 3:
  72026. // returning from await.
  72027. rest = $async$result;
  72028. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  72029. if (rest instanceof A.SassMap)
  72030. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  72031. else if (rest instanceof A.SassList) {
  72032. t2 = rest._list$_contents;
  72033. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure4($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
  72034. if (rest instanceof A.SassArgumentList) {
  72035. rest._wereKeywordsAccessed = true;
  72036. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  72037. }
  72038. } else
  72039. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  72040. keywordRestArgs_ = t1.keywordRest;
  72041. if (keywordRestArgs_ == null) {
  72042. $async$returnValue = new A._Record_2(positional, named);
  72043. // goto return
  72044. $async$goto = 1;
  72045. break;
  72046. }
  72047. $async$goto = 4;
  72048. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  72049. case 4:
  72050. // returning from await.
  72051. keywordRest = $async$result;
  72052. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  72053. if (keywordRest instanceof A.SassMap) {
  72054. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  72055. $async$returnValue = new A._Record_2(positional, named);
  72056. // goto return
  72057. $async$goto = 1;
  72058. break;
  72059. } else
  72060. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  72061. case 1:
  72062. // return
  72063. return A._asyncReturn($async$returnValue, $async$completer);
  72064. }
  72065. });
  72066. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  72067. },
  72068. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  72069. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  72070. },
  72071. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  72072. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  72073. },
  72074. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  72075. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  72076. },
  72077. visitSelectorExpression$1(_, node) {
  72078. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  72079. },
  72080. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  72081. var $async$goto = 0,
  72082. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  72083. $async$returnValue, $async$self = this, t1;
  72084. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72085. if ($async$errorCode === 1)
  72086. return A._asyncRethrow($async$result, $async$completer);
  72087. for (;;)
  72088. switch ($async$goto) {
  72089. case 0:
  72090. // Function start
  72091. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72092. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  72093. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  72094. // goto return
  72095. $async$goto = 1;
  72096. break;
  72097. case 1:
  72098. // return
  72099. return A._asyncReturn($async$returnValue, $async$completer);
  72100. }
  72101. });
  72102. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  72103. },
  72104. visitStringExpression$1(_, node) {
  72105. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  72106. },
  72107. visitStringExpression$body$_EvaluateVisitor(_, node) {
  72108. var $async$goto = 0,
  72109. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  72110. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  72111. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72112. if ($async$errorCode === 1)
  72113. return A._asyncRethrow($async$result, $async$completer);
  72114. for (;;)
  72115. switch ($async$goto) {
  72116. case 0:
  72117. // Function start
  72118. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72119. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72120. t1 = A._setArrayType([], type$.JSArray_String);
  72121. t2 = node.text.contents, t3 = t2.length, _i = 0;
  72122. case 3:
  72123. // for condition
  72124. if (!(_i < t3)) {
  72125. // goto after for
  72126. $async$goto = 5;
  72127. break;
  72128. }
  72129. value = t2[_i];
  72130. if (typeof value == "string") {
  72131. t4 = value;
  72132. // goto break $label0$0
  72133. $async$goto = 6;
  72134. break;
  72135. }
  72136. $async$goto = value instanceof A.Expression ? 7 : 8;
  72137. break;
  72138. case 7:
  72139. // then
  72140. $async$goto = 9;
  72141. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  72142. case 9:
  72143. // returning from await.
  72144. _0_0 = $async$result;
  72145. $label1$1: {
  72146. if (_0_0 instanceof A.SassString) {
  72147. text = _0_0._string$_text;
  72148. t4 = text;
  72149. break $label1$1;
  72150. }
  72151. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  72152. break $label1$1;
  72153. }
  72154. // goto break $label0$0
  72155. $async$goto = 6;
  72156. break;
  72157. case 8:
  72158. // join
  72159. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  72160. case 6:
  72161. // break $label0$0
  72162. t1.push(t4);
  72163. case 4:
  72164. // for update
  72165. ++_i;
  72166. // goto for condition
  72167. $async$goto = 3;
  72168. break;
  72169. case 5:
  72170. // after for
  72171. t1 = B.JSArray_methods.join$0(t1);
  72172. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72173. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  72174. // goto return
  72175. $async$goto = 1;
  72176. break;
  72177. case 1:
  72178. // return
  72179. return A._asyncReturn($async$returnValue, $async$completer);
  72180. }
  72181. });
  72182. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  72183. },
  72184. visitSupportsExpression$1(_, expression) {
  72185. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  72186. },
  72187. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  72188. var $async$goto = 0,
  72189. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  72190. $async$returnValue, $async$self = this, $async$temp1;
  72191. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72192. if ($async$errorCode === 1)
  72193. return A._asyncRethrow($async$result, $async$completer);
  72194. for (;;)
  72195. switch ($async$goto) {
  72196. case 0:
  72197. // Function start
  72198. $async$temp1 = A;
  72199. $async$goto = 3;
  72200. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  72201. case 3:
  72202. // returning from await.
  72203. $async$returnValue = new $async$temp1.SassString($async$result, false);
  72204. // goto return
  72205. $async$goto = 1;
  72206. break;
  72207. case 1:
  72208. // return
  72209. return A._asyncReturn($async$returnValue, $async$completer);
  72210. }
  72211. });
  72212. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  72213. },
  72214. visitCssAtRule$1(node) {
  72215. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  72216. },
  72217. visitCssAtRule$body$_EvaluateVisitor(node) {
  72218. var $async$goto = 0,
  72219. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72220. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  72221. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72222. if ($async$errorCode === 1)
  72223. return A._asyncRethrow($async$result, $async$completer);
  72224. for (;;)
  72225. switch ($async$goto) {
  72226. case 0:
  72227. // Function start
  72228. if ($async$self._async_evaluate$_declarationName != null)
  72229. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  72230. if (node.isChildless) {
  72231. $async$self._async_evaluate$_copyParentAfterSibling$0();
  72232. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  72233. // goto return
  72234. $async$goto = 1;
  72235. break;
  72236. }
  72237. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  72238. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  72239. t1 = node.name;
  72240. if (A.unvendor(t1.value) === "keyframes")
  72241. $async$self._async_evaluate$_inKeyframes = true;
  72242. else
  72243. $async$self._async_evaluate$_inUnknownAtRule = true;
  72244. $async$goto = 3;
  72245. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure2(), type$.ModifiableCssAtRule, type$.Null), $async$visitCssAtRule$1);
  72246. case 3:
  72247. // returning from await.
  72248. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  72249. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  72250. case 1:
  72251. // return
  72252. return A._asyncReturn($async$returnValue, $async$completer);
  72253. }
  72254. });
  72255. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  72256. },
  72257. visitCssComment$1(node) {
  72258. return this.visitCssComment$body$_EvaluateVisitor(node);
  72259. },
  72260. visitCssComment$body$_EvaluateVisitor(node) {
  72261. var $async$goto = 0,
  72262. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72263. $async$self = this;
  72264. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72265. if ($async$errorCode === 1)
  72266. return A._asyncRethrow($async$result, $async$completer);
  72267. for (;;)
  72268. switch ($async$goto) {
  72269. case 0:
  72270. // Function start
  72271. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
  72272. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  72273. $async$self._async_evaluate$_copyParentAfterSibling$0();
  72274. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  72275. // implicit return
  72276. return A._asyncReturn(null, $async$completer);
  72277. }
  72278. });
  72279. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  72280. },
  72281. visitCssDeclaration$1(node) {
  72282. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  72283. },
  72284. visitCssDeclaration$body$_EvaluateVisitor(node) {
  72285. var $async$goto = 0,
  72286. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72287. $async$self = this;
  72288. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72289. if ($async$errorCode === 1)
  72290. return A._asyncRethrow($async$result, $async$completer);
  72291. for (;;)
  72292. switch ($async$goto) {
  72293. case 0:
  72294. // Function start
  72295. $async$self._async_evaluate$_copyParentAfterSibling$0();
  72296. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap));
  72297. // implicit return
  72298. return A._asyncReturn(null, $async$completer);
  72299. }
  72300. });
  72301. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  72302. },
  72303. visitCssImport$1(node) {
  72304. return this.visitCssImport$body$_EvaluateVisitor(node);
  72305. },
  72306. visitCssImport$body$_EvaluateVisitor(node) {
  72307. var $async$goto = 0,
  72308. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72309. $async$self = this, t1, modifiableNode;
  72310. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72311. if ($async$errorCode === 1)
  72312. return A._asyncRethrow($async$result, $async$completer);
  72313. for (;;)
  72314. switch ($async$goto) {
  72315. case 0:
  72316. // Function start
  72317. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  72318. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root")) {
  72319. $async$self._async_evaluate$_copyParentAfterSibling$0();
  72320. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  72321. } else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
  72322. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  72323. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  72324. } else {
  72325. t1 = $async$self._async_evaluate$_outOfOrderImports;
  72326. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  72327. }
  72328. // implicit return
  72329. return A._asyncReturn(null, $async$completer);
  72330. }
  72331. });
  72332. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  72333. },
  72334. visitCssKeyframeBlock$1(node) {
  72335. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  72336. },
  72337. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  72338. var $async$goto = 0,
  72339. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72340. $async$self = this;
  72341. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72342. if ($async$errorCode === 1)
  72343. return A._asyncRethrow($async$result, $async$completer);
  72344. for (;;)
  72345. switch ($async$goto) {
  72346. case 0:
  72347. // Function start
  72348. $async$goto = 2;
  72349. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure2(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitCssKeyframeBlock$1);
  72350. case 2:
  72351. // returning from await.
  72352. // implicit return
  72353. return A._asyncReturn(null, $async$completer);
  72354. }
  72355. });
  72356. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  72357. },
  72358. visitCssMediaRule$1(node) {
  72359. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  72360. },
  72361. visitCssMediaRule$body$_EvaluateVisitor(node) {
  72362. var $async$goto = 0,
  72363. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72364. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  72365. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72366. if ($async$errorCode === 1)
  72367. return A._asyncRethrow($async$result, $async$completer);
  72368. for (;;)
  72369. switch ($async$goto) {
  72370. case 0:
  72371. // Function start
  72372. if ($async$self._async_evaluate$_declarationName != null)
  72373. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  72374. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  72375. t1 = mergedQueries == null;
  72376. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  72377. // goto return
  72378. $async$goto = 1;
  72379. break;
  72380. }
  72381. if (t1)
  72382. mergedSources = B.Set_empty2;
  72383. else {
  72384. t2 = $async$self._async_evaluate$_mediaQuerySources;
  72385. t2.toString;
  72386. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  72387. t3 = $async$self._async_evaluate$_mediaQueries;
  72388. t3.toString;
  72389. t2.addAll$1(0, t3);
  72390. t2.addAll$1(0, node.queries);
  72391. mergedSources = t2;
  72392. }
  72393. t1 = t1 ? node.queries : mergedQueries;
  72394. $async$goto = 3;
  72395. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure3($async$self, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure4(mergedSources), type$.ModifiableCssMediaRule, type$.Null), $async$visitCssMediaRule$1);
  72396. case 3:
  72397. // returning from await.
  72398. case 1:
  72399. // return
  72400. return A._asyncReturn($async$returnValue, $async$completer);
  72401. }
  72402. });
  72403. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  72404. },
  72405. visitCssStyleRule$1(node) {
  72406. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  72407. },
  72408. visitCssStyleRule$body$_EvaluateVisitor(node) {
  72409. var $async$goto = 0,
  72410. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72411. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  72412. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72413. if ($async$errorCode === 1)
  72414. return A._asyncRethrow($async$result, $async$completer);
  72415. for (;;)
  72416. switch ($async$goto) {
  72417. case 0:
  72418. // Function start
  72419. if ($async$self._async_evaluate$_declarationName != null)
  72420. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  72421. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  72422. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  72423. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  72424. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72425. _0_0 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72426. $label0$0: {
  72427. if (_0_0 == null) {
  72428. t1 = true;
  72429. break $label0$0;
  72430. }
  72431. if (_0_0.fromPlainCss) {
  72432. t1 = false;
  72433. break $label0$0;
  72434. }
  72435. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  72436. break $label0$0;
  72437. }
  72438. t2 = node._style_rule$_selector._box$_inner;
  72439. if (t1) {
  72440. t2 = t2.value;
  72441. t3 = styleRule == null ? null : styleRule.originalSelector;
  72442. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate$_atRootExcludingStyleRule, node.fromPlainCss);
  72443. } else
  72444. originalSelector = t2.value;
  72445. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  72446. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  72447. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  72448. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  72449. $async$goto = 2;
  72450. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure2($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  72451. case 2:
  72452. // returning from await.
  72453. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72454. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  72455. t2 = J.getInterceptor$asx(t1);
  72456. _1_1 = t2.get$length(t1);
  72457. if (_1_1 >= 1) {
  72458. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  72459. t1 = styleRule == null;
  72460. } else {
  72461. lastChild = null;
  72462. t1 = false;
  72463. }
  72464. if (t1)
  72465. lastChild.isGroupEnd = true;
  72466. // implicit return
  72467. return A._asyncReturn(null, $async$completer);
  72468. }
  72469. });
  72470. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  72471. },
  72472. visitCssStylesheet$1(node) {
  72473. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  72474. },
  72475. visitCssStylesheet$body$_EvaluateVisitor(node) {
  72476. var $async$goto = 0,
  72477. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72478. $async$self = this, t1;
  72479. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72480. if ($async$errorCode === 1)
  72481. return A._asyncRethrow($async$result, $async$completer);
  72482. for (;;)
  72483. switch ($async$goto) {
  72484. case 0:
  72485. // Function start
  72486. t1 = J.get$iterator$ax(node.get$children(node));
  72487. case 2:
  72488. // for condition
  72489. if (!t1.moveNext$0()) {
  72490. // goto after for
  72491. $async$goto = 3;
  72492. break;
  72493. }
  72494. $async$goto = 4;
  72495. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  72496. case 4:
  72497. // returning from await.
  72498. // goto for condition
  72499. $async$goto = 2;
  72500. break;
  72501. case 3:
  72502. // after for
  72503. // implicit return
  72504. return A._asyncReturn(null, $async$completer);
  72505. }
  72506. });
  72507. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  72508. },
  72509. visitCssSupportsRule$1(node) {
  72510. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  72511. },
  72512. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  72513. var $async$goto = 0,
  72514. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72515. $async$self = this;
  72516. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72517. if ($async$errorCode === 1)
  72518. return A._asyncRethrow($async$result, $async$completer);
  72519. for (;;)
  72520. switch ($async$goto) {
  72521. case 0:
  72522. // Function start
  72523. if ($async$self._async_evaluate$_declarationName != null)
  72524. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  72525. $async$goto = 2;
  72526. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitCssSupportsRule$1);
  72527. case 2:
  72528. // returning from await.
  72529. // implicit return
  72530. return A._asyncReturn(null, $async$completer);
  72531. }
  72532. });
  72533. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  72534. },
  72535. _async_evaluate$_handleReturn$1$2(list, callback) {
  72536. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  72537. },
  72538. _async_evaluate$_handleReturn$2(list, callback) {
  72539. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  72540. },
  72541. _handleReturn$body$_EvaluateVisitor(list, callback) {
  72542. var $async$goto = 0,
  72543. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  72544. $async$returnValue, t1, _i, _0_0;
  72545. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72546. if ($async$errorCode === 1)
  72547. return A._asyncRethrow($async$result, $async$completer);
  72548. for (;;)
  72549. switch ($async$goto) {
  72550. case 0:
  72551. // Function start
  72552. t1 = list.length, _i = 0;
  72553. case 3:
  72554. // for condition
  72555. if (!(_i < list.length)) {
  72556. // goto after for
  72557. $async$goto = 5;
  72558. break;
  72559. }
  72560. $async$goto = 6;
  72561. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  72562. case 6:
  72563. // returning from await.
  72564. _0_0 = $async$result;
  72565. if (_0_0 != null) {
  72566. $async$returnValue = _0_0;
  72567. // goto return
  72568. $async$goto = 1;
  72569. break;
  72570. }
  72571. case 4:
  72572. // for update
  72573. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  72574. // goto for condition
  72575. $async$goto = 3;
  72576. break;
  72577. case 5:
  72578. // after for
  72579. $async$returnValue = null;
  72580. // goto return
  72581. $async$goto = 1;
  72582. break;
  72583. case 1:
  72584. // return
  72585. return A._asyncReturn($async$returnValue, $async$completer);
  72586. }
  72587. });
  72588. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  72589. },
  72590. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  72591. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  72592. },
  72593. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  72594. var $async$goto = 0,
  72595. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72596. $async$returnValue, $async$self = this, result, oldEnvironment;
  72597. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72598. if ($async$errorCode === 1)
  72599. return A._asyncRethrow($async$result, $async$completer);
  72600. for (;;)
  72601. switch ($async$goto) {
  72602. case 0:
  72603. // Function start
  72604. oldEnvironment = $async$self._async_evaluate$_environment;
  72605. $async$self._async_evaluate$_environment = environment;
  72606. $async$goto = 3;
  72607. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  72608. case 3:
  72609. // returning from await.
  72610. result = $async$result;
  72611. $async$self._async_evaluate$_environment = oldEnvironment;
  72612. $async$returnValue = result;
  72613. // goto return
  72614. $async$goto = 1;
  72615. break;
  72616. case 1:
  72617. // return
  72618. return A._asyncReturn($async$returnValue, $async$completer);
  72619. }
  72620. });
  72621. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72622. },
  72623. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72624. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72625. },
  72626. _async_evaluate$_interpolationToValue$1(interpolation) {
  72627. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72628. },
  72629. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72630. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72631. },
  72632. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72633. var $async$goto = 0,
  72634. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72635. $async$returnValue, $async$self = this, result, t1;
  72636. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72637. if ($async$errorCode === 1)
  72638. return A._asyncRethrow($async$result, $async$completer);
  72639. for (;;)
  72640. switch ($async$goto) {
  72641. case 0:
  72642. // Function start
  72643. $async$goto = 3;
  72644. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72645. case 3:
  72646. // returning from await.
  72647. result = $async$result;
  72648. t1 = trim ? A.trimAscii(result, true) : result;
  72649. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72650. // goto return
  72651. $async$goto = 1;
  72652. break;
  72653. case 1:
  72654. // return
  72655. return A._asyncReturn($async$returnValue, $async$completer);
  72656. }
  72657. });
  72658. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72659. },
  72660. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72661. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72662. },
  72663. _async_evaluate$_performInterpolation$1(interpolation) {
  72664. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72665. },
  72666. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72667. var $async$goto = 0,
  72668. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72669. $async$returnValue, $async$self = this;
  72670. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72671. if ($async$errorCode === 1)
  72672. return A._asyncRethrow($async$result, $async$completer);
  72673. for (;;)
  72674. switch ($async$goto) {
  72675. case 0:
  72676. // Function start
  72677. $async$goto = 3;
  72678. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72679. case 3:
  72680. // returning from await.
  72681. $async$returnValue = $async$result._0;
  72682. // goto return
  72683. $async$goto = 1;
  72684. break;
  72685. case 1:
  72686. // return
  72687. return A._asyncReturn($async$returnValue, $async$completer);
  72688. }
  72689. });
  72690. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72691. },
  72692. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72693. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72694. },
  72695. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72696. var $async$goto = 0,
  72697. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72698. $async$returnValue, $async$self = this, _0_0, result, map;
  72699. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72700. if ($async$errorCode === 1)
  72701. return A._asyncRethrow($async$result, $async$completer);
  72702. for (;;)
  72703. switch ($async$goto) {
  72704. case 0:
  72705. // Function start
  72706. $async$goto = 3;
  72707. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72708. case 3:
  72709. // returning from await.
  72710. _0_0 = $async$result;
  72711. result = _0_0._0;
  72712. map = _0_0._1;
  72713. map.toString;
  72714. $async$returnValue = new A._Record_2(result, map);
  72715. // goto return
  72716. $async$goto = 1;
  72717. break;
  72718. case 1:
  72719. // return
  72720. return A._asyncReturn($async$returnValue, $async$completer);
  72721. }
  72722. });
  72723. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72724. },
  72725. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72726. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72727. },
  72728. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72729. var $async$goto = 0,
  72730. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72731. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetOffsets, oldInSupportsDeclaration;
  72732. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72733. if ($async$errorCode === 1)
  72734. return A._asyncRethrow($async$result, $async$completer);
  72735. for (;;)
  72736. switch ($async$goto) {
  72737. case 0:
  72738. // Function start
  72739. targetOffsets = sourceMap ? A._setArrayType([], type$.JSArray_int) : null;
  72740. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72741. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72742. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetOffsets == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72743. case 3:
  72744. // for condition
  72745. if (!(_i < t2)) {
  72746. // goto after for
  72747. $async$goto = 5;
  72748. break;
  72749. }
  72750. value = t1[_i];
  72751. if (!first)
  72752. if (!t4)
  72753. targetOffsets.push(t7.length);
  72754. if (typeof value == "string") {
  72755. t7 += value;
  72756. // goto for update
  72757. $async$goto = 4;
  72758. break;
  72759. }
  72760. t3._as(value);
  72761. $async$goto = 6;
  72762. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72763. case 6:
  72764. // returning from await.
  72765. result = $async$result;
  72766. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72767. result0 = A.List_List$from([""], false, t6);
  72768. result0.$flags = 3;
  72769. t8 = $.$get$namesByColor();
  72770. $async$self._async_evaluate$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_jCK, new A.StringExpression(new A.Interpolation(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  72771. }
  72772. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72773. case 4:
  72774. // for update
  72775. ++_i, first = false;
  72776. // goto for condition
  72777. $async$goto = 3;
  72778. break;
  72779. case 5:
  72780. // after for
  72781. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72782. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetOffsets, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72783. // goto return
  72784. $async$goto = 1;
  72785. break;
  72786. case 1:
  72787. // return
  72788. return A._asyncReturn($async$returnValue, $async$completer);
  72789. }
  72790. });
  72791. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72792. },
  72793. _evaluateToCss$2$quote(expression, quote) {
  72794. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72795. },
  72796. _evaluateToCss$1(expression) {
  72797. return this._evaluateToCss$2$quote(expression, true);
  72798. },
  72799. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72800. var $async$goto = 0,
  72801. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72802. $async$returnValue, $async$self = this, t1;
  72803. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72804. if ($async$errorCode === 1)
  72805. return A._asyncRethrow($async$result, $async$completer);
  72806. for (;;)
  72807. switch ($async$goto) {
  72808. case 0:
  72809. // Function start
  72810. t1 = expression.accept$1($async$self);
  72811. $async$goto = 3;
  72812. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72813. case 3:
  72814. // returning from await.
  72815. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72816. // goto return
  72817. $async$goto = 1;
  72818. break;
  72819. case 1:
  72820. // return
  72821. return A._asyncReturn($async$returnValue, $async$completer);
  72822. }
  72823. });
  72824. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72825. },
  72826. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72827. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72828. },
  72829. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72830. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72831. },
  72832. _async_evaluate$_expressionNode$1(expression) {
  72833. var t1;
  72834. if (expression instanceof A.VariableExpression) {
  72835. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72836. return t1 == null ? expression : t1;
  72837. } else
  72838. return expression;
  72839. },
  72840. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72841. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72842. },
  72843. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72844. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72845. },
  72846. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72847. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72848. },
  72849. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72850. var $async$goto = 0,
  72851. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72852. $async$returnValue, $async$self = this, oldParent, result;
  72853. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72854. if ($async$errorCode === 1)
  72855. return A._asyncRethrow($async$result, $async$completer);
  72856. for (;;)
  72857. switch ($async$goto) {
  72858. case 0:
  72859. // Function start
  72860. $async$self._async_evaluate$_addChild$2$through(node, through);
  72861. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72862. $async$self._async_evaluate$__parent = node;
  72863. $async$goto = 3;
  72864. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72865. case 3:
  72866. // returning from await.
  72867. result = $async$result;
  72868. $async$self._async_evaluate$__parent = oldParent;
  72869. $async$returnValue = result;
  72870. // goto return
  72871. $async$goto = 1;
  72872. break;
  72873. case 1:
  72874. // return
  72875. return A._asyncReturn($async$returnValue, $async$completer);
  72876. }
  72877. });
  72878. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72879. },
  72880. _async_evaluate$_copyParentAfterSibling$0() {
  72881. var t1, grandparent, newParent, _this = this,
  72882. _s8_ = "__parent",
  72883. _0_0 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, _s8_)._parent;
  72884. if (_0_0 != null) {
  72885. t1 = _0_0.children;
  72886. t1 = t1.get$last(t1) !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, _s8_);
  72887. grandparent = _0_0;
  72888. } else {
  72889. grandparent = null;
  72890. t1 = false;
  72891. }
  72892. if (t1) {
  72893. newParent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, _s8_).copyWithoutChildren$0();
  72894. grandparent.addChild$1(newParent);
  72895. _this._async_evaluate$__parent = newParent;
  72896. }
  72897. },
  72898. _async_evaluate$_addChild$2$through(node, through) {
  72899. var _0_0, grandparent, t1,
  72900. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72901. if (through != null) {
  72902. for (; through.call$1($parent); $parent = _0_0) {
  72903. _0_0 = $parent._parent;
  72904. if (_0_0 == null)
  72905. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72906. }
  72907. if ($parent.get$hasFollowingSibling()) {
  72908. grandparent = $parent._parent;
  72909. t1 = grandparent.children;
  72910. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72911. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72912. else {
  72913. $parent = $parent.copyWithoutChildren$0();
  72914. grandparent.addChild$1($parent);
  72915. }
  72916. }
  72917. }
  72918. $parent.addChild$1(node);
  72919. },
  72920. _async_evaluate$_addChild$1(node) {
  72921. return this._async_evaluate$_addChild$2$through(node, null);
  72922. },
  72923. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72924. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72925. },
  72926. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72927. var $async$goto = 0,
  72928. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72929. $async$returnValue, $async$self = this, result, oldRule;
  72930. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72931. if ($async$errorCode === 1)
  72932. return A._asyncRethrow($async$result, $async$completer);
  72933. for (;;)
  72934. switch ($async$goto) {
  72935. case 0:
  72936. // Function start
  72937. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72938. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72939. $async$goto = 3;
  72940. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72941. case 3:
  72942. // returning from await.
  72943. result = $async$result;
  72944. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72945. $async$returnValue = result;
  72946. // goto return
  72947. $async$goto = 1;
  72948. break;
  72949. case 1:
  72950. // return
  72951. return A._asyncReturn($async$returnValue, $async$completer);
  72952. }
  72953. });
  72954. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72955. },
  72956. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72957. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72958. },
  72959. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72960. var $async$goto = 0,
  72961. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72962. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72963. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72964. if ($async$errorCode === 1)
  72965. return A._asyncRethrow($async$result, $async$completer);
  72966. for (;;)
  72967. switch ($async$goto) {
  72968. case 0:
  72969. // Function start
  72970. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72971. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72972. $async$self._async_evaluate$_mediaQueries = queries;
  72973. $async$self._async_evaluate$_mediaQuerySources = sources;
  72974. $async$goto = 3;
  72975. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72976. case 3:
  72977. // returning from await.
  72978. result = $async$result;
  72979. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72980. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72981. $async$returnValue = result;
  72982. // goto return
  72983. $async$goto = 1;
  72984. break;
  72985. case 1:
  72986. // return
  72987. return A._asyncReturn($async$returnValue, $async$completer);
  72988. }
  72989. });
  72990. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72991. },
  72992. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72993. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72994. },
  72995. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72996. var $async$goto = 0,
  72997. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72998. $async$returnValue, $async$self = this, oldMember, result, t1;
  72999. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73000. if ($async$errorCode === 1)
  73001. return A._asyncRethrow($async$result, $async$completer);
  73002. for (;;)
  73003. switch ($async$goto) {
  73004. case 0:
  73005. // Function start
  73006. t1 = $async$self._async_evaluate$_stack;
  73007. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  73008. oldMember = $async$self._async_evaluate$_member;
  73009. $async$self._async_evaluate$_member = member;
  73010. $async$goto = 3;
  73011. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  73012. case 3:
  73013. // returning from await.
  73014. result = $async$result;
  73015. $async$self._async_evaluate$_member = oldMember;
  73016. t1.pop();
  73017. $async$returnValue = result;
  73018. // goto return
  73019. $async$goto = 1;
  73020. break;
  73021. case 1:
  73022. // return
  73023. return A._asyncReturn($async$returnValue, $async$completer);
  73024. }
  73025. });
  73026. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  73027. },
  73028. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  73029. var t1;
  73030. if (value instanceof A.SassNumber)
  73031. t1 = value.asSlash != null;
  73032. else
  73033. t1 = false;
  73034. if (t1)
  73035. this._async_evaluate$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_qZ1);
  73036. return value.withoutSlash$0();
  73037. },
  73038. _async_evaluate$_stackFrame$2(member, span) {
  73039. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  73040. },
  73041. _async_evaluate$_stackTrace$1(span) {
  73042. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  73043. t1 = A._setArrayType([], type$.JSArray_Frame);
  73044. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  73045. t4 = t2[_i];
  73046. nodeWithSpan = t4._1;
  73047. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  73048. }
  73049. if (span != null)
  73050. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  73051. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  73052. },
  73053. _async_evaluate$_stackTrace$0() {
  73054. return this._async_evaluate$_stackTrace$1(null);
  73055. },
  73056. _async_evaluate$_warn$3(message, span, deprecation) {
  73057. var trace, t1, _this = this;
  73058. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  73059. return;
  73060. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  73061. return;
  73062. trace = _this._async_evaluate$_stackTrace$1(span);
  73063. t1 = _this._async_evaluate$_logger;
  73064. if (deprecation == null)
  73065. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  73066. else
  73067. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  73068. },
  73069. _async_evaluate$_warn$2(message, span) {
  73070. return this._async_evaluate$_warn$3(message, span, null);
  73071. },
  73072. _async_evaluate$_exception$2(message, span) {
  73073. var t1, t2;
  73074. if (span == null) {
  73075. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  73076. t1 = t1.get$span(t1);
  73077. } else
  73078. t1 = span;
  73079. t2 = this._async_evaluate$_stackTrace$1(span);
  73080. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  73081. },
  73082. _async_evaluate$_exception$1(message) {
  73083. return this._async_evaluate$_exception$2(message, null);
  73084. },
  73085. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  73086. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  73087. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  73088. },
  73089. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  73090. var error, stackTrace, t1, exception,
  73091. addStackFrame = true;
  73092. try {
  73093. t1 = callback.call$0();
  73094. return t1;
  73095. } catch (exception) {
  73096. t1 = A.unwrapException(exception);
  73097. if (t1 instanceof A.SassScriptException) {
  73098. error = t1;
  73099. stackTrace = A.getTraceFromException(exception);
  73100. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  73101. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  73102. } else
  73103. throw exception;
  73104. }
  73105. },
  73106. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  73107. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  73108. },
  73109. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  73110. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  73111. },
  73112. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  73113. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  73114. },
  73115. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  73116. var $async$goto = 0,
  73117. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73118. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  73119. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73120. if ($async$errorCode === 1) {
  73121. $async$errorStack.push($async$result);
  73122. $async$goto = $async$handler;
  73123. }
  73124. for (;;)
  73125. switch ($async$goto) {
  73126. case 0:
  73127. // Function start
  73128. $async$handler = 4;
  73129. t1 = callback.call$0();
  73130. $async$goto = 7;
  73131. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  73132. case 7:
  73133. // returning from await.
  73134. t1 = $async$result;
  73135. $async$returnValue = t1;
  73136. // goto return
  73137. $async$goto = 1;
  73138. break;
  73139. $async$handler = 2;
  73140. // goto after finally
  73141. $async$goto = 6;
  73142. break;
  73143. case 4:
  73144. // catch
  73145. $async$handler = 3;
  73146. $async$exception = $async$errorStack.pop();
  73147. t1 = A.unwrapException($async$exception);
  73148. if (t1 instanceof A.SassScriptException) {
  73149. error = t1;
  73150. stackTrace = A.getTraceFromException($async$exception);
  73151. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  73152. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  73153. } else
  73154. throw $async$exception;
  73155. // goto after finally
  73156. $async$goto = 6;
  73157. break;
  73158. case 3:
  73159. // uncaught
  73160. // goto rethrow
  73161. $async$goto = 2;
  73162. break;
  73163. case 6:
  73164. // after finally
  73165. case 1:
  73166. // return
  73167. return A._asyncReturn($async$returnValue, $async$completer);
  73168. case 2:
  73169. // rethrow
  73170. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73171. }
  73172. });
  73173. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  73174. },
  73175. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  73176. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  73177. },
  73178. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  73179. var $async$goto = 0,
  73180. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73181. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  73182. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73183. if ($async$errorCode === 1) {
  73184. $async$errorStack.push($async$result);
  73185. $async$goto = $async$handler;
  73186. }
  73187. for (;;)
  73188. switch ($async$goto) {
  73189. case 0:
  73190. // Function start
  73191. $async$handler = 4;
  73192. t1 = callback.call$0();
  73193. $async$goto = 7;
  73194. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  73195. case 7:
  73196. // returning from await.
  73197. t1 = $async$result;
  73198. $async$returnValue = t1;
  73199. // goto return
  73200. $async$goto = 1;
  73201. break;
  73202. $async$handler = 2;
  73203. // goto after finally
  73204. $async$goto = 6;
  73205. break;
  73206. case 4:
  73207. // catch
  73208. $async$handler = 3;
  73209. $async$exception = $async$errorStack.pop();
  73210. t1 = A.unwrapException($async$exception);
  73211. if (type$.SassRuntimeException._is(t1))
  73212. throw $async$exception;
  73213. else if (t1 instanceof A.SassException) {
  73214. error = t1;
  73215. stackTrace = A.getTraceFromException($async$exception);
  73216. t1 = error;
  73217. t2 = J.getInterceptor$z(t1);
  73218. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  73219. } else
  73220. throw $async$exception;
  73221. // goto after finally
  73222. $async$goto = 6;
  73223. break;
  73224. case 3:
  73225. // uncaught
  73226. // goto rethrow
  73227. $async$goto = 2;
  73228. break;
  73229. case 6:
  73230. // after finally
  73231. case 1:
  73232. // return
  73233. return A._asyncReturn($async$returnValue, $async$completer);
  73234. case 2:
  73235. // rethrow
  73236. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73237. }
  73238. });
  73239. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  73240. },
  73241. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  73242. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  73243. },
  73244. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  73245. var $async$goto = 0,
  73246. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73247. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  73248. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73249. if ($async$errorCode === 1) {
  73250. $async$errorStack.push($async$result);
  73251. $async$goto = $async$handler;
  73252. }
  73253. for (;;)
  73254. switch ($async$goto) {
  73255. case 0:
  73256. // Function start
  73257. $async$handler = 4;
  73258. $async$goto = 7;
  73259. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  73260. case 7:
  73261. // returning from await.
  73262. t1 = $async$result;
  73263. $async$returnValue = t1;
  73264. // goto return
  73265. $async$goto = 1;
  73266. break;
  73267. $async$handler = 2;
  73268. // goto after finally
  73269. $async$goto = 6;
  73270. break;
  73271. case 4:
  73272. // catch
  73273. $async$handler = 3;
  73274. $async$exception = $async$errorStack.pop();
  73275. t1 = A.unwrapException($async$exception);
  73276. if (type$.SassRuntimeException._is(t1)) {
  73277. error = t1;
  73278. stackTrace = A.getTraceFromException($async$exception);
  73279. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  73280. throw $async$exception;
  73281. t1 = error._span_exception$_message;
  73282. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73283. t3 = $async$self._async_evaluate$_stackTrace$0();
  73284. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  73285. } else
  73286. throw $async$exception;
  73287. // goto after finally
  73288. $async$goto = 6;
  73289. break;
  73290. case 3:
  73291. // uncaught
  73292. // goto rethrow
  73293. $async$goto = 2;
  73294. break;
  73295. case 6:
  73296. // after finally
  73297. case 1:
  73298. // return
  73299. return A._asyncReturn($async$returnValue, $async$completer);
  73300. case 2:
  73301. // rethrow
  73302. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73303. }
  73304. });
  73305. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  73306. },
  73307. _async_evaluate$_getErrorMessage$1(error) {
  73308. var t1, exception;
  73309. if (type$.Error._is(error))
  73310. return error.toString$0(0);
  73311. try {
  73312. t1 = A._asString(J.get$message$x(error));
  73313. return t1;
  73314. } catch (exception) {
  73315. t1 = J.toString$0$(error);
  73316. return t1;
  73317. }
  73318. }
  73319. };
  73320. A._EvaluateVisitor_closure12.prototype = {
  73321. call$1($arguments) {
  73322. var module, t2,
  73323. t1 = J.getInterceptor$asx($arguments),
  73324. variable = t1.$index($arguments, 0).assertString$1("name");
  73325. t1 = t1.$index($arguments, 1).get$realNull();
  73326. module = t1 == null ? null : t1.assertString$1("module");
  73327. t1 = this.$this._async_evaluate$_environment;
  73328. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73329. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  73330. },
  73331. $signature: 12
  73332. };
  73333. A._EvaluateVisitor_closure13.prototype = {
  73334. call$1($arguments) {
  73335. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  73336. t1 = this.$this._async_evaluate$_environment;
  73337. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73338. },
  73339. $signature: 12
  73340. };
  73341. A._EvaluateVisitor_closure14.prototype = {
  73342. call$1($arguments) {
  73343. var module, t2, t3, t4,
  73344. t1 = J.getInterceptor$asx($arguments),
  73345. variable = t1.$index($arguments, 0).assertString$1("name");
  73346. t1 = t1.$index($arguments, 1).get$realNull();
  73347. module = t1 == null ? null : t1.assertString$1("module");
  73348. t1 = this.$this;
  73349. t2 = t1._async_evaluate$_environment;
  73350. t3 = variable._string$_text;
  73351. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  73352. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._async_evaluate$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  73353. },
  73354. $signature: 12
  73355. };
  73356. A._EvaluateVisitor_closure15.prototype = {
  73357. call$1($arguments) {
  73358. var module, t2,
  73359. t1 = J.getInterceptor$asx($arguments),
  73360. variable = t1.$index($arguments, 0).assertString$1("name");
  73361. t1 = t1.$index($arguments, 1).get$realNull();
  73362. module = t1 == null ? null : t1.assertString$1("module");
  73363. t1 = this.$this._async_evaluate$_environment;
  73364. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73365. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73366. },
  73367. $signature: 12
  73368. };
  73369. A._EvaluateVisitor_closure16.prototype = {
  73370. call$1($arguments) {
  73371. var t1 = this.$this._async_evaluate$_environment;
  73372. if (!t1._async_environment$_inMixin)
  73373. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  73374. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  73375. },
  73376. $signature: 12
  73377. };
  73378. A._EvaluateVisitor_closure17.prototype = {
  73379. call$1($arguments) {
  73380. var t2, t3, t4,
  73381. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73382. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  73383. if (module == null)
  73384. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73385. t1 = type$.Value;
  73386. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73387. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73388. t4 = t3.get$current(t3);
  73389. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  73390. }
  73391. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73392. },
  73393. $signature: 38
  73394. };
  73395. A._EvaluateVisitor_closure18.prototype = {
  73396. call$1($arguments) {
  73397. var t3, t4, t5,
  73398. t1 = this.$this,
  73399. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73400. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  73401. if (module == null)
  73402. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  73403. t2 = type$.Value;
  73404. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  73405. for (t4 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate$_compileContext; t4.moveNext$0();) {
  73406. t5 = t4.get$current(t4);
  73407. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  73408. }
  73409. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  73410. },
  73411. $signature: 38
  73412. };
  73413. A._EvaluateVisitor_closure19.prototype = {
  73414. call$1($arguments) {
  73415. var t3, t4, t5,
  73416. t1 = this.$this,
  73417. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73418. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  73419. if (module == null)
  73420. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  73421. t2 = type$.Value;
  73422. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  73423. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate$_compileContext; t4.moveNext$0();) {
  73424. t5 = t4.get$current(t4);
  73425. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  73426. }
  73427. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  73428. },
  73429. $signature: 38
  73430. };
  73431. A._EvaluateVisitor_closure20.prototype = {
  73432. call$1($arguments) {
  73433. var module, t2, callable,
  73434. t1 = J.getInterceptor$asx($arguments),
  73435. $name = t1.$index($arguments, 0).assertString$1("name"),
  73436. css = t1.$index($arguments, 1).get$isTruthy();
  73437. t1 = t1.$index($arguments, 2).get$realNull();
  73438. module = t1 == null ? null : t1.assertString$1("module");
  73439. if (css) {
  73440. if (module != null)
  73441. throw A.wrapException(string$.x24css_a);
  73442. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._async_evaluate$_compileContext);
  73443. }
  73444. t1 = this.$this;
  73445. t2 = t1._async_evaluate$_callableNode;
  73446. t2.toString;
  73447. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  73448. if (callable == null)
  73449. throw A.wrapException("Function not found: " + $name.toString$0(0));
  73450. return new A.SassFunction(callable, t1._async_evaluate$_compileContext);
  73451. },
  73452. $signature: 166
  73453. };
  73454. A._EvaluateVisitor__closure6.prototype = {
  73455. call$0() {
  73456. var local,
  73457. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73458. t1 = this.module,
  73459. namespace = t1 == null ? null : t1._string$_text;
  73460. t1 = this.$this;
  73461. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  73462. if (local != null || namespace != null)
  73463. return local;
  73464. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  73465. },
  73466. $signature: 105
  73467. };
  73468. A._EvaluateVisitor_closure21.prototype = {
  73469. call$1($arguments) {
  73470. var module, t2, callable,
  73471. t1 = J.getInterceptor$asx($arguments),
  73472. $name = t1.$index($arguments, 0).assertString$1("name");
  73473. t1 = t1.$index($arguments, 1).get$realNull();
  73474. module = t1 == null ? null : t1.assertString$1("module");
  73475. t1 = this.$this;
  73476. t2 = t1._async_evaluate$_callableNode;
  73477. t2.toString;
  73478. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  73479. if (callable == null)
  73480. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  73481. return new A.SassMixin(callable, t1._async_evaluate$_compileContext);
  73482. },
  73483. $signature: 167
  73484. };
  73485. A._EvaluateVisitor__closure5.prototype = {
  73486. call$0() {
  73487. var t1 = this.$this._async_evaluate$_environment,
  73488. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73489. t3 = this.module;
  73490. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  73491. },
  73492. $signature: 105
  73493. };
  73494. A._EvaluateVisitor_closure22.prototype = {
  73495. call$1($arguments) {
  73496. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  73497. },
  73498. $call$body$_EvaluateVisitor_closure1($arguments) {
  73499. var $async$goto = 0,
  73500. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  73501. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  73502. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73503. if ($async$errorCode === 1)
  73504. return A._asyncRethrow($async$result, $async$completer);
  73505. for (;;)
  73506. switch ($async$goto) {
  73507. case 0:
  73508. // Function start
  73509. t1 = J.getInterceptor$asx($arguments);
  73510. $function = t1.$index($arguments, 0);
  73511. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73512. t1 = $async$self.$this;
  73513. t2 = t1._async_evaluate$_callableNode;
  73514. t2.toString;
  73515. t3 = A._setArrayType([], type$.JSArray_Expression);
  73516. t4 = type$.String;
  73517. t5 = type$.Expression;
  73518. t6 = t2.get$span(t2);
  73519. t7 = t2.get$span(t2);
  73520. args._wereKeywordsAccessed = true;
  73521. t8 = args._keywords;
  73522. if (t8.get$isEmpty(t8))
  73523. t2 = null;
  73524. else {
  73525. t9 = type$.Value;
  73526. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73527. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73528. t11 = t8.get$current(t8);
  73529. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  73530. }
  73531. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73532. }
  73533. invocation = new A.ArgumentList(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  73534. $async$goto = $function instanceof A.SassString ? 3 : 4;
  73535. break;
  73536. case 3:
  73537. // then
  73538. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_c4i);
  73539. callableNode = t1._async_evaluate$_callableNode;
  73540. t2 = $function._string$_text;
  73541. t3 = callableNode.get$span(callableNode);
  73542. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  73543. $async$goto = 5;
  73544. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  73545. case 5:
  73546. // returning from await.
  73547. $async$returnValue = $async$result;
  73548. // goto return
  73549. $async$goto = 1;
  73550. break;
  73551. case 4:
  73552. // join
  73553. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate$_compileContext);
  73554. t3 = t1._async_evaluate$_callableNode;
  73555. t3.toString;
  73556. $async$goto = 6;
  73557. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  73558. case 6:
  73559. // returning from await.
  73560. t3 = $async$result;
  73561. $async$returnValue = t3;
  73562. // goto return
  73563. $async$goto = 1;
  73564. break;
  73565. case 1:
  73566. // return
  73567. return A._asyncReturn($async$returnValue, $async$completer);
  73568. }
  73569. });
  73570. return A._asyncStartSync($async$call$1, $async$completer);
  73571. },
  73572. $signature: 184
  73573. };
  73574. A._EvaluateVisitor_closure23.prototype = {
  73575. call$1($arguments) {
  73576. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  73577. },
  73578. $call$body$_EvaluateVisitor_closure0($arguments) {
  73579. var $async$goto = 0,
  73580. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73581. $async$self = this, withMap, t2, t3, values, span, configuration, t1, url;
  73582. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73583. if ($async$errorCode === 1)
  73584. return A._asyncRethrow($async$result, $async$completer);
  73585. for (;;)
  73586. switch ($async$goto) {
  73587. case 0:
  73588. // Function start
  73589. t1 = J.getInterceptor$asx($arguments);
  73590. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  73591. t1 = t1.$index($arguments, 1).get$realNull();
  73592. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  73593. t1 = $async$self.$this;
  73594. t2 = t1._async_evaluate$_callableNode;
  73595. t2.toString;
  73596. if (withMap != null) {
  73597. t3 = {};
  73598. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  73599. span = t2.get$span(t2);
  73600. t3.privateDeprecation = false;
  73601. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(t3, values, span, t2));
  73602. configuration = new A.ExplicitConfiguration(t2, values, null);
  73603. } else
  73604. configuration = B.Configuration_Map_empty_null;
  73605. t3 = t2.get$span(t2);
  73606. $async$goto = 2;
  73607. return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure4(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  73608. case 2:
  73609. // returning from await.
  73610. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73611. // implicit return
  73612. return A._asyncReturn(null, $async$completer);
  73613. }
  73614. });
  73615. return A._asyncStartSync($async$call$1, $async$completer);
  73616. },
  73617. $signature: 168
  73618. };
  73619. A._EvaluateVisitor__closure3.prototype = {
  73620. call$2(variable, value) {
  73621. var _this = this,
  73622. t1 = variable.assertString$1("with key"),
  73623. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  73624. t1 = _this.values;
  73625. if (t1.containsKey$1($name))
  73626. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73627. else if (B.JSString_methods.startsWith$1($name, "-") && !_this._box_0.privateDeprecation) {
  73628. _this._box_0.privateDeprecation = true;
  73629. A.warnForDeprecation("Configuring private variables (such as $" + $name + string$.x29x20is_dT, B.Deprecation_mXO);
  73630. }
  73631. t1.$indexSet(0, $name, new A.ConfiguredValue(value, _this.span, _this.callableNode));
  73632. },
  73633. $signature: 107
  73634. };
  73635. A._EvaluateVisitor__closure4.prototype = {
  73636. call$2(module, _) {
  73637. var t1 = this.$this;
  73638. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  73639. },
  73640. $signature: 393
  73641. };
  73642. A._EvaluateVisitor_closure24.prototype = {
  73643. call$1($arguments) {
  73644. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73645. },
  73646. $call$body$_EvaluateVisitor_closure($arguments) {
  73647. var $async$goto = 0,
  73648. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73649. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73650. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73651. if ($async$errorCode === 1)
  73652. return A._asyncRethrow($async$result, $async$completer);
  73653. for (;;)
  73654. switch ($async$goto) {
  73655. case 0:
  73656. // Function start
  73657. t1 = J.getInterceptor$asx($arguments);
  73658. mixin = t1.$index($arguments, 0);
  73659. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73660. t1 = $async$self.$this;
  73661. callableNode = t1._async_evaluate$_callableNode;
  73662. t2 = callableNode.get$span(callableNode);
  73663. t3 = callableNode.get$span(callableNode);
  73664. t4 = type$.Expression;
  73665. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73666. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  73667. $async$goto = 2;
  73668. return A._asyncAwait(t1._async_evaluate$_applyMixin$5(mixin.assertMixin$1("mixin").assertCompileContext$1(t1._async_evaluate$_compileContext).callable, t1._async_evaluate$_environment._async_environment$_content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  73669. case 2:
  73670. // returning from await.
  73671. // implicit return
  73672. return A._asyncReturn(null, $async$completer);
  73673. }
  73674. });
  73675. return A._asyncStartSync($async$call$1, $async$completer);
  73676. },
  73677. $signature: 168
  73678. };
  73679. A._EvaluateVisitor_run_closure0.prototype = {
  73680. call$0() {
  73681. var $async$goto = 0,
  73682. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73683. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73684. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73685. if ($async$errorCode === 1)
  73686. return A._asyncRethrow($async$result, $async$completer);
  73687. for (;;)
  73688. switch ($async$goto) {
  73689. case 0:
  73690. // Function start
  73691. t1 = $async$self.node;
  73692. t2 = t1.span;
  73693. _0_0 = t2.get$sourceUrl(t2);
  73694. url = null;
  73695. if (_0_0 != null) {
  73696. url = _0_0;
  73697. t2 = $async$self.$this;
  73698. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73699. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73700. }
  73701. t2 = $async$self.$this;
  73702. $async$goto = 3;
  73703. return A._asyncAwait(t2._async_evaluate$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure0(t2, $async$self.importer, t1), type$.Module_AsyncCallable), $async$call$0);
  73704. case 3:
  73705. // returning from await.
  73706. module = $async$result;
  73707. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  73708. // goto return
  73709. $async$goto = 1;
  73710. break;
  73711. case 1:
  73712. // return
  73713. return A._asyncReturn($async$returnValue, $async$completer);
  73714. }
  73715. });
  73716. return A._asyncStartSync($async$call$0, $async$completer);
  73717. },
  73718. $signature: 388
  73719. };
  73720. A._EvaluateVisitor_run__closure0.prototype = {
  73721. call$0() {
  73722. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73723. },
  73724. $signature: 384
  73725. };
  73726. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73727. call$0() {
  73728. return this.callback.call$2(this._box_0.builtInModule, false);
  73729. },
  73730. $signature: 0
  73731. };
  73732. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73733. call$0() {
  73734. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73735. },
  73736. $call$body$_EvaluateVisitor__loadModule_closure() {
  73737. var $async$goto = 0,
  73738. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73739. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73740. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73741. if ($async$errorCode === 1) {
  73742. $async$errorStack.push($async$result);
  73743. $async$goto = $async$handler;
  73744. }
  73745. for (;;)
  73746. switch ($async$goto) {
  73747. case 0:
  73748. // Function start
  73749. t1 = {};
  73750. stylesheet = null;
  73751. importer = null;
  73752. t2 = $async$self.$this;
  73753. t3 = $async$self.nodeWithSpan;
  73754. $async$goto = 2;
  73755. return A._asyncAwait(t2._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  73756. case 2:
  73757. // returning from await.
  73758. _1_0 = $async$result;
  73759. stylesheet = _1_0._0;
  73760. importer = _1_0._1;
  73761. isDependency = _1_0._2;
  73762. t4 = stylesheet.span;
  73763. canonicalUrl = t4.get$sourceUrl(t4);
  73764. if (canonicalUrl != null) {
  73765. t4 = t2._async_evaluate$_activeModules;
  73766. if (t4.containsKey$1(canonicalUrl)) {
  73767. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  73768. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73769. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73770. } else
  73771. t4.$indexSet(0, canonicalUrl, t3);
  73772. }
  73773. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73774. oldInDependency = t2._async_evaluate$_inDependency;
  73775. t2._async_evaluate$_inDependency = isDependency;
  73776. t1.module = null;
  73777. $async$handler = 3;
  73778. $async$temp1 = t1;
  73779. $async$goto = 6;
  73780. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73781. case 6:
  73782. // returning from await.
  73783. $async$temp1.module = $async$result;
  73784. $async$next.push(5);
  73785. // goto finally
  73786. $async$goto = 4;
  73787. break;
  73788. case 3:
  73789. // uncaught
  73790. $async$next = [1];
  73791. case 4:
  73792. // finally
  73793. $async$handler = 1;
  73794. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73795. t2._async_evaluate$_inDependency = oldInDependency;
  73796. // goto the next finally handler
  73797. $async$goto = $async$next.pop();
  73798. break;
  73799. case 5:
  73800. // after finally
  73801. $async$goto = 7;
  73802. return A._asyncAwait(t2._addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure2(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  73803. case 7:
  73804. // returning from await.
  73805. // implicit return
  73806. return A._asyncReturn(null, $async$completer);
  73807. case 1:
  73808. // rethrow
  73809. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73810. }
  73811. });
  73812. return A._asyncStartSync($async$call$0, $async$completer);
  73813. },
  73814. $signature: 2
  73815. };
  73816. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73817. call$1(previousLoad) {
  73818. return this.$this._async_evaluate$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  73819. },
  73820. $signature: 109
  73821. };
  73822. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73823. call$0() {
  73824. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73825. },
  73826. $signature: 0
  73827. };
  73828. A._EvaluateVisitor__execute_closure0.prototype = {
  73829. call$0() {
  73830. var $async$goto = 0,
  73831. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73832. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73833. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73834. if ($async$errorCode === 1)
  73835. return A._asyncRethrow($async$result, $async$completer);
  73836. for (;;)
  73837. switch ($async$goto) {
  73838. case 0:
  73839. // Function start
  73840. t1 = $async$self.$this;
  73841. oldImporter = t1._async_evaluate$_importer;
  73842. oldStylesheet = t1._async_evaluate$__stylesheet;
  73843. oldRoot = t1._async_evaluate$__root;
  73844. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73845. oldParent = t1._async_evaluate$__parent;
  73846. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73847. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73848. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73849. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73850. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73851. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73852. oldDeclarationName = t1._async_evaluate$_declarationName;
  73853. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73854. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73855. oldConfiguration = t1._async_evaluate$_configuration;
  73856. t1._async_evaluate$_importer = $async$self.importer;
  73857. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73858. t4 = t3.span;
  73859. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73860. t1._async_evaluate$__endOfImports = 0;
  73861. t1._async_evaluate$_outOfOrderImports = null;
  73862. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73863. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73864. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73865. t6 = $async$self.configuration;
  73866. if (t6 != null)
  73867. t1._async_evaluate$_configuration = t6;
  73868. $async$goto = 2;
  73869. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73870. case 2:
  73871. // returning from await.
  73872. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73873. $async$self.css.__late_helper$_value = t3;
  73874. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73875. t1._async_evaluate$_importer = oldImporter;
  73876. t1._async_evaluate$__stylesheet = oldStylesheet;
  73877. t1._async_evaluate$__root = oldRoot;
  73878. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73879. t1._async_evaluate$__parent = oldParent;
  73880. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73881. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73882. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73883. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73884. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73885. t1._async_evaluate$_declarationName = oldDeclarationName;
  73886. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73887. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73888. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73889. t1._async_evaluate$_configuration = oldConfiguration;
  73890. // implicit return
  73891. return A._asyncReturn(null, $async$completer);
  73892. }
  73893. });
  73894. return A._asyncStartSync($async$call$0, $async$completer);
  73895. },
  73896. $signature: 2
  73897. };
  73898. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73899. call$1(module) {
  73900. return module.get$transitivelyContainsCss();
  73901. },
  73902. $signature: 85
  73903. };
  73904. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73905. call$1(target) {
  73906. return !this.selectors.contains$1(0, target);
  73907. },
  73908. $signature: 13
  73909. };
  73910. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73911. call$1(module) {
  73912. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73913. if (!_this.seen.add$1(0, module))
  73914. return;
  73915. if (_this.clone)
  73916. module = module.cloneCss$0();
  73917. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  73918. upstream = t1[_i];
  73919. if (upstream.get$transitivelyContainsCss()) {
  73920. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73921. if (_1_0 != null)
  73922. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73923. _this.call$1(upstream);
  73924. }
  73925. }
  73926. _this.sorted.addFirst$1(module);
  73927. t1 = module.get$css(module);
  73928. statements = t1.get$children(t1);
  73929. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73930. t1 = J.getInterceptor$ax(statements);
  73931. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73932. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73933. },
  73934. $signature: 366
  73935. };
  73936. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73937. call$1(target) {
  73938. return !this.originalSelectors.contains$1(0, target);
  73939. },
  73940. $signature: 13
  73941. };
  73942. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73943. call$0() {
  73944. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73945. },
  73946. $signature: 170
  73947. };
  73948. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73949. call$0() {
  73950. var $async$goto = 0,
  73951. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73952. $async$self = this, t1, t2, t3, _i;
  73953. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73954. if ($async$errorCode === 1)
  73955. return A._asyncRethrow($async$result, $async$completer);
  73956. for (;;)
  73957. switch ($async$goto) {
  73958. case 0:
  73959. // Function start
  73960. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73961. case 2:
  73962. // for condition
  73963. if (!(_i < t2)) {
  73964. // goto after for
  73965. $async$goto = 4;
  73966. break;
  73967. }
  73968. $async$goto = 5;
  73969. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73970. case 5:
  73971. // returning from await.
  73972. case 3:
  73973. // for update
  73974. ++_i;
  73975. // goto for condition
  73976. $async$goto = 2;
  73977. break;
  73978. case 4:
  73979. // after for
  73980. // implicit return
  73981. return A._asyncReturn(null, $async$completer);
  73982. }
  73983. });
  73984. return A._asyncStartSync($async$call$0, $async$completer);
  73985. },
  73986. $signature: 2
  73987. };
  73988. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73989. call$0() {
  73990. var $async$goto = 0,
  73991. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73992. $async$self = this, t1, t2, t3, _i;
  73993. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73994. if ($async$errorCode === 1)
  73995. return A._asyncRethrow($async$result, $async$completer);
  73996. for (;;)
  73997. switch ($async$goto) {
  73998. case 0:
  73999. // Function start
  74000. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74001. case 2:
  74002. // for condition
  74003. if (!(_i < t2)) {
  74004. // goto after for
  74005. $async$goto = 4;
  74006. break;
  74007. }
  74008. $async$goto = 5;
  74009. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74010. case 5:
  74011. // returning from await.
  74012. case 3:
  74013. // for update
  74014. ++_i;
  74015. // goto for condition
  74016. $async$goto = 2;
  74017. break;
  74018. case 4:
  74019. // after for
  74020. // implicit return
  74021. return A._asyncReturn(null, $async$completer);
  74022. }
  74023. });
  74024. return A._asyncStartSync($async$call$0, $async$completer);
  74025. },
  74026. $signature: 30
  74027. };
  74028. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  74029. call$1(callback) {
  74030. var $async$goto = 0,
  74031. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74032. $async$self = this, t1, oldParent;
  74033. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74034. if ($async$errorCode === 1)
  74035. return A._asyncRethrow($async$result, $async$completer);
  74036. for (;;)
  74037. switch ($async$goto) {
  74038. case 0:
  74039. // Function start
  74040. t1 = $async$self.$this;
  74041. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74042. t1._async_evaluate$__parent = $async$self.newParent;
  74043. $async$goto = 2;
  74044. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  74045. case 2:
  74046. // returning from await.
  74047. t1._async_evaluate$__parent = oldParent;
  74048. // implicit return
  74049. return A._asyncReturn(null, $async$completer);
  74050. }
  74051. });
  74052. return A._asyncStartSync($async$call$1, $async$completer);
  74053. },
  74054. $signature: 39
  74055. };
  74056. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  74057. call$1(callback) {
  74058. var $async$goto = 0,
  74059. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74060. $async$self = this, t1, oldAtRootExcludingStyleRule;
  74061. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74062. if ($async$errorCode === 1)
  74063. return A._asyncRethrow($async$result, $async$completer);
  74064. for (;;)
  74065. switch ($async$goto) {
  74066. case 0:
  74067. // Function start
  74068. t1 = $async$self.$this;
  74069. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  74070. t1._async_evaluate$_atRootExcludingStyleRule = true;
  74071. $async$goto = 2;
  74072. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74073. case 2:
  74074. // returning from await.
  74075. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74076. // implicit return
  74077. return A._asyncReturn(null, $async$completer);
  74078. }
  74079. });
  74080. return A._asyncStartSync($async$call$1, $async$completer);
  74081. },
  74082. $signature: 39
  74083. };
  74084. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  74085. call$1(callback) {
  74086. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  74087. },
  74088. $signature: 39
  74089. };
  74090. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  74091. call$0() {
  74092. return this.innerScope.call$1(this.callback);
  74093. },
  74094. $signature: 2
  74095. };
  74096. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  74097. call$1(callback) {
  74098. var $async$goto = 0,
  74099. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74100. $async$self = this, t1, wasInKeyframes;
  74101. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74102. if ($async$errorCode === 1)
  74103. return A._asyncRethrow($async$result, $async$completer);
  74104. for (;;)
  74105. switch ($async$goto) {
  74106. case 0:
  74107. // Function start
  74108. t1 = $async$self.$this;
  74109. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  74110. t1._async_evaluate$_inKeyframes = false;
  74111. $async$goto = 2;
  74112. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74113. case 2:
  74114. // returning from await.
  74115. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  74116. // implicit return
  74117. return A._asyncReturn(null, $async$completer);
  74118. }
  74119. });
  74120. return A._asyncStartSync($async$call$1, $async$completer);
  74121. },
  74122. $signature: 39
  74123. };
  74124. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  74125. call$1($parent) {
  74126. return $parent instanceof A.ModifiableCssAtRule;
  74127. },
  74128. $signature: 171
  74129. };
  74130. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  74131. call$1(callback) {
  74132. var $async$goto = 0,
  74133. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74134. $async$self = this, t1, wasInUnknownAtRule;
  74135. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74136. if ($async$errorCode === 1)
  74137. return A._asyncRethrow($async$result, $async$completer);
  74138. for (;;)
  74139. switch ($async$goto) {
  74140. case 0:
  74141. // Function start
  74142. t1 = $async$self.$this;
  74143. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  74144. t1._async_evaluate$_inUnknownAtRule = false;
  74145. $async$goto = 2;
  74146. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74147. case 2:
  74148. // returning from await.
  74149. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  74150. // implicit return
  74151. return A._asyncReturn(null, $async$completer);
  74152. }
  74153. });
  74154. return A._asyncStartSync($async$call$1, $async$completer);
  74155. },
  74156. $signature: 39
  74157. };
  74158. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  74159. call$0() {
  74160. var $async$goto = 0,
  74161. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74162. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  74163. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74164. if ($async$errorCode === 1)
  74165. return A._asyncRethrow($async$result, $async$completer);
  74166. for (;;)
  74167. switch ($async$goto) {
  74168. case 0:
  74169. // Function start
  74170. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74171. case 3:
  74172. // for condition
  74173. if (!(_i < t2)) {
  74174. // goto after for
  74175. $async$goto = 5;
  74176. break;
  74177. }
  74178. $async$goto = 6;
  74179. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74180. case 6:
  74181. // returning from await.
  74182. case 4:
  74183. // for update
  74184. ++_i;
  74185. // goto for condition
  74186. $async$goto = 3;
  74187. break;
  74188. case 5:
  74189. // after for
  74190. $async$returnValue = null;
  74191. // goto return
  74192. $async$goto = 1;
  74193. break;
  74194. case 1:
  74195. // return
  74196. return A._asyncReturn($async$returnValue, $async$completer);
  74197. }
  74198. });
  74199. return A._asyncStartSync($async$call$0, $async$completer);
  74200. },
  74201. $signature: 2
  74202. };
  74203. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  74204. call$0() {
  74205. var $async$goto = 0,
  74206. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74207. $async$self = this, t1, t2, t3, _i;
  74208. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74209. if ($async$errorCode === 1)
  74210. return A._asyncRethrow($async$result, $async$completer);
  74211. for (;;)
  74212. switch ($async$goto) {
  74213. case 0:
  74214. // Function start
  74215. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74216. case 2:
  74217. // for condition
  74218. if (!(_i < t2)) {
  74219. // goto after for
  74220. $async$goto = 4;
  74221. break;
  74222. }
  74223. $async$goto = 5;
  74224. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74225. case 5:
  74226. // returning from await.
  74227. case 3:
  74228. // for update
  74229. ++_i;
  74230. // goto for condition
  74231. $async$goto = 2;
  74232. break;
  74233. case 4:
  74234. // after for
  74235. // implicit return
  74236. return A._asyncReturn(null, $async$completer);
  74237. }
  74238. });
  74239. return A._asyncStartSync($async$call$0, $async$completer);
  74240. },
  74241. $signature: 2
  74242. };
  74243. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  74244. call$1(value) {
  74245. var t1 = this.$this,
  74246. t2 = this.nodeWithSpan;
  74247. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  74248. },
  74249. $signature: 61
  74250. };
  74251. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  74252. call$1(value) {
  74253. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  74254. },
  74255. $signature: 61
  74256. };
  74257. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  74258. call$0() {
  74259. var _this = this,
  74260. t1 = _this.$this;
  74261. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  74262. },
  74263. $signature: 68
  74264. };
  74265. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  74266. call$1(element) {
  74267. var t1;
  74268. this.setVariables.call$1(element);
  74269. t1 = this.$this;
  74270. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  74271. },
  74272. $signature: 359
  74273. };
  74274. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  74275. call$1(child) {
  74276. return child.accept$1(this.$this);
  74277. },
  74278. $signature: 83
  74279. };
  74280. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  74281. call$1(value) {
  74282. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  74283. },
  74284. $signature: 410
  74285. };
  74286. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  74287. call$0() {
  74288. var $async$goto = 0,
  74289. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74290. $async$self = this, t2, t3, _i, t1, styleRule;
  74291. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74292. if ($async$errorCode === 1)
  74293. return A._asyncRethrow($async$result, $async$completer);
  74294. for (;;)
  74295. switch ($async$goto) {
  74296. case 0:
  74297. // Function start
  74298. t1 = $async$self.$this;
  74299. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74300. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || $async$self.name.value === "font-face" ? 2 : 4;
  74301. break;
  74302. case 2:
  74303. // then
  74304. t2 = $async$self.children, t3 = t2.length, _i = 0;
  74305. case 5:
  74306. // for condition
  74307. if (!(_i < t3)) {
  74308. // goto after for
  74309. $async$goto = 7;
  74310. break;
  74311. }
  74312. $async$goto = 8;
  74313. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74314. case 8:
  74315. // returning from await.
  74316. case 6:
  74317. // for update
  74318. ++_i;
  74319. // goto for condition
  74320. $async$goto = 5;
  74321. break;
  74322. case 7:
  74323. // after for
  74324. // goto join
  74325. $async$goto = 3;
  74326. break;
  74327. case 4:
  74328. // else
  74329. $async$goto = 9;
  74330. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  74331. case 9:
  74332. // returning from await.
  74333. case 3:
  74334. // join
  74335. // implicit return
  74336. return A._asyncReturn(null, $async$completer);
  74337. }
  74338. });
  74339. return A._asyncStartSync($async$call$0, $async$completer);
  74340. },
  74341. $signature: 2
  74342. };
  74343. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  74344. call$0() {
  74345. var $async$goto = 0,
  74346. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74347. $async$self = this, t1, t2, t3, _i;
  74348. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74349. if ($async$errorCode === 1)
  74350. return A._asyncRethrow($async$result, $async$completer);
  74351. for (;;)
  74352. switch ($async$goto) {
  74353. case 0:
  74354. // Function start
  74355. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74356. case 2:
  74357. // for condition
  74358. if (!(_i < t2)) {
  74359. // goto after for
  74360. $async$goto = 4;
  74361. break;
  74362. }
  74363. $async$goto = 5;
  74364. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74365. case 5:
  74366. // returning from await.
  74367. case 3:
  74368. // for update
  74369. ++_i;
  74370. // goto for condition
  74371. $async$goto = 2;
  74372. break;
  74373. case 4:
  74374. // after for
  74375. // implicit return
  74376. return A._asyncReturn(null, $async$completer);
  74377. }
  74378. });
  74379. return A._asyncStartSync($async$call$0, $async$completer);
  74380. },
  74381. $signature: 2
  74382. };
  74383. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  74384. call$1(node) {
  74385. return node instanceof A.ModifiableCssStyleRule;
  74386. },
  74387. $signature: 8
  74388. };
  74389. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  74390. call$0() {
  74391. var $async$goto = 0,
  74392. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  74393. $async$returnValue, $async$self = this;
  74394. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74395. if ($async$errorCode === 1)
  74396. return A._asyncRethrow($async$result, $async$completer);
  74397. for (;;)
  74398. switch ($async$goto) {
  74399. case 0:
  74400. // Function start
  74401. $async$goto = 3;
  74402. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  74403. case 3:
  74404. // returning from await.
  74405. $async$returnValue = $async$result.assertNumber$0();
  74406. // goto return
  74407. $async$goto = 1;
  74408. break;
  74409. case 1:
  74410. // return
  74411. return A._asyncReturn($async$returnValue, $async$completer);
  74412. }
  74413. });
  74414. return A._asyncStartSync($async$call$0, $async$completer);
  74415. },
  74416. $signature: 175
  74417. };
  74418. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  74419. call$0() {
  74420. var $async$goto = 0,
  74421. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  74422. $async$returnValue, $async$self = this;
  74423. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74424. if ($async$errorCode === 1)
  74425. return A._asyncRethrow($async$result, $async$completer);
  74426. for (;;)
  74427. switch ($async$goto) {
  74428. case 0:
  74429. // Function start
  74430. $async$goto = 3;
  74431. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  74432. case 3:
  74433. // returning from await.
  74434. $async$returnValue = $async$result.assertNumber$0();
  74435. // goto return
  74436. $async$goto = 1;
  74437. break;
  74438. case 1:
  74439. // return
  74440. return A._asyncReturn($async$returnValue, $async$completer);
  74441. }
  74442. });
  74443. return A._asyncStartSync($async$call$0, $async$completer);
  74444. },
  74445. $signature: 175
  74446. };
  74447. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  74448. call$0() {
  74449. return this.fromNumber.assertInt$0();
  74450. },
  74451. $signature: 10
  74452. };
  74453. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  74454. call$0() {
  74455. var t1 = this.fromNumber;
  74456. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74457. },
  74458. $signature: 10
  74459. };
  74460. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  74461. call$0() {
  74462. var $async$goto = 0,
  74463. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74464. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  74465. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74466. if ($async$errorCode === 1)
  74467. return A._asyncRethrow($async$result, $async$completer);
  74468. for (;;)
  74469. switch ($async$goto) {
  74470. case 0:
  74471. // Function start
  74472. t1 = $async$self.$this;
  74473. t2 = $async$self.node;
  74474. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  74475. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  74476. case 3:
  74477. // for condition
  74478. if (!(i !== t3.to)) {
  74479. // goto after for
  74480. $async$goto = 5;
  74481. break;
  74482. }
  74483. t7 = t1._async_evaluate$_environment;
  74484. t8 = t6.get$numeratorUnits(t6);
  74485. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74486. $async$goto = 6;
  74487. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  74488. case 6:
  74489. // returning from await.
  74490. _0_0 = $async$result;
  74491. if (_0_0 != null) {
  74492. $async$returnValue = _0_0;
  74493. // goto return
  74494. $async$goto = 1;
  74495. break;
  74496. }
  74497. case 4:
  74498. // for update
  74499. i += t4;
  74500. // goto for condition
  74501. $async$goto = 3;
  74502. break;
  74503. case 5:
  74504. // after for
  74505. $async$returnValue = null;
  74506. // goto return
  74507. $async$goto = 1;
  74508. break;
  74509. case 1:
  74510. // return
  74511. return A._asyncReturn($async$returnValue, $async$completer);
  74512. }
  74513. });
  74514. return A._asyncStartSync($async$call$0, $async$completer);
  74515. },
  74516. $signature: 68
  74517. };
  74518. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  74519. call$1(child) {
  74520. return child.accept$1(this.$this);
  74521. },
  74522. $signature: 83
  74523. };
  74524. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  74525. call$2(module, firstLoad) {
  74526. if (firstLoad)
  74527. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74528. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74529. },
  74530. $signature: 117
  74531. };
  74532. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  74533. call$2(module, firstLoad) {
  74534. if (firstLoad)
  74535. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74536. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74537. },
  74538. $signature: 117
  74539. };
  74540. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  74541. call$0() {
  74542. return A._setArrayType([], type$.JSArray_CssComment);
  74543. },
  74544. $signature: 177
  74545. };
  74546. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  74547. call$1(clause) {
  74548. var t1 = this.$this;
  74549. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74550. },
  74551. $signature: 354
  74552. };
  74553. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  74554. call$0() {
  74555. var t1 = this.$this;
  74556. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  74557. },
  74558. $signature: 68
  74559. };
  74560. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  74561. call$1(child) {
  74562. return child.accept$1(this.$this);
  74563. },
  74564. $signature: 83
  74565. };
  74566. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  74567. call$0() {
  74568. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  74569. },
  74570. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  74571. var $async$goto = 0,
  74572. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74573. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  74574. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74575. if ($async$errorCode === 1)
  74576. return A._asyncRethrow($async$result, $async$completer);
  74577. for (;;)
  74578. switch ($async$goto) {
  74579. case 0:
  74580. // Function start
  74581. _box_0 = {};
  74582. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74583. t1 = $async$self.$this;
  74584. t2 = $async$self.$import;
  74585. $async$goto = 3;
  74586. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74587. case 3:
  74588. // returning from await.
  74589. _0_0 = $async$result;
  74590. stylesheet = _box_0.stylesheet = _0_0._0;
  74591. importer = _0_0._1;
  74592. _box_0.importer = importer;
  74593. isDependency = _0_0._2;
  74594. _box_0.isDependency = isDependency;
  74595. t3 = stylesheet.span;
  74596. url = t3.get$sourceUrl(t3);
  74597. if (url != null) {
  74598. t3 = t1._async_evaluate$_activeModules;
  74599. if (t3.containsKey$1(url)) {
  74600. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  74601. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  74602. }
  74603. t3.$indexSet(0, url, t2);
  74604. }
  74605. t2 = stylesheet._uses;
  74606. t3 = type$.UnmodifiableListView_UseRule;
  74607. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0 ? 4 : 5;
  74608. break;
  74609. case 4:
  74610. // then
  74611. oldImporter = t1._async_evaluate$_importer;
  74612. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74613. oldInDependency = t1._async_evaluate$_inDependency;
  74614. t1._async_evaluate$_importer = importer;
  74615. t1._async_evaluate$__stylesheet = stylesheet;
  74616. t1._async_evaluate$_inDependency = isDependency;
  74617. $async$goto = 6;
  74618. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  74619. case 6:
  74620. // returning from await.
  74621. t1._async_evaluate$_importer = oldImporter;
  74622. t1._async_evaluate$__stylesheet = oldStylesheet;
  74623. t1._async_evaluate$_inDependency = oldInDependency;
  74624. t1._async_evaluate$_activeModules.remove$1(0, url);
  74625. // goto return
  74626. $async$goto = 1;
  74627. break;
  74628. case 5:
  74629. // join
  74630. t2 = new A.UnmodifiableListView(t2, t3);
  74631. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  74632. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74633. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  74634. } else
  74635. loadsUserDefinedModules = true;
  74636. children = A._Cell$();
  74637. t2 = t1._async_evaluate$_environment;
  74638. t3 = type$.String;
  74639. t4 = type$.Module_AsyncCallable;
  74640. t5 = type$.AstNode;
  74641. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74642. t7 = t2._async_environment$_variables;
  74643. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74644. t8 = t2._async_environment$_variableNodes;
  74645. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74646. t9 = t2._async_environment$_functions;
  74647. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74648. t10 = t2._async_environment$_mixins;
  74649. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74650. environment = A.AsyncEnvironment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment$_content, t2._async_environment$_configurableVariables);
  74651. $async$goto = 7;
  74652. return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  74653. case 7:
  74654. // returning from await.
  74655. module = environment.toDummyModule$0();
  74656. t1._async_evaluate$_environment.importForwards$1(module);
  74657. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74658. break;
  74659. case 8:
  74660. // then
  74661. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74662. break;
  74663. case 10:
  74664. // then
  74665. $async$goto = 12;
  74666. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74667. case 12:
  74668. // returning from await.
  74669. case 11:
  74670. // join
  74671. visitor = new A._ImportedCssVisitor0(t1);
  74672. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74673. t2.get$current(t2).accept$1(visitor);
  74674. case 9:
  74675. // join
  74676. t1._async_evaluate$_activeModules.remove$1(0, url);
  74677. case 1:
  74678. // return
  74679. return A._asyncReturn($async$returnValue, $async$completer);
  74680. }
  74681. });
  74682. return A._asyncStartSync($async$call$0, $async$completer);
  74683. },
  74684. $signature: 30
  74685. };
  74686. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74687. call$1(previousLoad) {
  74688. return this.$this._async_evaluate$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74689. },
  74690. $signature: 109
  74691. };
  74692. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74693. call$1(rule) {
  74694. return rule.url.get$scheme() !== "sass";
  74695. },
  74696. $signature: 178
  74697. };
  74698. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74699. call$1(rule) {
  74700. return rule.url.get$scheme() !== "sass";
  74701. },
  74702. $signature: 179
  74703. };
  74704. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74705. call$0() {
  74706. var $async$goto = 0,
  74707. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74708. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74709. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74710. if ($async$errorCode === 1)
  74711. return A._asyncRethrow($async$result, $async$completer);
  74712. for (;;)
  74713. switch ($async$goto) {
  74714. case 0:
  74715. // Function start
  74716. t1 = $async$self.$this;
  74717. oldImporter = t1._async_evaluate$_importer;
  74718. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74719. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74720. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74721. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74722. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74723. oldConfiguration = t1._async_evaluate$_configuration;
  74724. oldInDependency = t1._async_evaluate$_inDependency;
  74725. t2 = $async$self._box_0;
  74726. t1._async_evaluate$_importer = t2.importer;
  74727. t3 = t2.stylesheet;
  74728. t1._async_evaluate$__stylesheet = t3;
  74729. t4 = $async$self.loadsUserDefinedModules;
  74730. if (t4) {
  74731. t3 = A.ModifiableCssStylesheet$(t3.span);
  74732. t1._async_evaluate$__root = t3;
  74733. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74734. t1._async_evaluate$__endOfImports = 0;
  74735. t1._async_evaluate$_outOfOrderImports = null;
  74736. }
  74737. t1._async_evaluate$_inDependency = t2.isDependency;
  74738. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74739. if (!t3.get$isEmpty(t3))
  74740. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74741. $async$goto = 2;
  74742. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74743. case 2:
  74744. // returning from await.
  74745. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74746. $async$self.children.__late_helper$_value = t2;
  74747. t1._async_evaluate$_importer = oldImporter;
  74748. t1._async_evaluate$__stylesheet = oldStylesheet;
  74749. if (t4) {
  74750. t1._async_evaluate$__root = oldRoot;
  74751. t1._async_evaluate$__parent = oldParent;
  74752. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74753. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74754. }
  74755. t1._async_evaluate$_configuration = oldConfiguration;
  74756. t1._async_evaluate$_inDependency = oldInDependency;
  74757. // implicit return
  74758. return A._asyncReturn(null, $async$completer);
  74759. }
  74760. });
  74761. return A._asyncStartSync($async$call$0, $async$completer);
  74762. },
  74763. $signature: 2
  74764. };
  74765. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74766. call$0() {
  74767. var $async$goto = 0,
  74768. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74769. $async$self = this, t1;
  74770. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74771. if ($async$errorCode === 1)
  74772. return A._asyncRethrow($async$result, $async$completer);
  74773. for (;;)
  74774. switch ($async$goto) {
  74775. case 0:
  74776. // Function start
  74777. t1 = $async$self.$this;
  74778. $async$goto = 2;
  74779. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure2(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74780. case 2:
  74781. // returning from await.
  74782. // implicit return
  74783. return A._asyncReturn(null, $async$completer);
  74784. }
  74785. });
  74786. return A._asyncStartSync($async$call$0, $async$completer);
  74787. },
  74788. $signature: 30
  74789. };
  74790. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74791. call$0() {
  74792. var $async$goto = 0,
  74793. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74794. $async$self = this;
  74795. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74796. if ($async$errorCode === 1)
  74797. return A._asyncRethrow($async$result, $async$completer);
  74798. for (;;)
  74799. switch ($async$goto) {
  74800. case 0:
  74801. // Function start
  74802. $async$goto = 2;
  74803. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74804. case 2:
  74805. // returning from await.
  74806. // implicit return
  74807. return A._asyncReturn(null, $async$completer);
  74808. }
  74809. });
  74810. return A._asyncStartSync($async$call$0, $async$completer);
  74811. },
  74812. $signature: 30
  74813. };
  74814. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74815. call$0() {
  74816. var $async$goto = 0,
  74817. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74818. $async$self = this, t1;
  74819. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74820. if ($async$errorCode === 1)
  74821. return A._asyncRethrow($async$result, $async$completer);
  74822. for (;;)
  74823. switch ($async$goto) {
  74824. case 0:
  74825. // Function start
  74826. t1 = $async$self.$this;
  74827. $async$goto = 2;
  74828. return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure1(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74829. case 2:
  74830. // returning from await.
  74831. // implicit return
  74832. return A._asyncReturn(null, $async$completer);
  74833. }
  74834. });
  74835. return A._asyncStartSync($async$call$0, $async$completer);
  74836. },
  74837. $signature: 2
  74838. };
  74839. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74840. call$0() {
  74841. var $async$goto = 0,
  74842. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74843. $async$self = this, t1;
  74844. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74845. if ($async$errorCode === 1)
  74846. return A._asyncRethrow($async$result, $async$completer);
  74847. for (;;)
  74848. switch ($async$goto) {
  74849. case 0:
  74850. // Function start
  74851. t1 = $async$self.$this;
  74852. $async$goto = 2;
  74853. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74854. case 2:
  74855. // returning from await.
  74856. // implicit return
  74857. return A._asyncReturn(null, $async$completer);
  74858. }
  74859. });
  74860. return A._asyncStartSync($async$call$0, $async$completer);
  74861. },
  74862. $signature: 30
  74863. };
  74864. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74865. call$0() {
  74866. var $async$goto = 0,
  74867. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74868. $async$self = this, t1, t2, t3, t4, t5, _i;
  74869. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74870. if ($async$errorCode === 1)
  74871. return A._asyncRethrow($async$result, $async$completer);
  74872. for (;;)
  74873. switch ($async$goto) {
  74874. case 0:
  74875. // Function start
  74876. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74877. case 2:
  74878. // for condition
  74879. if (!(_i < t2)) {
  74880. // goto after for
  74881. $async$goto = 4;
  74882. break;
  74883. }
  74884. $async$goto = 5;
  74885. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74886. case 5:
  74887. // returning from await.
  74888. case 3:
  74889. // for update
  74890. ++_i;
  74891. // goto for condition
  74892. $async$goto = 2;
  74893. break;
  74894. case 4:
  74895. // after for
  74896. // implicit return
  74897. return A._asyncReturn(null, $async$completer);
  74898. }
  74899. });
  74900. return A._asyncStartSync($async$call$0, $async$completer);
  74901. },
  74902. $signature: 30
  74903. };
  74904. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74905. call$0() {
  74906. return this.statement.accept$1(this.$this);
  74907. },
  74908. $signature: 68
  74909. };
  74910. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74911. call$0() {
  74912. var t1 = this.node;
  74913. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74914. },
  74915. $signature: 105
  74916. };
  74917. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74918. call$1($content) {
  74919. var t1 = this.$this;
  74920. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74921. },
  74922. $signature: 343
  74923. };
  74924. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74925. call$0() {
  74926. return this.node.get$spanWithoutContent();
  74927. },
  74928. $signature: 22
  74929. };
  74930. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74931. call$1(mediaQueries) {
  74932. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74933. },
  74934. $signature: 86
  74935. };
  74936. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74937. call$0() {
  74938. var $async$goto = 0,
  74939. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74940. $async$self = this, t1, t2;
  74941. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74942. if ($async$errorCode === 1)
  74943. return A._asyncRethrow($async$result, $async$completer);
  74944. for (;;)
  74945. switch ($async$goto) {
  74946. case 0:
  74947. // Function start
  74948. t1 = $async$self.$this;
  74949. t2 = $async$self.mergedQueries;
  74950. if (t2 == null)
  74951. t2 = $async$self.queries;
  74952. $async$goto = 2;
  74953. return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  74954. case 2:
  74955. // returning from await.
  74956. // implicit return
  74957. return A._asyncReturn(null, $async$completer);
  74958. }
  74959. });
  74960. return A._asyncStartSync($async$call$0, $async$completer);
  74961. },
  74962. $signature: 2
  74963. };
  74964. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74965. call$0() {
  74966. var $async$goto = 0,
  74967. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74968. $async$self = this, t2, t3, _i, t1, _0_0;
  74969. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74970. if ($async$errorCode === 1)
  74971. return A._asyncRethrow($async$result, $async$completer);
  74972. for (;;)
  74973. switch ($async$goto) {
  74974. case 0:
  74975. // Function start
  74976. t1 = $async$self.$this;
  74977. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74978. $async$goto = _0_0 != null ? 2 : 4;
  74979. break;
  74980. case 2:
  74981. // then
  74982. $async$goto = 5;
  74983. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  74984. case 5:
  74985. // returning from await.
  74986. // goto join
  74987. $async$goto = 3;
  74988. break;
  74989. case 4:
  74990. // else
  74991. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74992. case 6:
  74993. // for condition
  74994. if (!(_i < t3)) {
  74995. // goto after for
  74996. $async$goto = 8;
  74997. break;
  74998. }
  74999. $async$goto = 9;
  75000. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75001. case 9:
  75002. // returning from await.
  75003. case 7:
  75004. // for update
  75005. ++_i;
  75006. // goto for condition
  75007. $async$goto = 6;
  75008. break;
  75009. case 8:
  75010. // after for
  75011. case 3:
  75012. // join
  75013. // implicit return
  75014. return A._asyncReturn(null, $async$completer);
  75015. }
  75016. });
  75017. return A._asyncStartSync($async$call$0, $async$completer);
  75018. },
  75019. $signature: 2
  75020. };
  75021. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  75022. call$0() {
  75023. var $async$goto = 0,
  75024. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75025. $async$self = this, t1, t2, t3, _i;
  75026. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75027. if ($async$errorCode === 1)
  75028. return A._asyncRethrow($async$result, $async$completer);
  75029. for (;;)
  75030. switch ($async$goto) {
  75031. case 0:
  75032. // Function start
  75033. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75034. case 2:
  75035. // for condition
  75036. if (!(_i < t2)) {
  75037. // goto after for
  75038. $async$goto = 4;
  75039. break;
  75040. }
  75041. $async$goto = 5;
  75042. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75043. case 5:
  75044. // returning from await.
  75045. case 3:
  75046. // for update
  75047. ++_i;
  75048. // goto for condition
  75049. $async$goto = 2;
  75050. break;
  75051. case 4:
  75052. // after for
  75053. // implicit return
  75054. return A._asyncReturn(null, $async$completer);
  75055. }
  75056. });
  75057. return A._asyncStartSync($async$call$0, $async$completer);
  75058. },
  75059. $signature: 2
  75060. };
  75061. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  75062. call$1(node) {
  75063. var t1;
  75064. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75065. t1 = this.mergedSources;
  75066. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75067. } else
  75068. t1 = true;
  75069. return t1;
  75070. },
  75071. $signature: 8
  75072. };
  75073. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  75074. call$0() {
  75075. var $async$goto = 0,
  75076. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75077. $async$self = this, t1, t2, t3, _i;
  75078. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75079. if ($async$errorCode === 1)
  75080. return A._asyncRethrow($async$result, $async$completer);
  75081. for (;;)
  75082. switch ($async$goto) {
  75083. case 0:
  75084. // Function start
  75085. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75086. case 2:
  75087. // for condition
  75088. if (!(_i < t2)) {
  75089. // goto after for
  75090. $async$goto = 4;
  75091. break;
  75092. }
  75093. $async$goto = 5;
  75094. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75095. case 5:
  75096. // returning from await.
  75097. case 3:
  75098. // for update
  75099. ++_i;
  75100. // goto for condition
  75101. $async$goto = 2;
  75102. break;
  75103. case 4:
  75104. // after for
  75105. // implicit return
  75106. return A._asyncReturn(null, $async$completer);
  75107. }
  75108. });
  75109. return A._asyncStartSync($async$call$0, $async$completer);
  75110. },
  75111. $signature: 2
  75112. };
  75113. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  75114. call$1(node) {
  75115. return node instanceof A.ModifiableCssStyleRule;
  75116. },
  75117. $signature: 8
  75118. };
  75119. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  75120. call$0() {
  75121. var $async$goto = 0,
  75122. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75123. $async$self = this, t1;
  75124. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75125. if ($async$errorCode === 1)
  75126. return A._asyncRethrow($async$result, $async$completer);
  75127. for (;;)
  75128. switch ($async$goto) {
  75129. case 0:
  75130. // Function start
  75131. t1 = $async$self.$this;
  75132. $async$goto = 2;
  75133. return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  75134. case 2:
  75135. // returning from await.
  75136. // implicit return
  75137. return A._asyncReturn(null, $async$completer);
  75138. }
  75139. });
  75140. return A._asyncStartSync($async$call$0, $async$completer);
  75141. },
  75142. $signature: 2
  75143. };
  75144. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  75145. call$0() {
  75146. var $async$goto = 0,
  75147. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75148. $async$self = this, t1, t2, t3, _i;
  75149. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75150. if ($async$errorCode === 1)
  75151. return A._asyncRethrow($async$result, $async$completer);
  75152. for (;;)
  75153. switch ($async$goto) {
  75154. case 0:
  75155. // Function start
  75156. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75157. case 2:
  75158. // for condition
  75159. if (!(_i < t2)) {
  75160. // goto after for
  75161. $async$goto = 4;
  75162. break;
  75163. }
  75164. $async$goto = 5;
  75165. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75166. case 5:
  75167. // returning from await.
  75168. case 3:
  75169. // for update
  75170. ++_i;
  75171. // goto for condition
  75172. $async$goto = 2;
  75173. break;
  75174. case 4:
  75175. // after for
  75176. // implicit return
  75177. return A._asyncReturn(null, $async$completer);
  75178. }
  75179. });
  75180. return A._asyncStartSync($async$call$0, $async$completer);
  75181. },
  75182. $signature: 2
  75183. };
  75184. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  75185. call$1(node) {
  75186. return node instanceof A.ModifiableCssStyleRule;
  75187. },
  75188. $signature: 8
  75189. };
  75190. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  75191. call$1(child) {
  75192. return child instanceof A.ModifiableCssComment;
  75193. },
  75194. $signature: 8
  75195. };
  75196. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  75197. call$0() {
  75198. var $async$goto = 0,
  75199. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75200. $async$self = this, t2, t3, _i, t1, _0_0;
  75201. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75202. if ($async$errorCode === 1)
  75203. return A._asyncRethrow($async$result, $async$completer);
  75204. for (;;)
  75205. switch ($async$goto) {
  75206. case 0:
  75207. // Function start
  75208. t1 = $async$self.$this;
  75209. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75210. $async$goto = _0_0 != null ? 2 : 4;
  75211. break;
  75212. case 2:
  75213. // then
  75214. $async$goto = 5;
  75215. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  75216. case 5:
  75217. // returning from await.
  75218. // goto join
  75219. $async$goto = 3;
  75220. break;
  75221. case 4:
  75222. // else
  75223. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  75224. case 6:
  75225. // for condition
  75226. if (!(_i < t3)) {
  75227. // goto after for
  75228. $async$goto = 8;
  75229. break;
  75230. }
  75231. $async$goto = 9;
  75232. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75233. case 9:
  75234. // returning from await.
  75235. case 7:
  75236. // for update
  75237. ++_i;
  75238. // goto for condition
  75239. $async$goto = 6;
  75240. break;
  75241. case 8:
  75242. // after for
  75243. case 3:
  75244. // join
  75245. // implicit return
  75246. return A._asyncReturn(null, $async$completer);
  75247. }
  75248. });
  75249. return A._asyncStartSync($async$call$0, $async$completer);
  75250. },
  75251. $signature: 2
  75252. };
  75253. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  75254. call$0() {
  75255. var $async$goto = 0,
  75256. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75257. $async$self = this, t1, t2, t3, _i;
  75258. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75259. if ($async$errorCode === 1)
  75260. return A._asyncRethrow($async$result, $async$completer);
  75261. for (;;)
  75262. switch ($async$goto) {
  75263. case 0:
  75264. // Function start
  75265. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75266. case 2:
  75267. // for condition
  75268. if (!(_i < t2)) {
  75269. // goto after for
  75270. $async$goto = 4;
  75271. break;
  75272. }
  75273. $async$goto = 5;
  75274. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75275. case 5:
  75276. // returning from await.
  75277. case 3:
  75278. // for update
  75279. ++_i;
  75280. // goto for condition
  75281. $async$goto = 2;
  75282. break;
  75283. case 4:
  75284. // after for
  75285. // implicit return
  75286. return A._asyncReturn(null, $async$completer);
  75287. }
  75288. });
  75289. return A._asyncStartSync($async$call$0, $async$completer);
  75290. },
  75291. $signature: 2
  75292. };
  75293. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  75294. call$1(node) {
  75295. return node instanceof A.ModifiableCssStyleRule;
  75296. },
  75297. $signature: 8
  75298. };
  75299. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  75300. call$0() {
  75301. var $async$goto = 0,
  75302. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  75303. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  75304. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75305. if ($async$errorCode === 1)
  75306. return A._asyncRethrow($async$result, $async$completer);
  75307. for (;;)
  75308. switch ($async$goto) {
  75309. case 0:
  75310. // Function start
  75311. t1 = $async$self.$this;
  75312. t2 = $async$self._box_0;
  75313. $async$temp1 = A;
  75314. $async$goto = 3;
  75315. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  75316. case 3:
  75317. // returning from await.
  75318. t3 = $async$temp1.S($async$result);
  75319. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  75320. $async$temp1 = "(" + t3 + ":" + t4;
  75321. $async$temp2 = A;
  75322. $async$goto = 4;
  75323. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  75324. case 4:
  75325. // returning from await.
  75326. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  75327. // goto return
  75328. $async$goto = 1;
  75329. break;
  75330. case 1:
  75331. // return
  75332. return A._asyncReturn($async$returnValue, $async$completer);
  75333. }
  75334. });
  75335. return A._asyncStartSync($async$call$0, $async$completer);
  75336. },
  75337. $signature: 180
  75338. };
  75339. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  75340. call$0() {
  75341. var t1 = this.$this._async_evaluate$_environment,
  75342. t2 = this._box_0.override;
  75343. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  75344. },
  75345. $signature: 1
  75346. };
  75347. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  75348. call$0() {
  75349. var t1 = this.node;
  75350. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75351. },
  75352. $signature: 42
  75353. };
  75354. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  75355. call$0() {
  75356. var t1 = this.$this,
  75357. t2 = this.node;
  75358. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  75359. },
  75360. $signature: 1
  75361. };
  75362. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  75363. call$2(module, firstLoad) {
  75364. var t1, t2, t3, _0_0, t4, t5, span;
  75365. if (firstLoad)
  75366. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  75367. t1 = this.$this._async_evaluate$_environment;
  75368. t2 = this.node;
  75369. t3 = t2.namespace;
  75370. if (t3 == null) {
  75371. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  75372. t1._async_environment$_allModules.push(module);
  75373. t1 = B.JSArray_methods.get$first(t1._async_environment$_variables);
  75374. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  75375. if (_0_0 != null)
  75376. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  75377. } else {
  75378. t4 = t1._async_environment$_modules;
  75379. if (t4.containsKey$1(t3)) {
  75380. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  75381. span = t5 == null ? null : t5.span;
  75382. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  75383. if (span != null)
  75384. t5.$indexSet(0, span, "original @use");
  75385. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  75386. }
  75387. t4.$indexSet(0, t3, module);
  75388. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  75389. t1._async_environment$_allModules.push(module);
  75390. }
  75391. },
  75392. $signature: 117
  75393. };
  75394. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  75395. call$0() {
  75396. return this.node.expression.accept$1(this.$this);
  75397. },
  75398. $signature: 71
  75399. };
  75400. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  75401. call$0() {
  75402. var $async$goto = 0,
  75403. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  75404. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  75405. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75406. if ($async$errorCode === 1)
  75407. return A._asyncRethrow($async$result, $async$completer);
  75408. for (;;)
  75409. switch ($async$goto) {
  75410. case 0:
  75411. // Function start
  75412. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  75413. case 3:
  75414. // for condition
  75415. $async$goto = 5;
  75416. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  75417. case 5:
  75418. // returning from await.
  75419. if (!$async$result.get$isTruthy()) {
  75420. // goto after for
  75421. $async$goto = 4;
  75422. break;
  75423. }
  75424. $async$goto = 6;
  75425. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  75426. case 6:
  75427. // returning from await.
  75428. _0_0 = $async$result;
  75429. if (_0_0 != null) {
  75430. $async$returnValue = _0_0;
  75431. // goto return
  75432. $async$goto = 1;
  75433. break;
  75434. }
  75435. // goto for condition
  75436. $async$goto = 3;
  75437. break;
  75438. case 4:
  75439. // after for
  75440. $async$returnValue = null;
  75441. // goto return
  75442. $async$goto = 1;
  75443. break;
  75444. case 1:
  75445. // return
  75446. return A._asyncReturn($async$returnValue, $async$completer);
  75447. }
  75448. });
  75449. return A._asyncStartSync($async$call$0, $async$completer);
  75450. },
  75451. $signature: 68
  75452. };
  75453. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  75454. call$1(child) {
  75455. return child.accept$1(this.$this);
  75456. },
  75457. $signature: 83
  75458. };
  75459. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  75460. call$0() {
  75461. var $async$goto = 0,
  75462. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75463. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  75464. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75465. if ($async$errorCode === 1)
  75466. return A._asyncRethrow($async$result, $async$completer);
  75467. for (;;)
  75468. switch ($async$goto) {
  75469. case 0:
  75470. // Function start
  75471. t1 = $async$self.node;
  75472. t2 = $async$self.$this;
  75473. $async$goto = 3;
  75474. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  75475. case 3:
  75476. // returning from await.
  75477. left = $async$result;
  75478. case 4:
  75479. // switch
  75480. switch (t1.operator.index) {
  75481. case 0:
  75482. // goto case
  75483. $async$goto = 6;
  75484. break;
  75485. case 1:
  75486. // goto case
  75487. $async$goto = 7;
  75488. break;
  75489. case 2:
  75490. // goto case
  75491. $async$goto = 8;
  75492. break;
  75493. case 3:
  75494. // goto case
  75495. $async$goto = 9;
  75496. break;
  75497. case 4:
  75498. // goto case
  75499. $async$goto = 10;
  75500. break;
  75501. case 5:
  75502. // goto case
  75503. $async$goto = 11;
  75504. break;
  75505. case 6:
  75506. // goto case
  75507. $async$goto = 12;
  75508. break;
  75509. case 7:
  75510. // goto case
  75511. $async$goto = 13;
  75512. break;
  75513. case 8:
  75514. // goto case
  75515. $async$goto = 14;
  75516. break;
  75517. case 9:
  75518. // goto case
  75519. $async$goto = 15;
  75520. break;
  75521. case 10:
  75522. // goto case
  75523. $async$goto = 16;
  75524. break;
  75525. case 11:
  75526. // goto case
  75527. $async$goto = 17;
  75528. break;
  75529. case 12:
  75530. // goto case
  75531. $async$goto = 18;
  75532. break;
  75533. case 13:
  75534. // goto case
  75535. $async$goto = 19;
  75536. break;
  75537. default:
  75538. // goto default
  75539. $async$goto = 20;
  75540. break;
  75541. }
  75542. break;
  75543. case 6:
  75544. // case
  75545. t1 = t1.right.accept$1(t2);
  75546. $async$goto = 21;
  75547. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75548. case 21:
  75549. // returning from await.
  75550. t1 = $async$result;
  75551. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75552. // goto after switch
  75553. $async$goto = 5;
  75554. break;
  75555. case 7:
  75556. // case
  75557. $async$goto = left.get$isTruthy() ? 22 : 24;
  75558. break;
  75559. case 22:
  75560. // then
  75561. t1 = left;
  75562. // goto join
  75563. $async$goto = 23;
  75564. break;
  75565. case 24:
  75566. // else
  75567. t1 = t1.right.accept$1(t2);
  75568. $async$goto = 25;
  75569. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75570. case 25:
  75571. // returning from await.
  75572. t1 = $async$result;
  75573. case 23:
  75574. // join
  75575. // goto after switch
  75576. $async$goto = 5;
  75577. break;
  75578. case 8:
  75579. // case
  75580. $async$goto = left.get$isTruthy() ? 26 : 28;
  75581. break;
  75582. case 26:
  75583. // then
  75584. t1 = t1.right.accept$1(t2);
  75585. $async$goto = 29;
  75586. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75587. case 29:
  75588. // returning from await.
  75589. t1 = $async$result;
  75590. // goto join
  75591. $async$goto = 27;
  75592. break;
  75593. case 28:
  75594. // else
  75595. t1 = left;
  75596. case 27:
  75597. // join
  75598. // goto after switch
  75599. $async$goto = 5;
  75600. break;
  75601. case 9:
  75602. // case
  75603. $async$temp1 = left;
  75604. $async$goto = 30;
  75605. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75606. case 30:
  75607. // returning from await.
  75608. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75609. // goto after switch
  75610. $async$goto = 5;
  75611. break;
  75612. case 10:
  75613. // case
  75614. $async$temp1 = left;
  75615. $async$goto = 31;
  75616. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75617. case 31:
  75618. // returning from await.
  75619. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75620. // goto after switch
  75621. $async$goto = 5;
  75622. break;
  75623. case 11:
  75624. // case
  75625. t1 = t1.right.accept$1(t2);
  75626. $async$temp1 = left;
  75627. $async$goto = 32;
  75628. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75629. case 32:
  75630. // returning from await.
  75631. t1 = $async$temp1.greaterThan$1($async$result);
  75632. // goto after switch
  75633. $async$goto = 5;
  75634. break;
  75635. case 12:
  75636. // case
  75637. t1 = t1.right.accept$1(t2);
  75638. $async$temp1 = left;
  75639. $async$goto = 33;
  75640. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75641. case 33:
  75642. // returning from await.
  75643. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75644. // goto after switch
  75645. $async$goto = 5;
  75646. break;
  75647. case 13:
  75648. // case
  75649. t1 = t1.right.accept$1(t2);
  75650. $async$temp1 = left;
  75651. $async$goto = 34;
  75652. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75653. case 34:
  75654. // returning from await.
  75655. t1 = $async$temp1.lessThan$1($async$result);
  75656. // goto after switch
  75657. $async$goto = 5;
  75658. break;
  75659. case 14:
  75660. // case
  75661. t1 = t1.right.accept$1(t2);
  75662. $async$temp1 = left;
  75663. $async$goto = 35;
  75664. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75665. case 35:
  75666. // returning from await.
  75667. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75668. // goto after switch
  75669. $async$goto = 5;
  75670. break;
  75671. case 15:
  75672. // case
  75673. t1 = t1.right.accept$1(t2);
  75674. $async$temp1 = left;
  75675. $async$goto = 36;
  75676. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75677. case 36:
  75678. // returning from await.
  75679. t1 = $async$temp1.plus$1($async$result);
  75680. // goto after switch
  75681. $async$goto = 5;
  75682. break;
  75683. case 16:
  75684. // case
  75685. t1 = t1.right.accept$1(t2);
  75686. $async$temp1 = left;
  75687. $async$goto = 37;
  75688. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75689. case 37:
  75690. // returning from await.
  75691. t1 = $async$temp1.minus$1($async$result);
  75692. // goto after switch
  75693. $async$goto = 5;
  75694. break;
  75695. case 17:
  75696. // case
  75697. t1 = t1.right.accept$1(t2);
  75698. $async$temp1 = left;
  75699. $async$goto = 38;
  75700. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75701. case 38:
  75702. // returning from await.
  75703. t1 = $async$temp1.times$1($async$result);
  75704. // goto after switch
  75705. $async$goto = 5;
  75706. break;
  75707. case 18:
  75708. // case
  75709. t3 = t1.right.accept$1(t2);
  75710. $async$temp1 = t2;
  75711. $async$temp2 = left;
  75712. $async$goto = 39;
  75713. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75714. case 39:
  75715. // returning from await.
  75716. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75717. // goto after switch
  75718. $async$goto = 5;
  75719. break;
  75720. case 19:
  75721. // case
  75722. t1 = t1.right.accept$1(t2);
  75723. $async$temp1 = left;
  75724. $async$goto = 40;
  75725. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75726. case 40:
  75727. // returning from await.
  75728. t1 = $async$temp1.modulo$1($async$result);
  75729. // goto after switch
  75730. $async$goto = 5;
  75731. break;
  75732. case 20:
  75733. // default
  75734. t1 = null;
  75735. case 5:
  75736. // after switch
  75737. $async$returnValue = t1;
  75738. // goto return
  75739. $async$goto = 1;
  75740. break;
  75741. case 1:
  75742. // return
  75743. return A._asyncReturn($async$returnValue, $async$completer);
  75744. }
  75745. });
  75746. return A._asyncStartSync($async$call$0, $async$completer);
  75747. },
  75748. $signature: 71
  75749. };
  75750. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75751. call$1(expression) {
  75752. var t1;
  75753. $label0$0: {
  75754. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_ehp === expression.operator) {
  75755. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75756. break $label0$0;
  75757. }
  75758. if (expression instanceof A.ParenthesizedExpression) {
  75759. t1 = expression.expression.toString$0(0);
  75760. break $label0$0;
  75761. }
  75762. t1 = expression.toString$0(0);
  75763. break $label0$0;
  75764. }
  75765. return t1;
  75766. },
  75767. $signature: 133
  75768. };
  75769. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75770. call$0() {
  75771. var t1 = this.node;
  75772. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75773. },
  75774. $signature: 42
  75775. };
  75776. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75777. call$0() {
  75778. var t1, _this = this;
  75779. switch (_this.node.operator.index) {
  75780. case 0:
  75781. t1 = _this.operand.unaryPlus$0();
  75782. break;
  75783. case 1:
  75784. t1 = _this.operand.unaryMinus$0();
  75785. break;
  75786. case 2:
  75787. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75788. break;
  75789. case 3:
  75790. t1 = _this.operand.unaryNot$0();
  75791. break;
  75792. default:
  75793. t1 = null;
  75794. }
  75795. return t1;
  75796. },
  75797. $signature: 36
  75798. };
  75799. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75800. call$1(expression) {
  75801. return expression.accept$1(this.$this);
  75802. },
  75803. $signature: 331
  75804. };
  75805. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75806. call$0() {
  75807. var t1 = this.node;
  75808. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75809. },
  75810. $signature: 105
  75811. };
  75812. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75813. call$1(argument) {
  75814. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75815. },
  75816. $signature: 122
  75817. };
  75818. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75819. call$0() {
  75820. var t1 = this.node;
  75821. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75822. },
  75823. $signature: 71
  75824. };
  75825. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75826. call$2(message, deprecation) {
  75827. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75828. },
  75829. call$1(message) {
  75830. return this.call$2(message, null);
  75831. },
  75832. $signature: 94
  75833. };
  75834. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75835. call$1(maxArgs) {
  75836. var t1 = this.node,
  75837. t2 = t1.$arguments.positional.length;
  75838. if (t2 === 0)
  75839. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75840. else if (maxArgs != null && t2 > maxArgs)
  75841. throw A.wrapException(this.$this._async_evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  75842. },
  75843. call$0() {
  75844. return this.call$1(null);
  75845. },
  75846. $signature: 99
  75847. };
  75848. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75849. call$0() {
  75850. var $async$goto = 0,
  75851. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75852. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  75853. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75854. if ($async$errorCode === 1)
  75855. return A._asyncRethrow($async$result, $async$completer);
  75856. for (;;)
  75857. switch ($async$goto) {
  75858. case 0:
  75859. // Function start
  75860. t1 = $async$self.$this;
  75861. t2 = $async$self._box_0;
  75862. t3 = $async$self.node;
  75863. t4 = $async$self.inLegacySassFunction;
  75864. $async$temp1 = A;
  75865. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75866. $async$goto = 3;
  75867. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75868. case 3:
  75869. // returning from await.
  75870. $async$temp3 = $async$result;
  75871. $async$goto = 4;
  75872. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75873. case 4:
  75874. // returning from await.
  75875. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75876. // goto return
  75877. $async$goto = 1;
  75878. break;
  75879. case 1:
  75880. // return
  75881. return A._asyncReturn($async$returnValue, $async$completer);
  75882. }
  75883. });
  75884. return A._asyncStartSync($async$call$0, $async$completer);
  75885. },
  75886. $signature: 182
  75887. };
  75888. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75889. call$2(message, deprecation) {
  75890. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75891. },
  75892. call$1(message) {
  75893. return this.call$2(message, null);
  75894. },
  75895. $signature: 94
  75896. };
  75897. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75898. call$0() {
  75899. var t1 = this.node;
  75900. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75901. },
  75902. $signature: 71
  75903. };
  75904. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75905. call$0() {
  75906. var _this = this,
  75907. t1 = _this.$this,
  75908. t2 = _this.callable,
  75909. t3 = _this.V;
  75910. return t1._async_evaluate$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure0(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
  75911. },
  75912. $signature() {
  75913. return this.V._eval$1("Future<0>()");
  75914. }
  75915. };
  75916. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75917. call$0() {
  75918. var _this = this,
  75919. t1 = _this.$this,
  75920. t2 = _this.V;
  75921. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75922. },
  75923. $signature() {
  75924. return this.V._eval$1("Future<0>()");
  75925. }
  75926. };
  75927. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75928. call$0() {
  75929. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75930. },
  75931. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75932. var $async$goto = 0,
  75933. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75934. $async$returnValue, $async$self = this, parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, t1, t2, t3, t4, $async$temp1;
  75935. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75936. if ($async$errorCode === 1)
  75937. return A._asyncRethrow($async$result, $async$completer);
  75938. for (;;)
  75939. switch ($async$goto) {
  75940. case 0:
  75941. // Function start
  75942. t1 = $async$self.$this;
  75943. t2 = $async$self.evaluated._values;
  75944. t3 = $async$self.callable.declaration.parameters;
  75945. t4 = $async$self.nodeWithSpan;
  75946. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75947. parameters = t3.parameters;
  75948. t5 = parameters.length;
  75949. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75950. for (i = 0; i < minLength; ++i)
  75951. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75952. i = J.get$length$asx(t2[2]);
  75953. case 3:
  75954. // for condition
  75955. if (!(i < t5)) {
  75956. // goto after for
  75957. $async$goto = 5;
  75958. break;
  75959. }
  75960. parameter = parameters[i];
  75961. t6 = parameter.name;
  75962. value = t2[0].remove$1(0, t6);
  75963. $async$goto = value == null ? 6 : 7;
  75964. break;
  75965. case 6:
  75966. // then
  75967. t7 = parameter.defaultValue;
  75968. $async$temp1 = t1;
  75969. $async$goto = 8;
  75970. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75971. case 8:
  75972. // returning from await.
  75973. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75974. case 7:
  75975. // join
  75976. t7 = t1._async_evaluate$_environment;
  75977. t8 = t2[1].$index(0, t6);
  75978. if (t8 == null) {
  75979. t8 = parameter.defaultValue;
  75980. t8.toString;
  75981. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75982. }
  75983. t7.setLocalVariable$3(t6, value, t8);
  75984. case 4:
  75985. // for update
  75986. ++i;
  75987. // goto for condition
  75988. $async$goto = 3;
  75989. break;
  75990. case 5:
  75991. // after for
  75992. restParameter = t3.restParameter;
  75993. if (restParameter != null) {
  75994. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75995. t5 = t2[0];
  75996. t6 = t2[4];
  75997. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_3_undecided ? B.ListSeparator_z0K : t6);
  75998. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75999. } else
  76000. argumentList = null;
  76001. $async$goto = 9;
  76002. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  76003. case 9:
  76004. // returning from await.
  76005. result = $async$result;
  76006. if (argumentList == null) {
  76007. $async$returnValue = result;
  76008. // goto return
  76009. $async$goto = 1;
  76010. break;
  76011. }
  76012. t5 = t2[0];
  76013. if (t5.get$isEmpty(t5)) {
  76014. $async$returnValue = result;
  76015. // goto return
  76016. $async$goto = 1;
  76017. break;
  76018. }
  76019. if (argumentList._wereKeywordsAccessed) {
  76020. $async$returnValue = result;
  76021. // goto return
  76022. $async$goto = 1;
  76023. break;
  76024. }
  76025. t5 = t2[0];
  76026. t5 = t5.get$keys(t5);
  76027. parameterWord = A.pluralize("parameter", t5.get$length(t5), null);
  76028. t2 = t2[0];
  76029. t2 = t2.get$keys(t2);
  76030. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(t2.map$1$1(t2, new A._EvaluateVisitor__runUserDefinedCallable____closure0(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t4.get$span(t4)), null));
  76031. case 1:
  76032. // return
  76033. return A._asyncReturn($async$returnValue, $async$completer);
  76034. }
  76035. });
  76036. return A._asyncStartSync($async$call$0, $async$completer);
  76037. },
  76038. $signature() {
  76039. return this.V._eval$1("Future<0>()");
  76040. }
  76041. };
  76042. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  76043. call$1($name) {
  76044. return "$" + $name;
  76045. },
  76046. $signature: 6
  76047. };
  76048. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  76049. call$0() {
  76050. var $async$goto = 0,
  76051. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  76052. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  76053. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76054. if ($async$errorCode === 1)
  76055. return A._asyncRethrow($async$result, $async$completer);
  76056. for (;;)
  76057. switch ($async$goto) {
  76058. case 0:
  76059. // Function start
  76060. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  76061. case 3:
  76062. // for condition
  76063. if (!(_i < t3)) {
  76064. // goto after for
  76065. $async$goto = 5;
  76066. break;
  76067. }
  76068. $async$goto = 6;
  76069. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  76070. case 6:
  76071. // returning from await.
  76072. $returnValue = $async$result;
  76073. if ($returnValue instanceof A.Value) {
  76074. $async$returnValue = $returnValue;
  76075. // goto return
  76076. $async$goto = 1;
  76077. break;
  76078. }
  76079. case 4:
  76080. // for update
  76081. ++_i;
  76082. // goto for condition
  76083. $async$goto = 3;
  76084. break;
  76085. case 5:
  76086. // after for
  76087. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  76088. case 1:
  76089. // return
  76090. return A._asyncReturn($async$returnValue, $async$completer);
  76091. }
  76092. });
  76093. return A._asyncStartSync($async$call$0, $async$completer);
  76094. },
  76095. $signature: 71
  76096. };
  76097. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  76098. call$0() {
  76099. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  76100. },
  76101. $signature: 0
  76102. };
  76103. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  76104. call$0() {
  76105. return this._box_0.callback.call$1(this.evaluated._values[2]);
  76106. },
  76107. $signature: 321
  76108. };
  76109. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  76110. call$1($name) {
  76111. return "$" + $name;
  76112. },
  76113. $signature: 6
  76114. };
  76115. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  76116. call$1(value) {
  76117. return value;
  76118. },
  76119. $signature: 41
  76120. };
  76121. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  76122. call$1(value) {
  76123. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  76124. },
  76125. $signature: 41
  76126. };
  76127. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  76128. call$2(key, value) {
  76129. var _this = this,
  76130. t1 = _this.restNodeForSpan;
  76131. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  76132. _this.namedNodes.$indexSet(0, key, t1);
  76133. },
  76134. $signature: 100
  76135. };
  76136. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  76137. call$1(value) {
  76138. return value;
  76139. },
  76140. $signature: 41
  76141. };
  76142. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  76143. call$1(value) {
  76144. var t1 = this.restArgs;
  76145. return new A.ValueExpression(value, t1.get$span(t1));
  76146. },
  76147. $signature: 60
  76148. };
  76149. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  76150. call$1(value) {
  76151. var t1 = this.restArgs;
  76152. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  76153. },
  76154. $signature: 60
  76155. };
  76156. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  76157. call$2(key, value) {
  76158. var _this = this,
  76159. t1 = _this.restArgs;
  76160. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  76161. },
  76162. $signature: 100
  76163. };
  76164. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  76165. call$1(value) {
  76166. var t1 = this.keywordRestArgs;
  76167. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  76168. },
  76169. $signature: 60
  76170. };
  76171. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  76172. call$2(key, value) {
  76173. var t2, _this = this,
  76174. t1 = _this.$this;
  76175. if (key instanceof A.SassString)
  76176. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  76177. else {
  76178. t2 = _this.nodeWithSpan;
  76179. throw A.wrapException(t1._async_evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  76180. }
  76181. },
  76182. $signature: 107
  76183. };
  76184. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  76185. call$0() {
  76186. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  76187. },
  76188. $signature: 0
  76189. };
  76190. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  76191. call$0() {
  76192. var $async$goto = 0,
  76193. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76194. $async$self = this, t1, t2, t3, t4;
  76195. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76196. if ($async$errorCode === 1)
  76197. return A._asyncRethrow($async$result, $async$completer);
  76198. for (;;)
  76199. switch ($async$goto) {
  76200. case 0:
  76201. // Function start
  76202. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  76203. case 2:
  76204. // for condition
  76205. if (!t1.moveNext$0()) {
  76206. // goto after for
  76207. $async$goto = 3;
  76208. break;
  76209. }
  76210. t4 = t1.__internal$_current;
  76211. $async$goto = 4;
  76212. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76213. case 4:
  76214. // returning from await.
  76215. // goto for condition
  76216. $async$goto = 2;
  76217. break;
  76218. case 3:
  76219. // after for
  76220. // implicit return
  76221. return A._asyncReturn(null, $async$completer);
  76222. }
  76223. });
  76224. return A._asyncStartSync($async$call$0, $async$completer);
  76225. },
  76226. $signature: 2
  76227. };
  76228. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  76229. call$1(node) {
  76230. return node instanceof A.ModifiableCssStyleRule;
  76231. },
  76232. $signature: 8
  76233. };
  76234. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  76235. call$0() {
  76236. var $async$goto = 0,
  76237. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76238. $async$self = this, t1, t2, t3, t4;
  76239. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76240. if ($async$errorCode === 1)
  76241. return A._asyncRethrow($async$result, $async$completer);
  76242. for (;;)
  76243. switch ($async$goto) {
  76244. case 0:
  76245. // Function start
  76246. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  76247. case 2:
  76248. // for condition
  76249. if (!t1.moveNext$0()) {
  76250. // goto after for
  76251. $async$goto = 3;
  76252. break;
  76253. }
  76254. t4 = t1.__internal$_current;
  76255. $async$goto = 4;
  76256. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76257. case 4:
  76258. // returning from await.
  76259. // goto for condition
  76260. $async$goto = 2;
  76261. break;
  76262. case 3:
  76263. // after for
  76264. // implicit return
  76265. return A._asyncReturn(null, $async$completer);
  76266. }
  76267. });
  76268. return A._asyncStartSync($async$call$0, $async$completer);
  76269. },
  76270. $signature: 2
  76271. };
  76272. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  76273. call$1(node) {
  76274. return node instanceof A.ModifiableCssStyleRule;
  76275. },
  76276. $signature: 8
  76277. };
  76278. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  76279. call$1(mediaQueries) {
  76280. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  76281. },
  76282. $signature: 86
  76283. };
  76284. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  76285. call$0() {
  76286. var $async$goto = 0,
  76287. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76288. $async$self = this, t1, t2;
  76289. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76290. if ($async$errorCode === 1)
  76291. return A._asyncRethrow($async$result, $async$completer);
  76292. for (;;)
  76293. switch ($async$goto) {
  76294. case 0:
  76295. // Function start
  76296. t1 = $async$self.$this;
  76297. t2 = $async$self.mergedQueries;
  76298. if (t2 == null)
  76299. t2 = $async$self.node.queries;
  76300. $async$goto = 2;
  76301. return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  76302. case 2:
  76303. // returning from await.
  76304. // implicit return
  76305. return A._asyncReturn(null, $async$completer);
  76306. }
  76307. });
  76308. return A._asyncStartSync($async$call$0, $async$completer);
  76309. },
  76310. $signature: 2
  76311. };
  76312. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  76313. call$0() {
  76314. var $async$goto = 0,
  76315. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76316. $async$self = this, t2, t3, t4, t1, _0_0;
  76317. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76318. if ($async$errorCode === 1)
  76319. return A._asyncRethrow($async$result, $async$completer);
  76320. for (;;)
  76321. switch ($async$goto) {
  76322. case 0:
  76323. // Function start
  76324. t1 = $async$self.$this;
  76325. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  76326. $async$goto = _0_0 != null ? 2 : 4;
  76327. break;
  76328. case 2:
  76329. // then
  76330. $async$goto = 5;
  76331. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  76332. case 5:
  76333. // returning from await.
  76334. // goto join
  76335. $async$goto = 3;
  76336. break;
  76337. case 4:
  76338. // else
  76339. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  76340. case 6:
  76341. // for condition
  76342. if (!t2.moveNext$0()) {
  76343. // goto after for
  76344. $async$goto = 7;
  76345. break;
  76346. }
  76347. t4 = t2.__internal$_current;
  76348. $async$goto = 8;
  76349. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76350. case 8:
  76351. // returning from await.
  76352. // goto for condition
  76353. $async$goto = 6;
  76354. break;
  76355. case 7:
  76356. // after for
  76357. case 3:
  76358. // join
  76359. // implicit return
  76360. return A._asyncReturn(null, $async$completer);
  76361. }
  76362. });
  76363. return A._asyncStartSync($async$call$0, $async$completer);
  76364. },
  76365. $signature: 2
  76366. };
  76367. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  76368. call$0() {
  76369. var $async$goto = 0,
  76370. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76371. $async$self = this, t1, t2, t3, t4;
  76372. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76373. if ($async$errorCode === 1)
  76374. return A._asyncRethrow($async$result, $async$completer);
  76375. for (;;)
  76376. switch ($async$goto) {
  76377. case 0:
  76378. // Function start
  76379. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  76380. case 2:
  76381. // for condition
  76382. if (!t1.moveNext$0()) {
  76383. // goto after for
  76384. $async$goto = 3;
  76385. break;
  76386. }
  76387. t4 = t1.__internal$_current;
  76388. $async$goto = 4;
  76389. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76390. case 4:
  76391. // returning from await.
  76392. // goto for condition
  76393. $async$goto = 2;
  76394. break;
  76395. case 3:
  76396. // after for
  76397. // implicit return
  76398. return A._asyncReturn(null, $async$completer);
  76399. }
  76400. });
  76401. return A._asyncStartSync($async$call$0, $async$completer);
  76402. },
  76403. $signature: 2
  76404. };
  76405. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  76406. call$1(node) {
  76407. var t1;
  76408. if (!(node instanceof A.ModifiableCssStyleRule)) {
  76409. t1 = this.mergedSources;
  76410. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  76411. } else
  76412. t1 = true;
  76413. return t1;
  76414. },
  76415. $signature: 8
  76416. };
  76417. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  76418. call$0() {
  76419. var $async$goto = 0,
  76420. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76421. $async$self = this, t1;
  76422. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76423. if ($async$errorCode === 1)
  76424. return A._asyncRethrow($async$result, $async$completer);
  76425. for (;;)
  76426. switch ($async$goto) {
  76427. case 0:
  76428. // Function start
  76429. t1 = $async$self.$this;
  76430. $async$goto = 2;
  76431. return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  76432. case 2:
  76433. // returning from await.
  76434. // implicit return
  76435. return A._asyncReturn(null, $async$completer);
  76436. }
  76437. });
  76438. return A._asyncStartSync($async$call$0, $async$completer);
  76439. },
  76440. $signature: 2
  76441. };
  76442. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  76443. call$0() {
  76444. var $async$goto = 0,
  76445. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76446. $async$self = this, t1, t2, t3, t4;
  76447. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76448. if ($async$errorCode === 1)
  76449. return A._asyncRethrow($async$result, $async$completer);
  76450. for (;;)
  76451. switch ($async$goto) {
  76452. case 0:
  76453. // Function start
  76454. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  76455. case 2:
  76456. // for condition
  76457. if (!t1.moveNext$0()) {
  76458. // goto after for
  76459. $async$goto = 3;
  76460. break;
  76461. }
  76462. t4 = t1.__internal$_current;
  76463. $async$goto = 4;
  76464. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76465. case 4:
  76466. // returning from await.
  76467. // goto for condition
  76468. $async$goto = 2;
  76469. break;
  76470. case 3:
  76471. // after for
  76472. // implicit return
  76473. return A._asyncReturn(null, $async$completer);
  76474. }
  76475. });
  76476. return A._asyncStartSync($async$call$0, $async$completer);
  76477. },
  76478. $signature: 2
  76479. };
  76480. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  76481. call$1(node) {
  76482. return node instanceof A.ModifiableCssStyleRule;
  76483. },
  76484. $signature: 8
  76485. };
  76486. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  76487. call$0() {
  76488. var $async$goto = 0,
  76489. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76490. $async$self = this, t2, t3, t4, t1, _0_0;
  76491. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76492. if ($async$errorCode === 1)
  76493. return A._asyncRethrow($async$result, $async$completer);
  76494. for (;;)
  76495. switch ($async$goto) {
  76496. case 0:
  76497. // Function start
  76498. t1 = $async$self.$this;
  76499. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  76500. $async$goto = _0_0 != null ? 2 : 4;
  76501. break;
  76502. case 2:
  76503. // then
  76504. $async$goto = 5;
  76505. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  76506. case 5:
  76507. // returning from await.
  76508. // goto join
  76509. $async$goto = 3;
  76510. break;
  76511. case 4:
  76512. // else
  76513. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  76514. case 6:
  76515. // for condition
  76516. if (!t2.moveNext$0()) {
  76517. // goto after for
  76518. $async$goto = 7;
  76519. break;
  76520. }
  76521. t4 = t2.__internal$_current;
  76522. $async$goto = 8;
  76523. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76524. case 8:
  76525. // returning from await.
  76526. // goto for condition
  76527. $async$goto = 6;
  76528. break;
  76529. case 7:
  76530. // after for
  76531. case 3:
  76532. // join
  76533. // implicit return
  76534. return A._asyncReturn(null, $async$completer);
  76535. }
  76536. });
  76537. return A._asyncStartSync($async$call$0, $async$completer);
  76538. },
  76539. $signature: 2
  76540. };
  76541. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  76542. call$0() {
  76543. var $async$goto = 0,
  76544. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76545. $async$self = this, t1, t2, t3, t4;
  76546. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76547. if ($async$errorCode === 1)
  76548. return A._asyncRethrow($async$result, $async$completer);
  76549. for (;;)
  76550. switch ($async$goto) {
  76551. case 0:
  76552. // Function start
  76553. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  76554. case 2:
  76555. // for condition
  76556. if (!t1.moveNext$0()) {
  76557. // goto after for
  76558. $async$goto = 3;
  76559. break;
  76560. }
  76561. t4 = t1.__internal$_current;
  76562. $async$goto = 4;
  76563. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76564. case 4:
  76565. // returning from await.
  76566. // goto for condition
  76567. $async$goto = 2;
  76568. break;
  76569. case 3:
  76570. // after for
  76571. // implicit return
  76572. return A._asyncReturn(null, $async$completer);
  76573. }
  76574. });
  76575. return A._asyncStartSync($async$call$0, $async$completer);
  76576. },
  76577. $signature: 2
  76578. };
  76579. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  76580. call$1(node) {
  76581. return node instanceof A.ModifiableCssStyleRule;
  76582. },
  76583. $signature: 8
  76584. };
  76585. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  76586. call$1(targetOffsets) {
  76587. return A.InterpolationMap$(this.interpolation, targetOffsets);
  76588. },
  76589. $signature: 185
  76590. };
  76591. A._EvaluateVisitor__serialize_closure0.prototype = {
  76592. call$0() {
  76593. return A.serializeValue(this.value, false, this.quote);
  76594. },
  76595. $signature: 29
  76596. };
  76597. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  76598. call$0() {
  76599. var t1 = this.expression;
  76600. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76601. },
  76602. $signature: 186
  76603. };
  76604. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  76605. call$1(number) {
  76606. var before, after, t1,
  76607. _1_0 = number.asSlash;
  76608. $label0$0: {
  76609. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  76610. before = _1_0._0;
  76611. after = _1_0._1;
  76612. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  76613. break $label0$0;
  76614. }
  76615. t1 = A.serializeValue(number, true, true);
  76616. break $label0$0;
  76617. }
  76618. return t1;
  76619. },
  76620. $signature: 187
  76621. };
  76622. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  76623. call$1(url) {
  76624. var t1 = this.$this._async_evaluate$_importCache;
  76625. t1 = t1 == null ? null : t1.humanize$1(url);
  76626. return t1 == null ? url : t1;
  76627. },
  76628. $signature: 47
  76629. };
  76630. A._ImportedCssVisitor0.prototype = {
  76631. visitCssAtRule$1(node) {
  76632. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  76633. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  76634. },
  76635. visitCssComment$1(node) {
  76636. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76637. },
  76638. visitCssDeclaration$1(node) {
  76639. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76640. },
  76641. visitCssImport$1(node) {
  76642. var t2,
  76643. _s13_ = "_endOfImports",
  76644. t1 = this._async_evaluate$_visitor;
  76645. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76646. t1._async_evaluate$_addChild$1(node);
  76647. else if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root").children._collection$_source)) {
  76648. t1._async_evaluate$_addChild$1(node);
  76649. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76650. } else {
  76651. t2 = t1._async_evaluate$_outOfOrderImports;
  76652. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76653. }
  76654. },
  76655. visitCssKeyframeBlock$1(node) {
  76656. },
  76657. visitCssMediaRule$1(node) {
  76658. var t1 = this._async_evaluate$_visitor,
  76659. mediaQueries = t1._async_evaluate$_mediaQueries;
  76660. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76661. },
  76662. visitCssStyleRule$1(node) {
  76663. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76664. },
  76665. visitCssStylesheet$1(node) {
  76666. var t1, t2, t3;
  76667. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  76668. t3 = t1.__internal$_current;
  76669. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76670. }
  76671. },
  76672. visitCssSupportsRule$1(node) {
  76673. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76674. }
  76675. };
  76676. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76677. call$1(node) {
  76678. return node instanceof A.ModifiableCssStyleRule;
  76679. },
  76680. $signature: 8
  76681. };
  76682. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76683. call$1(node) {
  76684. var t1;
  76685. if (!(node instanceof A.ModifiableCssStyleRule))
  76686. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76687. else
  76688. t1 = true;
  76689. return t1;
  76690. },
  76691. $signature: 8
  76692. };
  76693. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76694. call$1(node) {
  76695. return node instanceof A.ModifiableCssStyleRule;
  76696. },
  76697. $signature: 8
  76698. };
  76699. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76700. call$1(node) {
  76701. return node instanceof A.ModifiableCssStyleRule;
  76702. },
  76703. $signature: 8
  76704. };
  76705. A._EvaluationContext0.prototype = {
  76706. get$currentCallableSpan() {
  76707. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76708. if (_0_0 != null)
  76709. return _0_0.get$span(_0_0);
  76710. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76711. },
  76712. warn$2(_, message, deprecation) {
  76713. var t1 = this._async_evaluate$_visitor,
  76714. t2 = t1._async_evaluate$_importSpan;
  76715. if (t2 == null) {
  76716. t2 = t1._async_evaluate$_callableNode;
  76717. t2 = t2 == null ? null : t2.get$span(t2);
  76718. }
  76719. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76720. },
  76721. $isEvaluationContext: 1
  76722. };
  76723. A._CloneCssVisitor.prototype = {
  76724. visitCssAtRule$1(node) {
  76725. var t1 = node.isChildless,
  76726. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76727. return t1 ? rule : this._visitChildren$2(rule, node);
  76728. },
  76729. visitCssComment$1(node) {
  76730. return new A.ModifiableCssComment(node.text, node.span);
  76731. },
  76732. visitCssDeclaration$1(node) {
  76733. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap);
  76734. },
  76735. visitCssImport$1(node) {
  76736. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76737. },
  76738. visitCssKeyframeBlock$1(node) {
  76739. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76740. },
  76741. visitCssMediaRule$1(node) {
  76742. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76743. },
  76744. visitCssStyleRule$1(node) {
  76745. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76746. if (_0_0 != null)
  76747. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76748. else
  76749. throw A.wrapException(A.StateError$(string$.The_Ex));
  76750. },
  76751. visitCssStylesheet$1(node) {
  76752. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76753. },
  76754. visitCssSupportsRule$1(node) {
  76755. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76756. },
  76757. _visitChildren$1$2(newParent, oldParent) {
  76758. var t1, t2, newChild;
  76759. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76760. t2 = t1.get$current(t1);
  76761. newChild = t2.accept$1(this);
  76762. newChild.isGroupEnd = t2.get$isGroupEnd();
  76763. newParent.addChild$1(newChild);
  76764. }
  76765. return newParent;
  76766. },
  76767. _visitChildren$2(newParent, oldParent) {
  76768. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76769. }
  76770. };
  76771. A.Evaluator.prototype = {};
  76772. A._EvaluateVisitor.prototype = {
  76773. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76774. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76775. _s20_ = "$name, $module: null",
  76776. _s9_ = "sass:meta",
  76777. _s7_ = "$module",
  76778. t1 = type$.JSArray_BuiltInCallable,
  76779. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure0(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure1(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure2(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure3(_this), _s9_), A.BuiltInCallable$function("module-variables", _s7_, new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure7(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure8(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure9(_this), _s9_)], t1),
  76780. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure10(_this), false, _s9_), A.BuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure11(_this), true, _s9_)], t1);
  76781. t1 = type$.BuiltInCallable;
  76782. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  76783. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76784. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76785. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_Callable);
  76786. t1.push(metaModule);
  76787. t2 = t1.length;
  76788. t3 = _this._builtInModules;
  76789. _i = 0;
  76790. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76791. module = t1[_i];
  76792. t3.$indexSet(0, module.url, module);
  76793. }
  76794. t1 = type$.JSArray_Callable;
  76795. t2 = A._setArrayType([], t1);
  76796. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76797. t1 = A._setArrayType([], t1);
  76798. for (_i = 0; _i < 11; ++_i)
  76799. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76800. B.JSArray_methods.addAll$1(t2, t1);
  76801. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76802. $function = t2[_i];
  76803. t4 = $function.get$name($function);
  76804. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76805. }
  76806. },
  76807. run$2(_, importer, node) {
  76808. var error, stackTrace, t1, exception;
  76809. try {
  76810. t1 = type$.nullable_Object;
  76811. t1 = A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  76812. return t1;
  76813. } catch (exception) {
  76814. t1 = A.unwrapException(exception);
  76815. if (t1 instanceof A.SassException) {
  76816. error = t1;
  76817. stackTrace = A.getTraceFromException(exception);
  76818. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76819. } else
  76820. throw exception;
  76821. }
  76822. },
  76823. runExpression$2(importer, expression) {
  76824. var t1 = type$.nullable_Object;
  76825. return A.runZoned(new A._EvaluateVisitor_runExpression_closure(this, importer, expression), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, expression)], t1, t1), type$.Value);
  76826. },
  76827. runStatement$2(importer, statement) {
  76828. var t1 = type$.nullable_Object;
  76829. return A.runZoned(new A._EvaluateVisitor_runStatement_closure(this, importer, statement), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, statement)], t1, t1), type$.void);
  76830. },
  76831. _assertInModule$1$2(value, $name) {
  76832. if (value != null)
  76833. return value;
  76834. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76835. },
  76836. _assertInModule$2(value, $name) {
  76837. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76838. },
  76839. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76840. var t1, _this = this,
  76841. oldImporter = _this._importer;
  76842. _this._importer = importer;
  76843. _this.__stylesheet = A.Stylesheet$(B.List_empty14, nodeWithSpan.get$span(nodeWithSpan));
  76844. try {
  76845. t1 = callback.call$0();
  76846. return t1;
  76847. } finally {
  76848. _this._importer = oldImporter;
  76849. _this.__stylesheet = null;
  76850. }
  76851. },
  76852. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76853. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76854. },
  76855. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76856. var t2, _this = this,
  76857. _0_0 = _this._builtInModules.$index(0, url),
  76858. t1 = {};
  76859. t1.builtInModule = null;
  76860. if (_0_0 != null) {
  76861. t1.builtInModule = _0_0;
  76862. if (configuration instanceof A.ExplicitConfiguration) {
  76863. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76864. t2 = configuration.nodeWithSpan;
  76865. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76866. }
  76867. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76868. return;
  76869. }
  76870. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76871. },
  76872. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76873. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76874. },
  76875. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76876. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76877. },
  76878. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76879. var currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76880. t1 = stylesheet.span,
  76881. url = t1.get$sourceUrl(t1);
  76882. t1 = configuration == null;
  76883. currentConfiguration = t1 ? _this._configuration : configuration;
  76884. t2 = _this._modules;
  76885. _0_0 = t2.$index(0, url);
  76886. if (_0_0 != null) {
  76887. t2 = _this._moduleConfigurations.$index(0, url);
  76888. t3 = t2.__originalConfiguration;
  76889. t2 = t3 == null ? t2 : t3;
  76890. t3 = currentConfiguration.__originalConfiguration;
  76891. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.MapKeySet_String))) {
  76892. if (namesInErrors) {
  76893. t2 = $.$get$context();
  76894. url.toString;
  76895. message = t2.prettyUri$1(url) + string$.x20was_a;
  76896. } else
  76897. message = string$.This_mw;
  76898. t2 = _this._moduleNodes.$index(0, url);
  76899. existingSpan = t2 == null ? null : t2.get$span(t2);
  76900. if (t1) {
  76901. t1 = currentConfiguration.nodeWithSpan;
  76902. configurationSpan = t1.get$span(t1);
  76903. } else
  76904. configurationSpan = null;
  76905. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76906. if (existingSpan != null)
  76907. t1.$indexSet(0, existingSpan, "original load");
  76908. if (configurationSpan != null)
  76909. t1.$indexSet(0, configurationSpan, "configuration");
  76910. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76911. }
  76912. return _0_0;
  76913. }
  76914. environment = A.Environment$();
  76915. css = A._Cell$();
  76916. preModuleComments = A._Cell$();
  76917. extensionStore = A.ExtensionStore$();
  76918. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76919. t1 = css._readLocal$0();
  76920. t3 = preModuleComments._readLocal$0();
  76921. module = environment.toModule$3(t1, t3 == null ? B.Map_empty : t3, extensionStore);
  76922. if (url != null) {
  76923. t2.$indexSet(0, url, module);
  76924. _this._moduleConfigurations.$indexSet(0, url, currentConfiguration);
  76925. if (nodeWithSpan != null)
  76926. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76927. }
  76928. return module;
  76929. },
  76930. _execute$2(importer, stylesheet) {
  76931. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76932. },
  76933. _addOutOfOrderImports$0() {
  76934. var t1, t2, _this = this, _s5_ = "_root",
  76935. _s13_ = "_endOfImports",
  76936. _0_0 = _this._outOfOrderImports;
  76937. $label0$0: {
  76938. if (_0_0 == null) {
  76939. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76940. break $label0$0;
  76941. }
  76942. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76943. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode);
  76944. B.JSArray_methods.addAll$1(t1, _0_0);
  76945. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76946. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76947. break $label0$0;
  76948. }
  76949. return t1;
  76950. },
  76951. _combineCss$2$clone(root, clone) {
  76952. var selectors, _0_0, t1, imports, css, sorted, t2;
  76953. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76954. selectors = root.get$extensionStore().get$simpleSelectors();
  76955. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76956. if (_0_0 != null)
  76957. this._throwForUnsatisfiedExtension$1(_0_0);
  76958. return root.get$css(root);
  76959. }
  76960. t1 = type$.JSArray_CssNode;
  76961. imports = A._setArrayType([], t1);
  76962. css = A._setArrayType([], t1);
  76963. t1 = type$.Module_Callable;
  76964. sorted = A.ListQueue$(t1);
  76965. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76966. if (root.get$transitivelyContainsExtensions())
  76967. this._extendModules$1(sorted);
  76968. t1 = B.JSArray_methods.$add(imports, css);
  76969. t2 = root.get$css(root);
  76970. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76971. },
  76972. _combineCss$1(root) {
  76973. return this._combineCss$2$clone(root, false);
  76974. },
  76975. _extendModules$1(sortedModules) {
  76976. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76977. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76978. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76979. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76980. t3 = t1._collection$_current;
  76981. if (t3 == null)
  76982. t3 = t2._as(t3);
  76983. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76984. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76985. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76986. t4 = t3.get$extensionStore().get$addExtensions();
  76987. if ($self != null)
  76988. t4.call$1($self);
  76989. t4 = t3.get$extensionStore();
  76990. if (t4.get$isEmpty(t4))
  76991. continue;
  76992. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76993. upstream = t4[_i];
  76994. _0_0 = upstream.get$url(upstream);
  76995. if (_0_0 != null)
  76996. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76997. }
  76998. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76999. }
  77000. if (unsatisfiedExtensions._collection$_length !== 0)
  77001. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  77002. },
  77003. _throwForUnsatisfiedExtension$1(extension) {
  77004. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  77005. },
  77006. _indexAfterImports$1(statements) {
  77007. var t1, lastImport, i, _0_0;
  77008. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  77009. $label0$0: {
  77010. _0_0 = t1.$index(statements, i);
  77011. if (_0_0 instanceof A.ModifiableCssImport)
  77012. break $label0$0;
  77013. if (_0_0 instanceof A.ModifiableCssComment)
  77014. continue;
  77015. break;
  77016. }
  77017. lastImport = i;
  77018. }
  77019. return lastImport + 1;
  77020. },
  77021. visitStylesheet$1(_, node) {
  77022. var t1, t2, warning, _i, $name, span;
  77023. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  77024. warning = t1.__internal$_current;
  77025. if (warning == null)
  77026. warning = t2._as(warning);
  77027. this._warn$3(warning._1, warning._2, warning._0);
  77028. }
  77029. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  77030. t1[_i].accept$1(this);
  77031. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  77032. t2 = t1.get$current(t1);
  77033. $name = t2._0;
  77034. span = t2._1;
  77035. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  77036. }
  77037. return null;
  77038. },
  77039. visitAtRootRule$1(_, node) {
  77040. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  77041. _s8_ = "__parent",
  77042. _0_0 = node.query,
  77043. query = _0_0 != null ? new A.AtRootQueryParser(A.SpanScanner$(_this._performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _null), _null).parse$0(0) : B.AtRootQuery_bfj,
  77044. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  77045. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  77046. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  77047. if (!query.excludes$1($parent))
  77048. included.push($parent);
  77049. _2_0 = $parent._parent;
  77050. if (_2_0 == null)
  77051. throw A.wrapException(A.StateError$(string$.CssNod));
  77052. }
  77053. root = _this._trimIncluded$1(included);
  77054. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  77055. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  77056. return _null;
  77057. }
  77058. if (included.length >= 1) {
  77059. first = included[0];
  77060. rest = B.JSArray_methods.sublist$1(included, 1);
  77061. innerCopy = first.copyWithoutChildren$0();
  77062. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  77063. copy = rest[_i].copyWithoutChildren$0();
  77064. copy.addChild$1(outerCopy);
  77065. }
  77066. root.addChild$1(outerCopy);
  77067. } else
  77068. innerCopy = root;
  77069. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  77070. return _null;
  77071. },
  77072. _trimIncluded$1(nodes) {
  77073. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  77074. _s22_ = " to be an ancestor of ";
  77075. if (nodes.length === 0)
  77076. return _this._assertInModule$2(_this.__root, _s5_);
  77077. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  77078. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  77079. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  77080. _0_0 = $parent._parent;
  77081. if (_0_0 == null)
  77082. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  77083. }
  77084. if (innermostContiguous == null)
  77085. innermostContiguous = i;
  77086. _1_0 = $parent._parent;
  77087. if (_1_0 == null)
  77088. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  77089. }
  77090. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  77091. return _this._assertInModule$2(_this.__root, _s5_);
  77092. innermostContiguous.toString;
  77093. root = nodes[innermostContiguous];
  77094. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  77095. return root;
  77096. },
  77097. _scopeForAtRoot$4(node, newParent, query, included) {
  77098. var _this = this,
  77099. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  77100. t1 = query._all || query._at_root_query$_rule;
  77101. if (t1 !== query.include)
  77102. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  77103. if (_this._mediaQueries != null && query.excludesName$1("media"))
  77104. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  77105. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  77106. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  77107. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  77108. },
  77109. visitContentBlock$1(_, node) {
  77110. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  77111. },
  77112. visitContentRule$1(_, node) {
  77113. var $content = this._environment._content;
  77114. if ($content == null)
  77115. return null;
  77116. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  77117. return null;
  77118. },
  77119. visitDebugRule$1(_, node) {
  77120. var value = node.expression.accept$1(this),
  77121. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  77122. this._logger.debug$2(0, t1, node.span);
  77123. return null;
  77124. },
  77125. visitDeclaration$1(_, node) {
  77126. var t1, $name, _0_0, _1_0, value, t2, t3, _2_0, oldDeclarationName, _this = this, _null = null;
  77127. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  77128. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  77129. if (_this._declarationName != null && !node.parsedAsSassScript) {
  77130. t1 = B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--") ? string$.Declarw : string$.Declarp;
  77131. throw A.wrapException(_this._evaluate$_exception$2(t1, node.span));
  77132. }
  77133. $name = _this._interpolationToValue$2$warnForColor(node.name, true);
  77134. _0_0 = _this._declarationName;
  77135. if (_0_0 != null)
  77136. $name = new A.CssValue(_0_0 + "-" + $name.value, $name.span, type$.CssValue_String);
  77137. _1_0 = node.value;
  77138. if (_1_0 != null) {
  77139. value = _1_0.accept$1(_this);
  77140. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  77141. _this._copyParentAfterSibling$0();
  77142. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  77143. t2 = _1_0.get$span(_1_0);
  77144. if (_this._sourceMap) {
  77145. t3 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
  77146. t3 = t3 == null ? _null : J.get$span$z(t3);
  77147. } else
  77148. t3 = _null;
  77149. t1.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t2, type$.CssValue_Value), node.span, node.parsedAsSassScript, t3));
  77150. }
  77151. }
  77152. _2_0 = node.children;
  77153. t1 = {};
  77154. t1.children = null;
  77155. if (_2_0 != null) {
  77156. t1.children = _2_0;
  77157. oldDeclarationName = _this._declarationName;
  77158. _this._declarationName = $name.value;
  77159. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  77160. _this._declarationName = oldDeclarationName;
  77161. }
  77162. return _null;
  77163. },
  77164. visitEachRule$1(_, node) {
  77165. var _this = this,
  77166. t1 = node.list,
  77167. list = t1.accept$1(_this),
  77168. nodeWithSpan = _this._expressionNode$1(t1),
  77169. _0_0 = node.variables;
  77170. $label0$0: {
  77171. t1 = {};
  77172. t1.variable = null;
  77173. if (_0_0.length === 1) {
  77174. t1.variable = _0_0[0];
  77175. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  77176. break $label0$0;
  77177. }
  77178. t1 = {};
  77179. t1.variables = null;
  77180. t1.variables = _0_0;
  77181. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  77182. break $label0$0;
  77183. }
  77184. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  77185. },
  77186. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  77187. var i,
  77188. list = value.get$asList(),
  77189. t1 = variables.length,
  77190. minLength = Math.min(t1, list.length);
  77191. for (i = 0; i < minLength; ++i)
  77192. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  77193. for (i = minLength; i < t1; ++i)
  77194. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  77195. },
  77196. visitErrorRule$1(_, node) {
  77197. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  77198. },
  77199. visitExtendRule$1(_, node) {
  77200. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, simple, _this = this, _null = null,
  77201. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77202. if (styleRule == null || _this._declarationName != null)
  77203. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  77204. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  77205. complex = t1[_i];
  77206. if (!complex.accept$1(B._IsBogusVisitor_true))
  77207. continue;
  77208. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77209. complex.accept$1(visitor);
  77210. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77211. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  77212. _this._warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_0rM);
  77213. }
  77214. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  77215. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(_0_0._0, true), false, _0_0._1, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  77216. complex = t1[_i];
  77217. compound = complex.get$singleCompound();
  77218. if (compound == null)
  77219. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  77220. t4 = compound.components;
  77221. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  77222. if (simple == null)
  77223. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  77224. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, _this._mediaQueries);
  77225. }
  77226. return _null;
  77227. },
  77228. visitAtRule$1(_, node) {
  77229. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  77230. if (_this._declarationName != null)
  77231. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  77232. $name = _this._interpolationToValue$1(node.name);
  77233. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  77234. children = node.children;
  77235. if (children == null) {
  77236. _this._copyParentAfterSibling$0();
  77237. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  77238. return null;
  77239. }
  77240. wasInKeyframes = _this._inKeyframes;
  77241. wasInUnknownAtRule = _this._inUnknownAtRule;
  77242. if (A.unvendor($name.value) === "keyframes")
  77243. _this._inKeyframes = true;
  77244. else
  77245. _this._inUnknownAtRule = true;
  77246. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
  77247. _this._inUnknownAtRule = wasInUnknownAtRule;
  77248. _this._inKeyframes = wasInKeyframes;
  77249. return null;
  77250. },
  77251. visitForRule$1(_, node) {
  77252. var _this = this, t1 = {},
  77253. t2 = node.from,
  77254. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  77255. t3 = node.to,
  77256. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  77257. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  77258. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  77259. direction = from > to ? -1 : 1;
  77260. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  77261. return null;
  77262. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  77263. },
  77264. visitForwardRule$1(_, node) {
  77265. var newConfiguration, t4, _i, variable, $name, _this = this,
  77266. _s8_ = "@forward",
  77267. oldConfiguration = _this._configuration,
  77268. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  77269. t1 = node.configuration,
  77270. t2 = t1.length,
  77271. t3 = node.url;
  77272. if (t2 !== 0) {
  77273. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  77274. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  77275. t3 = type$.String;
  77276. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  77277. for (_i = 0; _i < t2; ++_i) {
  77278. variable = t1[_i];
  77279. if (!variable.isGuarded)
  77280. t4.add$1(0, variable.name);
  77281. }
  77282. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  77283. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  77284. for (_i = 0; _i < t2; ++_i)
  77285. t3.add$1(0, t1[_i].name);
  77286. for (t1 = newConfiguration._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  77287. $name = t2[_i];
  77288. if (!t3.contains$1(0, $name))
  77289. if (!t1.get$isEmpty(t1))
  77290. t1.remove$1(0, $name);
  77291. }
  77292. _this._assertConfigurationIsEmpty$1(newConfiguration);
  77293. } else {
  77294. _this._configuration = adjustedConfiguration;
  77295. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  77296. _this._configuration = oldConfiguration;
  77297. }
  77298. return null;
  77299. },
  77300. _addForwardConfiguration$2(configuration, node) {
  77301. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  77302. t1 = configuration._configuration$_values,
  77303. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  77304. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77305. variable = t2[_i];
  77306. if (variable.isGuarded) {
  77307. t4 = variable.name;
  77308. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  77309. if (_0_0 != null) {
  77310. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  77311. oldValue = _0_0;
  77312. } else {
  77313. oldValue = _null;
  77314. t5 = false;
  77315. }
  77316. if (t5) {
  77317. newValues.$indexSet(0, t4, oldValue);
  77318. continue;
  77319. }
  77320. }
  77321. t4 = variable.expression;
  77322. variableNodeWithSpan = this._expressionNode$1(t4);
  77323. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77324. }
  77325. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  77326. return new A.ExplicitConfiguration(node, newValues, _null);
  77327. else
  77328. return new A.Configuration(newValues, _null);
  77329. },
  77330. _registerCommentsForModule$1(module) {
  77331. var _this = this, _s5_ = "_root",
  77332. t1 = _this.__root;
  77333. if (t1 == null)
  77334. return;
  77335. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  77336. return;
  77337. t1 = _this._preModuleComments;
  77338. if (t1 == null)
  77339. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  77340. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  77341. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  77342. _this.__endOfImports = 0;
  77343. },
  77344. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  77345. var t1, t2, t3, t4, _i, $name;
  77346. for (t1 = upstream._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  77347. $name = t2[_i];
  77348. if (except.contains$1(0, $name))
  77349. continue;
  77350. if (!t4.containsKey$1($name))
  77351. if (!t1.get$isEmpty(t1))
  77352. t1.remove$1(0, $name);
  77353. }
  77354. },
  77355. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  77356. var t1, _0_0;
  77357. if (!(configuration instanceof A.ExplicitConfiguration))
  77358. return;
  77359. t1 = configuration._configuration$_values;
  77360. if (t1.get$isEmpty(t1))
  77361. return;
  77362. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  77363. _0_0 = t1.get$first(t1);
  77364. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  77365. throw A.wrapException(this._evaluate$_exception$2(t1, _0_0._1.configurationSpan));
  77366. },
  77367. _assertConfigurationIsEmpty$1(configuration) {
  77368. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  77369. },
  77370. visitFunctionRule$1(_, node) {
  77371. var t1 = this._environment,
  77372. t2 = t1.closure$0(),
  77373. t3 = this._inDependency,
  77374. t4 = t1._functions,
  77375. index = t4.length - 1,
  77376. t5 = node.name;
  77377. t1._functionIndices.$indexSet(0, t5, index);
  77378. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  77379. return null;
  77380. },
  77381. visitIfRule$1(_, node) {
  77382. var t1, t2, _i, clauseToCheck,
  77383. clause = node.lastClause;
  77384. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77385. clauseToCheck = t1[_i];
  77386. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  77387. clause = clauseToCheck;
  77388. break;
  77389. }
  77390. }
  77391. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  77392. },
  77393. visitImportRule$1(_, node) {
  77394. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  77395. _s8_ = "__parent",
  77396. _s5_ = "_root",
  77397. _s13_ = "_endOfImports";
  77398. for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String, t4 = _this.get$_interpolationToValue(), t5 = type$.StaticImport, t6 = type$.JSArray_ModifiableCssImport, _i = 0; _i < t2; ++_i) {
  77399. $import = t1[_i];
  77400. if ($import instanceof A.DynamicImport)
  77401. _this._visitDynamicImport$1($import);
  77402. else {
  77403. t5._as($import);
  77404. t7 = $import.url;
  77405. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  77406. $self = $import.modifiers;
  77407. t8 = $self == null ? null : t4.call$1($self);
  77408. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  77409. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_)) {
  77410. _this._copyParentAfterSibling$0();
  77411. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  77412. } else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  77413. t7 = _this._assertInModule$2(_this.__root, _s5_);
  77414. node._parent = t7;
  77415. t7 = t7._children;
  77416. node._indexInParent = t7.length;
  77417. t7.push(node);
  77418. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77419. } else {
  77420. t7 = _this._outOfOrderImports;
  77421. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  77422. }
  77423. }
  77424. }
  77425. return null;
  77426. },
  77427. _visitDynamicImport$1($import) {
  77428. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  77429. },
  77430. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  77431. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  77432. baseUrl = baseUrl;
  77433. try {
  77434. _this._importSpan = span;
  77435. _0_0 = _this._evaluate$_importCache;
  77436. importCache = null;
  77437. if (_0_0 != null) {
  77438. importCache = _0_0;
  77439. if (baseUrl == null) {
  77440. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  77441. baseUrl = t1.get$sourceUrl(t1);
  77442. }
  77443. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  77444. importer = null;
  77445. canonicalUrl = null;
  77446. originalUrl = null;
  77447. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  77448. importer = _1_0._0;
  77449. canonicalUrl = _1_0._1;
  77450. originalUrl = _1_0._2;
  77451. if (canonicalUrl.get$scheme() === "")
  77452. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_IqB, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  77453. _this._loadedUrls.add$1(0, canonicalUrl);
  77454. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  77455. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  77456. stylesheet = null;
  77457. if (_2_0 != null) {
  77458. stylesheet = _2_0;
  77459. t1 = stylesheet;
  77460. t2 = importer;
  77461. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  77462. }
  77463. }
  77464. }
  77465. t1 = B.JSString_methods.startsWith$1(url, "package:");
  77466. if (t1)
  77467. throw A.wrapException(string$.x22packa);
  77468. else
  77469. throw A.wrapException("Can't find stylesheet to import.");
  77470. } catch (exception) {
  77471. t1 = A.unwrapException(exception);
  77472. if (t1 instanceof A.SassException)
  77473. throw exception;
  77474. else if (t1 instanceof A.ArgumentError) {
  77475. error = t1;
  77476. stackTrace = A.getTraceFromException(exception);
  77477. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  77478. } else {
  77479. error0 = t1;
  77480. stackTrace0 = A.getTraceFromException(exception);
  77481. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  77482. }
  77483. } finally {
  77484. _this._importSpan = null;
  77485. }
  77486. },
  77487. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  77488. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  77489. },
  77490. _loadStylesheet$3$forImport(url, span, forImport) {
  77491. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  77492. },
  77493. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  77494. var t1, _0_0, t2, _1_8, t3, _this = this, _null = null,
  77495. _s37_ = "Mixin doesn't accept a content block.",
  77496. _s10_ = "invocation";
  77497. $label0$0: {
  77498. if (mixin == null)
  77499. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  77500. t1 = mixin instanceof A.BuiltInCallable;
  77501. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  77502. t1 = _this._evaluateArguments$1($arguments)._values;
  77503. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  77504. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), _null));
  77505. }
  77506. if (t1) {
  77507. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  77508. break $label0$0;
  77509. }
  77510. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  77511. t2 = false;
  77512. if (t1) {
  77513. _1_8 = mixin.declaration;
  77514. t3 = _1_8;
  77515. if (t3 instanceof A.MixinRule)
  77516. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  77517. }
  77518. if (t2)
  77519. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), _null));
  77520. if (t1) {
  77521. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  77522. break $label0$0;
  77523. }
  77524. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  77525. }
  77526. },
  77527. visitIncludeRule$1(_, node) {
  77528. var _this = this,
  77529. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  77530. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  77531. throw A.wrapException(_this._evaluate$_exception$2(string$.Sass__m, node.get$nameSpan()));
  77532. _this._applyMixin$5(mixin, A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure0(_this)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure1(node)));
  77533. return null;
  77534. },
  77535. visitMixinRule$1(_, node) {
  77536. var t1 = this._environment,
  77537. t2 = t1.closure$0(),
  77538. t3 = this._inDependency,
  77539. t4 = t1._mixins,
  77540. index = t4.length - 1,
  77541. t5 = node.name;
  77542. t1._mixinIndices.$indexSet(0, t5, index);
  77543. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  77544. return null;
  77545. },
  77546. visitLoudComment$1(_, node) {
  77547. var t1, text, _this = this,
  77548. _s8_ = "__parent",
  77549. _s13_ = "_endOfImports";
  77550. if (_this._inFunction)
  77551. return null;
  77552. if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
  77553. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77554. t1 = node.text;
  77555. text = _this._performInterpolation$1(t1);
  77556. if (!B.JSString_methods.endsWith$1(text, "*/"))
  77557. text += " */";
  77558. _this._copyParentAfterSibling$0();
  77559. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  77560. return null;
  77561. },
  77562. visitMediaRule$1(_, node) {
  77563. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  77564. if (_this._declarationName != null)
  77565. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  77566. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  77567. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  77568. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  77569. t1 = mergedQueries == null;
  77570. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  77571. return null;
  77572. if (t1)
  77573. mergedSources = B.Set_empty2;
  77574. else {
  77575. t2 = _this._mediaQuerySources;
  77576. t2.toString;
  77577. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  77578. t3 = _this._mediaQueries;
  77579. t3.toString;
  77580. t2.addAll$1(0, t3);
  77581. t2.addAll$1(0, queries);
  77582. mergedSources = t2;
  77583. }
  77584. t1 = t1 ? queries : mergedQueries;
  77585. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure0(_this, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure1(mergedSources), type$.ModifiableCssMediaRule, type$.Null);
  77586. return null;
  77587. },
  77588. _mergeMediaQueries$2(queries1, queries2) {
  77589. var t1, t2, t3, t4, _0_0, t5, result,
  77590. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  77591. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  77592. t3 = t1.get$current(t1);
  77593. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  77594. _0_0 = t3.merge$1(t4.get$current(t4));
  77595. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  77596. continue;
  77597. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  77598. return null;
  77599. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  77600. result = t5 ? _0_0 : null;
  77601. if (t5)
  77602. queries.push(result.query);
  77603. }
  77604. }
  77605. return queries;
  77606. },
  77607. visitReturnRule$1(_, node) {
  77608. var t1 = node.expression;
  77609. return this._withoutSlash$2(t1.accept$1(this), t1);
  77610. },
  77611. visitSilentComment$1(_, node) {
  77612. return null;
  77613. },
  77614. visitStyleRule$1(_, node) {
  77615. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  77616. _s8_ = "__parent",
  77617. _s11_ = "_stylesheet";
  77618. if (_this._declarationName != null)
  77619. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77620. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77621. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77622. t1 = node.selector;
  77623. t1.toString;
  77624. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77625. selectorText = _0_0._0;
  77626. selectorMap = _0_0._1;
  77627. if (_this._inKeyframes) {
  77628. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(selectorText, _null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
  77629. return _null;
  77630. }
  77631. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77632. _1_0 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77633. $label0$0: {
  77634. if (_1_0 == null) {
  77635. t1 = true;
  77636. break $label0$0;
  77637. }
  77638. if (_1_0.fromPlainCss) {
  77639. t1 = false;
  77640. break $label0$0;
  77641. }
  77642. t1 = !(_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  77643. break $label0$0;
  77644. }
  77645. if (t1) {
  77646. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77647. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77648. _2_0 = t2[_i].leadingCombinators;
  77649. if (_2_0.length >= 1) {
  77650. first = _2_0[0];
  77651. t4 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77652. } else {
  77653. first = _null;
  77654. t4 = false;
  77655. }
  77656. if (t4)
  77657. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77658. }
  77659. t2 = _this._styleRuleIgnoringAtRoot;
  77660. t2 = t2 == null ? _null : t2.originalSelector;
  77661. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77662. }
  77663. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77664. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77665. t2 = _this._atRootExcludingStyleRule = false;
  77666. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77667. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null);
  77668. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77669. _this._warnForBogusCombinators$1(rule);
  77670. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77671. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77672. t1 = !t1.get$isEmpty(t1);
  77673. } else
  77674. t1 = t2;
  77675. if (t1) {
  77676. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77677. t1.get$last(t1).isGroupEnd = true;
  77678. }
  77679. return _null;
  77680. },
  77681. _warnForBogusCombinators$1(rule) {
  77682. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77683. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77684. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  77685. complex = t1[_i];
  77686. if (!complex.accept$1(B._IsBogusVisitor_true))
  77687. continue;
  77688. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77689. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77690. complex.accept$1(visitor);
  77691. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_0rM);
  77692. } else if (complex.leadingCombinators.length !== 0) {
  77693. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77694. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77695. complex.accept$1(visitor);
  77696. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_0rM);
  77697. }
  77698. } else {
  77699. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77700. complex.accept$1(visitor);
  77701. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77702. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77703. t8 = A.SpanExtensions_trimRight(complex.span);
  77704. if (t5.get$length(0) === 0)
  77705. A.throwExpression(A.IterableElementError_noElement());
  77706. t9 = J.get$span$z(t5.$index(0, 0));
  77707. _this._warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_0rM);
  77708. }
  77709. }
  77710. },
  77711. visitSupportsRule$1(_, node) {
  77712. var t1, _this = this;
  77713. if (_this._declarationName != null)
  77714. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77715. t1 = node.condition;
  77716. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(new A.CssValue(_this._visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
  77717. return null;
  77718. },
  77719. _visitSupportsCondition$1(condition) {
  77720. var t1, _this = this;
  77721. $label0$0: {
  77722. if (condition instanceof A.SupportsOperation) {
  77723. t1 = condition.operator;
  77724. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77725. break $label0$0;
  77726. }
  77727. if (condition instanceof A.SupportsNegation) {
  77728. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77729. break $label0$0;
  77730. }
  77731. if (condition instanceof A.SupportsInterpolation) {
  77732. t1 = condition.expression;
  77733. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77734. break $label0$0;
  77735. }
  77736. t1 = {};
  77737. t1.declaration = null;
  77738. if (condition instanceof A.SupportsDeclaration) {
  77739. t1.declaration = condition;
  77740. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77741. break $label0$0;
  77742. }
  77743. if (condition instanceof A.SupportsFunction) {
  77744. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77745. break $label0$0;
  77746. }
  77747. if (condition instanceof A.SupportsAnything) {
  77748. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77749. break $label0$0;
  77750. }
  77751. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77752. }
  77753. return t1;
  77754. },
  77755. _withSupportsDeclaration$1$1(callback) {
  77756. var t1,
  77757. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77758. this._inSupportsDeclaration = true;
  77759. try {
  77760. t1 = callback.call$0();
  77761. return t1;
  77762. } finally {
  77763. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77764. }
  77765. },
  77766. _withSupportsDeclaration$1(callback) {
  77767. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77768. },
  77769. _evaluate$_parenthesize$2(condition, operator) {
  77770. var t1;
  77771. if (!(condition instanceof A.SupportsNegation))
  77772. if (condition instanceof A.SupportsOperation)
  77773. t1 = operator == null || operator !== condition.operator;
  77774. else
  77775. t1 = false;
  77776. else
  77777. t1 = true;
  77778. if (t1)
  77779. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77780. return this._visitSupportsCondition$1(condition);
  77781. },
  77782. _evaluate$_parenthesize$1(condition) {
  77783. return this._evaluate$_parenthesize$2(condition, null);
  77784. },
  77785. visitVariableDeclaration$1(_, node) {
  77786. var t1, t2, _0_0, value, _this = this, _null = null;
  77787. if (node.isGuarded) {
  77788. if (node.namespace == null && _this._environment._variables.length === 1) {
  77789. t1 = node.name;
  77790. _this._environment._configurableVariables.add$1(0, t1);
  77791. t2 = _this._configuration._configuration$_values;
  77792. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  77793. t1 = {};
  77794. t1.override = null;
  77795. if (_0_0 != null) {
  77796. t1.override = _0_0;
  77797. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77798. } else
  77799. t2 = false;
  77800. if (t2) {
  77801. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77802. return _null;
  77803. }
  77804. }
  77805. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77806. if (value != null && !value.$eq(0, B.C__SassNull))
  77807. return _null;
  77808. }
  77809. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77810. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77811. _this._warn$3(t1, node.span, B.Deprecation_jGw);
  77812. }
  77813. t1 = node.expression;
  77814. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77815. return _null;
  77816. },
  77817. visitUseRule$1(_, node) {
  77818. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77819. t1 = node.configuration,
  77820. t2 = t1.length;
  77821. if (t2 !== 0) {
  77822. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77823. for (_i = 0; _i < t2; ++_i) {
  77824. variable = t1[_i];
  77825. t3 = variable.expression;
  77826. variableNodeWithSpan = _this._expressionNode$1(t3);
  77827. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77828. }
  77829. configuration = new A.ExplicitConfiguration(node, values, null);
  77830. } else
  77831. configuration = B.Configuration_Map_empty_null;
  77832. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77833. _this._assertConfigurationIsEmpty$1(configuration);
  77834. return null;
  77835. },
  77836. visitWarnRule$1(_, node) {
  77837. var _this = this,
  77838. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77839. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77840. t2 = _this._evaluate$_stackTrace$1(node.span);
  77841. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77842. return null;
  77843. },
  77844. visitWhileRule$1(_, node) {
  77845. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77846. },
  77847. visitBinaryOperationExpression$1(_, node) {
  77848. var t1, _this = this;
  77849. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77850. t1 = node.operator;
  77851. t1 = t1 !== B.BinaryOperator_g6F && t1 !== B.BinaryOperator_ehp;
  77852. } else
  77853. t1 = false;
  77854. if (t1)
  77855. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77856. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77857. },
  77858. _slash$3(left, right, node) {
  77859. var left0, _1_2,
  77860. result = left.dividedBy$1(right),
  77861. _1_2_isSet = left instanceof A.SassNumber,
  77862. right0 = null,
  77863. t1 = false;
  77864. if (_1_2_isSet) {
  77865. if (right instanceof A.SassNumber) {
  77866. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77867. right0 = right;
  77868. }
  77869. left0 = left;
  77870. _1_2 = right;
  77871. } else {
  77872. _1_2 = null;
  77873. left0 = null;
  77874. }
  77875. if (t1)
  77876. return type$.SassNumber._as(result).withSlash$2(left0, right0);
  77877. if (left instanceof A.SassNumber)
  77878. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77879. else
  77880. t1 = false;
  77881. if (t1) {
  77882. this._warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_qZ1);
  77883. return result;
  77884. }
  77885. return result;
  77886. },
  77887. _operandAllowsSlash$1(node) {
  77888. var t1;
  77889. if (node instanceof A.FunctionExpression)
  77890. if (node.namespace == null) {
  77891. t1 = node.name;
  77892. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77893. } else
  77894. t1 = false;
  77895. else
  77896. t1 = true;
  77897. return t1;
  77898. },
  77899. visitValueExpression$1(_, node) {
  77900. return node.value;
  77901. },
  77902. visitVariableExpression$1(_, node) {
  77903. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77904. if (result != null)
  77905. return result;
  77906. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77907. },
  77908. visitUnaryOperationExpression$1(_, node) {
  77909. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77910. },
  77911. visitBooleanExpression$1(_, node) {
  77912. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77913. },
  77914. visitIfExpression$1(_, node) {
  77915. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77916. _0_0 = _this._evaluateMacroArguments$1(node),
  77917. positional = _0_0._0,
  77918. named = _0_0._1;
  77919. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77920. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77921. if (condition == null) {
  77922. t1 = named.$index(0, "condition");
  77923. t1.toString;
  77924. condition = t1;
  77925. }
  77926. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77927. if (ifTrue == null) {
  77928. t1 = named.$index(0, "if-true");
  77929. t1.toString;
  77930. ifTrue = t1;
  77931. }
  77932. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77933. if (ifFalse == null) {
  77934. t1 = named.$index(0, "if-false");
  77935. t1.toString;
  77936. ifFalse = t1;
  77937. }
  77938. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77939. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77940. },
  77941. visitNullExpression$1(_, node) {
  77942. return B.C__SassNull;
  77943. },
  77944. visitNumberExpression$1(_, node) {
  77945. return A.SassNumber_SassNumber(node.value, node.unit);
  77946. },
  77947. visitParenthesizedExpression$1(_, node) {
  77948. var _this = this;
  77949. return _this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  77950. },
  77951. visitColorExpression$1(_, node) {
  77952. return node.value;
  77953. },
  77954. visitListExpression$1(_, node) {
  77955. var t1 = node.contents;
  77956. return A.SassList$(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), node.separator, node.hasBrackets);
  77957. },
  77958. visitMapExpression$1(_, node) {
  77959. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77960. t1 = type$.Value,
  77961. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77962. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77963. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77964. t4 = t2[_i];
  77965. key = t4._0;
  77966. keyValue = key.accept$1(this);
  77967. valueValue = t4._1.accept$1(this);
  77968. if (map.containsKey$1(keyValue)) {
  77969. t1 = keyNodes.$index(0, keyValue);
  77970. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77971. t1 = key.get$span(key);
  77972. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77973. if (oldValueSpan != null)
  77974. t2.$indexSet(0, oldValueSpan, "first key");
  77975. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77976. }
  77977. map.$indexSet(0, keyValue, valueValue);
  77978. keyNodes.$indexSet(0, keyValue, key);
  77979. }
  77980. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77981. },
  77982. visitFunctionExpression$1(_, node) {
  77983. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77984. _s11_ = "_stylesheet",
  77985. t1 = {},
  77986. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77987. t1.$function = $function;
  77988. if ($function == null || B.JSString_methods.startsWith$1(node.originalName, "--")) {
  77989. if (node.namespace != null)
  77990. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77991. t2 = node.name;
  77992. _0_0 = t2.toLowerCase();
  77993. t3 = false;
  77994. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77995. t3 = node.$arguments;
  77996. t4 = t3.named;
  77997. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77998. $name = _0_0;
  77999. } else
  78000. $name = null;
  78001. if (t3)
  78002. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  78003. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0)
  78004. return _this._visitCalculation$1(node);
  78005. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  78006. t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  78007. }
  78008. oldInFunction = _this._inFunction;
  78009. _this._inFunction = true;
  78010. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  78011. _this._inFunction = oldInFunction;
  78012. return result;
  78013. },
  78014. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  78015. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  78016. t2 = node.$arguments,
  78017. t3 = t2.named;
  78018. if (t3.get$isNotEmpty(t3))
  78019. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  78020. else if (t2.rest != null)
  78021. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  78022. _this._checkCalculationArguments$1(node);
  78023. t3 = A._setArrayType([], type$.JSArray_Object);
  78024. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  78025. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  78026. $arguments = t3;
  78027. if (_this._inSupportsDeclaration)
  78028. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  78029. oldCallableNode = _this._callableNode;
  78030. _this._callableNode = node;
  78031. try {
  78032. t1 = null;
  78033. t3 = node.name;
  78034. _0_0 = t3.toLowerCase();
  78035. $label0$0: {
  78036. if ("calc" === _0_0) {
  78037. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  78038. break $label0$0;
  78039. }
  78040. if ("sqrt" === _0_0) {
  78041. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  78042. break $label0$0;
  78043. }
  78044. if ("sin" === _0_0) {
  78045. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  78046. break $label0$0;
  78047. }
  78048. if ("cos" === _0_0) {
  78049. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  78050. break $label0$0;
  78051. }
  78052. if ("tan" === _0_0) {
  78053. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  78054. break $label0$0;
  78055. }
  78056. if ("asin" === _0_0) {
  78057. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  78058. break $label0$0;
  78059. }
  78060. if ("acos" === _0_0) {
  78061. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  78062. break $label0$0;
  78063. }
  78064. if ("atan" === _0_0) {
  78065. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  78066. break $label0$0;
  78067. }
  78068. if ("abs" === _0_0) {
  78069. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  78070. break $label0$0;
  78071. }
  78072. if ("exp" === _0_0) {
  78073. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  78074. break $label0$0;
  78075. }
  78076. if ("sign" === _0_0) {
  78077. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  78078. break $label0$0;
  78079. }
  78080. if ("min" === _0_0) {
  78081. t1 = A.SassCalculation_min($arguments);
  78082. break $label0$0;
  78083. }
  78084. if ("max" === _0_0) {
  78085. t1 = A.SassCalculation_max($arguments);
  78086. break $label0$0;
  78087. }
  78088. if ("hypot" === _0_0) {
  78089. t1 = A.SassCalculation_hypot($arguments);
  78090. break $label0$0;
  78091. }
  78092. if ("pow" === _0_0) {
  78093. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78094. break $label0$0;
  78095. }
  78096. if ("atan2" === _0_0) {
  78097. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78098. break $label0$0;
  78099. }
  78100. if ("log" === _0_0) {
  78101. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78102. break $label0$0;
  78103. }
  78104. if ("mod" === _0_0) {
  78105. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78106. break $label0$0;
  78107. }
  78108. if ("rem" === _0_0) {
  78109. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78110. break $label0$0;
  78111. }
  78112. if ("round" === _0_0) {
  78113. t1 = A.SassCalculation_roundInternal(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure(_this, node));
  78114. break $label0$0;
  78115. }
  78116. if ("clamp" === _0_0) {
  78117. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  78118. break $label0$0;
  78119. }
  78120. if ("calc-size" === _0_0) {
  78121. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  78122. break $label0$0;
  78123. }
  78124. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  78125. t1 = A.throwExpression(t3);
  78126. }
  78127. t1 = t1;
  78128. return t1;
  78129. } catch (exception) {
  78130. t1 = A.unwrapException(exception);
  78131. if (t1 instanceof A.SassScriptException) {
  78132. error = t1;
  78133. stackTrace = A.getTraceFromException(exception);
  78134. if (B.JSString_methods.contains$1(error.message, "compatible"))
  78135. _this._verifyCompatibleNumbers$2($arguments, t2);
  78136. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  78137. } else
  78138. throw exception;
  78139. } finally {
  78140. _this._callableNode = oldCallableNode;
  78141. }
  78142. },
  78143. _visitCalculation$1(node) {
  78144. return this._visitCalculation$2$inLegacySassFunction(node, null);
  78145. },
  78146. _checkCalculationArguments$1(node) {
  78147. var t1, _0_0,
  78148. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  78149. $label0$0: {
  78150. t1 = node.name;
  78151. _0_0 = t1.toLowerCase();
  78152. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  78153. check.call$1(1);
  78154. break $label0$0;
  78155. }
  78156. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  78157. check.call$0();
  78158. break $label0$0;
  78159. }
  78160. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  78161. check.call$1(2);
  78162. break $label0$0;
  78163. }
  78164. if ("round" === _0_0 || "clamp" === _0_0) {
  78165. check.call$1(3);
  78166. break $label0$0;
  78167. }
  78168. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  78169. }
  78170. },
  78171. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  78172. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  78173. for (i = 0; t1 = args.length, i < t1; ++i) {
  78174. _0_0 = args[i];
  78175. if (_0_0 instanceof A.SassNumber) {
  78176. t1 = _0_0.get$hasComplexUnits();
  78177. arg = _0_0;
  78178. } else {
  78179. arg = null;
  78180. t1 = false;
  78181. }
  78182. if (t1) {
  78183. t1 = A.S(arg);
  78184. t2 = nodesWithSpans[i];
  78185. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  78186. }
  78187. }
  78188. for (i = 0; i < t1 - 1; ++i) {
  78189. number1 = args[i];
  78190. if (!(number1 instanceof A.SassNumber))
  78191. continue;
  78192. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  78193. number2 = args[j];
  78194. if (!(number2 instanceof A.SassNumber))
  78195. continue;
  78196. if (number1.hasPossiblyCompatibleUnits$1(number2))
  78197. continue;
  78198. t1 = number1.toString$0(0);
  78199. t2 = number2.toString$0(0);
  78200. t3 = nodesWithSpans[i];
  78201. t3 = t3.get$span(t3);
  78202. t4 = number1.toString$0(0);
  78203. t5 = nodesWithSpans[j];
  78204. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  78205. t6 = nodesWithSpans[i];
  78206. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  78207. }
  78208. }
  78209. },
  78210. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  78211. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  78212. t1 = node instanceof A.ParenthesizedExpression,
  78213. inner = t1 ? node.expression : _null;
  78214. if (t1) {
  78215. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  78216. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  78217. }
  78218. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  78219. t1 = node.text;
  78220. t2 = t1.get$asPlain();
  78221. _0_0 = t2 == null ? _null : t2.toLowerCase();
  78222. $label0$0: {
  78223. if ("pi" === _0_0) {
  78224. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  78225. break $label0$0;
  78226. }
  78227. if ("e" === _0_0) {
  78228. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  78229. break $label0$0;
  78230. }
  78231. if ("infinity" === _0_0) {
  78232. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  78233. break $label0$0;
  78234. }
  78235. if ("-infinity" === _0_0) {
  78236. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  78237. break $label0$0;
  78238. }
  78239. if ("nan" === _0_0) {
  78240. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  78241. break $label0$0;
  78242. }
  78243. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  78244. break $label0$0;
  78245. }
  78246. return t1;
  78247. }
  78248. _box_0 = {};
  78249. _box_0.right = _box_0.left = _box_0.operator = null;
  78250. t1 = node instanceof A.BinaryOperationExpression;
  78251. if (t1) {
  78252. _box_0.operator = node.operator;
  78253. _box_0.left = node.left;
  78254. _box_0.right = node.right;
  78255. }
  78256. if (t1) {
  78257. _this._checkWhitespaceAroundCalculationOperator$1(node);
  78258. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  78259. }
  78260. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  78261. _1_0 = node.accept$1(_this);
  78262. $label1$1: {
  78263. if (_1_0 instanceof A.SassNumber) {
  78264. t1 = _1_0;
  78265. break $label1$1;
  78266. }
  78267. if (_1_0 instanceof A.SassCalculation) {
  78268. t1 = _1_0;
  78269. break $label1$1;
  78270. }
  78271. if (_1_0 instanceof A.SassString) {
  78272. t1 = !_1_0._hasQuotes;
  78273. result = _1_0;
  78274. } else {
  78275. result = _null;
  78276. t1 = false;
  78277. }
  78278. if (t1) {
  78279. t1 = result;
  78280. break $label1$1;
  78281. }
  78282. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  78283. }
  78284. return t1;
  78285. }
  78286. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_SrV === node.separator && node.contents.length >= 2) {
  78287. t1 = A._setArrayType([], type$.JSArray_Object);
  78288. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  78289. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  78290. _this._checkAdjacentCalculationValues$2(t1, node);
  78291. for (i = 0; i < t1.length; ++i) {
  78292. t3 = t1[i];
  78293. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  78294. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  78295. }
  78296. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  78297. }
  78298. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  78299. },
  78300. _checkWhitespaceAroundCalculationOperator$1(node) {
  78301. var t2, t3, t4, textBetweenOperands, first, last,
  78302. t1 = node.operator;
  78303. if (t1 !== B.BinaryOperator_jCK && t1 !== B.BinaryOperator_tDf)
  78304. return;
  78305. t1 = node.left;
  78306. t2 = t1.get$span(t1);
  78307. t2 = t2.get$file(t2);
  78308. t3 = node.right;
  78309. t4 = t3.get$span(t3);
  78310. if (t2 !== t4.get$file(t4))
  78311. return;
  78312. t2 = t1.get$span(t1);
  78313. t2 = t2.get$end(t2);
  78314. t4 = t3.get$span(t3);
  78315. if (t2.offset >= t4.get$start(t4).offset)
  78316. return;
  78317. t2 = t1.get$span(t1);
  78318. t2 = t2.get$file(t2);
  78319. t1 = t1.get$span(t1);
  78320. t1 = t1.get$end(t1);
  78321. t3 = t3.get$span(t3);
  78322. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  78323. first = textBetweenOperands.charCodeAt(0);
  78324. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  78325. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  78326. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  78327. else
  78328. t1 = true;
  78329. if (t1)
  78330. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  78331. },
  78332. _binaryOperatorToCalculationOperator$2(operator, node) {
  78333. var t1;
  78334. $label0$0: {
  78335. if (B.BinaryOperator_jCK === operator) {
  78336. t1 = B.CalculationOperator_dpX;
  78337. break $label0$0;
  78338. }
  78339. if (B.BinaryOperator_tDf === operator) {
  78340. t1 = B.CalculationOperator_KrC;
  78341. break $label0$0;
  78342. }
  78343. if (B.BinaryOperator_wkM === operator) {
  78344. t1 = B.CalculationOperator_LPB;
  78345. break $label0$0;
  78346. }
  78347. if (B.BinaryOperator_ehp === operator) {
  78348. t1 = B.CalculationOperator_wFL;
  78349. break $label0$0;
  78350. }
  78351. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  78352. }
  78353. return t1;
  78354. },
  78355. _checkAdjacentCalculationValues$2(elements, node) {
  78356. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  78357. for (t1 = elements.length, i = 1; i < t1; ++i) {
  78358. t2 = i - 1;
  78359. previous = elements[t2];
  78360. current = elements[i];
  78361. if (previous instanceof A.SassString || current instanceof A.SassString)
  78362. continue;
  78363. t1 = node.contents;
  78364. previousNode = t1[t2];
  78365. currentNode = t1[i];
  78366. if (currentNode instanceof A.UnaryOperationExpression) {
  78367. _0_2 = currentNode.operator;
  78368. if (B.UnaryOperator_hCO !== _0_2)
  78369. t1 = B.UnaryOperator_n2K === _0_2;
  78370. else
  78371. t1 = true;
  78372. } else
  78373. t1 = false;
  78374. if (!t1)
  78375. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  78376. else
  78377. t1 = true;
  78378. if (t1)
  78379. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  78380. else
  78381. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  78382. }
  78383. },
  78384. visitInterpolatedFunctionExpression$1(_, node) {
  78385. var result, _this = this,
  78386. t1 = _this._performInterpolation$1(node.name),
  78387. oldInFunction = _this._inFunction;
  78388. _this._inFunction = true;
  78389. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  78390. _this._inFunction = oldInFunction;
  78391. return result;
  78392. },
  78393. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  78394. var oldInDependency, result, _this = this,
  78395. evaluated = _this._evaluateArguments$1($arguments),
  78396. $name = callable.declaration.name;
  78397. if ($name !== "@content")
  78398. $name += "()";
  78399. oldInDependency = _this._inDependency;
  78400. _this._inDependency = callable.inDependency;
  78401. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  78402. _this._inDependency = oldInDependency;
  78403. return result;
  78404. },
  78405. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  78406. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  78407. if (callable instanceof A.BuiltInCallable)
  78408. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  78409. else if (type$.UserDefinedCallable_Environment._is(callable))
  78410. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  78411. else if (callable instanceof A.PlainCssCallable) {
  78412. t1 = $arguments.named;
  78413. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  78414. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  78415. buffer = new A.StringBuffer(callable.name + "(");
  78416. try {
  78417. first = true;
  78418. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  78419. argument = t1[_i];
  78420. if (first)
  78421. first = false;
  78422. else
  78423. buffer._contents += ", ";
  78424. t3 = buffer;
  78425. t4 = argument;
  78426. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  78427. t3._contents += t4;
  78428. }
  78429. restArg = $arguments.rest;
  78430. if (restArg != null) {
  78431. rest = restArg.accept$1(_this);
  78432. if (!first)
  78433. buffer._contents += ", ";
  78434. t1 = buffer;
  78435. t2 = _this._evaluate$_serialize$2(rest, restArg);
  78436. t1._contents += t2;
  78437. }
  78438. } catch (exception) {
  78439. t1 = A.unwrapException(exception);
  78440. if (type$.SassRuntimeException._is(t1)) {
  78441. error = t1;
  78442. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  78443. throw exception;
  78444. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  78445. } else
  78446. throw exception;
  78447. }
  78448. t1 = buffer;
  78449. t2 = A.Primitives_stringFromCharCode(41);
  78450. t1._contents += t2;
  78451. t2 = buffer._contents;
  78452. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  78453. } else
  78454. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  78455. },
  78456. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  78457. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  78458. evaluated = _this._evaluateArguments$1($arguments),
  78459. oldCallableNode = _this._callableNode;
  78460. _this._callableNode = nodeWithSpan;
  78461. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  78462. _box_0.callback = _box_0.overload = null;
  78463. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  78464. _box_0.overload = _0_0._0;
  78465. _box_0.callback = _0_0._1;
  78466. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  78467. parameters = _box_0.overload.parameters;
  78468. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  78469. parameter = parameters[i];
  78470. t2 = evaluated._values[2];
  78471. t3 = evaluated._values[0].remove$1(0, parameter.name);
  78472. if (t3 == null) {
  78473. t3 = parameter.defaultValue;
  78474. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  78475. }
  78476. t2.push(t3);
  78477. }
  78478. if (_box_0.overload.restParameter != null) {
  78479. if (evaluated._values[2].length > t1) {
  78480. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  78481. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  78482. } else
  78483. rest = B.List_empty8;
  78484. t1 = evaluated._values[0];
  78485. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_3_undecided ? B.ListSeparator_z0K : evaluated._values[4]);
  78486. evaluated._values[2].push(argumentList);
  78487. } else
  78488. argumentList = null;
  78489. result = null;
  78490. try {
  78491. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  78492. } catch (exception) {
  78493. t1 = A.unwrapException(exception);
  78494. if (t1 instanceof A.SassException)
  78495. throw exception;
  78496. else {
  78497. error = t1;
  78498. stackTrace = A.getTraceFromException(exception);
  78499. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  78500. }
  78501. }
  78502. _this._callableNode = oldCallableNode;
  78503. if (argumentList == null)
  78504. return result;
  78505. if (evaluated._values[0].__js_helper$_length === 0)
  78506. return result;
  78507. if (argumentList._wereKeywordsAccessed)
  78508. return result;
  78509. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("parameter", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence(evaluated._values[0].get$keys(0).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure1(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  78510. },
  78511. _evaluateArguments$1($arguments) {
  78512. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  78513. positional = A._setArrayType([], type$.JSArray_Value),
  78514. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  78515. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  78516. expression = t1[_i];
  78517. nodeForSpan = _this._expressionNode$1(expression);
  78518. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  78519. positionalNodes.push(nodeForSpan);
  78520. }
  78521. t1 = type$.String;
  78522. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  78523. t2 = type$.AstNode;
  78524. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78525. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78526. t4 = t3.get$current(t3);
  78527. $name = t4._0;
  78528. value = t4._1;
  78529. nodeForSpan = _this._expressionNode$1(value);
  78530. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  78531. namedNodes.$indexSet(0, $name, nodeForSpan);
  78532. }
  78533. restArgs = $arguments.rest;
  78534. if (restArgs == null)
  78535. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_3_undecided]);
  78536. rest = restArgs.accept$1(_this);
  78537. restNodeForSpan = _this._expressionNode$1(restArgs);
  78538. if (rest instanceof A.SassMap) {
  78539. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  78540. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78541. for (t4 = rest._map$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString; t4.moveNext$0();)
  78542. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  78543. namedNodes.addAll$1(0, t3);
  78544. separator = B.ListSeparator_undecided_null_3_undecided;
  78545. } else if (rest instanceof A.SassList) {
  78546. t3 = rest._list$_contents;
  78547. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure0(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
  78548. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  78549. separator = rest._separator;
  78550. if (rest instanceof A.SassArgumentList) {
  78551. rest._wereKeywordsAccessed = true;
  78552. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  78553. }
  78554. } else {
  78555. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  78556. positionalNodes.push(restNodeForSpan);
  78557. separator = B.ListSeparator_undecided_null_3_undecided;
  78558. }
  78559. keywordRestArgs = $arguments.keywordRest;
  78560. if (keywordRestArgs == null)
  78561. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78562. keywordRest = keywordRestArgs.accept$1(_this);
  78563. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  78564. if (keywordRest instanceof A.SassMap) {
  78565. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  78566. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78567. for (t2 = keywordRest._map$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString; t2.moveNext$0();)
  78568. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  78569. namedNodes.addAll$1(0, t1);
  78570. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78571. } else
  78572. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  78573. },
  78574. _evaluateMacroArguments$1(invocation) {
  78575. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  78576. t1 = invocation.$arguments,
  78577. restArgs_ = t1.rest;
  78578. if (restArgs_ == null)
  78579. return new A._Record_2(t1.positional, t1.named);
  78580. t2 = t1.positional;
  78581. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  78582. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  78583. rest = restArgs_.accept$1(_this);
  78584. restNodeForSpan = _this._expressionNode$1(restArgs_);
  78585. if (rest instanceof A.SassMap)
  78586. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  78587. else if (rest instanceof A.SassList) {
  78588. t2 = rest._list$_contents;
  78589. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure0(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
  78590. if (rest instanceof A.SassArgumentList) {
  78591. rest._wereKeywordsAccessed = true;
  78592. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  78593. }
  78594. } else
  78595. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  78596. keywordRestArgs_ = t1.keywordRest;
  78597. if (keywordRestArgs_ == null)
  78598. return new A._Record_2(positional, named);
  78599. keywordRest = keywordRestArgs_.accept$1(_this);
  78600. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  78601. if (keywordRest instanceof A.SassMap) {
  78602. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  78603. return new A._Record_2(positional, named);
  78604. } else
  78605. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  78606. },
  78607. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  78608. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  78609. },
  78610. _addRestMap$4(values, map, nodeWithSpan, convert) {
  78611. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  78612. },
  78613. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  78614. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  78615. },
  78616. visitSelectorExpression$1(_, node) {
  78617. var t1 = this._styleRuleIgnoringAtRoot;
  78618. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  78619. return t1 == null ? B.C__SassNull : t1;
  78620. },
  78621. visitStringExpression$1(_, node) {
  78622. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  78623. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78624. _this._inSupportsDeclaration = false;
  78625. t1 = A._setArrayType([], type$.JSArray_String);
  78626. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78627. value = t2[_i];
  78628. $label0$0: {
  78629. if (typeof value == "string") {
  78630. t4 = value;
  78631. break $label0$0;
  78632. }
  78633. if (value instanceof A.Expression) {
  78634. _0_0 = value.accept$1(_this);
  78635. $label1$1: {
  78636. if (_0_0 instanceof A.SassString) {
  78637. text = _0_0._string$_text;
  78638. t4 = text;
  78639. break $label1$1;
  78640. }
  78641. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78642. break $label1$1;
  78643. }
  78644. break $label0$0;
  78645. }
  78646. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78647. }
  78648. t1.push(t4);
  78649. }
  78650. t1 = B.JSArray_methods.join$0(t1);
  78651. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78652. return new A.SassString(t1, node.hasQuotes);
  78653. },
  78654. visitSupportsExpression$1(_, expression) {
  78655. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78656. },
  78657. visitCssAtRule$1(node) {
  78658. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78659. if (_this._declarationName != null)
  78660. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78661. if (node.isChildless) {
  78662. _this._copyParentAfterSibling$0();
  78663. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78664. return;
  78665. }
  78666. wasInKeyframes = _this._inKeyframes;
  78667. wasInUnknownAtRule = _this._inUnknownAtRule;
  78668. t1 = node.name;
  78669. if (A.unvendor(t1.value) === "keyframes")
  78670. _this._inKeyframes = true;
  78671. else
  78672. _this._inUnknownAtRule = true;
  78673. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure0(), type$.ModifiableCssAtRule, type$.Null);
  78674. _this._inUnknownAtRule = wasInUnknownAtRule;
  78675. _this._inKeyframes = wasInKeyframes;
  78676. },
  78677. visitCssComment$1(node) {
  78678. var _this = this,
  78679. _s8_ = "__parent",
  78680. _s13_ = "_endOfImports";
  78681. if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
  78682. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78683. _this._copyParentAfterSibling$0();
  78684. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78685. },
  78686. visitCssDeclaration$1(node) {
  78687. this._copyParentAfterSibling$0();
  78688. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap));
  78689. },
  78690. visitCssImport$1(node) {
  78691. var t1, _this = this,
  78692. _s8_ = "__parent",
  78693. _s5_ = "_root",
  78694. _s13_ = "_endOfImports",
  78695. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78696. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_)) {
  78697. _this._copyParentAfterSibling$0();
  78698. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78699. } else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78700. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78701. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78702. } else {
  78703. t1 = _this._outOfOrderImports;
  78704. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78705. }
  78706. },
  78707. visitCssKeyframeBlock$1(node) {
  78708. this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
  78709. },
  78710. visitCssMediaRule$1(node) {
  78711. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78712. if (_this._declarationName != null)
  78713. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78714. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78715. t1 = mergedQueries == null;
  78716. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78717. return;
  78718. if (t1)
  78719. mergedSources = B.Set_empty2;
  78720. else {
  78721. t2 = _this._mediaQuerySources;
  78722. t2.toString;
  78723. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78724. t3 = _this._mediaQueries;
  78725. t3.toString;
  78726. t2.addAll$1(0, t3);
  78727. t2.addAll$1(0, node.queries);
  78728. mergedSources = t2;
  78729. }
  78730. t1 = t1 ? node.queries : mergedQueries;
  78731. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure0(_this, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure1(mergedSources), type$.ModifiableCssMediaRule, type$.Null);
  78732. },
  78733. visitCssStyleRule$1(node) {
  78734. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  78735. _s8_ = "__parent";
  78736. if (_this._declarationName != null)
  78737. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78738. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78739. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78740. t1 = _this._atRootExcludingStyleRule;
  78741. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78742. _0_0 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78743. $label0$0: {
  78744. if (_0_0 == null) {
  78745. t1 = true;
  78746. break $label0$0;
  78747. }
  78748. if (_0_0.fromPlainCss) {
  78749. t1 = false;
  78750. break $label0$0;
  78751. }
  78752. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  78753. break $label0$0;
  78754. }
  78755. t2 = node._style_rule$_selector._box$_inner;
  78756. if (t1) {
  78757. t2 = t2.value;
  78758. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78759. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._atRootExcludingStyleRule, node.fromPlainCss);
  78760. } else
  78761. originalSelector = t2.value;
  78762. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78763. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78764. _this._atRootExcludingStyleRule = false;
  78765. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78766. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78767. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78768. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78769. t2 = J.getInterceptor$asx(t1);
  78770. _1_1 = t2.get$length(t1);
  78771. if (_1_1 >= 1) {
  78772. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  78773. t1 = styleRule == null;
  78774. } else {
  78775. lastChild = _null;
  78776. t1 = false;
  78777. }
  78778. if (t1)
  78779. lastChild.isGroupEnd = true;
  78780. },
  78781. visitCssStylesheet$1(node) {
  78782. var t1;
  78783. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78784. t1.get$current(t1).accept$1(this);
  78785. },
  78786. visitCssSupportsRule$1(node) {
  78787. var _this = this;
  78788. if (_this._declarationName != null)
  78789. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78790. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
  78791. },
  78792. _handleReturn$1$2(list, callback) {
  78793. var t1, _i, _0_0;
  78794. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78795. _0_0 = callback.call$1(list[_i]);
  78796. if (_0_0 != null)
  78797. return _0_0;
  78798. }
  78799. return null;
  78800. },
  78801. _handleReturn$2(list, callback) {
  78802. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78803. },
  78804. _withEnvironment$1$2(environment, callback) {
  78805. var result,
  78806. oldEnvironment = this._environment;
  78807. this._environment = environment;
  78808. result = callback.call$0();
  78809. this._environment = oldEnvironment;
  78810. return result;
  78811. },
  78812. _withEnvironment$2(environment, callback) {
  78813. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78814. },
  78815. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78816. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78817. t1 = trim ? A.trimAscii(result, true) : result;
  78818. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78819. },
  78820. _interpolationToValue$1(interpolation) {
  78821. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78822. },
  78823. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78824. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78825. },
  78826. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78827. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78828. },
  78829. _performInterpolation$1(interpolation) {
  78830. return this._performInterpolation$2$warnForColor(interpolation, false);
  78831. },
  78832. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78833. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78834. map = _0_0._1;
  78835. map.toString;
  78836. return new A._Record_2(_0_0._0, map);
  78837. },
  78838. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78839. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this,
  78840. targetOffsets = sourceMap ? A._setArrayType([], type$.JSArray_int) : null,
  78841. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78842. _this._inSupportsDeclaration = false;
  78843. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetOffsets == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  78844. value = t1[_i];
  78845. if (!first)
  78846. if (!t4)
  78847. targetOffsets.push(t7.length);
  78848. if (typeof value == "string") {
  78849. t7 += value;
  78850. continue;
  78851. }
  78852. t3._as(value);
  78853. result = value.accept$1(_this);
  78854. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78855. result0 = A.List_List$from([""], false, t6);
  78856. result0.$flags = 3;
  78857. t8 = $.$get$namesByColor();
  78858. _this._warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_jCK, new A.StringExpression(new A.Interpolation(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  78859. }
  78860. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78861. }
  78862. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78863. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetOffsets, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78864. },
  78865. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78866. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78867. },
  78868. _evaluate$_serialize$2(value, nodeWithSpan) {
  78869. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78870. },
  78871. _expressionNode$1(expression) {
  78872. var t1;
  78873. if (expression instanceof A.VariableExpression) {
  78874. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78875. return t1 == null ? expression : t1;
  78876. } else
  78877. return expression;
  78878. },
  78879. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78880. var oldParent, result, _this = this;
  78881. _this._addChild$2$through(node, through);
  78882. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78883. _this.__parent = node;
  78884. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78885. _this.__parent = oldParent;
  78886. return result;
  78887. },
  78888. _withParent$2$2(node, callback, $S, $T) {
  78889. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78890. },
  78891. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78892. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78893. },
  78894. _copyParentAfterSibling$0() {
  78895. var t1, grandparent, newParent, _this = this,
  78896. _s8_ = "__parent",
  78897. _0_0 = _this._assertInModule$2(_this.__parent, _s8_)._parent;
  78898. if (_0_0 != null) {
  78899. t1 = _0_0.children;
  78900. t1 = t1.get$last(t1) !== _this._assertInModule$2(_this.__parent, _s8_);
  78901. grandparent = _0_0;
  78902. } else {
  78903. grandparent = null;
  78904. t1 = false;
  78905. }
  78906. if (t1) {
  78907. newParent = _this._assertInModule$2(_this.__parent, _s8_).copyWithoutChildren$0();
  78908. grandparent.addChild$1(newParent);
  78909. _this.__parent = newParent;
  78910. }
  78911. },
  78912. _addChild$2$through(node, through) {
  78913. var _0_0, grandparent, t1,
  78914. $parent = this._assertInModule$2(this.__parent, "__parent");
  78915. if (through != null) {
  78916. for (; through.call$1($parent); $parent = _0_0) {
  78917. _0_0 = $parent._parent;
  78918. if (_0_0 == null)
  78919. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78920. }
  78921. if ($parent.get$hasFollowingSibling()) {
  78922. grandparent = $parent._parent;
  78923. t1 = grandparent.children;
  78924. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78925. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78926. else {
  78927. $parent = $parent.copyWithoutChildren$0();
  78928. grandparent.addChild$1($parent);
  78929. }
  78930. }
  78931. }
  78932. $parent.addChild$1(node);
  78933. },
  78934. _addChild$1(node) {
  78935. return this._addChild$2$through(node, null);
  78936. },
  78937. _withStyleRule$1$2(rule, callback) {
  78938. var result,
  78939. oldRule = this._styleRuleIgnoringAtRoot;
  78940. this._styleRuleIgnoringAtRoot = rule;
  78941. result = callback.call$0();
  78942. this._styleRuleIgnoringAtRoot = oldRule;
  78943. return result;
  78944. },
  78945. _withStyleRule$2(rule, callback) {
  78946. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78947. },
  78948. _withMediaQueries$1$3(queries, sources, callback) {
  78949. var result, _this = this,
  78950. oldMediaQueries = _this._mediaQueries,
  78951. oldSources = _this._mediaQuerySources;
  78952. _this._mediaQueries = queries;
  78953. _this._mediaQuerySources = sources;
  78954. result = callback.call$0();
  78955. _this._mediaQueries = oldMediaQueries;
  78956. _this._mediaQuerySources = oldSources;
  78957. return result;
  78958. },
  78959. _withMediaQueries$3(queries, sources, callback) {
  78960. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78961. },
  78962. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78963. var oldMember, result, _this = this,
  78964. t1 = _this._stack;
  78965. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78966. oldMember = _this._member;
  78967. _this._member = member;
  78968. result = callback.call$0();
  78969. _this._member = oldMember;
  78970. t1.pop();
  78971. return result;
  78972. },
  78973. _withStackFrame$3(member, nodeWithSpan, callback) {
  78974. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78975. },
  78976. _withoutSlash$2(value, nodeForSpan) {
  78977. var t1;
  78978. if (value instanceof A.SassNumber)
  78979. t1 = value.asSlash != null;
  78980. else
  78981. t1 = false;
  78982. if (t1)
  78983. this._warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_qZ1);
  78984. return value.withoutSlash$0();
  78985. },
  78986. _stackFrame$2(member, span) {
  78987. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78988. },
  78989. _evaluate$_stackTrace$1(span) {
  78990. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78991. t1 = A._setArrayType([], type$.JSArray_Frame);
  78992. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78993. t4 = t2[_i];
  78994. nodeWithSpan = t4._1;
  78995. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78996. }
  78997. if (span != null)
  78998. t1.push(_this._stackFrame$2(_this._member, span));
  78999. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  79000. },
  79001. _evaluate$_stackTrace$0() {
  79002. return this._evaluate$_stackTrace$1(null);
  79003. },
  79004. _warn$3(message, span, deprecation) {
  79005. var trace, t1, _this = this;
  79006. if (_this._quietDeps && _this._inDependency)
  79007. return;
  79008. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  79009. return;
  79010. trace = _this._evaluate$_stackTrace$1(span);
  79011. t1 = _this._logger;
  79012. if (deprecation == null)
  79013. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  79014. else
  79015. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  79016. },
  79017. _warn$2(message, span) {
  79018. return this._warn$3(message, span, null);
  79019. },
  79020. _evaluate$_exception$2(message, span) {
  79021. var t1, t2;
  79022. if (span == null) {
  79023. t1 = B.JSArray_methods.get$last(this._stack)._1;
  79024. t1 = t1.get$span(t1);
  79025. } else
  79026. t1 = span;
  79027. t2 = this._evaluate$_stackTrace$1(span);
  79028. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  79029. },
  79030. _evaluate$_exception$1(message) {
  79031. return this._evaluate$_exception$2(message, null);
  79032. },
  79033. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  79034. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  79035. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  79036. },
  79037. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  79038. var error, stackTrace, t1, exception;
  79039. try {
  79040. t1 = callback.call$0();
  79041. return t1;
  79042. } catch (exception) {
  79043. t1 = A.unwrapException(exception);
  79044. if (t1 instanceof A.SassScriptException) {
  79045. error = t1;
  79046. stackTrace = A.getTraceFromException(exception);
  79047. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  79048. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  79049. } else
  79050. throw exception;
  79051. }
  79052. },
  79053. _addExceptionSpan$2(nodeWithSpan, callback) {
  79054. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  79055. },
  79056. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  79057. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  79058. },
  79059. _addExceptionTrace$1$1(callback) {
  79060. var error, stackTrace, t1, exception, t2;
  79061. try {
  79062. t1 = callback.call$0();
  79063. return t1;
  79064. } catch (exception) {
  79065. t1 = A.unwrapException(exception);
  79066. if (type$.SassRuntimeException._is(t1))
  79067. throw exception;
  79068. else if (t1 instanceof A.SassException) {
  79069. error = t1;
  79070. stackTrace = A.getTraceFromException(exception);
  79071. t1 = error;
  79072. t2 = J.getInterceptor$z(t1);
  79073. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  79074. } else
  79075. throw exception;
  79076. }
  79077. },
  79078. _addExceptionTrace$1(callback) {
  79079. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  79080. },
  79081. _addErrorSpan$1$2(nodeWithSpan, callback) {
  79082. var error, stackTrace, t1, exception, t2, t3;
  79083. try {
  79084. t1 = callback.call$0();
  79085. return t1;
  79086. } catch (exception) {
  79087. t1 = A.unwrapException(exception);
  79088. if (type$.SassRuntimeException._is(t1)) {
  79089. error = t1;
  79090. stackTrace = A.getTraceFromException(exception);
  79091. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  79092. throw exception;
  79093. t1 = error._span_exception$_message;
  79094. t2 = nodeWithSpan.get$span(nodeWithSpan);
  79095. t3 = this._evaluate$_stackTrace$0();
  79096. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  79097. } else
  79098. throw exception;
  79099. }
  79100. },
  79101. _addErrorSpan$2(nodeWithSpan, callback) {
  79102. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  79103. },
  79104. _getErrorMessage$1(error) {
  79105. var t1, exception;
  79106. if (type$.Error._is(error))
  79107. return error.toString$0(0);
  79108. try {
  79109. t1 = A._asString(J.get$message$x(error));
  79110. return t1;
  79111. } catch (exception) {
  79112. t1 = J.toString$0$(error);
  79113. return t1;
  79114. }
  79115. }
  79116. };
  79117. A._EvaluateVisitor_closure.prototype = {
  79118. call$1($arguments) {
  79119. var module, t2,
  79120. t1 = J.getInterceptor$asx($arguments),
  79121. variable = t1.$index($arguments, 0).assertString$1("name");
  79122. t1 = t1.$index($arguments, 1).get$realNull();
  79123. module = t1 == null ? null : t1.assertString$1("module");
  79124. t1 = this.$this._environment;
  79125. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  79126. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  79127. },
  79128. $signature: 12
  79129. };
  79130. A._EvaluateVisitor_closure0.prototype = {
  79131. call$1($arguments) {
  79132. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  79133. t1 = this.$this._environment;
  79134. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  79135. },
  79136. $signature: 12
  79137. };
  79138. A._EvaluateVisitor_closure1.prototype = {
  79139. call$1($arguments) {
  79140. var module, t2, t3, t4,
  79141. t1 = J.getInterceptor$asx($arguments),
  79142. variable = t1.$index($arguments, 0).assertString$1("name");
  79143. t1 = t1.$index($arguments, 1).get$realNull();
  79144. module = t1 == null ? null : t1.assertString$1("module");
  79145. t1 = this.$this;
  79146. t2 = t1._environment;
  79147. t3 = variable._string$_text;
  79148. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  79149. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  79150. },
  79151. $signature: 12
  79152. };
  79153. A._EvaluateVisitor_closure2.prototype = {
  79154. call$1($arguments) {
  79155. var module, t2,
  79156. t1 = J.getInterceptor$asx($arguments),
  79157. variable = t1.$index($arguments, 0).assertString$1("name");
  79158. t1 = t1.$index($arguments, 1).get$realNull();
  79159. module = t1 == null ? null : t1.assertString$1("module");
  79160. t1 = this.$this._environment;
  79161. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  79162. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  79163. },
  79164. $signature: 12
  79165. };
  79166. A._EvaluateVisitor_closure3.prototype = {
  79167. call$1($arguments) {
  79168. var t1 = this.$this._environment;
  79169. if (!t1._inMixin)
  79170. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  79171. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  79172. },
  79173. $signature: 12
  79174. };
  79175. A._EvaluateVisitor_closure4.prototype = {
  79176. call$1($arguments) {
  79177. var t2, t3, t4,
  79178. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  79179. module = this.$this._environment._environment$_modules.$index(0, t1);
  79180. if (module == null)
  79181. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  79182. t1 = type$.Value;
  79183. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  79184. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  79185. t4 = t3.get$current(t3);
  79186. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  79187. }
  79188. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  79189. },
  79190. $signature: 38
  79191. };
  79192. A._EvaluateVisitor_closure5.prototype = {
  79193. call$1($arguments) {
  79194. var t3, t4, t5,
  79195. t1 = this.$this,
  79196. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  79197. module = t1._environment._environment$_modules.$index(0, t2);
  79198. if (module == null)
  79199. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  79200. t2 = type$.Value;
  79201. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  79202. for (t4 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  79203. t5 = t4.get$current(t4);
  79204. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  79205. }
  79206. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  79207. },
  79208. $signature: 38
  79209. };
  79210. A._EvaluateVisitor_closure6.prototype = {
  79211. call$1($arguments) {
  79212. var t3, t4, t5,
  79213. t1 = this.$this,
  79214. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  79215. module = t1._environment._environment$_modules.$index(0, t2);
  79216. if (module == null)
  79217. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  79218. t2 = type$.Value;
  79219. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  79220. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  79221. t5 = t4.get$current(t4);
  79222. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  79223. }
  79224. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  79225. },
  79226. $signature: 38
  79227. };
  79228. A._EvaluateVisitor_closure7.prototype = {
  79229. call$1($arguments) {
  79230. var module, t2, callable,
  79231. t1 = J.getInterceptor$asx($arguments),
  79232. $name = t1.$index($arguments, 0).assertString$1("name"),
  79233. css = t1.$index($arguments, 1).get$isTruthy();
  79234. t1 = t1.$index($arguments, 2).get$realNull();
  79235. module = t1 == null ? null : t1.assertString$1("module");
  79236. if (css) {
  79237. if (module != null)
  79238. throw A.wrapException(string$.x24css_a);
  79239. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._compileContext);
  79240. }
  79241. t1 = this.$this;
  79242. t2 = t1._callableNode;
  79243. t2.toString;
  79244. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  79245. if (callable == null)
  79246. throw A.wrapException("Function not found: " + $name.toString$0(0));
  79247. return new A.SassFunction(callable, t1._compileContext);
  79248. },
  79249. $signature: 166
  79250. };
  79251. A._EvaluateVisitor__closure2.prototype = {
  79252. call$0() {
  79253. var local,
  79254. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  79255. t1 = this.module,
  79256. namespace = t1 == null ? null : t1._string$_text;
  79257. t1 = this.$this;
  79258. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  79259. if (local != null || namespace != null)
  79260. return local;
  79261. return t1._builtInFunctions.$index(0, normalizedName);
  79262. },
  79263. $signature: 114
  79264. };
  79265. A._EvaluateVisitor_closure8.prototype = {
  79266. call$1($arguments) {
  79267. var module, t2, callable,
  79268. t1 = J.getInterceptor$asx($arguments),
  79269. $name = t1.$index($arguments, 0).assertString$1("name");
  79270. t1 = t1.$index($arguments, 1).get$realNull();
  79271. module = t1 == null ? null : t1.assertString$1("module");
  79272. t1 = this.$this;
  79273. t2 = t1._callableNode;
  79274. t2.toString;
  79275. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  79276. if (callable == null)
  79277. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  79278. return new A.SassMixin(callable, t1._compileContext);
  79279. },
  79280. $signature: 167
  79281. };
  79282. A._EvaluateVisitor__closure1.prototype = {
  79283. call$0() {
  79284. var t1 = this.$this._environment,
  79285. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  79286. t3 = this.module;
  79287. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  79288. },
  79289. $signature: 114
  79290. };
  79291. A._EvaluateVisitor_closure9.prototype = {
  79292. call$1($arguments) {
  79293. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  79294. t1 = J.getInterceptor$asx($arguments),
  79295. $function = t1.$index($arguments, 0),
  79296. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  79297. t1 = this.$this;
  79298. t2 = t1._callableNode;
  79299. t2.toString;
  79300. t3 = A._setArrayType([], type$.JSArray_Expression);
  79301. t4 = type$.String;
  79302. t5 = type$.Expression;
  79303. t6 = t2.get$span(t2);
  79304. t7 = t2.get$span(t2);
  79305. args._wereKeywordsAccessed = true;
  79306. t8 = args._keywords;
  79307. if (t8.get$isEmpty(t8))
  79308. t2 = null;
  79309. else {
  79310. t9 = type$.Value;
  79311. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  79312. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  79313. t11 = t8.get$current(t8);
  79314. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  79315. }
  79316. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  79317. }
  79318. invocation = new A.ArgumentList(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  79319. if ($function instanceof A.SassString) {
  79320. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_c4i);
  79321. callableNode = t1._callableNode;
  79322. t2 = $function._string$_text;
  79323. t3 = callableNode.get$span(callableNode);
  79324. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  79325. }
  79326. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._compileContext).callable;
  79327. if (type$.Callable._is(callable)) {
  79328. t2 = t1._callableNode;
  79329. t2.toString;
  79330. return t1._runFunctionCallable$3(invocation, callable, t2);
  79331. } else
  79332. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  79333. },
  79334. $signature: 4
  79335. };
  79336. A._EvaluateVisitor_closure10.prototype = {
  79337. call$1($arguments) {
  79338. var withMap, t2, t3, values, span, configuration,
  79339. t1 = J.getInterceptor$asx($arguments),
  79340. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  79341. t1 = t1.$index($arguments, 1).get$realNull();
  79342. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  79343. t1 = this.$this;
  79344. t2 = t1._callableNode;
  79345. t2.toString;
  79346. if (withMap != null) {
  79347. t3 = {};
  79348. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  79349. span = t2.get$span(t2);
  79350. t3.privateDeprecation = false;
  79351. withMap.forEach$1(0, new A._EvaluateVisitor__closure(t3, values, span, t2));
  79352. configuration = new A.ExplicitConfiguration(t2, values, null);
  79353. } else
  79354. configuration = B.Configuration_Map_empty_null;
  79355. t3 = t2.get$span(t2);
  79356. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  79357. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  79358. },
  79359. $signature: 188
  79360. };
  79361. A._EvaluateVisitor__closure.prototype = {
  79362. call$2(variable, value) {
  79363. var _this = this,
  79364. t1 = variable.assertString$1("with key"),
  79365. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  79366. t1 = _this.values;
  79367. if (t1.containsKey$1($name))
  79368. throw A.wrapException("The variable $" + $name + " was configured twice.");
  79369. else if (B.JSString_methods.startsWith$1($name, "-") && !_this._box_0.privateDeprecation) {
  79370. _this._box_0.privateDeprecation = true;
  79371. A.warnForDeprecation("Configuring private variables (such as $" + $name + string$.x29x20is_dT, B.Deprecation_mXO);
  79372. }
  79373. t1.$indexSet(0, $name, new A.ConfiguredValue(value, _this.span, _this.callableNode));
  79374. },
  79375. $signature: 107
  79376. };
  79377. A._EvaluateVisitor__closure0.prototype = {
  79378. call$2(module, _) {
  79379. var t1 = this.$this;
  79380. return t1._combineCss$2$clone(module, true).accept$1(t1);
  79381. },
  79382. $signature: 81
  79383. };
  79384. A._EvaluateVisitor_closure11.prototype = {
  79385. call$1($arguments) {
  79386. var callableNode, t2, t3, t4, t5, callable, $content,
  79387. t1 = J.getInterceptor$asx($arguments),
  79388. mixin = t1.$index($arguments, 0),
  79389. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  79390. t1 = this.$this;
  79391. callableNode = t1._callableNode;
  79392. t2 = callableNode.get$span(callableNode);
  79393. t3 = callableNode.get$span(callableNode);
  79394. t4 = type$.Expression;
  79395. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  79396. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  79397. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._compileContext).callable;
  79398. $content = t1._environment._content;
  79399. if (type$.Callable._is(callable))
  79400. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  79401. else
  79402. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  79403. },
  79404. $signature: 188
  79405. };
  79406. A._EvaluateVisitor_run_closure.prototype = {
  79407. call$0() {
  79408. var module, _this = this,
  79409. t1 = _this.node,
  79410. t2 = t1.span,
  79411. _0_0 = t2.get$sourceUrl(t2),
  79412. url = null;
  79413. if (_0_0 != null) {
  79414. url = _0_0;
  79415. t2 = _this.$this;
  79416. t2._activeModules.$indexSet(0, url, null);
  79417. t2._loadedUrls.add$1(0, url);
  79418. }
  79419. t2 = _this.$this;
  79420. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  79421. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  79422. },
  79423. $signature: 311
  79424. };
  79425. A._EvaluateVisitor_run__closure.prototype = {
  79426. call$0() {
  79427. return this.$this._execute$2(this.importer, this.node);
  79428. },
  79429. $signature: 310
  79430. };
  79431. A._EvaluateVisitor_runExpression_closure.prototype = {
  79432. call$0() {
  79433. var t1 = this.$this,
  79434. t2 = this.expression;
  79435. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  79436. },
  79437. $signature: 36
  79438. };
  79439. A._EvaluateVisitor_runExpression__closure.prototype = {
  79440. call$0() {
  79441. var t1 = this.$this;
  79442. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  79443. },
  79444. $signature: 36
  79445. };
  79446. A._EvaluateVisitor_runExpression___closure.prototype = {
  79447. call$0() {
  79448. return this.expression.accept$1(this.$this);
  79449. },
  79450. $signature: 36
  79451. };
  79452. A._EvaluateVisitor_runStatement_closure.prototype = {
  79453. call$0() {
  79454. var t1 = this.$this,
  79455. t2 = this.statement;
  79456. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  79457. },
  79458. $signature: 0
  79459. };
  79460. A._EvaluateVisitor_runStatement__closure.prototype = {
  79461. call$0() {
  79462. var t1 = this.$this;
  79463. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  79464. },
  79465. $signature: 0
  79466. };
  79467. A._EvaluateVisitor_runStatement___closure.prototype = {
  79468. call$0() {
  79469. return this.statement.accept$1(this.$this);
  79470. },
  79471. $signature: 0
  79472. };
  79473. A._EvaluateVisitor__loadModule_closure.prototype = {
  79474. call$0() {
  79475. return this.callback.call$2(this._box_0.builtInModule, false);
  79476. },
  79477. $signature: 0
  79478. };
  79479. A._EvaluateVisitor__loadModule_closure0.prototype = {
  79480. call$0() {
  79481. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  79482. t2 = _this.$this,
  79483. t3 = _this.nodeWithSpan,
  79484. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  79485. stylesheet = _1_0._0;
  79486. importer = _1_0._1;
  79487. t4 = stylesheet.span;
  79488. canonicalUrl = t4.get$sourceUrl(t4);
  79489. if (canonicalUrl != null) {
  79490. t4 = t2._activeModules;
  79491. if (t4.containsKey$1(canonicalUrl)) {
  79492. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  79493. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  79494. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  79495. } else
  79496. t4.$indexSet(0, canonicalUrl, t3);
  79497. }
  79498. t4 = t2._modules.containsKey$1(canonicalUrl);
  79499. oldInDependency = t2._inDependency;
  79500. t2._inDependency = _1_0._2;
  79501. t1.module = null;
  79502. try {
  79503. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  79504. } finally {
  79505. t2._activeModules.remove$1(0, canonicalUrl);
  79506. t2._inDependency = oldInDependency;
  79507. }
  79508. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  79509. },
  79510. $signature: 1
  79511. };
  79512. A._EvaluateVisitor__loadModule__closure.prototype = {
  79513. call$1(previousLoad) {
  79514. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  79515. },
  79516. $signature: 109
  79517. };
  79518. A._EvaluateVisitor__loadModule__closure0.prototype = {
  79519. call$0() {
  79520. return this.callback.call$2(this._box_1.module, this.firstLoad);
  79521. },
  79522. $signature: 0
  79523. };
  79524. A._EvaluateVisitor__execute_closure.prototype = {
  79525. call$0() {
  79526. var t3, t4, t5, t6, _this = this,
  79527. t1 = _this.$this,
  79528. oldImporter = t1._importer,
  79529. oldStylesheet = t1.__stylesheet,
  79530. oldRoot = t1.__root,
  79531. oldPreModuleComments = t1._preModuleComments,
  79532. oldParent = t1.__parent,
  79533. oldEndOfImports = t1.__endOfImports,
  79534. oldOutOfOrderImports = t1._outOfOrderImports,
  79535. oldExtensionStore = t1.__extensionStore,
  79536. t2 = t1._atRootExcludingStyleRule,
  79537. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  79538. oldMediaQueries = t1._mediaQueries,
  79539. oldDeclarationName = t1._declarationName,
  79540. oldInUnknownAtRule = t1._inUnknownAtRule,
  79541. oldInKeyframes = t1._inKeyframes,
  79542. oldConfiguration = t1._configuration;
  79543. t1._importer = _this.importer;
  79544. t3 = t1.__stylesheet = _this.stylesheet;
  79545. t4 = t3.span;
  79546. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  79547. t1.__endOfImports = 0;
  79548. t1._outOfOrderImports = null;
  79549. t1.__extensionStore = _this.extensionStore;
  79550. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  79551. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  79552. t6 = _this.configuration;
  79553. if (t6 != null)
  79554. t1._configuration = t6;
  79555. t1.visitStylesheet$1(0, t3);
  79556. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  79557. _this.css.__late_helper$_value = t3;
  79558. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  79559. t1._importer = oldImporter;
  79560. t1.__stylesheet = oldStylesheet;
  79561. t1.__root = oldRoot;
  79562. t1._preModuleComments = oldPreModuleComments;
  79563. t1.__parent = oldParent;
  79564. t1.__endOfImports = oldEndOfImports;
  79565. t1._outOfOrderImports = oldOutOfOrderImports;
  79566. t1.__extensionStore = oldExtensionStore;
  79567. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  79568. t1._mediaQueries = oldMediaQueries;
  79569. t1._declarationName = oldDeclarationName;
  79570. t1._inUnknownAtRule = oldInUnknownAtRule;
  79571. t1._atRootExcludingStyleRule = t2;
  79572. t1._inKeyframes = oldInKeyframes;
  79573. t1._configuration = oldConfiguration;
  79574. },
  79575. $signature: 1
  79576. };
  79577. A._EvaluateVisitor__combineCss_closure.prototype = {
  79578. call$1(module) {
  79579. return module.get$transitivelyContainsCss();
  79580. },
  79581. $signature: 108
  79582. };
  79583. A._EvaluateVisitor__combineCss_closure0.prototype = {
  79584. call$1(target) {
  79585. return !this.selectors.contains$1(0, target);
  79586. },
  79587. $signature: 13
  79588. };
  79589. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  79590. call$1(module) {
  79591. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  79592. if (!_this.seen.add$1(0, module))
  79593. return;
  79594. if (_this.clone)
  79595. module = module.cloneCss$0();
  79596. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  79597. upstream = t1[_i];
  79598. if (upstream.get$transitivelyContainsCss()) {
  79599. _1_0 = module.get$preModuleComments().$index(0, upstream);
  79600. if (_1_0 != null)
  79601. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  79602. _this.call$1(upstream);
  79603. }
  79604. }
  79605. _this.sorted.addFirst$1(module);
  79606. t1 = module.get$css(module);
  79607. statements = t1.get$children(t1);
  79608. index = _this.$this._indexAfterImports$1(statements);
  79609. t1 = J.getInterceptor$ax(statements);
  79610. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  79611. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  79612. },
  79613. $signature: 302
  79614. };
  79615. A._EvaluateVisitor__extendModules_closure.prototype = {
  79616. call$1(target) {
  79617. return !this.originalSelectors.contains$1(0, target);
  79618. },
  79619. $signature: 13
  79620. };
  79621. A._EvaluateVisitor__extendModules_closure0.prototype = {
  79622. call$0() {
  79623. return A._setArrayType([], type$.JSArray_ExtensionStore);
  79624. },
  79625. $signature: 170
  79626. };
  79627. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  79628. call$0() {
  79629. var t1, t2, t3, _i;
  79630. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79631. t1[_i].accept$1(t3);
  79632. },
  79633. $signature: 1
  79634. };
  79635. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  79636. call$0() {
  79637. var t1, t2, t3, _i;
  79638. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79639. t1[_i].accept$1(t3);
  79640. },
  79641. $signature: 0
  79642. };
  79643. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  79644. call$1(callback) {
  79645. var t1 = this.$this,
  79646. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  79647. t1.__parent = this.newParent;
  79648. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  79649. t1.__parent = oldParent;
  79650. },
  79651. $signature: 37
  79652. };
  79653. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  79654. call$1(callback) {
  79655. var t1 = this.$this,
  79656. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79657. t1._atRootExcludingStyleRule = true;
  79658. this.innerScope.call$1(callback);
  79659. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79660. },
  79661. $signature: 37
  79662. };
  79663. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79664. call$1(callback) {
  79665. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79666. },
  79667. $signature: 37
  79668. };
  79669. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79670. call$0() {
  79671. return this.innerScope.call$1(this.callback);
  79672. },
  79673. $signature: 1
  79674. };
  79675. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79676. call$1(callback) {
  79677. var t1 = this.$this,
  79678. wasInKeyframes = t1._inKeyframes;
  79679. t1._inKeyframes = false;
  79680. this.innerScope.call$1(callback);
  79681. t1._inKeyframes = wasInKeyframes;
  79682. },
  79683. $signature: 37
  79684. };
  79685. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79686. call$1($parent) {
  79687. return $parent instanceof A.ModifiableCssAtRule;
  79688. },
  79689. $signature: 171
  79690. };
  79691. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79692. call$1(callback) {
  79693. var t1 = this.$this,
  79694. wasInUnknownAtRule = t1._inUnknownAtRule;
  79695. t1._inUnknownAtRule = false;
  79696. this.innerScope.call$1(callback);
  79697. t1._inUnknownAtRule = wasInUnknownAtRule;
  79698. },
  79699. $signature: 37
  79700. };
  79701. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79702. call$0() {
  79703. var t1, t2, t3, _i;
  79704. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79705. t1[_i].accept$1(t3);
  79706. return null;
  79707. },
  79708. $signature: 1
  79709. };
  79710. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79711. call$0() {
  79712. var t1, t2, t3, _i;
  79713. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79714. t1[_i].accept$1(t3);
  79715. },
  79716. $signature: 1
  79717. };
  79718. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79719. call$1(value) {
  79720. var t1 = this.$this,
  79721. t2 = this.nodeWithSpan;
  79722. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79723. },
  79724. $signature: 61
  79725. };
  79726. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79727. call$1(value) {
  79728. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79729. },
  79730. $signature: 61
  79731. };
  79732. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79733. call$0() {
  79734. var _this = this,
  79735. t1 = _this.$this;
  79736. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79737. },
  79738. $signature: 42
  79739. };
  79740. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79741. call$1(element) {
  79742. var t1;
  79743. this.setVariables.call$1(element);
  79744. t1 = this.$this;
  79745. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79746. },
  79747. $signature: 301
  79748. };
  79749. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79750. call$1(child) {
  79751. return child.accept$1(this.$this);
  79752. },
  79753. $signature: 82
  79754. };
  79755. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79756. call$1(value) {
  79757. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79758. },
  79759. $signature: 296
  79760. };
  79761. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79762. call$0() {
  79763. var t2, t3, _i, _this = this,
  79764. t1 = _this.$this,
  79765. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79766. if (styleRule == null || t1._inKeyframes || _this.name.value === "font-face")
  79767. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79768. t2[_i].accept$1(t1);
  79769. else
  79770. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, _this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  79771. },
  79772. $signature: 1
  79773. };
  79774. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79775. call$0() {
  79776. var t1, t2, t3, _i;
  79777. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79778. t1[_i].accept$1(t3);
  79779. },
  79780. $signature: 1
  79781. };
  79782. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  79783. call$1(node) {
  79784. return node instanceof A.ModifiableCssStyleRule;
  79785. },
  79786. $signature: 8
  79787. };
  79788. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79789. call$0() {
  79790. return this.node.from.accept$1(this.$this).assertNumber$0();
  79791. },
  79792. $signature: 189
  79793. };
  79794. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79795. call$0() {
  79796. return this.node.to.accept$1(this.$this).assertNumber$0();
  79797. },
  79798. $signature: 189
  79799. };
  79800. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79801. call$0() {
  79802. return this.fromNumber.assertInt$0();
  79803. },
  79804. $signature: 10
  79805. };
  79806. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79807. call$0() {
  79808. var t1 = this.fromNumber;
  79809. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79810. },
  79811. $signature: 10
  79812. };
  79813. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79814. call$0() {
  79815. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79816. t1 = _this.$this,
  79817. t2 = _this.node,
  79818. nodeWithSpan = t1._expressionNode$1(t2.from);
  79819. for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
  79820. t7 = t1._environment;
  79821. t8 = t6.get$numeratorUnits(t6);
  79822. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79823. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79824. if (_0_0 != null)
  79825. return _0_0;
  79826. }
  79827. return null;
  79828. },
  79829. $signature: 42
  79830. };
  79831. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79832. call$1(child) {
  79833. return child.accept$1(this.$this);
  79834. },
  79835. $signature: 82
  79836. };
  79837. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79838. call$2(module, firstLoad) {
  79839. if (firstLoad)
  79840. this.$this._registerCommentsForModule$1(module);
  79841. this.$this._environment.forwardModule$2(module, this.node);
  79842. },
  79843. $signature: 81
  79844. };
  79845. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79846. call$2(module, firstLoad) {
  79847. if (firstLoad)
  79848. this.$this._registerCommentsForModule$1(module);
  79849. this.$this._environment.forwardModule$2(module, this.node);
  79850. },
  79851. $signature: 81
  79852. };
  79853. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79854. call$0() {
  79855. return A._setArrayType([], type$.JSArray_CssComment);
  79856. },
  79857. $signature: 177
  79858. };
  79859. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79860. call$1(clause) {
  79861. var t1 = this.$this;
  79862. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79863. },
  79864. $signature: 294
  79865. };
  79866. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79867. call$0() {
  79868. var t1 = this.$this;
  79869. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79870. },
  79871. $signature: 42
  79872. };
  79873. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79874. call$1(child) {
  79875. return child.accept$1(this.$this);
  79876. },
  79877. $signature: 82
  79878. };
  79879. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79880. call$0() {
  79881. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  79882. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79883. t1 = this.$this;
  79884. t2 = this.$import;
  79885. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79886. stylesheet = _box_0.stylesheet = _0_0._0;
  79887. importer = _0_0._1;
  79888. _box_0.importer = importer;
  79889. isDependency = _0_0._2;
  79890. _box_0.isDependency = isDependency;
  79891. t3 = stylesheet.span;
  79892. url = t3.get$sourceUrl(t3);
  79893. if (url != null) {
  79894. t3 = t1._activeModules;
  79895. if (t3.containsKey$1(url)) {
  79896. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79897. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79898. }
  79899. t3.$indexSet(0, url, t2);
  79900. }
  79901. t2 = stylesheet._uses;
  79902. t3 = type$.UnmodifiableListView_UseRule;
  79903. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79904. oldImporter = t1._importer;
  79905. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79906. oldInDependency = t1._inDependency;
  79907. t1._importer = importer;
  79908. t1.__stylesheet = stylesheet;
  79909. t1._inDependency = isDependency;
  79910. t1.visitStylesheet$1(0, stylesheet);
  79911. t1._importer = oldImporter;
  79912. t1.__stylesheet = oldStylesheet;
  79913. t1._inDependency = oldInDependency;
  79914. t1._activeModules.remove$1(0, url);
  79915. return;
  79916. }
  79917. t2 = new A.UnmodifiableListView(t2, t3);
  79918. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79919. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79920. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79921. } else
  79922. loadsUserDefinedModules = true;
  79923. children = A._Cell$();
  79924. t2 = t1._environment;
  79925. t3 = type$.String;
  79926. t4 = type$.Module_Callable;
  79927. t5 = type$.AstNode;
  79928. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79929. t7 = t2._variables;
  79930. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79931. t8 = t2._variableNodes;
  79932. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79933. t9 = t2._functions;
  79934. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79935. t10 = t2._mixins;
  79936. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79937. environment = A.Environment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._importedModules, null, null, t6, t7, t8, t9, t10, t2._content, t2._configurableVariables);
  79938. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79939. module = environment.toDummyModule$0();
  79940. t1._environment.importForwards$1(module);
  79941. if (loadsUserDefinedModules) {
  79942. if (module.transitivelyContainsCss)
  79943. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79944. visitor = new A._ImportedCssVisitor(t1);
  79945. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79946. t2.get$current(t2).accept$1(visitor);
  79947. }
  79948. t1._activeModules.remove$1(0, url);
  79949. },
  79950. $signature: 0
  79951. };
  79952. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79953. call$1(previousLoad) {
  79954. return this.$this._multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  79955. },
  79956. $signature: 109
  79957. };
  79958. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79959. call$1(rule) {
  79960. return rule.url.get$scheme() !== "sass";
  79961. },
  79962. $signature: 178
  79963. };
  79964. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79965. call$1(rule) {
  79966. return rule.url.get$scheme() !== "sass";
  79967. },
  79968. $signature: 179
  79969. };
  79970. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79971. call$0() {
  79972. var t3, t4, _this = this,
  79973. t1 = _this.$this,
  79974. oldImporter = t1._importer,
  79975. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79976. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79977. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79978. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79979. oldOutOfOrderImports = t1._outOfOrderImports,
  79980. oldConfiguration = t1._configuration,
  79981. oldInDependency = t1._inDependency,
  79982. t2 = _this._box_0;
  79983. t1._importer = t2.importer;
  79984. t3 = t2.stylesheet;
  79985. t1.__stylesheet = t3;
  79986. t4 = _this.loadsUserDefinedModules;
  79987. if (t4) {
  79988. t3 = A.ModifiableCssStylesheet$(t3.span);
  79989. t1.__root = t3;
  79990. t1.__parent = t1._assertInModule$2(t3, "_root");
  79991. t1.__endOfImports = 0;
  79992. t1._outOfOrderImports = null;
  79993. }
  79994. t1._inDependency = t2.isDependency;
  79995. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79996. if (!t3.get$isEmpty(t3))
  79997. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79998. t1.visitStylesheet$1(0, t2.stylesheet);
  79999. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  80000. _this.children.__late_helper$_value = t2;
  80001. t1._importer = oldImporter;
  80002. t1.__stylesheet = oldStylesheet;
  80003. if (t4) {
  80004. t1.__root = oldRoot;
  80005. t1.__parent = oldParent;
  80006. t1.__endOfImports = oldEndOfImports;
  80007. t1._outOfOrderImports = oldOutOfOrderImports;
  80008. }
  80009. t1._configuration = oldConfiguration;
  80010. t1._inDependency = oldInDependency;
  80011. },
  80012. $signature: 1
  80013. };
  80014. A._EvaluateVisitor__applyMixin_closure.prototype = {
  80015. call$0() {
  80016. var _this = this,
  80017. t1 = _this.$this;
  80018. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  80019. },
  80020. $signature: 0
  80021. };
  80022. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  80023. call$0() {
  80024. var _this = this;
  80025. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  80026. },
  80027. $signature: 0
  80028. };
  80029. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  80030. call$0() {
  80031. var _this = this,
  80032. t1 = _this.$this;
  80033. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  80034. },
  80035. $signature: 1
  80036. };
  80037. A._EvaluateVisitor__applyMixin__closure.prototype = {
  80038. call$0() {
  80039. var t1 = this.$this;
  80040. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  80041. },
  80042. $signature: 0
  80043. };
  80044. A._EvaluateVisitor__applyMixin___closure.prototype = {
  80045. call$0() {
  80046. var t1, t2, t3, t4, _i;
  80047. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  80048. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  80049. },
  80050. $signature: 0
  80051. };
  80052. A._EvaluateVisitor__applyMixin____closure.prototype = {
  80053. call$0() {
  80054. return this.statement.accept$1(this.$this);
  80055. },
  80056. $signature: 42
  80057. };
  80058. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  80059. call$0() {
  80060. var t1 = this.node;
  80061. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  80062. },
  80063. $signature: 114
  80064. };
  80065. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  80066. call$1($content) {
  80067. var t1 = this.$this;
  80068. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  80069. },
  80070. $signature: 293
  80071. };
  80072. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  80073. call$0() {
  80074. return this.node.get$spanWithoutContent();
  80075. },
  80076. $signature: 22
  80077. };
  80078. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  80079. call$1(mediaQueries) {
  80080. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  80081. },
  80082. $signature: 86
  80083. };
  80084. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  80085. call$0() {
  80086. var _this = this,
  80087. t1 = _this.$this,
  80088. t2 = _this.mergedQueries;
  80089. if (t2 == null)
  80090. t2 = _this.queries;
  80091. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  80092. },
  80093. $signature: 1
  80094. };
  80095. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  80096. call$0() {
  80097. var t2, t3, _i,
  80098. t1 = this.$this,
  80099. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80100. if (_0_0 != null)
  80101. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  80102. else
  80103. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80104. t2[_i].accept$1(t1);
  80105. },
  80106. $signature: 1
  80107. };
  80108. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  80109. call$0() {
  80110. var t1, t2, t3, _i;
  80111. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  80112. t1[_i].accept$1(t3);
  80113. },
  80114. $signature: 1
  80115. };
  80116. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  80117. call$1(node) {
  80118. var t1;
  80119. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80120. t1 = this.mergedSources;
  80121. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80122. } else
  80123. t1 = true;
  80124. return t1;
  80125. },
  80126. $signature: 8
  80127. };
  80128. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  80129. call$0() {
  80130. var t1, t2, t3, _i;
  80131. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  80132. t1[_i].accept$1(t3);
  80133. },
  80134. $signature: 1
  80135. };
  80136. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  80137. call$1(node) {
  80138. return node instanceof A.ModifiableCssStyleRule;
  80139. },
  80140. $signature: 8
  80141. };
  80142. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  80143. call$0() {
  80144. var t1 = this.$this;
  80145. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  80146. },
  80147. $signature: 1
  80148. };
  80149. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  80150. call$0() {
  80151. var t1, t2, t3, _i;
  80152. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  80153. t1[_i].accept$1(t3);
  80154. },
  80155. $signature: 1
  80156. };
  80157. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  80158. call$1(node) {
  80159. return node instanceof A.ModifiableCssStyleRule;
  80160. },
  80161. $signature: 8
  80162. };
  80163. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  80164. call$1(child) {
  80165. return child instanceof A.ModifiableCssComment;
  80166. },
  80167. $signature: 8
  80168. };
  80169. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  80170. call$0() {
  80171. var t2, t3, _i,
  80172. t1 = this.$this,
  80173. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80174. if (_0_0 != null)
  80175. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  80176. else
  80177. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80178. t2[_i].accept$1(t1);
  80179. },
  80180. $signature: 1
  80181. };
  80182. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  80183. call$0() {
  80184. var t1, t2, t3, _i;
  80185. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  80186. t1[_i].accept$1(t3);
  80187. },
  80188. $signature: 1
  80189. };
  80190. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  80191. call$1(node) {
  80192. return node instanceof A.ModifiableCssStyleRule;
  80193. },
  80194. $signature: 8
  80195. };
  80196. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  80197. call$0() {
  80198. var t4,
  80199. t1 = this.$this,
  80200. t2 = this._box_0,
  80201. t3 = t2.declaration.name;
  80202. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  80203. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  80204. t2 = t2.declaration.value;
  80205. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  80206. },
  80207. $signature: 29
  80208. };
  80209. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  80210. call$0() {
  80211. var t1 = this.$this._environment,
  80212. t2 = this._box_0.override;
  80213. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  80214. },
  80215. $signature: 1
  80216. };
  80217. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  80218. call$0() {
  80219. var t1 = this.node;
  80220. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  80221. },
  80222. $signature: 42
  80223. };
  80224. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  80225. call$0() {
  80226. var t1 = this.$this,
  80227. t2 = this.node;
  80228. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  80229. },
  80230. $signature: 1
  80231. };
  80232. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  80233. call$2(module, firstLoad) {
  80234. var t1, t2, t3, _0_0, t4, t5, span;
  80235. if (firstLoad)
  80236. this.$this._registerCommentsForModule$1(module);
  80237. t1 = this.$this._environment;
  80238. t2 = this.node;
  80239. t3 = t2.namespace;
  80240. if (t3 == null) {
  80241. t1._globalModules.$indexSet(0, module, t2);
  80242. t1._allModules.push(module);
  80243. t1 = B.JSArray_methods.get$first(t1._variables);
  80244. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  80245. if (_0_0 != null)
  80246. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  80247. } else {
  80248. t4 = t1._environment$_modules;
  80249. if (t4.containsKey$1(t3)) {
  80250. t5 = t1._namespaceNodes.$index(0, t3);
  80251. span = t5 == null ? null : t5.span;
  80252. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80253. if (span != null)
  80254. t5.$indexSet(0, span, "original @use");
  80255. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  80256. }
  80257. t4.$indexSet(0, t3, module);
  80258. t1._namespaceNodes.$indexSet(0, t3, t2);
  80259. t1._allModules.push(module);
  80260. }
  80261. },
  80262. $signature: 81
  80263. };
  80264. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  80265. call$0() {
  80266. return this.node.expression.accept$1(this.$this);
  80267. },
  80268. $signature: 36
  80269. };
  80270. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  80271. call$0() {
  80272. var t1, t2, t3, _0_0;
  80273. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  80274. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  80275. if (_0_0 != null)
  80276. return _0_0;
  80277. }
  80278. return null;
  80279. },
  80280. $signature: 42
  80281. };
  80282. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  80283. call$1(child) {
  80284. return child.accept$1(this.$this);
  80285. },
  80286. $signature: 82
  80287. };
  80288. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  80289. call$0() {
  80290. var t1 = this.node,
  80291. t2 = this.$this,
  80292. left = t1.left.accept$1(t2);
  80293. switch (t1.operator.index) {
  80294. case 0:
  80295. t1 = t1.right.accept$1(t2);
  80296. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  80297. break;
  80298. case 1:
  80299. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  80300. break;
  80301. case 2:
  80302. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  80303. break;
  80304. case 3:
  80305. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  80306. break;
  80307. case 4:
  80308. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  80309. break;
  80310. case 5:
  80311. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  80312. break;
  80313. case 6:
  80314. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  80315. break;
  80316. case 7:
  80317. t1 = left.lessThan$1(t1.right.accept$1(t2));
  80318. break;
  80319. case 8:
  80320. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  80321. break;
  80322. case 9:
  80323. t1 = left.plus$1(t1.right.accept$1(t2));
  80324. break;
  80325. case 10:
  80326. t1 = left.minus$1(t1.right.accept$1(t2));
  80327. break;
  80328. case 11:
  80329. t1 = left.times$1(t1.right.accept$1(t2));
  80330. break;
  80331. case 12:
  80332. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  80333. break;
  80334. case 13:
  80335. t1 = left.modulo$1(t1.right.accept$1(t2));
  80336. break;
  80337. default:
  80338. t1 = null;
  80339. }
  80340. return t1;
  80341. },
  80342. $signature: 36
  80343. };
  80344. A._EvaluateVisitor__slash_recommendation.prototype = {
  80345. call$1(expression) {
  80346. var t1;
  80347. $label0$0: {
  80348. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_ehp === expression.operator) {
  80349. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  80350. break $label0$0;
  80351. }
  80352. if (expression instanceof A.ParenthesizedExpression) {
  80353. t1 = expression.expression.toString$0(0);
  80354. break $label0$0;
  80355. }
  80356. t1 = expression.toString$0(0);
  80357. break $label0$0;
  80358. }
  80359. return t1;
  80360. },
  80361. $signature: 133
  80362. };
  80363. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  80364. call$0() {
  80365. var t1 = this.node;
  80366. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  80367. },
  80368. $signature: 42
  80369. };
  80370. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  80371. call$0() {
  80372. var t1, _this = this;
  80373. switch (_this.node.operator.index) {
  80374. case 0:
  80375. t1 = _this.operand.unaryPlus$0();
  80376. break;
  80377. case 1:
  80378. t1 = _this.operand.unaryMinus$0();
  80379. break;
  80380. case 2:
  80381. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  80382. break;
  80383. case 3:
  80384. t1 = _this.operand.unaryNot$0();
  80385. break;
  80386. default:
  80387. t1 = null;
  80388. }
  80389. return t1;
  80390. },
  80391. $signature: 36
  80392. };
  80393. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  80394. call$1(expression) {
  80395. return expression.accept$1(this.$this);
  80396. },
  80397. $signature: 291
  80398. };
  80399. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  80400. call$0() {
  80401. var t1 = this.node;
  80402. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  80403. },
  80404. $signature: 114
  80405. };
  80406. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  80407. call$1(argument) {
  80408. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  80409. },
  80410. $signature: 122
  80411. };
  80412. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  80413. call$0() {
  80414. var t1 = this.node;
  80415. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  80416. },
  80417. $signature: 36
  80418. };
  80419. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  80420. call$2(message, deprecation) {
  80421. return this.$this._warn$3(message, this.node.span, deprecation);
  80422. },
  80423. call$1(message) {
  80424. return this.call$2(message, null);
  80425. },
  80426. $signature: 94
  80427. };
  80428. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  80429. call$1(maxArgs) {
  80430. var t1 = this.node,
  80431. t2 = t1.$arguments.positional.length;
  80432. if (t2 === 0)
  80433. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  80434. else if (maxArgs != null && t2 > maxArgs)
  80435. throw A.wrapException(this.$this._evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  80436. },
  80437. call$0() {
  80438. return this.call$1(null);
  80439. },
  80440. $signature: 99
  80441. };
  80442. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  80443. call$0() {
  80444. var _this = this,
  80445. t1 = _this.$this,
  80446. t2 = _this._box_0,
  80447. t3 = _this.node,
  80448. t4 = _this.inLegacySassFunction;
  80449. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$2(t2.operator, t3), t1._visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), t1._visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), t4, !t1._inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure(t1, t3));
  80450. },
  80451. $signature: 80
  80452. };
  80453. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  80454. call$2(message, deprecation) {
  80455. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  80456. },
  80457. call$1(message) {
  80458. return this.call$2(message, null);
  80459. },
  80460. $signature: 94
  80461. };
  80462. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  80463. call$0() {
  80464. var t1 = this.node;
  80465. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  80466. },
  80467. $signature: 36
  80468. };
  80469. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  80470. call$0() {
  80471. var _this = this,
  80472. t1 = _this.$this,
  80473. t2 = _this.callable;
  80474. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  80475. },
  80476. $signature() {
  80477. return this.V._eval$1("0()");
  80478. }
  80479. };
  80480. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  80481. call$0() {
  80482. var _this = this,
  80483. t1 = _this.$this,
  80484. t2 = _this.V;
  80485. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  80486. },
  80487. $signature() {
  80488. return this.V._eval$1("0()");
  80489. }
  80490. };
  80491. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  80492. call$0() {
  80493. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  80494. t1 = _this.$this,
  80495. t2 = _this.evaluated._values,
  80496. t3 = _this.callable.declaration.parameters,
  80497. t4 = _this.nodeWithSpan;
  80498. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  80499. parameters = t3.parameters;
  80500. t5 = parameters.length;
  80501. minLength = Math.min(t2[2].length, t5);
  80502. for (i = 0; i < minLength; ++i)
  80503. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  80504. for (i = t2[2].length; i < t5; ++i) {
  80505. parameter = parameters[i];
  80506. t6 = parameter.name;
  80507. value = t2[0].remove$1(0, t6);
  80508. if (value == null) {
  80509. t7 = parameter.defaultValue;
  80510. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  80511. }
  80512. t7 = t1._environment;
  80513. t8 = t2[1].$index(0, t6);
  80514. if (t8 == null) {
  80515. t8 = parameter.defaultValue;
  80516. t8.toString;
  80517. t8 = t1._expressionNode$1(t8);
  80518. }
  80519. t7.setLocalVariable$3(t6, value, t8);
  80520. }
  80521. restParameter = t3.restParameter;
  80522. if (restParameter != null) {
  80523. t6 = t2[2];
  80524. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  80525. t5 = t2[0];
  80526. t6 = t2[4];
  80527. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_3_undecided ? B.ListSeparator_z0K : t6);
  80528. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  80529. } else
  80530. argumentList = null;
  80531. result = _this.run.call$0();
  80532. if (argumentList == null)
  80533. return result;
  80534. t5 = t2[0].__js_helper$_length;
  80535. if (t5 === 0)
  80536. return result;
  80537. if (argumentList._wereKeywordsAccessed)
  80538. return result;
  80539. parameterWord = A.pluralize("parameter", t5, null);
  80540. t2 = t2[0];
  80541. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  80542. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t4.get$span(t4)), null));
  80543. },
  80544. $signature() {
  80545. return this.V._eval$1("0()");
  80546. }
  80547. };
  80548. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  80549. call$1($name) {
  80550. return "$" + $name;
  80551. },
  80552. $signature: 6
  80553. };
  80554. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  80555. call$0() {
  80556. var t1, t2, t3, t4, _i, $returnValue;
  80557. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  80558. $returnValue = t2[_i].accept$1(t4);
  80559. if ($returnValue instanceof A.Value)
  80560. return $returnValue;
  80561. }
  80562. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  80563. },
  80564. $signature: 36
  80565. };
  80566. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  80567. call$0() {
  80568. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  80569. },
  80570. $signature: 0
  80571. };
  80572. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  80573. call$0() {
  80574. return this._box_0.callback.call$1(this.evaluated._values[2]);
  80575. },
  80576. $signature: 36
  80577. };
  80578. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  80579. call$1($name) {
  80580. return "$" + $name;
  80581. },
  80582. $signature: 6
  80583. };
  80584. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  80585. call$1(value) {
  80586. return value;
  80587. },
  80588. $signature: 41
  80589. };
  80590. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  80591. call$1(value) {
  80592. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  80593. },
  80594. $signature: 41
  80595. };
  80596. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  80597. call$2(key, value) {
  80598. var _this = this,
  80599. t1 = _this.restNodeForSpan;
  80600. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  80601. _this.namedNodes.$indexSet(0, key, t1);
  80602. },
  80603. $signature: 100
  80604. };
  80605. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  80606. call$1(value) {
  80607. return value;
  80608. },
  80609. $signature: 41
  80610. };
  80611. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  80612. call$1(value) {
  80613. var t1 = this.restArgs;
  80614. return new A.ValueExpression(value, t1.get$span(t1));
  80615. },
  80616. $signature: 60
  80617. };
  80618. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  80619. call$1(value) {
  80620. var t1 = this.restArgs;
  80621. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  80622. },
  80623. $signature: 60
  80624. };
  80625. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  80626. call$2(key, value) {
  80627. var _this = this,
  80628. t1 = _this.restArgs;
  80629. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  80630. },
  80631. $signature: 100
  80632. };
  80633. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  80634. call$1(value) {
  80635. var t1 = this.keywordRestArgs;
  80636. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  80637. },
  80638. $signature: 60
  80639. };
  80640. A._EvaluateVisitor__addRestMap_closure.prototype = {
  80641. call$2(key, value) {
  80642. var t2, _this = this,
  80643. t1 = _this.$this;
  80644. if (key instanceof A.SassString)
  80645. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  80646. else {
  80647. t2 = _this.nodeWithSpan;
  80648. throw A.wrapException(t1._evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  80649. }
  80650. },
  80651. $signature: 107
  80652. };
  80653. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  80654. call$0() {
  80655. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  80656. },
  80657. $signature: 0
  80658. };
  80659. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80660. call$0() {
  80661. var t1, t2, t3, t4;
  80662. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80663. t4 = t1.__internal$_current;
  80664. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80665. }
  80666. },
  80667. $signature: 1
  80668. };
  80669. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80670. call$1(node) {
  80671. return node instanceof A.ModifiableCssStyleRule;
  80672. },
  80673. $signature: 8
  80674. };
  80675. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80676. call$0() {
  80677. var t1, t2, t3, t4;
  80678. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80679. t4 = t1.__internal$_current;
  80680. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80681. }
  80682. },
  80683. $signature: 1
  80684. };
  80685. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80686. call$1(node) {
  80687. return node instanceof A.ModifiableCssStyleRule;
  80688. },
  80689. $signature: 8
  80690. };
  80691. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80692. call$1(mediaQueries) {
  80693. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80694. },
  80695. $signature: 86
  80696. };
  80697. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80698. call$0() {
  80699. var _this = this,
  80700. t1 = _this.$this,
  80701. t2 = _this.mergedQueries;
  80702. if (t2 == null)
  80703. t2 = _this.node.queries;
  80704. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80705. },
  80706. $signature: 1
  80707. };
  80708. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80709. call$0() {
  80710. var t2, t3, t4,
  80711. t1 = this.$this,
  80712. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80713. if (_0_0 != null)
  80714. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  80715. else
  80716. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  80717. t4 = t2.__internal$_current;
  80718. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80719. }
  80720. },
  80721. $signature: 1
  80722. };
  80723. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80724. call$0() {
  80725. var t1, t2, t3, t4;
  80726. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80727. t4 = t1.__internal$_current;
  80728. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80729. }
  80730. },
  80731. $signature: 1
  80732. };
  80733. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80734. call$1(node) {
  80735. var t1;
  80736. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80737. t1 = this.mergedSources;
  80738. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80739. } else
  80740. t1 = true;
  80741. return t1;
  80742. },
  80743. $signature: 8
  80744. };
  80745. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80746. call$0() {
  80747. var t1 = this.$this;
  80748. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80749. },
  80750. $signature: 1
  80751. };
  80752. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80753. call$0() {
  80754. var t1, t2, t3, t4;
  80755. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80756. t4 = t1.__internal$_current;
  80757. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80758. }
  80759. },
  80760. $signature: 1
  80761. };
  80762. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80763. call$1(node) {
  80764. return node instanceof A.ModifiableCssStyleRule;
  80765. },
  80766. $signature: 8
  80767. };
  80768. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80769. call$0() {
  80770. var t2, t3, t4,
  80771. t1 = this.$this,
  80772. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80773. if (_0_0 != null)
  80774. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  80775. else
  80776. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  80777. t4 = t2.__internal$_current;
  80778. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80779. }
  80780. },
  80781. $signature: 1
  80782. };
  80783. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80784. call$0() {
  80785. var t1, t2, t3, t4;
  80786. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80787. t4 = t1.__internal$_current;
  80788. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80789. }
  80790. },
  80791. $signature: 1
  80792. };
  80793. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80794. call$1(node) {
  80795. return node instanceof A.ModifiableCssStyleRule;
  80796. },
  80797. $signature: 8
  80798. };
  80799. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80800. call$1(targetOffsets) {
  80801. return A.InterpolationMap$(this.interpolation, targetOffsets);
  80802. },
  80803. $signature: 185
  80804. };
  80805. A._EvaluateVisitor__serialize_closure.prototype = {
  80806. call$0() {
  80807. return A.serializeValue(this.value, false, this.quote);
  80808. },
  80809. $signature: 29
  80810. };
  80811. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80812. call$0() {
  80813. var t1 = this.expression;
  80814. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80815. },
  80816. $signature: 186
  80817. };
  80818. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80819. call$1(number) {
  80820. var before, after, t1,
  80821. _1_0 = number.asSlash;
  80822. $label0$0: {
  80823. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80824. before = _1_0._0;
  80825. after = _1_0._1;
  80826. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80827. break $label0$0;
  80828. }
  80829. t1 = A.serializeValue(number, true, true);
  80830. break $label0$0;
  80831. }
  80832. return t1;
  80833. },
  80834. $signature: 187
  80835. };
  80836. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80837. call$1(url) {
  80838. var t1 = this.$this._evaluate$_importCache;
  80839. t1 = t1 == null ? null : t1.humanize$1(url);
  80840. return t1 == null ? url : t1;
  80841. },
  80842. $signature: 47
  80843. };
  80844. A._ImportedCssVisitor.prototype = {
  80845. visitCssAtRule$1(node) {
  80846. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80847. this._visitor._addChild$2$through(node, t1);
  80848. },
  80849. visitCssComment$1(node) {
  80850. return this._visitor._addChild$1(node);
  80851. },
  80852. visitCssDeclaration$1(node) {
  80853. return this._visitor._addChild$1(node);
  80854. },
  80855. visitCssImport$1(node) {
  80856. var t2,
  80857. _s13_ = "_endOfImports",
  80858. t1 = this._visitor;
  80859. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80860. t1._addChild$1(node);
  80861. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80862. t1._addChild$1(node);
  80863. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80864. } else {
  80865. t2 = t1._outOfOrderImports;
  80866. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80867. }
  80868. },
  80869. visitCssKeyframeBlock$1(node) {
  80870. },
  80871. visitCssMediaRule$1(node) {
  80872. var t1 = this._visitor,
  80873. mediaQueries = t1._mediaQueries;
  80874. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80875. },
  80876. visitCssStyleRule$1(node) {
  80877. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80878. },
  80879. visitCssStylesheet$1(node) {
  80880. var t1, t2, t3;
  80881. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80882. t3 = t1.__internal$_current;
  80883. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80884. }
  80885. },
  80886. visitCssSupportsRule$1(node) {
  80887. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80888. }
  80889. };
  80890. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80891. call$1(node) {
  80892. return node instanceof A.ModifiableCssStyleRule;
  80893. },
  80894. $signature: 8
  80895. };
  80896. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80897. call$1(node) {
  80898. var t1;
  80899. if (!(node instanceof A.ModifiableCssStyleRule))
  80900. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80901. else
  80902. t1 = true;
  80903. return t1;
  80904. },
  80905. $signature: 8
  80906. };
  80907. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80908. call$1(node) {
  80909. return node instanceof A.ModifiableCssStyleRule;
  80910. },
  80911. $signature: 8
  80912. };
  80913. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80914. call$1(node) {
  80915. return node instanceof A.ModifiableCssStyleRule;
  80916. },
  80917. $signature: 8
  80918. };
  80919. A._EvaluationContext.prototype = {
  80920. get$currentCallableSpan() {
  80921. var _0_0 = this._visitor._callableNode;
  80922. if (_0_0 != null)
  80923. return _0_0.get$span(_0_0);
  80924. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80925. },
  80926. warn$2(_, message, deprecation) {
  80927. var t1 = this._visitor,
  80928. t2 = t1._importSpan;
  80929. if (t2 == null) {
  80930. t2 = t1._callableNode;
  80931. t2 = t2 == null ? null : t2.get$span(t2);
  80932. }
  80933. if (t2 == null) {
  80934. t2 = this._defaultWarnNodeWithSpan;
  80935. t2 = t2.get$span(t2);
  80936. }
  80937. t1._warn$3(message, t2, deprecation);
  80938. },
  80939. $isEvaluationContext: 1
  80940. };
  80941. A.EveryCssVisitor.prototype = {
  80942. visitCssAtRule$1(node) {
  80943. var t1 = node.children;
  80944. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80945. },
  80946. visitCssComment$1(node) {
  80947. return false;
  80948. },
  80949. visitCssDeclaration$1(node) {
  80950. return false;
  80951. },
  80952. visitCssImport$1(node) {
  80953. return false;
  80954. },
  80955. visitCssKeyframeBlock$1(node) {
  80956. var t1 = node.children;
  80957. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80958. },
  80959. visitCssMediaRule$1(node) {
  80960. var t1 = node.children;
  80961. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80962. },
  80963. visitCssStyleRule$1(node) {
  80964. var t1 = node.children;
  80965. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80966. },
  80967. visitCssStylesheet$1(node) {
  80968. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80969. },
  80970. visitCssSupportsRule$1(node) {
  80971. var t1 = node.children;
  80972. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80973. }
  80974. };
  80975. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80976. call$1(child) {
  80977. return child.accept$1(this.$this);
  80978. },
  80979. $signature: 8
  80980. };
  80981. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80982. call$1(child) {
  80983. return child.accept$1(this.$this);
  80984. },
  80985. $signature: 8
  80986. };
  80987. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80988. call$1(child) {
  80989. return child.accept$1(this.$this);
  80990. },
  80991. $signature: 8
  80992. };
  80993. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80994. call$1(child) {
  80995. return child.accept$1(this.$this);
  80996. },
  80997. $signature: 8
  80998. };
  80999. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  81000. call$1(child) {
  81001. return child.accept$1(this.$this);
  81002. },
  81003. $signature: 8
  81004. };
  81005. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  81006. call$1(child) {
  81007. return child.accept$1(this.$this);
  81008. },
  81009. $signature: 8
  81010. };
  81011. A._MakeExpressionCalculationSafe.prototype = {
  81012. visitBinaryOperationExpression$1(_, node) {
  81013. var t1, t2, t3, t4;
  81014. if (node.operator === B.BinaryOperator_bgA) {
  81015. t1 = A._setArrayType([node], type$.JSArray_Expression);
  81016. t2 = node.get$span(0);
  81017. t3 = type$.Expression;
  81018. t1 = A.List_List$unmodifiable(t1, t3);
  81019. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  81020. t4 = node.get$span(0);
  81021. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  81022. } else
  81023. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  81024. return t1;
  81025. },
  81026. visitInterpolatedFunctionExpression$1(_, node) {
  81027. return node;
  81028. },
  81029. visitUnaryOperationExpression$1(_, node) {
  81030. var t1,
  81031. _0_0 = node.operator;
  81032. $label0$0: {
  81033. if (B.UnaryOperator_n2K === _0_0) {
  81034. t1 = node.operand;
  81035. break $label0$0;
  81036. }
  81037. if (B.UnaryOperator_hCO === _0_0) {
  81038. t1 = new A.BinaryOperationExpression(B.BinaryOperator_wkM, new A.NumberExpression(-1, null, node.span), node.operand, false);
  81039. break $label0$0;
  81040. }
  81041. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  81042. break $label0$0;
  81043. }
  81044. return t1;
  81045. }
  81046. };
  81047. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  81048. A._FindDependenciesVisitor.prototype = {
  81049. visitEachRule$1(_, node) {
  81050. },
  81051. visitForRule$1(_, node) {
  81052. },
  81053. visitIfRule$1(_, node) {
  81054. },
  81055. visitWhileRule$1(_, node) {
  81056. },
  81057. visitUseRule$1(_, node) {
  81058. var t1 = node.url;
  81059. if (t1.get$scheme() !== "sass")
  81060. this._find_dependencies$_uses.add$1(0, t1);
  81061. else if (t1.toString$0(0) === "sass:meta")
  81062. this._metaNamespaces.add$1(0, node.namespace);
  81063. },
  81064. visitForwardRule$1(_, node) {
  81065. var t1 = node.url;
  81066. if (t1.get$scheme() !== "sass")
  81067. this._find_dependencies$_forwards.add$1(0, t1);
  81068. },
  81069. visitImportRule$1(_, node) {
  81070. var t1, t2, t3, _i, $import;
  81071. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  81072. $import = t1[_i];
  81073. if ($import instanceof A.DynamicImport)
  81074. t3.add$1(0, A.Uri_parse($import.urlString));
  81075. }
  81076. },
  81077. visitIncludeRule$1(_, node) {
  81078. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  81079. if (node.name !== "load-css")
  81080. return;
  81081. if (!this._metaNamespaces.contains$1(0, node.namespace))
  81082. return;
  81083. _0_0 = node.$arguments.positional;
  81084. url = null;
  81085. _0_4_isSet = _0_0.length === 1;
  81086. _0_7 = null;
  81087. t1 = false;
  81088. if (_0_4_isSet) {
  81089. _0_4 = _0_0[0];
  81090. _0_7_isSet = _0_4 instanceof A.StringExpression;
  81091. if (_0_7_isSet) {
  81092. type$.StringExpression._as(_0_4);
  81093. _0_7 = _0_4.text.get$asPlain();
  81094. t1 = _0_7;
  81095. t1 = t1 != null;
  81096. }
  81097. } else {
  81098. _0_4 = null;
  81099. _0_7_isSet = false;
  81100. }
  81101. if (t1) {
  81102. if (_0_7_isSet)
  81103. url0 = _0_7;
  81104. else {
  81105. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  81106. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  81107. url0 = _0_7;
  81108. }
  81109. url = url0 == null ? A._asString(url0) : url0;
  81110. try {
  81111. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  81112. } catch (exception) {
  81113. if (!type$.FormatException._is(A.unwrapException(exception)))
  81114. throw exception;
  81115. }
  81116. }
  81117. }
  81118. };
  81119. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  81120. A.IsCalculationSafeVisitor.prototype = {
  81121. visitBinaryOperationExpression$1(_, node) {
  81122. return B.Set_xkEMv.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  81123. },
  81124. visitBooleanExpression$1(_, node) {
  81125. return false;
  81126. },
  81127. visitColorExpression$1(_, node) {
  81128. return false;
  81129. },
  81130. visitFunctionExpression$1(_, node) {
  81131. return true;
  81132. },
  81133. visitInterpolatedFunctionExpression$1(_, node) {
  81134. return true;
  81135. },
  81136. visitIfExpression$1(_, node) {
  81137. return true;
  81138. },
  81139. visitListExpression$1(_, node) {
  81140. var t1 = false;
  81141. if (node.separator === B.ListSeparator_SrV)
  81142. if (!node.hasBrackets) {
  81143. t1 = node.contents;
  81144. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  81145. }
  81146. return t1;
  81147. },
  81148. visitMapExpression$1(_, node) {
  81149. return false;
  81150. },
  81151. visitNullExpression$1(_, node) {
  81152. return false;
  81153. },
  81154. visitNumberExpression$1(_, node) {
  81155. return true;
  81156. },
  81157. visitParenthesizedExpression$1(_, node) {
  81158. return node.expression.accept$1(this);
  81159. },
  81160. visitSelectorExpression$1(_, node) {
  81161. return false;
  81162. },
  81163. visitStringExpression$1(_, node) {
  81164. var text, t1, t2;
  81165. if (node.hasQuotes)
  81166. return false;
  81167. text = node.text.get$initialPlain();
  81168. t1 = false;
  81169. if (!B.JSString_methods.startsWith$1(text, "!"))
  81170. if (!B.JSString_methods.startsWith$1(text, "#")) {
  81171. t2 = text.length;
  81172. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  81173. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  81174. }
  81175. return t1;
  81176. },
  81177. visitSupportsExpression$1(_, node) {
  81178. return false;
  81179. },
  81180. visitUnaryOperationExpression$1(_, node) {
  81181. return false;
  81182. },
  81183. visitValueExpression$1(_, node) {
  81184. return false;
  81185. },
  81186. visitVariableExpression$1(_, node) {
  81187. return true;
  81188. }
  81189. };
  81190. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  81191. call$1(expression) {
  81192. return expression.accept$1(this.$this);
  81193. },
  81194. $signature: 122
  81195. };
  81196. A.RecursiveStatementVisitor.prototype = {
  81197. visitAtRootRule$1(_, node) {
  81198. this.visitChildren$1(node.children);
  81199. },
  81200. visitAtRule$1(_, node) {
  81201. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  81202. },
  81203. visitContentBlock$1(_, node) {
  81204. return null;
  81205. },
  81206. visitContentRule$1(_, node) {
  81207. },
  81208. visitDebugRule$1(_, node) {
  81209. },
  81210. visitDeclaration$1(_, node) {
  81211. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  81212. },
  81213. visitEachRule$1(_, node) {
  81214. return this.visitChildren$1(node.children);
  81215. },
  81216. visitErrorRule$1(_, node) {
  81217. },
  81218. visitExtendRule$1(_, node) {
  81219. },
  81220. visitForRule$1(_, node) {
  81221. return this.visitChildren$1(node.children);
  81222. },
  81223. visitForwardRule$1(_, node) {
  81224. },
  81225. visitFunctionRule$1(_, node) {
  81226. return null;
  81227. },
  81228. visitIfRule$1(_, node) {
  81229. var t1, t2, _i, t3, t4, _i0, _0_0;
  81230. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  81231. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  81232. t3[_i0].accept$1(this);
  81233. _0_0 = node.lastClause;
  81234. if (_0_0 != null)
  81235. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  81236. t1[_i].accept$1(this);
  81237. },
  81238. visitImportRule$1(_, node) {
  81239. },
  81240. visitIncludeRule$1(_, node) {
  81241. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  81242. },
  81243. visitLoudComment$1(_, node) {
  81244. },
  81245. visitMediaRule$1(_, node) {
  81246. return this.visitChildren$1(node.children);
  81247. },
  81248. visitMixinRule$1(_, node) {
  81249. return null;
  81250. },
  81251. visitReturnRule$1(_, node) {
  81252. },
  81253. visitSilentComment$1(_, node) {
  81254. },
  81255. visitStyleRule$1(_, node) {
  81256. return this.visitChildren$1(node.children);
  81257. },
  81258. visitStylesheet$1(_, node) {
  81259. return this.visitChildren$1(node.children);
  81260. },
  81261. visitSupportsRule$1(_, node) {
  81262. return this.visitChildren$1(node.children);
  81263. },
  81264. visitUseRule$1(_, node) {
  81265. },
  81266. visitVariableDeclaration$1(_, node) {
  81267. },
  81268. visitWarnRule$1(_, node) {
  81269. },
  81270. visitWhileRule$1(_, node) {
  81271. return this.visitChildren$1(node.children);
  81272. },
  81273. visitChildren$1(children) {
  81274. var t1;
  81275. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  81276. t1.get$current(t1).accept$1(this);
  81277. }
  81278. };
  81279. A.ReplaceExpressionVisitor.prototype = {
  81280. visitBinaryOperationExpression$1(_, node) {
  81281. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  81282. },
  81283. visitBooleanExpression$1(_, node) {
  81284. return node;
  81285. },
  81286. visitColorExpression$1(_, node) {
  81287. return node;
  81288. },
  81289. visitFunctionExpression$1(_, node) {
  81290. var t1 = node.originalName,
  81291. t2 = this.visitArgumentList$1(node.$arguments);
  81292. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  81293. },
  81294. visitInterpolatedFunctionExpression$1(_, node) {
  81295. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  81296. },
  81297. visitIfExpression$1(_, node) {
  81298. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  81299. },
  81300. visitListExpression$1(_, node) {
  81301. var t1 = node.contents;
  81302. return new A.ListExpression(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), type$.Expression), node.separator, node.hasBrackets, node.span);
  81303. },
  81304. visitMapExpression$1(_, node) {
  81305. var t2, t3, _i, t4,
  81306. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  81307. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  81308. t4 = t2[_i];
  81309. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  81310. }
  81311. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  81312. },
  81313. visitNullExpression$1(_, node) {
  81314. return node;
  81315. },
  81316. visitNumberExpression$1(_, node) {
  81317. return node;
  81318. },
  81319. visitParenthesizedExpression$1(_, node) {
  81320. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  81321. },
  81322. visitSelectorExpression$1(_, node) {
  81323. return node;
  81324. },
  81325. visitStringExpression$1(_, node) {
  81326. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  81327. },
  81328. visitSupportsExpression$1(_, node) {
  81329. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  81330. },
  81331. visitUnaryOperationExpression$1(_, node) {
  81332. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  81333. },
  81334. visitValueExpression$1(_, node) {
  81335. return node;
  81336. },
  81337. visitVariableExpression$1(_, node) {
  81338. return node;
  81339. },
  81340. visitArgumentList$1(invocation) {
  81341. var t5, t6, _this = this,
  81342. t1 = invocation.positional,
  81343. t2 = type$.String,
  81344. t3 = type$.Expression,
  81345. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  81346. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  81347. t6 = t5.get$current(t5);
  81348. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  81349. }
  81350. t5 = invocation.rest;
  81351. t5 = t5 == null ? null : t5.accept$1(_this);
  81352. t6 = invocation.keywordRest;
  81353. t6 = t6 == null ? null : t6.accept$1(_this);
  81354. return new A.ArgumentList(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentList_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  81355. },
  81356. visitSupportsCondition$1(condition) {
  81357. var _this = this;
  81358. if (condition instanceof A.SupportsOperation)
  81359. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  81360. else if (condition instanceof A.SupportsNegation)
  81361. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  81362. else if (condition instanceof A.SupportsInterpolation)
  81363. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  81364. else if (condition instanceof A.SupportsDeclaration)
  81365. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  81366. else
  81367. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  81368. },
  81369. visitInterpolation$1(interpolation) {
  81370. var t1 = interpolation.contents;
  81371. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.spans, interpolation.span);
  81372. }
  81373. };
  81374. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  81375. call$1(item) {
  81376. return item.accept$1(this.$this);
  81377. },
  81378. $signature: 244
  81379. };
  81380. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  81381. call$1(expression) {
  81382. return expression.accept$1(this.$this);
  81383. },
  81384. $signature: 244
  81385. };
  81386. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  81387. call$1(node) {
  81388. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  81389. },
  81390. $signature: 72
  81391. };
  81392. A.SelectorSearchVisitor.prototype = {
  81393. visitAttributeSelector$1(_, attribute) {
  81394. return null;
  81395. },
  81396. visitClassSelector$1(_, klass) {
  81397. return null;
  81398. },
  81399. visitIDSelector$1(_, id) {
  81400. return null;
  81401. },
  81402. visitParentSelector$1(_, placeholder) {
  81403. return null;
  81404. },
  81405. visitPlaceholderSelector$1(_, placeholder) {
  81406. return null;
  81407. },
  81408. visitTypeSelector$1(_, type) {
  81409. return null;
  81410. },
  81411. visitUniversalSelector$1(_, universal) {
  81412. return null;
  81413. },
  81414. visitComplexSelector$1(complex) {
  81415. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  81416. },
  81417. visitCompoundSelector$1(compound) {
  81418. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  81419. },
  81420. visitPseudoSelector$1(_, pseudo) {
  81421. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  81422. },
  81423. visitSelectorList$1(list) {
  81424. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  81425. }
  81426. };
  81427. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  81428. call$1(component) {
  81429. return this.$this.visitCompoundSelector$1(component.selector);
  81430. },
  81431. $signature() {
  81432. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  81433. }
  81434. };
  81435. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  81436. call$1(simple) {
  81437. return simple.accept$1(this.$this);
  81438. },
  81439. $signature() {
  81440. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  81441. }
  81442. };
  81443. A.serialize_closure.prototype = {
  81444. call$1(codeUnit) {
  81445. return codeUnit > 127;
  81446. },
  81447. $signature: 50
  81448. };
  81449. A._SerializeVisitor.prototype = {
  81450. visitCssStylesheet$1(node) {
  81451. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  81452. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._inspect, t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = type$.CssParentNode, t6 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
  81453. previous0 = t1.get$current(t1);
  81454. if (t2)
  81455. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  81456. else
  81457. t7 = false;
  81458. if (t7)
  81459. continue;
  81460. if (previous != null) {
  81461. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  81462. t6.writeCharCode$1(59);
  81463. if (_this._isTrailingComment$2(previous0, previous)) {
  81464. if (t4)
  81465. t6.writeCharCode$1(32);
  81466. } else {
  81467. if (t4)
  81468. t6.write$1(0, "\n");
  81469. if (previous.get$isGroupEnd())
  81470. if (t4)
  81471. t6.write$1(0, "\n");
  81472. }
  81473. }
  81474. previous0.accept$1(_this);
  81475. previous = previous0;
  81476. }
  81477. if (previous != null)
  81478. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  81479. else
  81480. t1 = false;
  81481. if (t1)
  81482. t6.writeCharCode$1(59);
  81483. },
  81484. visitCssComment$1(node) {
  81485. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  81486. },
  81487. visitCssAtRule$1(node) {
  81488. var t1, _this = this;
  81489. _this._writeIndentation$0();
  81490. t1 = _this._serialize$_buffer;
  81491. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  81492. if (!node.isChildless) {
  81493. if (_this._style !== B.OutputStyle_1)
  81494. t1.writeCharCode$1(32);
  81495. _this._serialize$_visitChildren$1(node);
  81496. }
  81497. },
  81498. visitCssMediaRule$1(node) {
  81499. var t1, _this = this;
  81500. _this._writeIndentation$0();
  81501. t1 = _this._serialize$_buffer;
  81502. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  81503. if (_this._style !== B.OutputStyle_1)
  81504. t1.writeCharCode$1(32);
  81505. _this._serialize$_visitChildren$1(node);
  81506. },
  81507. visitCssImport$1(node) {
  81508. this._writeIndentation$0();
  81509. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  81510. },
  81511. _writeImportUrl$1(url) {
  81512. var urlContents, maybeQuote, _this = this;
  81513. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  81514. _this._serialize$_buffer.write$1(0, url);
  81515. return;
  81516. }
  81517. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  81518. maybeQuote = urlContents.charCodeAt(0);
  81519. if (maybeQuote === 39 || maybeQuote === 34)
  81520. _this._serialize$_buffer.write$1(0, urlContents);
  81521. else
  81522. _this._visitQuotedString$1(urlContents);
  81523. },
  81524. visitCssKeyframeBlock$1(node) {
  81525. var t1, _this = this;
  81526. _this._writeIndentation$0();
  81527. t1 = _this._serialize$_buffer;
  81528. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  81529. if (_this._style !== B.OutputStyle_1)
  81530. t1.writeCharCode$1(32);
  81531. _this._serialize$_visitChildren$1(node);
  81532. },
  81533. _visitMediaQuery$1(query) {
  81534. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  81535. _0_0 = query.modifier;
  81536. if (_0_0 != null) {
  81537. t1 = _this._serialize$_buffer;
  81538. t1.write$1(0, _0_0);
  81539. t1.writeCharCode$1(32);
  81540. }
  81541. _1_0 = query.type;
  81542. if (_1_0 != null) {
  81543. t1 = _this._serialize$_buffer;
  81544. t1.write$1(0, _1_0);
  81545. if (query.conditions.length !== 0)
  81546. t1.write$1(0, " and ");
  81547. }
  81548. _2_0 = query.conditions;
  81549. if (_2_0.length === 1)
  81550. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  81551. else
  81552. t1 = false;
  81553. if (t1) {
  81554. t1 = _this._serialize$_buffer;
  81555. t1.write$1(0, "not ");
  81556. condition = B.JSArray_methods.get$first(_2_0);
  81557. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  81558. } else {
  81559. operator = query.conjunction ? "and" : "or";
  81560. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  81561. t2 = _this._serialize$_buffer;
  81562. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  81563. }
  81564. },
  81565. visitCssStyleRule$1(node) {
  81566. var t1, _this = this;
  81567. _this._writeIndentation$0();
  81568. t1 = _this._serialize$_buffer;
  81569. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  81570. if (_this._style !== B.OutputStyle_1)
  81571. t1.writeCharCode$1(32);
  81572. _this._serialize$_visitChildren$1(node);
  81573. },
  81574. visitCssSupportsRule$1(node) {
  81575. var t1, _this = this;
  81576. _this._writeIndentation$0();
  81577. t1 = _this._serialize$_buffer;
  81578. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  81579. if (_this._style !== B.OutputStyle_1)
  81580. t1.writeCharCode$1(32);
  81581. _this._serialize$_visitChildren$1(node);
  81582. },
  81583. visitCssDeclaration$1(node) {
  81584. var error, stackTrace, error0, stackTrace0, t1, exception, _this = this;
  81585. _this._writeIndentation$0();
  81586. _this._serialize$_write$1(node.name);
  81587. t1 = _this._serialize$_buffer;
  81588. t1.writeCharCode$1(58);
  81589. if (!node.parsedAsSassScript)
  81590. t1.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  81591. else {
  81592. if (_this._style !== B.OutputStyle_1)
  81593. t1.writeCharCode$1(32);
  81594. try {
  81595. t1.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  81596. } catch (exception) {
  81597. t1 = A.unwrapException(exception);
  81598. if (t1 instanceof A.MultiSpanSassScriptException) {
  81599. error = t1;
  81600. stackTrace = A.getTraceFromException(exception);
  81601. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  81602. } else if (t1 instanceof A.SassScriptException) {
  81603. error0 = t1;
  81604. stackTrace0 = A.getTraceFromException(exception);
  81605. t1 = error0.message;
  81606. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  81607. } else
  81608. throw exception;
  81609. }
  81610. }
  81611. },
  81612. _writeFoldedValue$1(node) {
  81613. var t1, t2, next, t3,
  81614. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  81615. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  81616. next = scanner.readChar$0();
  81617. if (next !== 10) {
  81618. t2.writeCharCode$1(next);
  81619. continue;
  81620. }
  81621. t2.writeCharCode$1(32);
  81622. for (;;) {
  81623. t3 = scanner.peekChar$0();
  81624. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81625. break;
  81626. scanner.readChar$0();
  81627. }
  81628. }
  81629. },
  81630. _writeReindentedValue$1(node) {
  81631. var _0_0, t1, _this = this,
  81632. value = type$.SassString._as(node.value.value)._string$_text;
  81633. $label0$0: {
  81634. _0_0 = _this._minimumIndentation$1(value);
  81635. if (_0_0 == null) {
  81636. _this._serialize$_buffer.write$1(0, value);
  81637. break $label0$0;
  81638. }
  81639. if (-1 === _0_0) {
  81640. t1 = _this._serialize$_buffer;
  81641. t1.write$1(0, A.trimAsciiRight(value, true));
  81642. t1.writeCharCode$1(32);
  81643. break $label0$0;
  81644. }
  81645. t1 = node.name.span;
  81646. t1 = t1.get$start(t1);
  81647. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81648. }
  81649. },
  81650. _minimumIndentation$1(text) {
  81651. var character, t2, min, next, min0,
  81652. scanner = A.LineScanner$(text),
  81653. t1 = scanner.string.length;
  81654. for (;;) {
  81655. if (scanner._string_scanner$_position !== t1) {
  81656. character = scanner.super$StringScanner$readChar();
  81657. scanner._adjustLineAndColumn$1(character);
  81658. t2 = character !== 10;
  81659. } else
  81660. t2 = false;
  81661. if (!t2)
  81662. break;
  81663. }
  81664. if (scanner._string_scanner$_position === t1)
  81665. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81666. for (min = null; scanner._string_scanner$_position !== t1;) {
  81667. while (scanner._string_scanner$_position !== t1) {
  81668. next = scanner.peekChar$0();
  81669. if (next !== 32 && next !== 9)
  81670. break;
  81671. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81672. }
  81673. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81674. continue;
  81675. min0 = scanner._line_scanner$_column;
  81676. min = min == null ? min0 : Math.min(min, min0);
  81677. for (;;) {
  81678. if (scanner._string_scanner$_position !== t1) {
  81679. character = scanner.super$StringScanner$readChar();
  81680. scanner._adjustLineAndColumn$1(character);
  81681. t2 = character !== 10;
  81682. } else
  81683. t2 = false;
  81684. if (!t2)
  81685. break;
  81686. }
  81687. }
  81688. return min == null ? -1 : min;
  81689. },
  81690. _writeWithIndent$2(text, minimumIndentation) {
  81691. var t1, t2, t3, character, lineStart, newlines, end,
  81692. scanner = A.LineScanner$(text);
  81693. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81694. character = scanner.super$StringScanner$readChar();
  81695. scanner._adjustLineAndColumn$1(character);
  81696. if (character === 10)
  81697. break;
  81698. t3.writeCharCode$1(character);
  81699. }
  81700. for (;;) {
  81701. lineStart = scanner._string_scanner$_position;
  81702. for (newlines = 1;;) {
  81703. if (scanner._string_scanner$_position === t2) {
  81704. t3.writeCharCode$1(32);
  81705. return;
  81706. }
  81707. $label0$2: {
  81708. character = scanner.super$StringScanner$readChar();
  81709. scanner._adjustLineAndColumn$1(character);
  81710. if (32 === character || 9 === character)
  81711. continue;
  81712. if (10 === character) {
  81713. lineStart = scanner._string_scanner$_position;
  81714. ++newlines;
  81715. break $label0$2;
  81716. }
  81717. break;
  81718. }
  81719. }
  81720. this._writeTimes$2(10, newlines);
  81721. this._writeIndentation$0();
  81722. end = scanner._string_scanner$_position;
  81723. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81724. for (;;) {
  81725. if (scanner._string_scanner$_position === t2)
  81726. return;
  81727. character = scanner.super$StringScanner$readChar();
  81728. scanner._adjustLineAndColumn$1(character);
  81729. if (character === 10)
  81730. break;
  81731. t3.writeCharCode$1(character);
  81732. }
  81733. }
  81734. },
  81735. visitCalculation$1(value) {
  81736. var t2, _this = this,
  81737. t1 = _this._serialize$_buffer;
  81738. t1.write$1(0, value.name);
  81739. t1.writeCharCode$1(40);
  81740. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81741. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81742. t1.writeCharCode$1(41);
  81743. },
  81744. _writeCalculationValue$1(value) {
  81745. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81746. $label1$1: {
  81747. _2_4_isSet = value instanceof A.SassNumber;
  81748. _2_4 = _null;
  81749. if (_2_4_isSet) {
  81750. _2_4 = value.get$hasComplexUnits();
  81751. t1 = _2_4;
  81752. t1 = t1 && !_this._inspect;
  81753. } else
  81754. t1 = false;
  81755. if (t1)
  81756. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", _null));
  81757. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81758. $label0$0: {
  81759. _0_0 = value._number$_value;
  81760. if (1 / 0 === _0_0) {
  81761. _this._serialize$_buffer.write$1(0, "infinity");
  81762. break $label0$0;
  81763. }
  81764. if (-1 / 0 === _0_0) {
  81765. _this._serialize$_buffer.write$1(0, "-infinity");
  81766. break $label0$0;
  81767. }
  81768. if (isNaN(_0_0))
  81769. _this._serialize$_buffer.write$1(0, "NaN");
  81770. }
  81771. _this._writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  81772. break $label1$1;
  81773. }
  81774. if (_2_4_isSet)
  81775. t1 = _2_4;
  81776. else
  81777. t1 = false;
  81778. if (t1) {
  81779. _this._writeNumber$1(value._number$_value);
  81780. _1_0 = value.get$numeratorUnits(value);
  81781. if (_1_0.length >= 1) {
  81782. first = _1_0[0];
  81783. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81784. _this._serialize$_buffer.write$1(0, first);
  81785. _this._writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  81786. } else
  81787. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  81788. break $label1$1;
  81789. }
  81790. if (value instanceof A.Value) {
  81791. value.accept$1(_this);
  81792. break $label1$1;
  81793. }
  81794. t1 = value instanceof A.CalculationOperation;
  81795. left = _null;
  81796. right = _null;
  81797. if (t1) {
  81798. operator = value._operator;
  81799. left = value._left;
  81800. right = value._right;
  81801. } else
  81802. operator = _null;
  81803. if (t1) {
  81804. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81805. if (parenthesizeLeft)
  81806. _this._serialize$_buffer.writeCharCode$1(40);
  81807. _this._writeCalculationValue$1(left);
  81808. if (parenthesizeLeft)
  81809. _this._serialize$_buffer.writeCharCode$1(41);
  81810. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81811. if (operatorWhitespace)
  81812. _this._serialize$_buffer.writeCharCode$1(32);
  81813. t1 = _this._serialize$_buffer;
  81814. t1.write$1(0, operator.operator);
  81815. if (operatorWhitespace)
  81816. t1.writeCharCode$1(32);
  81817. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81818. parenthesizeRight = false;
  81819. if (operator === B.CalculationOperator_wFL) {
  81820. if (right instanceof A.SassNumber)
  81821. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81822. else
  81823. t2 = parenthesizeRight;
  81824. parenthesizeRight = t2;
  81825. }
  81826. } else
  81827. parenthesizeRight = true;
  81828. if (parenthesizeRight)
  81829. t1.writeCharCode$1(40);
  81830. _this._writeCalculationValue$1(right);
  81831. if (parenthesizeRight)
  81832. t1.writeCharCode$1(41);
  81833. }
  81834. }
  81835. },
  81836. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81837. var t1, t2, t3, t4;
  81838. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81839. t4 = t1.get$current(t1);
  81840. if (t3)
  81841. t2.writeCharCode$1(32);
  81842. t2.writeCharCode$1(42);
  81843. if (t3)
  81844. t2.writeCharCode$1(32);
  81845. t2.writeCharCode$1(49);
  81846. t2.write$1(0, t4);
  81847. }
  81848. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81849. t4 = t1.get$current(t1);
  81850. if (t3)
  81851. t2.writeCharCode$1(32);
  81852. t2.writeCharCode$1(47);
  81853. if (t3)
  81854. t2.writeCharCode$1(32);
  81855. t2.writeCharCode$1(49);
  81856. t2.write$1(0, t4);
  81857. }
  81858. },
  81859. _parenthesizeCalculationRhs$2(outer, right) {
  81860. var t1;
  81861. $label0$0: {
  81862. if (B.CalculationOperator_wFL === outer) {
  81863. t1 = true;
  81864. break $label0$0;
  81865. }
  81866. if (B.CalculationOperator_dpX === outer) {
  81867. t1 = false;
  81868. break $label0$0;
  81869. }
  81870. t1 = right === B.CalculationOperator_dpX || right === B.CalculationOperator_KrC;
  81871. break $label0$0;
  81872. }
  81873. return t1;
  81874. },
  81875. visitColor$1(value) {
  81876. var _0_0, _0_2, _0_6, t1, _0_4, _0_6_isSet, t2, _0_10_isSet, _0_10, _0_12_isSet, _0_14, _0_12, _0_14_isSet, t3, _0_10_isSet0, polar, t4, t5, _this = this, _null = null;
  81877. $label0$0: {
  81878. _0_0 = value._space;
  81879. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81880. _0_6 = _null;
  81881. t1 = true;
  81882. if (!_0_2) {
  81883. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81884. _0_6_isSet = !_0_4;
  81885. if (_0_6_isSet) {
  81886. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81887. t1 = _0_6;
  81888. }
  81889. } else {
  81890. _0_4 = _null;
  81891. _0_6_isSet = false;
  81892. }
  81893. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81894. _this._writeLegacyColor$1(value);
  81895. break $label0$0;
  81896. }
  81897. if (_0_2) {
  81898. t1 = _this._serialize$_buffer;
  81899. t1.write$1(0, "rgb(");
  81900. _this._writeChannel$1(value.channel0OrNull);
  81901. t1.writeCharCode$1(32);
  81902. _this._writeChannel$1(value.channel1OrNull);
  81903. t1.writeCharCode$1(32);
  81904. _this._writeChannel$1(value.channel2OrNull);
  81905. _this._maybeWriteSlashAlpha$1(value);
  81906. t1.writeCharCode$1(41);
  81907. break $label0$0;
  81908. }
  81909. if (!_0_4)
  81910. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81911. else
  81912. t1 = true;
  81913. if (t1) {
  81914. t1 = _this._serialize$_buffer;
  81915. t1.write$1(0, _0_0);
  81916. t1.writeCharCode$1(40);
  81917. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81918. _this._writeChannel$2(value.channel0OrNull, t2);
  81919. t1.writeCharCode$1(32);
  81920. _this._writeChannel$2(value.channel1OrNull, "%");
  81921. t1.writeCharCode$1(32);
  81922. _this._writeChannel$2(value.channel2OrNull, "%");
  81923. _this._maybeWriteSlashAlpha$1(value);
  81924. t1.writeCharCode$1(41);
  81925. break $label0$0;
  81926. }
  81927. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81928. if (_0_10_isSet) {
  81929. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81930. t1 = _0_10;
  81931. } else {
  81932. _0_10 = _null;
  81933. t1 = true;
  81934. }
  81935. t2 = false;
  81936. if (t1)
  81937. if (!_this._inspect) {
  81938. t1 = value.channel0OrNull;
  81939. if (t1 == null)
  81940. t1 = 0;
  81941. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81942. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81943. else
  81944. t1 = false;
  81945. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81946. } else
  81947. t1 = t2;
  81948. else
  81949. t1 = t2;
  81950. _0_12_isSet = !t1;
  81951. _0_14 = _null;
  81952. if (_0_12_isSet) {
  81953. _0_12 = B.OklabColorSpace_540 === _0_0;
  81954. t1 = false;
  81955. _0_14_isSet = !_0_12;
  81956. if (_0_14_isSet) {
  81957. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81958. t2 = _0_14;
  81959. } else
  81960. t2 = true;
  81961. t3 = false;
  81962. if (t2)
  81963. if (!_this._inspect) {
  81964. t2 = value.channel0OrNull;
  81965. if (t2 == null)
  81966. t2 = 0;
  81967. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81968. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81969. else
  81970. t2 = false;
  81971. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81972. } else
  81973. t2 = t3;
  81974. else
  81975. t2 = t3;
  81976. if (!t2) {
  81977. if (_0_10_isSet) {
  81978. t2 = _0_10;
  81979. _0_10_isSet0 = _0_10_isSet;
  81980. } else {
  81981. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81982. t2 = _0_10;
  81983. _0_10_isSet0 = true;
  81984. }
  81985. if (!t2)
  81986. if (_0_14_isSet)
  81987. t2 = _0_14;
  81988. else {
  81989. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81990. t2 = _0_14;
  81991. _0_14_isSet = true;
  81992. }
  81993. else
  81994. t2 = true;
  81995. if (t2)
  81996. if (!_this._inspect) {
  81997. t1 = value.channel1OrNull;
  81998. t2 = t1 == null;
  81999. if (t2)
  82000. t1 = 0;
  82001. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  82002. }
  82003. } else {
  82004. _0_10_isSet0 = _0_10_isSet;
  82005. t1 = true;
  82006. }
  82007. } else {
  82008. _0_12 = _null;
  82009. _0_10_isSet0 = _0_10_isSet;
  82010. _0_14_isSet = false;
  82011. t1 = true;
  82012. }
  82013. if (t1) {
  82014. t1 = _this._serialize$_buffer;
  82015. t1.write$1(0, "color-mix(in ");
  82016. t1.write$1(0, _0_0);
  82017. t2 = _this._style === B.OutputStyle_1;
  82018. t1.write$1(0, t2 ? "," : ", ");
  82019. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  82020. if (!t2)
  82021. t1.writeCharCode$1(32);
  82022. t1.write$1(0, "100%");
  82023. t1.write$1(0, t2 ? "," : ", ");
  82024. t1.write$1(0, t2 ? "red" : "black");
  82025. t1.writeCharCode$1(41);
  82026. break $label0$0;
  82027. }
  82028. t1 = true;
  82029. if (_0_10_isSet)
  82030. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  82031. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  82032. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  82033. if (t1) {
  82034. t1 = _this._serialize$_buffer;
  82035. t1.write$1(0, _0_0);
  82036. t1.writeCharCode$1(40);
  82037. t2 = _0_0._channels;
  82038. polar = t2[2].isPolarAngle;
  82039. t3 = false;
  82040. if (!_this._inspect) {
  82041. t4 = value.channel0OrNull;
  82042. if (t4 == null)
  82043. t4 = 0;
  82044. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  82045. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  82046. else
  82047. t4 = false;
  82048. if (t4) {
  82049. if (polar) {
  82050. t3 = value.channel1OrNull;
  82051. if (t3 == null)
  82052. t3 = 0;
  82053. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  82054. }
  82055. } else
  82056. t3 = true;
  82057. }
  82058. if (t3) {
  82059. t1.write$1(0, "from ");
  82060. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  82061. t1.writeCharCode$1(32);
  82062. }
  82063. t3 = _this._style !== B.OutputStyle_1;
  82064. t4 = t3 && value.channel0OrNull != null;
  82065. t5 = value.channel0OrNull;
  82066. if (t4) {
  82067. t2 = type$.LinearChannel._as(t2[0]);
  82068. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  82069. t1.writeCharCode$1(37);
  82070. } else
  82071. _this._writeChannel$1(t5);
  82072. t1.writeCharCode$1(32);
  82073. _this._writeChannel$1(value.channel1OrNull);
  82074. t1.writeCharCode$1(32);
  82075. t2 = polar && t3 ? "deg" : _null;
  82076. _this._writeChannel$2(value.channel2OrNull, t2);
  82077. _this._maybeWriteSlashAlpha$1(value);
  82078. t1.writeCharCode$1(41);
  82079. break $label0$0;
  82080. }
  82081. _this._writeColorFunction$1(value);
  82082. }
  82083. },
  82084. _writeChannel$2(channel, unit) {
  82085. var _this = this;
  82086. if (channel == null)
  82087. _this._serialize$_buffer.write$1(0, "none");
  82088. else if (isFinite(channel)) {
  82089. _this._writeNumber$1(channel);
  82090. if (unit != null)
  82091. _this._serialize$_buffer.write$1(0, unit);
  82092. } else
  82093. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  82094. },
  82095. _writeChannel$1(channel) {
  82096. return this._writeChannel$2(channel, null);
  82097. },
  82098. _writeLegacyColor$1(color) {
  82099. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  82100. t1 = color.alphaOrNull,
  82101. t2 = t1 == null,
  82102. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  82103. if (!color.get$isInGamut() && !_this._inspect) {
  82104. _this._writeHsl$1(color);
  82105. return;
  82106. }
  82107. if (_this._style === B.OutputStyle_1) {
  82108. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  82109. if (opaque && _this._tryIntegerRgb$1(rgb))
  82110. return;
  82111. t3 = rgb.channel0OrNull;
  82112. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82113. t3 = rgb.channel1OrNull;
  82114. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82115. t3 = rgb.channel2OrNull;
  82116. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82117. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  82118. t3 = hsl.channel0OrNull;
  82119. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82120. t3 = hsl.channel1OrNull;
  82121. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82122. t3 = hsl.channel2OrNull;
  82123. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  82124. t3 = _this._serialize$_buffer;
  82125. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  82126. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  82127. t3.write$1(0, red);
  82128. t3.writeCharCode$1(44);
  82129. t3.write$1(0, green);
  82130. t3.writeCharCode$1(44);
  82131. t3.write$1(0, blue);
  82132. } else {
  82133. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  82134. t3.write$1(0, hue);
  82135. t3.writeCharCode$1(44);
  82136. t3.write$1(0, saturation);
  82137. t3.write$1(0, "%,");
  82138. t3.write$1(0, lightness);
  82139. t3.writeCharCode$1(37);
  82140. }
  82141. if (!opaque) {
  82142. t3.writeCharCode$1(44);
  82143. _this._writeNumber$1(t2 ? 0 : t1);
  82144. }
  82145. t3.writeCharCode$1(41);
  82146. return;
  82147. }
  82148. t3 = color._space;
  82149. if (t3 === B.HslColorSpace_JQ2) {
  82150. _this._writeHsl$1(color);
  82151. return;
  82152. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  82153. t3 = _this._serialize$_buffer;
  82154. t3.write$1(0, "hwb(");
  82155. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  82156. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  82157. t3.writeCharCode$1(32);
  82158. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  82159. t3.writeCharCode$1(37);
  82160. t3.writeCharCode$1(32);
  82161. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  82162. t3.writeCharCode$1(37);
  82163. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  82164. t3.write$1(0, " / ");
  82165. _this._writeNumber$1(t2 ? 0 : t1);
  82166. }
  82167. t3.writeCharCode$1(41);
  82168. return;
  82169. }
  82170. _0_0 = color.format;
  82171. if (B.C__ColorFormatEnum === _0_0) {
  82172. _this._writeRgb$1(color);
  82173. return;
  82174. }
  82175. t1 = _0_0 instanceof A.SpanColorFormat;
  82176. format = t1 ? _0_0 : null;
  82177. if (t1) {
  82178. _this._serialize$_buffer.write$1(0, format._color$_span.get$text());
  82179. return;
  82180. }
  82181. if (opaque) {
  82182. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  82183. _1_0 = $.$get$namesByColor().$index(0, rgb);
  82184. if (_1_0 != null) {
  82185. _this._serialize$_buffer.write$1(0, _1_0);
  82186. return;
  82187. }
  82188. if (_this._canUseHex$1(rgb)) {
  82189. _this._serialize$_buffer.writeCharCode$1(35);
  82190. t1 = rgb.channel0OrNull;
  82191. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  82192. t1 = rgb.channel1OrNull;
  82193. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  82194. t1 = rgb.channel2OrNull;
  82195. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  82196. return;
  82197. }
  82198. }
  82199. if (t3 === B.HwbColorSpace_guQ)
  82200. _this._writeHsl$1(color);
  82201. else
  82202. _this._writeRgb$1(color);
  82203. },
  82204. _tryIntegerRgb$1(rgb) {
  82205. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  82206. if (!_this._canUseHex$1(rgb))
  82207. return false;
  82208. t1 = rgb.channel0OrNull;
  82209. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  82210. t1 = rgb.channel1OrNull;
  82211. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  82212. t1 = rgb.channel2OrNull;
  82213. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  82214. t1 = redInt & 15;
  82215. shortHex = t1 === B.JSInt_methods._shrOtherPositive$1(redInt, 4) && (greenInt & 15) === B.JSInt_methods._shrOtherPositive$1(greenInt, 4) && (blueInt & 15) === B.JSInt_methods._shrOtherPositive$1(blueInt, 4);
  82216. _0_0 = $.$get$namesByColor().$index(0, rgb);
  82217. t2 = false;
  82218. if (_0_0 != null) {
  82219. t3 = _0_0.length;
  82220. t2 = t3 <= (shortHex ? 4 : 7);
  82221. $name = _0_0;
  82222. } else
  82223. $name = null;
  82224. if (t2)
  82225. _this._serialize$_buffer.write$1(0, $name);
  82226. else {
  82227. t2 = _this._serialize$_buffer;
  82228. if (shortHex) {
  82229. t2.writeCharCode$1(35);
  82230. t2.writeCharCode$1(A.hexCharFor(t1));
  82231. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  82232. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  82233. } else {
  82234. t2.writeCharCode$1(35);
  82235. _this._writeHexComponent$1(redInt);
  82236. _this._writeHexComponent$1(greenInt);
  82237. _this._writeHexComponent$1(blueInt);
  82238. }
  82239. }
  82240. return true;
  82241. },
  82242. _canUseHex$1(rgb) {
  82243. var t2,
  82244. t1 = rgb.channel0OrNull;
  82245. if (t1 == null)
  82246. t1 = 0;
  82247. if (A.fuzzyIsInt(t1))
  82248. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  82249. else
  82250. t1 = false;
  82251. t2 = false;
  82252. if (t1) {
  82253. t1 = rgb.channel1OrNull;
  82254. if (t1 == null)
  82255. t1 = 0;
  82256. if (A.fuzzyIsInt(t1))
  82257. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  82258. else
  82259. t1 = false;
  82260. if (t1) {
  82261. t1 = rgb.channel2OrNull;
  82262. if (t1 == null)
  82263. t1 = 0;
  82264. if (A.fuzzyIsInt(t1))
  82265. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  82266. else
  82267. t1 = t2;
  82268. } else
  82269. t1 = t2;
  82270. } else
  82271. t1 = t2;
  82272. return t1;
  82273. },
  82274. _writeRgb$1(color) {
  82275. var t4, _this = this,
  82276. t1 = color.alphaOrNull,
  82277. t2 = t1 == null,
  82278. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  82279. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  82280. t3 = _this._serialize$_buffer;
  82281. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  82282. _this._writeNumber$1(rgb.channel$1(0, "red"));
  82283. t4 = _this._style === B.OutputStyle_1;
  82284. t3.write$1(0, t4 ? "," : ", ");
  82285. _this._writeNumber$1(rgb.channel$1(0, "green"));
  82286. t3.write$1(0, t4 ? "," : ", ");
  82287. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  82288. if (!opaque) {
  82289. t3.write$1(0, t4 ? "," : ", ");
  82290. _this._writeNumber$1(t2 ? 0 : t1);
  82291. }
  82292. t3.writeCharCode$1(41);
  82293. },
  82294. _writeHsl$1(color) {
  82295. var t4, _this = this,
  82296. t1 = color.alphaOrNull,
  82297. t2 = t1 == null,
  82298. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  82299. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  82300. t3 = _this._serialize$_buffer;
  82301. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  82302. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  82303. t4 = _this._style === B.OutputStyle_1;
  82304. t3.write$1(0, t4 ? "," : ", ");
  82305. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  82306. t3.write$1(0, t4 ? "," : ", ");
  82307. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  82308. if (!opaque) {
  82309. t3.write$1(0, t4 ? "," : ", ");
  82310. _this._writeNumber$1(t2 ? 0 : t1);
  82311. }
  82312. t3.writeCharCode$1(41);
  82313. },
  82314. _writeColorFunction$1(color) {
  82315. var _this = this,
  82316. t1 = _this._serialize$_buffer;
  82317. t1.write$1(0, "color(");
  82318. t1.write$1(0, color._space);
  82319. t1.writeCharCode$1(32);
  82320. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  82321. _this._maybeWriteSlashAlpha$1(color);
  82322. t1.writeCharCode$1(41);
  82323. },
  82324. _writeHexComponent$1(color) {
  82325. var t1 = this._serialize$_buffer;
  82326. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  82327. t1.writeCharCode$1(A.hexCharFor(color & 15));
  82328. },
  82329. _maybeWriteSlashAlpha$1(color) {
  82330. var t2, t3, _this = this,
  82331. t1 = color.alphaOrNull;
  82332. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  82333. return;
  82334. t2 = _this._style !== B.OutputStyle_1;
  82335. if (t2)
  82336. _this._serialize$_buffer.writeCharCode$1(32);
  82337. t3 = _this._serialize$_buffer;
  82338. t3.writeCharCode$1(47);
  82339. if (t2)
  82340. t3.writeCharCode$1(32);
  82341. _this._writeChannel$1(t1);
  82342. },
  82343. visitList$1(value) {
  82344. var t2, singleton, t3, t4, t5, _this = this,
  82345. t1 = value._hasBrackets;
  82346. if (t1)
  82347. _this._serialize$_buffer.writeCharCode$1(91);
  82348. else if (value._list$_contents.length === 0) {
  82349. if (!_this._inspect)
  82350. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  82351. _this._serialize$_buffer.write$1(0, "()");
  82352. return;
  82353. }
  82354. t2 = _this._inspect;
  82355. singleton = false;
  82356. if (t2)
  82357. if (value._list$_contents.length === 1) {
  82358. t3 = value._separator;
  82359. t3 = t3 === B.ListSeparator_z0K || t3 === B.ListSeparator_Lul;
  82360. singleton = t3;
  82361. }
  82362. if (singleton && !t1)
  82363. _this._serialize$_buffer.writeCharCode$1(40);
  82364. t3 = value._list$_contents;
  82365. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  82366. t4 = value._separator;
  82367. t5 = _this._separatorString$1(t4);
  82368. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  82369. if (singleton) {
  82370. t2 = _this._serialize$_buffer;
  82371. t2.write$1(0, t4.separator);
  82372. if (!t1)
  82373. t2.writeCharCode$1(41);
  82374. }
  82375. if (t1)
  82376. _this._serialize$_buffer.writeCharCode$1(93);
  82377. },
  82378. _separatorString$1(separator) {
  82379. var t1;
  82380. $label0$0: {
  82381. if (B.ListSeparator_z0K === separator) {
  82382. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  82383. break $label0$0;
  82384. }
  82385. if (B.ListSeparator_Lul === separator) {
  82386. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  82387. break $label0$0;
  82388. }
  82389. if (B.ListSeparator_SrV === separator) {
  82390. t1 = " ";
  82391. break $label0$0;
  82392. }
  82393. t1 = "";
  82394. break $label0$0;
  82395. }
  82396. return t1;
  82397. },
  82398. _elementNeedsParens$2(separator, value) {
  82399. var t1;
  82400. $label1$1: {
  82401. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  82402. $label0$0: {
  82403. if (B.ListSeparator_z0K === separator) {
  82404. t1 = value._separator === B.ListSeparator_z0K;
  82405. break $label0$0;
  82406. }
  82407. if (B.ListSeparator_Lul === separator) {
  82408. t1 = value._separator;
  82409. t1 = t1 === B.ListSeparator_z0K || t1 === B.ListSeparator_Lul;
  82410. break $label0$0;
  82411. }
  82412. t1 = value._separator !== B.ListSeparator_undecided_null_3_undecided;
  82413. break $label0$0;
  82414. }
  82415. break $label1$1;
  82416. }
  82417. t1 = false;
  82418. break $label1$1;
  82419. }
  82420. return t1;
  82421. },
  82422. visitMap$1(map) {
  82423. var t1, t2, _this = this;
  82424. if (!_this._inspect)
  82425. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  82426. t1 = _this._serialize$_buffer;
  82427. t1.writeCharCode$1(40);
  82428. t2 = map._map$_contents;
  82429. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  82430. t1.writeCharCode$1(41);
  82431. },
  82432. _writeMapElement$1(value) {
  82433. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_z0K && !value._hasBrackets;
  82434. if (needsParens)
  82435. this._serialize$_buffer.writeCharCode$1(40);
  82436. value.accept$1(this);
  82437. if (needsParens)
  82438. this._serialize$_buffer.writeCharCode$1(41);
  82439. },
  82440. visitNumber$1(value) {
  82441. var before, after, t1, _1_0, _this = this,
  82442. _0_0 = value.asSlash;
  82443. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  82444. before = _0_0._0;
  82445. after = _0_0._1;
  82446. _this.visitNumber$1(before);
  82447. _this._serialize$_buffer.writeCharCode$1(47);
  82448. _this.visitNumber$1(after);
  82449. return;
  82450. }
  82451. t1 = value._number$_value;
  82452. if (!isFinite(t1)) {
  82453. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  82454. return;
  82455. }
  82456. if (value.get$hasComplexUnits()) {
  82457. if (!_this._inspect)
  82458. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  82459. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  82460. } else {
  82461. _this._writeNumber$1(t1);
  82462. _1_0 = value.get$numeratorUnits(value);
  82463. if (_1_0.length === 1)
  82464. _this._serialize$_buffer.write$1(0, _1_0[0]);
  82465. }
  82466. },
  82467. _writeNumberToString$1(number) {
  82468. var t1 = new A.StringBuffer("");
  82469. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  82470. t1 = t1._contents;
  82471. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82472. },
  82473. _writeNumber$2(number, buffer) {
  82474. var _0_0, t1, integer, text, _this = this;
  82475. if (buffer == null)
  82476. buffer = _this._serialize$_buffer;
  82477. _0_0 = A.fuzzyAsInt(number);
  82478. t1 = false;
  82479. if (_0_0 != null) {
  82480. t1 = !_this._inspect || number === _0_0;
  82481. integer = _0_0;
  82482. } else
  82483. integer = null;
  82484. if (t1) {
  82485. buffer.write$1(0, _this._removeExponent$1(J.toString$0$(integer)));
  82486. return;
  82487. }
  82488. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  82489. if (_this._inspect) {
  82490. buffer.write$1(0, text);
  82491. return;
  82492. }
  82493. if (text.length < 12) {
  82494. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  82495. return;
  82496. }
  82497. _this._writeRounded$2(text, buffer);
  82498. },
  82499. _writeNumber$1(number) {
  82500. return this._writeNumber$2(number, null);
  82501. },
  82502. _removeExponent$1(text) {
  82503. var buffer, t2, t3, additionalZeroes,
  82504. negative = text.charCodeAt(0) === 45,
  82505. exponent = A._Cell$(),
  82506. t1 = text.length,
  82507. i = 0;
  82508. for (;;) {
  82509. if (!(i < t1)) {
  82510. buffer = null;
  82511. break;
  82512. }
  82513. c$0: {
  82514. if (text.charCodeAt(i) !== 101)
  82515. break c$0;
  82516. buffer = new A.StringBuffer("");
  82517. t2 = buffer._contents = A.Primitives_stringFromCharCode(text.charCodeAt(0));
  82518. if (negative) {
  82519. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  82520. buffer._contents = t2;
  82521. if (i > 3)
  82522. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  82523. } else if (i > 2)
  82524. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  82525. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  82526. break;
  82527. }
  82528. ++i;
  82529. }
  82530. if (buffer == null)
  82531. return text;
  82532. if (exponent._readLocal$0() > 0) {
  82533. t1 = exponent._readLocal$0();
  82534. t2 = buffer._contents;
  82535. t3 = negative ? 1 : 0;
  82536. additionalZeroes = t1 - (t2.length - 1 - t3);
  82537. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  82538. t1 = A.Primitives_stringFromCharCode(48);
  82539. t1 = buffer._contents += t1;
  82540. }
  82541. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82542. } else {
  82543. negative = text.charCodeAt(0) === 45;
  82544. t1 = (negative ? A.Primitives_stringFromCharCode(45) : "") + "0.";
  82545. i = -1;
  82546. for (;;) {
  82547. t2 = exponent.__late_helper$_value;
  82548. if (t2 === exponent)
  82549. A.throwExpression(A.LateError$localNI(""));
  82550. if (!(i > t2))
  82551. break;
  82552. t1 += A.Primitives_stringFromCharCode(48);
  82553. --i;
  82554. }
  82555. if (negative) {
  82556. t2 = buffer._contents;
  82557. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  82558. } else
  82559. t2 = buffer;
  82560. t2 = t1 + A.S(t2);
  82561. return t2.charCodeAt(0) == 0 ? t2 : t2;
  82562. }
  82563. },
  82564. _writeRounded$2(text, buffer) {
  82565. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  82566. if (B.JSString_methods.endsWith$1(text, ".0")) {
  82567. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  82568. return;
  82569. }
  82570. t1 = text.length;
  82571. digits = new Uint8Array(t1 + 1);
  82572. negative = text.charCodeAt(0) === 45;
  82573. textIndex = negative ? 1 : 0;
  82574. for (digitsIndex = 1;; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  82575. if (textIndex === t1) {
  82576. buffer.write$1(0, text);
  82577. return;
  82578. }
  82579. textIndex0 = textIndex + 1;
  82580. codeUnit = text.charCodeAt(textIndex);
  82581. if (codeUnit === 46) {
  82582. textIndex = textIndex0;
  82583. break;
  82584. }
  82585. digitsIndex0 = digitsIndex + 1;
  82586. digits[digitsIndex] = codeUnit - 48;
  82587. }
  82588. indexAfterPrecision = textIndex + 10;
  82589. if (indexAfterPrecision >= t1) {
  82590. buffer.write$1(0, text);
  82591. return;
  82592. }
  82593. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  82594. digitsIndex1 = digitsIndex0 + 1;
  82595. textIndex0 = textIndex + 1;
  82596. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  82597. }
  82598. if (text.charCodeAt(textIndex) - 48 >= 5)
  82599. for (;; digitsIndex0 = digitsIndex1) {
  82600. digitsIndex1 = digitsIndex0 - 1;
  82601. newDigit = digits[digitsIndex1] + 1;
  82602. digits[digitsIndex1] = newDigit;
  82603. if (newDigit !== 10)
  82604. break;
  82605. }
  82606. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  82607. digits[digitsIndex0] = 0;
  82608. for (;;) {
  82609. t1 = digitsIndex0 > digitsIndex;
  82610. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  82611. break;
  82612. --digitsIndex0;
  82613. }
  82614. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  82615. buffer.writeCharCode$1(48);
  82616. return;
  82617. }
  82618. if (negative)
  82619. buffer.writeCharCode$1(45);
  82620. if (digits[0] === 0)
  82621. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  82622. else
  82623. writtenIndex = 0;
  82624. for (; writtenIndex < digitsIndex; ++writtenIndex)
  82625. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82626. if (t1) {
  82627. buffer.writeCharCode$1(46);
  82628. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82629. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82630. }
  82631. },
  82632. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82633. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82634. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82635. if (forceDoubleQuote)
  82636. buffer.writeCharCode$1(34);
  82637. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82638. char = string.charCodeAt(i);
  82639. _1_2 = 39 === char;
  82640. if (_1_2 && forceDoubleQuote) {
  82641. buffer.writeCharCode$1(39);
  82642. continue;
  82643. }
  82644. if (_1_2 && includesDoubleQuote) {
  82645. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82646. return;
  82647. }
  82648. if (_1_2) {
  82649. buffer.writeCharCode$1(39);
  82650. includesSingleQuote = true;
  82651. continue;
  82652. }
  82653. _1_4 = 34 === char;
  82654. if (_1_4 && forceDoubleQuote) {
  82655. buffer.writeCharCode$1(92);
  82656. buffer.writeCharCode$1(34);
  82657. continue;
  82658. }
  82659. if (_1_4 && includesSingleQuote) {
  82660. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82661. return;
  82662. }
  82663. if (_1_4) {
  82664. buffer.writeCharCode$1(34);
  82665. includesDoubleQuote = true;
  82666. continue;
  82667. }
  82668. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  82669. _this._writeEscape$4(buffer, char, string, i);
  82670. continue;
  82671. }
  82672. if (92 === char) {
  82673. buffer.writeCharCode$1(92);
  82674. buffer.writeCharCode$1(92);
  82675. continue;
  82676. }
  82677. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82678. if (_0_0 != null)
  82679. i = _0_0;
  82680. else
  82681. buffer.writeCharCode$1(char);
  82682. }
  82683. if (forceDoubleQuote)
  82684. buffer.writeCharCode$1(34);
  82685. else {
  82686. quote = includesDoubleQuote ? 39 : 34;
  82687. t1 = _this._serialize$_buffer;
  82688. t1.writeCharCode$1(quote);
  82689. t1.write$1(0, buffer);
  82690. t1.writeCharCode$1(quote);
  82691. }
  82692. },
  82693. _visitQuotedString$1(string) {
  82694. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82695. },
  82696. _visitUnquotedString$1(string) {
  82697. var t1, t2, afterNewline, i, _1_0, _0_0;
  82698. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82699. _1_0 = string.charCodeAt(i);
  82700. if (10 === _1_0) {
  82701. t2.writeCharCode$1(32);
  82702. afterNewline = true;
  82703. continue;
  82704. }
  82705. if (32 === _1_0) {
  82706. if (!afterNewline)
  82707. t2.writeCharCode$1(32);
  82708. continue;
  82709. }
  82710. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82711. if (_0_0 != null)
  82712. i = _0_0;
  82713. else
  82714. t2.writeCharCode$1(_1_0);
  82715. afterNewline = false;
  82716. }
  82717. },
  82718. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82719. var t1;
  82720. if (this._style === B.OutputStyle_1)
  82721. return null;
  82722. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82723. this._writeEscape$4(buffer, codeUnit, string, i);
  82724. return i;
  82725. }
  82726. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82727. t1 = i + 1;
  82728. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82729. return t1;
  82730. }
  82731. return null;
  82732. },
  82733. _writeEscape$4(buffer, character, string, i) {
  82734. var t1, next;
  82735. buffer.writeCharCode$1(92);
  82736. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82737. t1 = i + 1;
  82738. if (string.length === t1)
  82739. return;
  82740. next = string.charCodeAt(t1);
  82741. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82742. buffer.writeCharCode$1(32);
  82743. },
  82744. visitAttributeSelector$1(_, attribute) {
  82745. var _0_0, t2,
  82746. t1 = this._serialize$_buffer;
  82747. t1.writeCharCode$1(91);
  82748. t1.write$1(0, attribute.name);
  82749. _0_0 = attribute.value;
  82750. if (_0_0 != null) {
  82751. t1.write$1(0, attribute.op);
  82752. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82753. t1.write$1(0, _0_0);
  82754. t2 = attribute.modifier;
  82755. if (t2 != null)
  82756. t1.writeCharCode$1(32);
  82757. } else {
  82758. this._visitQuotedString$1(_0_0);
  82759. t2 = attribute.modifier;
  82760. if (t2 != null)
  82761. if (this._style !== B.OutputStyle_1)
  82762. t1.writeCharCode$1(32);
  82763. }
  82764. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82765. }
  82766. t1.writeCharCode$1(93);
  82767. },
  82768. visitClassSelector$1(_, klass) {
  82769. var t1 = this._serialize$_buffer;
  82770. t1.writeCharCode$1(46);
  82771. t1.write$1(0, klass.name);
  82772. },
  82773. visitComplexSelector$1(complex) {
  82774. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82775. t1 = complex.leadingCombinators;
  82776. _this._writeCombinators$1(t1);
  82777. if (t1.length >= 1 && complex.components.length >= 1)
  82778. if (_this._style !== B.OutputStyle_1)
  82779. _this._serialize$_buffer.writeCharCode$1(32);
  82780. for (t1 = complex.components, t2 = t1.length, t3 = t2 - 1, t4 = _this._serialize$_buffer, t5 = _this._style === B.OutputStyle_1, t6 = !t5, i = 0; i < t2; ++i) {
  82781. component = t1[i];
  82782. _this.visitCompoundSelector$1(component.selector);
  82783. t7 = component.combinators;
  82784. t8 = t7.length === 0;
  82785. if (!t8)
  82786. if (t6)
  82787. t4.writeCharCode$1(32);
  82788. t9 = t5 ? "" : " ";
  82789. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82790. if (i !== t3)
  82791. t7 = !t5 || t8;
  82792. else
  82793. t7 = false;
  82794. if (t7)
  82795. t4.writeCharCode$1(32);
  82796. }
  82797. },
  82798. _writeCombinators$1(combinators) {
  82799. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82800. t2 = this._serialize$_buffer;
  82801. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82802. },
  82803. visitCompoundSelector$1(compound) {
  82804. var t2, t3, _i,
  82805. t1 = this._serialize$_buffer,
  82806. start = t1.get$length(t1);
  82807. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82808. t2[_i].accept$1(this);
  82809. if (t1.get$length(t1) === start)
  82810. t1.writeCharCode$1(42);
  82811. },
  82812. visitIDSelector$1(_, id) {
  82813. var t1 = this._serialize$_buffer;
  82814. t1.writeCharCode$1(35);
  82815. t1.write$1(0, id.name);
  82816. },
  82817. visitSelectorList$1(list) {
  82818. var t1, t2, t3, first, t4, _this = this,
  82819. complexes = list.components;
  82820. for (t1 = J.get$iterator$ax(_this._inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._style !== B.OutputStyle_1, t3 = _this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82821. t4 = t1.get$current(t1);
  82822. if (first)
  82823. first = false;
  82824. else {
  82825. t3.writeCharCode$1(44);
  82826. if (t4.lineBreak) {
  82827. if (t2)
  82828. t3.write$1(0, "\n");
  82829. _this._writeIndentation$0();
  82830. } else if (t2)
  82831. t3.writeCharCode$1(32);
  82832. }
  82833. _this.visitComplexSelector$1(t4);
  82834. }
  82835. },
  82836. visitParentSelector$1(_, $parent) {
  82837. var t1 = this._serialize$_buffer;
  82838. t1.writeCharCode$1(38);
  82839. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82840. },
  82841. visitPlaceholderSelector$1(_, placeholder) {
  82842. var t1 = this._serialize$_buffer;
  82843. t1.writeCharCode$1(37);
  82844. t1.write$1(0, placeholder.name);
  82845. },
  82846. visitPseudoSelector$1(_, pseudo) {
  82847. var _0_4, t3,
  82848. t1 = pseudo.name,
  82849. t2 = false;
  82850. if ("not" === t1) {
  82851. _0_4 = pseudo.selector;
  82852. if (_0_4 instanceof A.SelectorList)
  82853. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82854. }
  82855. if (t2)
  82856. return;
  82857. t2 = this._serialize$_buffer;
  82858. t2.writeCharCode$1(58);
  82859. if (!pseudo.isSyntacticClass)
  82860. t2.writeCharCode$1(58);
  82861. t2.write$1(0, t1);
  82862. t1 = pseudo.argument;
  82863. t3 = t1 == null;
  82864. if (t3 && pseudo.selector == null)
  82865. return;
  82866. t2.writeCharCode$1(40);
  82867. if (!t3) {
  82868. t2.write$1(0, t1);
  82869. if (pseudo.selector != null)
  82870. t2.writeCharCode$1(32);
  82871. }
  82872. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82873. t2.writeCharCode$1(41);
  82874. },
  82875. visitTypeSelector$1(_, type) {
  82876. this._serialize$_buffer.write$1(0, type.name);
  82877. },
  82878. visitUniversalSelector$1(_, universal) {
  82879. var t2,
  82880. t1 = universal.namespace;
  82881. if (t1 != null) {
  82882. t2 = this._serialize$_buffer;
  82883. t2.write$1(0, t1);
  82884. t2.writeCharCode$1(124);
  82885. }
  82886. this._serialize$_buffer.writeCharCode$1(42);
  82887. },
  82888. _serialize$_write$1(value) {
  82889. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82890. },
  82891. _serialize$_visitChildren$1($parent) {
  82892. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82893. t1 = _this._serialize$_buffer;
  82894. t1.writeCharCode$1(123);
  82895. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._style === B.OutputStyle_1, t5 = !t4, t6 = _this.get$_requiresSemicolon(), t7 = !_this._inspect, t3 = t3._eval$1("ListBase.E"), prePrevious = null, previous = null; t2.moveNext$0();) {
  82896. t8 = t2.__internal$_current;
  82897. previous0 = t8 == null ? t3._as(t8) : t8;
  82898. if (t7)
  82899. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82900. else
  82901. t8 = false;
  82902. if (t8)
  82903. continue;
  82904. t8 = previous == null;
  82905. t9 = t8 ? null : t6.call$1(previous);
  82906. if (t9 == null ? false : t9)
  82907. t1.writeCharCode$1(59);
  82908. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82909. if (t5)
  82910. t1.writeCharCode$1(32);
  82911. savedIndentation = _this._indentation;
  82912. _this._indentation = 0;
  82913. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82914. _this._indentation = savedIndentation;
  82915. } else {
  82916. if (t5)
  82917. t1.write$1(0, "\n");
  82918. ++_this._indentation;
  82919. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82920. --_this._indentation;
  82921. }
  82922. prePrevious = previous;
  82923. previous = previous0;
  82924. }
  82925. if (previous != null) {
  82926. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82927. t1.writeCharCode$1(59);
  82928. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82929. if (t5)
  82930. t1.writeCharCode$1(32);
  82931. } else {
  82932. _this._writeLineFeed$0();
  82933. _this._writeIndentation$0();
  82934. }
  82935. }
  82936. t1.writeCharCode$1(125);
  82937. },
  82938. _requiresSemicolon$1(node) {
  82939. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82940. },
  82941. _isTrailingComment$2(node, previous) {
  82942. var t1, t2, t3, searchFrom, endOffset, t4, span;
  82943. if (this._style === B.OutputStyle_1)
  82944. return false;
  82945. if (!(node instanceof A.ModifiableCssComment))
  82946. return false;
  82947. t1 = node.span;
  82948. t2 = t1.get$sourceUrl(t1);
  82949. t3 = previous.get$span(previous);
  82950. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  82951. return false;
  82952. t2 = previous.get$span(previous);
  82953. if (!(J.$eq$(t2.get$file(t2).url, t1.get$file(t1).url) && t2.get$start(t2).offset <= t1.get$start(t1).offset && t2.get$end(t2).offset >= t1.get$end(t1).offset)) {
  82954. t1 = t1.get$start(t1);
  82955. t1 = t1.file.getLine$1(t1.offset);
  82956. t2 = previous.get$span(previous);
  82957. t2 = t2.get$end(t2);
  82958. return t1 === t2.file.getLine$1(t2.offset);
  82959. }
  82960. t2 = t1.get$start(t1);
  82961. t3 = previous.get$span(previous);
  82962. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  82963. if (searchFrom < 0)
  82964. return false;
  82965. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82966. t2 = previous.get$span(previous);
  82967. t2 = t2.get$file(t2);
  82968. t3 = previous.get$span(previous);
  82969. t3 = t3.get$start(t3);
  82970. t4 = previous.get$span(previous);
  82971. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  82972. t1 = t1.get$start(t1);
  82973. t1 = t1.file.getLine$1(t1.offset);
  82974. t4 = A.FileLocation$_(span.file, span._end);
  82975. return t1 === t4.file.getLine$1(t4.offset);
  82976. },
  82977. _writeLineFeed$0() {
  82978. if (this._style !== B.OutputStyle_1)
  82979. this._serialize$_buffer.write$1(0, "\n");
  82980. },
  82981. _writeIndentation$0() {
  82982. var _this = this;
  82983. if (_this._style === B.OutputStyle_1)
  82984. return;
  82985. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82986. },
  82987. _writeTimes$2(char, times) {
  82988. var t1, i;
  82989. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82990. t1.writeCharCode$1(char);
  82991. },
  82992. _writeBetween$1$3(iterable, text, callback) {
  82993. var t1, t2, first, value;
  82994. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82995. value = t1.get$current(t1);
  82996. if (first)
  82997. first = false;
  82998. else
  82999. t2.write$1(0, text);
  83000. callback.call$1(value);
  83001. }
  83002. },
  83003. _writeBetween$3(iterable, text, callback) {
  83004. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  83005. }
  83006. };
  83007. A._SerializeVisitor_visitCssComment_closure.prototype = {
  83008. call$0() {
  83009. var t2, t3, _0_0, minimumIndentation,
  83010. t1 = this.$this;
  83011. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  83012. return;
  83013. t2 = this.node;
  83014. t3 = t2.text;
  83015. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  83016. return;
  83017. _0_0 = t1._minimumIndentation$1(t3);
  83018. if (_0_0 != null) {
  83019. t2 = t2.span;
  83020. t2 = t2.get$start(t2);
  83021. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  83022. t1._writeIndentation$0();
  83023. t1._writeWithIndent$2(t3, minimumIndentation);
  83024. } else {
  83025. t1._writeIndentation$0();
  83026. t1._serialize$_buffer.write$1(0, t3);
  83027. }
  83028. },
  83029. $signature: 1
  83030. };
  83031. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  83032. call$0() {
  83033. var t3, _0_0,
  83034. t1 = this.$this,
  83035. t2 = t1._serialize$_buffer;
  83036. t2.writeCharCode$1(64);
  83037. t3 = this.node;
  83038. t1._serialize$_write$1(t3.name);
  83039. _0_0 = t3.value;
  83040. if (_0_0 != null) {
  83041. t2.writeCharCode$1(32);
  83042. t1._serialize$_write$1(_0_0);
  83043. }
  83044. },
  83045. $signature: 1
  83046. };
  83047. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  83048. call$0() {
  83049. var t3, firstQuery, t4, t5,
  83050. t1 = this.$this,
  83051. t2 = t1._serialize$_buffer;
  83052. t2.write$1(0, "@media");
  83053. t3 = this.node.queries;
  83054. firstQuery = B.JSArray_methods.get$first(t3);
  83055. t4 = t1._style === B.OutputStyle_1;
  83056. t5 = true;
  83057. if (t4)
  83058. if (firstQuery.modifier == null)
  83059. if (firstQuery.type == null) {
  83060. t5 = firstQuery.conditions;
  83061. t5 = t5.length === 1 && B.JSString_methods.startsWith$1(B.JSArray_methods.get$first(t5), "(not ");
  83062. }
  83063. if (t5)
  83064. t2.writeCharCode$1(32);
  83065. t2 = t4 ? "," : ", ";
  83066. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  83067. },
  83068. $signature: 1
  83069. };
  83070. A._SerializeVisitor_visitCssImport_closure.prototype = {
  83071. call$0() {
  83072. var t3, t4, _0_0,
  83073. t1 = this.$this,
  83074. t2 = t1._serialize$_buffer;
  83075. t2.write$1(0, "@import");
  83076. t3 = t1._style !== B.OutputStyle_1;
  83077. if (t3)
  83078. t2.writeCharCode$1(32);
  83079. t4 = this.node;
  83080. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  83081. _0_0 = t4.modifiers;
  83082. if (_0_0 != null) {
  83083. if (t3)
  83084. t2.writeCharCode$1(32);
  83085. t2.write$1(0, _0_0);
  83086. }
  83087. },
  83088. $signature: 1
  83089. };
  83090. A._SerializeVisitor_visitCssImport__closure.prototype = {
  83091. call$0() {
  83092. return this.$this._writeImportUrl$1(this.node.url.value);
  83093. },
  83094. $signature: 0
  83095. };
  83096. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  83097. call$0() {
  83098. var t1 = this.$this,
  83099. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  83100. t3 = t1._serialize$_buffer;
  83101. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  83102. },
  83103. $signature: 0
  83104. };
  83105. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  83106. call$0() {
  83107. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  83108. },
  83109. $signature: 0
  83110. };
  83111. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  83112. call$0() {
  83113. var t1 = this.$this,
  83114. t2 = t1._serialize$_buffer;
  83115. t2.write$1(0, "@supports");
  83116. if (!(t1._style === B.OutputStyle_1 && this.node.condition.value.charCodeAt(0) === 40))
  83117. t2.writeCharCode$1(32);
  83118. t1._serialize$_write$1(this.node.condition);
  83119. },
  83120. $signature: 1
  83121. };
  83122. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  83123. call$0() {
  83124. var t1 = this.$this,
  83125. t2 = this.node;
  83126. if (t1._style === B.OutputStyle_1)
  83127. t1._writeFoldedValue$1(t2);
  83128. else
  83129. t1._writeReindentedValue$1(t2);
  83130. },
  83131. $signature: 1
  83132. };
  83133. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  83134. call$0() {
  83135. return this.node.value.value.accept$1(this.$this);
  83136. },
  83137. $signature: 0
  83138. };
  83139. A._SerializeVisitor_visitList_closure.prototype = {
  83140. call$1(element) {
  83141. return !element.get$isBlank();
  83142. },
  83143. $signature: 75
  83144. };
  83145. A._SerializeVisitor_visitList_closure0.prototype = {
  83146. call$1(element) {
  83147. var t1 = this.$this,
  83148. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  83149. if (needsParens)
  83150. t1._serialize$_buffer.writeCharCode$1(40);
  83151. element.accept$1(t1);
  83152. if (needsParens)
  83153. t1._serialize$_buffer.writeCharCode$1(41);
  83154. },
  83155. $signature: 61
  83156. };
  83157. A._SerializeVisitor_visitList_closure1.prototype = {
  83158. call$1(element) {
  83159. element.accept$1(this.$this);
  83160. },
  83161. $signature: 61
  83162. };
  83163. A._SerializeVisitor_visitMap_closure.prototype = {
  83164. call$1(entry) {
  83165. var t1 = this.$this;
  83166. t1._writeMapElement$1(entry.key);
  83167. t1._serialize$_buffer.write$1(0, ": ");
  83168. t1._writeMapElement$1(entry.value);
  83169. },
  83170. $signature: 278
  83171. };
  83172. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  83173. call$1(complex) {
  83174. return !complex.accept$1(B._IsInvisibleVisitor_true);
  83175. },
  83176. $signature: 20
  83177. };
  83178. A._SerializeVisitor__write_closure.prototype = {
  83179. call$0() {
  83180. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  83181. },
  83182. $signature: 0
  83183. };
  83184. A._SerializeVisitor__visitChildren_closure.prototype = {
  83185. call$0() {
  83186. return this.child.accept$1(this.$this);
  83187. },
  83188. $signature: 0
  83189. };
  83190. A._SerializeVisitor__visitChildren_closure0.prototype = {
  83191. call$0() {
  83192. this.child.accept$1(this.$this);
  83193. },
  83194. $signature: 0
  83195. };
  83196. A.OutputStyle.prototype = {
  83197. _enumToString$0() {
  83198. return "OutputStyle." + this._name;
  83199. }
  83200. };
  83201. A.LineFeed.prototype = {
  83202. _enumToString$0() {
  83203. return "LineFeed." + this._name;
  83204. },
  83205. toString$0(_) {
  83206. return "lf";
  83207. }
  83208. };
  83209. A.StatementSearchVisitor.prototype = {
  83210. visitAtRootRule$1(_, node) {
  83211. return this.visitChildren$1(node.children);
  83212. },
  83213. visitAtRule$1(_, node) {
  83214. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  83215. },
  83216. visitContentBlock$1(_, node) {
  83217. return this.visitChildren$1(node.children);
  83218. },
  83219. visitContentRule$1(_, node) {
  83220. return null;
  83221. },
  83222. visitDebugRule$1(_, node) {
  83223. return null;
  83224. },
  83225. visitDeclaration$1(_, node) {
  83226. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  83227. },
  83228. visitEachRule$1(_, node) {
  83229. return this.visitChildren$1(node.children);
  83230. },
  83231. visitErrorRule$1(_, node) {
  83232. return null;
  83233. },
  83234. visitExtendRule$1(_, node) {
  83235. return null;
  83236. },
  83237. visitForRule$1(_, node) {
  83238. return this.visitChildren$1(node.children);
  83239. },
  83240. visitForwardRule$1(_, node) {
  83241. return null;
  83242. },
  83243. visitFunctionRule$1(_, node) {
  83244. return this.visitChildren$1(node.children);
  83245. },
  83246. visitIfRule$1(_, node) {
  83247. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  83248. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  83249. },
  83250. visitImportRule$1(_, node) {
  83251. return null;
  83252. },
  83253. visitIncludeRule$1(_, node) {
  83254. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  83255. },
  83256. visitLoudComment$1(_, node) {
  83257. return null;
  83258. },
  83259. visitMediaRule$1(_, node) {
  83260. return this.visitChildren$1(node.children);
  83261. },
  83262. visitMixinRule$1(_, node) {
  83263. return this.visitChildren$1(node.children);
  83264. },
  83265. visitReturnRule$1(_, node) {
  83266. return null;
  83267. },
  83268. visitSilentComment$1(_, node) {
  83269. return null;
  83270. },
  83271. visitStyleRule$1(_, node) {
  83272. return this.visitChildren$1(node.children);
  83273. },
  83274. visitStylesheet$1(_, node) {
  83275. return this.visitChildren$1(node.children);
  83276. },
  83277. visitSupportsRule$1(_, node) {
  83278. return this.visitChildren$1(node.children);
  83279. },
  83280. visitUseRule$1(_, node) {
  83281. return null;
  83282. },
  83283. visitVariableDeclaration$1(_, node) {
  83284. return null;
  83285. },
  83286. visitWarnRule$1(_, node) {
  83287. return null;
  83288. },
  83289. visitWhileRule$1(_, node) {
  83290. return this.visitChildren$1(node.children);
  83291. },
  83292. visitChildren$1(children) {
  83293. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  83294. }
  83295. };
  83296. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  83297. call$1(clause) {
  83298. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  83299. },
  83300. $signature() {
  83301. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  83302. }
  83303. };
  83304. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  83305. call$1(child) {
  83306. return child.accept$1(this.$this);
  83307. },
  83308. $signature() {
  83309. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  83310. }
  83311. };
  83312. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  83313. call$1(lastClause) {
  83314. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  83315. },
  83316. $signature() {
  83317. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  83318. }
  83319. };
  83320. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  83321. call$1(child) {
  83322. return child.accept$1(this.$this);
  83323. },
  83324. $signature() {
  83325. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  83326. }
  83327. };
  83328. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  83329. call$1(child) {
  83330. return child.accept$1(this.$this);
  83331. },
  83332. $signature() {
  83333. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  83334. }
  83335. };
  83336. A.Entry.prototype = {
  83337. compareTo$1(_, other) {
  83338. var t1, t2,
  83339. res = this.target.compareTo$1(0, other.target);
  83340. if (res !== 0)
  83341. return res;
  83342. t1 = this.source;
  83343. t2 = other.source;
  83344. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  83345. if (res !== 0)
  83346. return res;
  83347. return t1.compareTo$1(0, t2);
  83348. },
  83349. $isComparable: 1
  83350. };
  83351. A.Mapping.prototype = {};
  83352. A.SingleMapping.prototype = {
  83353. toJson$1$includeSourceContents(includeSourceContents) {
  83354. var t1, t2, line, column, srcLine, srcColumn, srcUrlId, srcNameId, first, _i, entry, nextLine, i, t3, t4, column0, t5, newUrlId, srcLine0, srcColumn0, srcNameId0, result, _this = this,
  83355. buff = new A.StringBuffer("");
  83356. for (t1 = _this.lines, t2 = t1.length, line = 0, column = 0, srcLine = 0, srcColumn = 0, srcUrlId = 0, srcNameId = 0, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  83357. entry = t1[_i];
  83358. nextLine = entry.line;
  83359. if (nextLine > line) {
  83360. for (i = line; i < nextLine; ++i)
  83361. buff._contents += ";";
  83362. line = nextLine;
  83363. column = 0;
  83364. first = true;
  83365. }
  83366. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  83367. t4 = t3.get$current(t3);
  83368. if (!first)
  83369. buff._contents += ",";
  83370. column0 = t4.column;
  83371. t5 = A.encodeVlq(column0 - column);
  83372. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  83373. buff._contents = t5;
  83374. newUrlId = t4.sourceUrlId;
  83375. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  83376. buff._contents = t5;
  83377. srcLine0 = t4.sourceLine;
  83378. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  83379. buff._contents = t5;
  83380. srcColumn0 = t4.sourceColumn;
  83381. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  83382. buff._contents = t5;
  83383. srcNameId0 = t4.sourceNameId;
  83384. if (srcNameId0 == null) {
  83385. srcUrlId = newUrlId;
  83386. srcColumn = srcColumn0;
  83387. srcLine = srcLine0;
  83388. continue;
  83389. }
  83390. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  83391. srcNameId = srcNameId0;
  83392. srcUrlId = newUrlId;
  83393. srcColumn = srcColumn0;
  83394. srcLine = srcLine0;
  83395. }
  83396. }
  83397. t1 = _this.sourceRoot;
  83398. if (t1 == null)
  83399. t1 = "";
  83400. t2 = buff._contents;
  83401. result = A.LinkedHashMap_LinkedHashMap$_literal(["version", 3, "sourceRoot", t1, "sources", _this.urls, "names", _this.names, "mappings", t2.charCodeAt(0) == 0 ? t2 : t2], type$.String, type$.dynamic);
  83402. t1 = _this.targetUrl;
  83403. if (t1 != null)
  83404. result.$indexSet(0, "file", t1);
  83405. if (includeSourceContents) {
  83406. t1 = _this.files;
  83407. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  83408. t1 = A.List_List$_of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), t2._eval$1("ListIterable.E"));
  83409. result.$indexSet(0, "sourcesContent", t1);
  83410. }
  83411. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  83412. return result;
  83413. },
  83414. toJson$0() {
  83415. return this.toJson$1$includeSourceContents(false);
  83416. },
  83417. toString$0(_) {
  83418. var _this = this,
  83419. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0) + " : [targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
  83420. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83421. }
  83422. };
  83423. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  83424. call$0() {
  83425. return this.urls.__js_helper$_length;
  83426. },
  83427. $signature: 10
  83428. };
  83429. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  83430. call$0() {
  83431. return this.sourceEntry.source.file;
  83432. },
  83433. $signature: 279
  83434. };
  83435. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  83436. call$1(i) {
  83437. return this.files.$index(0, i);
  83438. },
  83439. $signature: 280
  83440. };
  83441. A.SingleMapping_toJson_closure.prototype = {
  83442. call$1(file) {
  83443. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  83444. },
  83445. $signature: 281
  83446. };
  83447. A.SingleMapping_toJson_closure0.prototype = {
  83448. call$2($name, value) {
  83449. this.result.$indexSet(0, $name, value);
  83450. return value;
  83451. },
  83452. $signature: 139
  83453. };
  83454. A.TargetLineEntry.prototype = {
  83455. toString$0(_) {
  83456. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  83457. }
  83458. };
  83459. A.TargetEntry.prototype = {
  83460. toString$0(_) {
  83461. var _this = this;
  83462. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  83463. }
  83464. };
  83465. A.SourceFile.prototype = {
  83466. get$length(_) {
  83467. return this._decodedChars.length;
  83468. },
  83469. get$lines() {
  83470. return this._lineStarts.length;
  83471. },
  83472. SourceFile$decoded$2$url(decodedChars, url) {
  83473. var t1, t2, t3, i, c, j;
  83474. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  83475. c = t1[i];
  83476. if (c === 13) {
  83477. j = i + 1;
  83478. if (j >= t2 || t1[j] !== 10)
  83479. c = 10;
  83480. }
  83481. if (c === 10)
  83482. t3.push(i + 1);
  83483. }
  83484. },
  83485. span$2(_, start, end) {
  83486. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  83487. },
  83488. span$1(_, start) {
  83489. return this.span$2(0, start, null);
  83490. },
  83491. getLine$1(offset) {
  83492. var t1, _this = this;
  83493. if (offset < 0)
  83494. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83495. else if (offset > _this._decodedChars.length)
  83496. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  83497. t1 = _this._lineStarts;
  83498. if (offset < B.JSArray_methods.get$first(t1))
  83499. return -1;
  83500. if (offset >= B.JSArray_methods.get$last(t1))
  83501. return t1.length - 1;
  83502. if (_this._isNearCachedLine$1(offset)) {
  83503. t1 = _this._cachedLine;
  83504. t1.toString;
  83505. return t1;
  83506. }
  83507. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  83508. },
  83509. _isNearCachedLine$1(offset) {
  83510. var t2, t3,
  83511. t1 = this._cachedLine;
  83512. if (t1 == null)
  83513. return false;
  83514. t2 = this._lineStarts;
  83515. if (offset < t2[t1])
  83516. return false;
  83517. t3 = t2.length;
  83518. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  83519. return true;
  83520. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  83521. this._cachedLine = t1 + 1;
  83522. return true;
  83523. }
  83524. return false;
  83525. },
  83526. _binarySearch$1(offset) {
  83527. var min, half,
  83528. t1 = this._lineStarts,
  83529. max = t1.length - 1;
  83530. for (min = 0; min < max;) {
  83531. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  83532. if (t1[half] > offset)
  83533. max = half;
  83534. else
  83535. min = half + 1;
  83536. }
  83537. return max;
  83538. },
  83539. getColumn$1(offset) {
  83540. var line, lineStart, _this = this;
  83541. if (offset < 0)
  83542. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83543. else if (offset > _this._decodedChars.length)
  83544. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  83545. line = _this.getLine$1(offset);
  83546. lineStart = _this._lineStarts[line];
  83547. if (lineStart > offset)
  83548. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  83549. return offset - lineStart;
  83550. },
  83551. getOffset$1(line) {
  83552. var t1, t2, result, t3;
  83553. if (line < 0)
  83554. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  83555. else {
  83556. t1 = this._lineStarts;
  83557. t2 = t1.length;
  83558. if (line >= t2)
  83559. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  83560. }
  83561. result = t1[line];
  83562. if (result <= this._decodedChars.length) {
  83563. t3 = line + 1;
  83564. t1 = t3 < t2 && result >= t1[t3];
  83565. } else
  83566. t1 = true;
  83567. if (t1)
  83568. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  83569. return result;
  83570. }
  83571. };
  83572. A.FileLocation.prototype = {
  83573. get$sourceUrl(_) {
  83574. return this.file.url;
  83575. },
  83576. get$line() {
  83577. return this.file.getLine$1(this.offset);
  83578. },
  83579. get$column() {
  83580. return this.file.getColumn$1(this.offset);
  83581. },
  83582. FileLocation$_$2(file, offset) {
  83583. var t2,
  83584. t1 = this.offset;
  83585. if (t1 < 0)
  83586. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  83587. else {
  83588. t2 = this.file;
  83589. if (t1 > t2._decodedChars.length)
  83590. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  83591. }
  83592. },
  83593. pointSpan$0() {
  83594. var t1 = this.offset;
  83595. return A._FileSpan$(this.file, t1, t1);
  83596. },
  83597. get$offset() {
  83598. return this.offset;
  83599. }
  83600. };
  83601. A._FileSpan.prototype = {
  83602. get$sourceUrl(_) {
  83603. return this.file.url;
  83604. },
  83605. get$length(_) {
  83606. return this._end - this._file$_start;
  83607. },
  83608. get$start(_) {
  83609. return A.FileLocation$_(this.file, this._file$_start);
  83610. },
  83611. get$end(_) {
  83612. return A.FileLocation$_(this.file, this._end);
  83613. },
  83614. get$text() {
  83615. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  83616. },
  83617. get$context(_) {
  83618. var _this = this,
  83619. t1 = _this.file,
  83620. endOffset = _this._end,
  83621. endLine = t1.getLine$1(endOffset);
  83622. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  83623. if (endOffset - _this._file$_start === 0)
  83624. return endLine === t1._lineStarts.length - 1 ? "" : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(endLine), t1.getOffset$1(endLine + 1)), 0, null);
  83625. } else
  83626. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83627. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83628. },
  83629. _FileSpan$3(file, _start, _end) {
  83630. var t3,
  83631. t1 = this._end,
  83632. t2 = this._file$_start;
  83633. if (t1 < t2)
  83634. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83635. else {
  83636. t3 = this.file;
  83637. if (t1 > t3._decodedChars.length)
  83638. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83639. else if (t2 < 0)
  83640. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83641. }
  83642. },
  83643. compareTo$1(_, other) {
  83644. var result;
  83645. if (!(other instanceof A._FileSpan))
  83646. return this.super$SourceSpanMixin$compareTo(0, other);
  83647. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83648. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83649. },
  83650. $eq(_, other) {
  83651. var _this = this;
  83652. if (other == null)
  83653. return false;
  83654. if (!type$.FileSpan._is(other))
  83655. return _this.super$SourceSpanMixin$$eq(0, other);
  83656. if (!(other instanceof A._FileSpan))
  83657. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83658. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83659. },
  83660. get$hashCode(_) {
  83661. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83662. },
  83663. expand$1(_, other) {
  83664. var t2, t3, _this = this,
  83665. t1 = _this.file;
  83666. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83667. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83668. t2 = _this._file$_start;
  83669. t3 = _this._end;
  83670. if (other instanceof A._FileSpan)
  83671. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83672. else
  83673. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83674. },
  83675. $isFileSpan: 1,
  83676. $isSourceSpanWithContext: 1,
  83677. get$file(receiver) {
  83678. return this.file;
  83679. }
  83680. };
  83681. A.Highlighter.prototype = {
  83682. highlight$0() {
  83683. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83684. t1 = _this._lines;
  83685. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83686. t2 = _this._maxMultilineSpans;
  83687. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83688. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83689. line = t1[i];
  83690. if (i > 0) {
  83691. lastLine = t1[i - 1];
  83692. t5 = line.url;
  83693. if (!J.$eq$(lastLine.url, t5)) {
  83694. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83695. t3._contents += "\n";
  83696. _this._writeFileStart$1(t5);
  83697. } else if (lastLine.number + 1 !== line.number) {
  83698. _this._writeSidebar$1$text("...");
  83699. t3._contents += "\n";
  83700. }
  83701. }
  83702. for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get$length(0), t6._eval$1("ListIterator<ListIterable.E>")), t6 = t6._eval$1("ListIterable.E"), t8 = line.number, t9 = line.text; t7.moveNext$0();) {
  83703. t10 = t7.__internal$_current;
  83704. if (t10 == null)
  83705. t10 = t6._as(t10);
  83706. t11 = t10.span;
  83707. if (t11.get$start(t11).get$line() !== t11.get$end(t11).get$line() && t11.get$start(t11).get$line() === t8 && _this._isOnlyWhitespace$1(B.JSString_methods.substring$2(t9, 0, t11.get$start(t11).get$column()))) {
  83708. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83709. if (index < 0)
  83710. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83711. highlightsByColumn[index] = t10;
  83712. }
  83713. }
  83714. _this._writeSidebar$1$line(t8);
  83715. t3._contents += " ";
  83716. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83717. if (t2)
  83718. t3._contents += " ";
  83719. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83720. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83721. t6 = primary != null;
  83722. if (t6) {
  83723. t7 = primary.span;
  83724. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83725. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83726. } else
  83727. _this._writeText$1(t9);
  83728. t3._contents += "\n";
  83729. if (t6)
  83730. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83731. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83732. highlight = t5[_i];
  83733. if (highlight.isPrimary)
  83734. continue;
  83735. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83736. }
  83737. }
  83738. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83739. t1 = t3._contents;
  83740. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83741. },
  83742. _writeFileStart$1(url) {
  83743. var _this = this,
  83744. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83745. t2 = $._glyphs;
  83746. if (t1)
  83747. _this._writeSidebar$1$end(t2.get$downEnd());
  83748. else {
  83749. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83750. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83751. t1 = _this._highlighter$_buffer;
  83752. t2 = " " + $.$get$context().prettyUri$1(url);
  83753. t1._contents += t2;
  83754. }
  83755. _this._highlighter$_buffer._contents += "\n";
  83756. },
  83757. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83758. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83759. _box_0.openedOnThisLine = false;
  83760. _box_0.openedOnThisLineColor = null;
  83761. t1 = current == null;
  83762. if (t1)
  83763. currentColor = null;
  83764. else
  83765. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83766. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83767. highlight = highlightsByColumn[_i];
  83768. t6 = highlight == null;
  83769. if (t6)
  83770. startLine = null;
  83771. else {
  83772. t7 = highlight.span;
  83773. startLine = t7.get$start(t7).get$line();
  83774. }
  83775. if (t6)
  83776. endLine = null;
  83777. else {
  83778. t7 = highlight.span;
  83779. endLine = t7.get$end(t7).get$line();
  83780. }
  83781. if (t1 && highlight === current) {
  83782. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83783. foundCurrent = true;
  83784. } else if (foundCurrent)
  83785. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83786. else if (t6)
  83787. if (_box_0.openedOnThisLine)
  83788. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83789. else
  83790. t5._contents += " ";
  83791. else {
  83792. t6 = highlight.isPrimary ? t4 : t3;
  83793. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83794. }
  83795. }
  83796. },
  83797. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83798. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83799. },
  83800. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83801. var _this = this;
  83802. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83803. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83804. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83805. },
  83806. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83807. var t2, coversWholeLine, _this = this,
  83808. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83809. t1 = highlight.span;
  83810. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83811. _this._writeSidebar$0();
  83812. t1 = _this._highlighter$_buffer;
  83813. t1._contents += " ";
  83814. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83815. if (highlightsByColumn.length !== 0)
  83816. t1._contents += " ";
  83817. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83818. } else {
  83819. t2 = line.number;
  83820. if (t1.get$start(t1).get$line() === t2) {
  83821. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83822. return;
  83823. A.replaceFirstNull(highlightsByColumn, highlight);
  83824. _this._writeSidebar$0();
  83825. t1 = _this._highlighter$_buffer;
  83826. t1._contents += " ";
  83827. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83828. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83829. t1._contents += "\n";
  83830. } else if (t1.get$end(t1).get$line() === t2) {
  83831. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83832. if (coversWholeLine && highlight.label == null) {
  83833. A.replaceWithNull(highlightsByColumn, highlight);
  83834. return;
  83835. }
  83836. _this._writeSidebar$0();
  83837. _this._highlighter$_buffer._contents += " ";
  83838. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83839. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83840. A.replaceWithNull(highlightsByColumn, highlight);
  83841. }
  83842. }
  83843. },
  83844. _writeArrow$3$beginning(line, column, beginning) {
  83845. var t2,
  83846. t1 = beginning ? 0 : 1,
  83847. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83848. t1 = this._highlighter$_buffer;
  83849. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83850. t1._contents = (t1._contents += t2) + "^";
  83851. },
  83852. _writeArrow$2(line, column) {
  83853. return this._writeArrow$3$beginning(line, column, true);
  83854. },
  83855. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83856. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83857. label = highlight.label;
  83858. if (label == null) {
  83859. _this._highlighter$_buffer._contents += "\n";
  83860. return;
  83861. }
  83862. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83863. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83864. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83865. t1 = _this._highlighter$_buffer;
  83866. t1._contents += "\n";
  83867. for (t2 = A.SubListIterable$(lines, 1, null, type$.String), t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = highlightsByColumn.length, t3 = t3._eval$1("ListIterable.E"); t2.moveNext$0();) {
  83868. t5 = t2.__internal$_current;
  83869. if (t5 == null)
  83870. t5 = t3._as(t5);
  83871. _this._writeSidebar$0();
  83872. t6 = t1._contents += " ";
  83873. for (_i = 0; _i < t4; ++_i) {
  83874. columnHighlight = highlightsByColumn[_i];
  83875. if (columnHighlight == null || columnHighlight === highlight) {
  83876. t6 += " ";
  83877. t1._contents = t6;
  83878. } else {
  83879. t6 = $._glyphs.get$verticalLine();
  83880. t6 = t1._contents += t6;
  83881. }
  83882. }
  83883. t1._contents = t6 + B.JSString_methods.$mul(" ", underlineLength);
  83884. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83885. t1._contents += "\n";
  83886. }
  83887. },
  83888. _writeText$1(text) {
  83889. var t1, t2, t3, t4;
  83890. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this._highlighter$_buffer, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  83891. t4 = t1.__internal$_current;
  83892. if (t4 == null)
  83893. t4 = t2._as(t4);
  83894. if (t4 === 9)
  83895. t3._contents += B.JSString_methods.$mul(" ", 4);
  83896. else {
  83897. t4 = A.Primitives_stringFromCharCode(t4);
  83898. t3._contents += t4;
  83899. }
  83900. }
  83901. },
  83902. _writeSidebar$3$end$line$text(end, line, text) {
  83903. var t1 = {};
  83904. t1.text = text;
  83905. if (line != null)
  83906. t1.text = B.JSInt_methods.toString$0(line + 1);
  83907. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83908. },
  83909. _writeSidebar$1$end(end) {
  83910. return this._writeSidebar$3$end$line$text(end, null, null);
  83911. },
  83912. _writeSidebar$1$text(text) {
  83913. return this._writeSidebar$3$end$line$text(null, null, text);
  83914. },
  83915. _writeSidebar$1$line(line) {
  83916. return this._writeSidebar$3$end$line$text(null, line, null);
  83917. },
  83918. _writeSidebar$0() {
  83919. return this._writeSidebar$3$end$line$text(null, null, null);
  83920. },
  83921. _countTabs$1(text) {
  83922. var t1, t2, count, t3;
  83923. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  83924. t3 = t1.__internal$_current;
  83925. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83926. ++count;
  83927. }
  83928. return count;
  83929. },
  83930. _isOnlyWhitespace$1(text) {
  83931. var t1, t2, t3;
  83932. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  83933. t3 = t1.__internal$_current;
  83934. if (t3 == null)
  83935. t3 = t2._as(t3);
  83936. if (t3 !== 32 && t3 !== 9)
  83937. return false;
  83938. }
  83939. return true;
  83940. },
  83941. _colorize$1$2$color(callback, color) {
  83942. var result,
  83943. t1 = this._primaryColor != null;
  83944. if (t1 && color != null)
  83945. this._highlighter$_buffer._contents += color;
  83946. result = callback.call$0();
  83947. if (t1 && color != null)
  83948. this._highlighter$_buffer._contents += "\x1b[0m";
  83949. return result;
  83950. },
  83951. _colorize$2$color(callback, color) {
  83952. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83953. }
  83954. };
  83955. A.Highlighter_closure.prototype = {
  83956. call$0() {
  83957. var t1 = this.color,
  83958. t2 = J.getInterceptor$(t1);
  83959. if (t2.$eq(t1, true))
  83960. return "\x1b[31m";
  83961. if (t2.$eq(t1, false))
  83962. return null;
  83963. return A._asStringQ(t1);
  83964. },
  83965. $signature: 45
  83966. };
  83967. A.Highlighter$__closure.prototype = {
  83968. call$1(line) {
  83969. var t1 = line.highlights;
  83970. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83971. },
  83972. $signature: 282
  83973. };
  83974. A.Highlighter$___closure.prototype = {
  83975. call$1(highlight) {
  83976. var t1 = highlight.span;
  83977. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83978. },
  83979. $signature: 121
  83980. };
  83981. A.Highlighter$__closure0.prototype = {
  83982. call$1(line) {
  83983. return line.url;
  83984. },
  83985. $signature: 284
  83986. };
  83987. A.Highlighter__collateLines_closure.prototype = {
  83988. call$1(highlight) {
  83989. var t1 = highlight.span;
  83990. t1 = t1.get$sourceUrl(t1);
  83991. return t1 == null ? new A.Object() : t1;
  83992. },
  83993. $signature: 285
  83994. };
  83995. A.Highlighter__collateLines_closure0.prototype = {
  83996. call$2(highlight1, highlight2) {
  83997. return highlight1.span.compareTo$1(0, highlight2.span);
  83998. },
  83999. $signature: 286
  84000. };
  84001. A.Highlighter__collateLines_closure1.prototype = {
  84002. call$1(entry) {
  84003. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  84004. url = entry.key,
  84005. highlightsForFile = entry.value,
  84006. lines = A._setArrayType([], type$.JSArray__Line);
  84007. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  84008. t4 = t2.get$current(t2).span;
  84009. context = t4.get$context(t4);
  84010. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  84011. t5.toString;
  84012. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  84013. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  84014. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  84015. line = t4[_i];
  84016. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  84017. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  84018. ++lineNumber;
  84019. }
  84020. }
  84021. activeHighlights = A._setArrayType([], t3);
  84022. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  84023. line = lines[_i];
  84024. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  84025. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  84026. oldHighlightLength = activeHighlights.length;
  84027. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t5 = line.number, t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  84028. t6 = t3.__internal$_current;
  84029. if (t6 == null)
  84030. t6 = t4._as(t6);
  84031. t7 = t6.span;
  84032. if (t7.get$start(t7).get$line() > t5)
  84033. break;
  84034. activeHighlights.push(t6);
  84035. }
  84036. highlightIndex += activeHighlights.length - oldHighlightLength;
  84037. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  84038. }
  84039. return lines;
  84040. },
  84041. $signature: 287
  84042. };
  84043. A.Highlighter__collateLines__closure.prototype = {
  84044. call$1(highlight) {
  84045. var t1 = highlight.span;
  84046. return t1.get$end(t1).get$line() < this.line.number;
  84047. },
  84048. $signature: 121
  84049. };
  84050. A.Highlighter_highlight_closure.prototype = {
  84051. call$1(highlight) {
  84052. return highlight.isPrimary;
  84053. },
  84054. $signature: 121
  84055. };
  84056. A.Highlighter__writeFileStart_closure.prototype = {
  84057. call$0() {
  84058. var t1 = this.$this._highlighter$_buffer,
  84059. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  84060. t1._contents += t2;
  84061. return null;
  84062. },
  84063. $signature: 0
  84064. };
  84065. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  84066. call$0() {
  84067. var t1 = this.$this._highlighter$_buffer,
  84068. t2 = $._glyphs;
  84069. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  84070. t1._contents += t2;
  84071. },
  84072. $signature: 1
  84073. };
  84074. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  84075. call$0() {
  84076. var t1 = this.$this._highlighter$_buffer,
  84077. t2 = $._glyphs;
  84078. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  84079. t1._contents += t2;
  84080. },
  84081. $signature: 1
  84082. };
  84083. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  84084. call$0() {
  84085. var t1 = this.$this._highlighter$_buffer,
  84086. t2 = $._glyphs.get$horizontalLine();
  84087. t1._contents += t2;
  84088. return null;
  84089. },
  84090. $signature: 0
  84091. };
  84092. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  84093. call$0() {
  84094. var _this = this,
  84095. t1 = _this._box_0,
  84096. t2 = t1.openedOnThisLine,
  84097. t3 = $._glyphs,
  84098. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  84099. if (_this.current != null)
  84100. _this.$this._highlighter$_buffer._contents += vertical;
  84101. else {
  84102. t2 = _this.line;
  84103. t3 = t2.number;
  84104. if (_this.startLine === t3) {
  84105. t2 = _this.$this;
  84106. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  84107. t1.openedOnThisLine = true;
  84108. if (t1.openedOnThisLineColor == null)
  84109. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  84110. } else {
  84111. if (_this.endLine === t3) {
  84112. t3 = _this.highlight.span;
  84113. t2 = t3.get$end(t3).get$column() === t2.text.length;
  84114. } else
  84115. t2 = false;
  84116. t3 = _this.$this;
  84117. if (t2) {
  84118. t1 = t3._highlighter$_buffer;
  84119. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  84120. t1._contents += t2;
  84121. } else
  84122. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  84123. }
  84124. }
  84125. },
  84126. $signature: 1
  84127. };
  84128. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  84129. call$0() {
  84130. var t1 = this.$this._highlighter$_buffer,
  84131. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  84132. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  84133. t1._contents += t2;
  84134. },
  84135. $signature: 1
  84136. };
  84137. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  84138. call$0() {
  84139. this.$this._highlighter$_buffer._contents += this.vertical;
  84140. },
  84141. $signature: 1
  84142. };
  84143. A.Highlighter__writeHighlightedText_closure.prototype = {
  84144. call$0() {
  84145. var _this = this;
  84146. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  84147. },
  84148. $signature: 0
  84149. };
  84150. A.Highlighter__writeIndicator_closure.prototype = {
  84151. call$0() {
  84152. var startColumn, endColumn, tabsBefore, tabsInside,
  84153. t1 = this.$this,
  84154. t2 = t1._highlighter$_buffer,
  84155. t3 = t2._contents,
  84156. t4 = this.highlight,
  84157. t5 = t4.span;
  84158. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  84159. startColumn = t5.get$start(t5).get$column();
  84160. endColumn = t5.get$end(t5).get$column();
  84161. t5 = this.line.text;
  84162. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  84163. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  84164. startColumn += tabsBefore * 3;
  84165. t4 = (t2._contents += B.JSString_methods.$mul(" ", startColumn)) + B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  84166. t2._contents = t4;
  84167. return t4.length - t3.length;
  84168. },
  84169. $signature: 10
  84170. };
  84171. A.Highlighter__writeIndicator_closure0.prototype = {
  84172. call$0() {
  84173. var t1 = this.highlight.span;
  84174. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  84175. },
  84176. $signature: 0
  84177. };
  84178. A.Highlighter__writeIndicator_closure1.prototype = {
  84179. call$0() {
  84180. var t4, _this = this,
  84181. t1 = _this.$this,
  84182. t2 = t1._highlighter$_buffer,
  84183. t3 = t2._contents;
  84184. if (_this.coversWholeLine) {
  84185. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  84186. t2._contents += t1;
  84187. } else {
  84188. t4 = _this.highlight.span;
  84189. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  84190. }
  84191. return t2._contents.length - t3.length;
  84192. },
  84193. $signature: 10
  84194. };
  84195. A.Highlighter__writeLabel_closure.prototype = {
  84196. call$0() {
  84197. var t1 = this.$this._highlighter$_buffer,
  84198. t2 = " " + B.JSArray_methods.get$first(this.lines);
  84199. t1._contents += t2;
  84200. return null;
  84201. },
  84202. $signature: 0
  84203. };
  84204. A.Highlighter__writeLabel_closure0.prototype = {
  84205. call$0() {
  84206. this.$this._highlighter$_buffer._contents += " " + this.text;
  84207. return null;
  84208. },
  84209. $signature: 0
  84210. };
  84211. A.Highlighter__writeSidebar_closure.prototype = {
  84212. call$0() {
  84213. var t1 = this.$this,
  84214. t2 = t1._highlighter$_buffer,
  84215. t3 = this._box_0.text;
  84216. if (t3 == null)
  84217. t3 = "";
  84218. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  84219. t2._contents += t1;
  84220. t1 = this.end;
  84221. if (t1 == null)
  84222. t1 = $._glyphs.get$verticalLine();
  84223. t2._contents += t1;
  84224. },
  84225. $signature: 1
  84226. };
  84227. A._Highlight.prototype = {
  84228. toString$0(_) {
  84229. var t1 = this.isPrimary ? "primary " : "",
  84230. t2 = this.span;
  84231. t2 = t1 + ("" + t2.get$start(t2).get$line() + ":" + t2.get$start(t2).get$column() + "-" + t2.get$end(t2).get$line() + ":" + t2.get$end(t2).get$column());
  84232. t1 = this.label;
  84233. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  84234. return t1.charCodeAt(0) == 0 ? t1 : t1;
  84235. }
  84236. };
  84237. A._Highlight_closure.prototype = {
  84238. call$0() {
  84239. var t1, t2, t3, t4,
  84240. newSpan = this.span;
  84241. if (!(type$.SourceSpanWithContext._is(newSpan) && A.findLineStart(newSpan.get$context(newSpan), newSpan.get$text(), newSpan.get$start(newSpan).get$column()) != null)) {
  84242. t1 = A.SourceLocation$(newSpan.get$start(newSpan).get$offset(), 0, 0, newSpan.get$sourceUrl(newSpan));
  84243. t2 = newSpan.get$end(newSpan).get$offset();
  84244. t3 = newSpan.get$sourceUrl(newSpan);
  84245. t4 = A.countCodeUnits(newSpan.get$text(), 10);
  84246. newSpan = A.SourceSpanWithContext$(t1, A.SourceLocation$(t2, A._Highlight__lastLineLength(newSpan.get$text()), t4, t3), newSpan.get$text(), newSpan.get$text());
  84247. }
  84248. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(newSpan)));
  84249. },
  84250. $signature: 288
  84251. };
  84252. A._Line.prototype = {
  84253. toString$0(_) {
  84254. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  84255. }
  84256. };
  84257. A.SourceLocation.prototype = {
  84258. distance$1(other) {
  84259. var t1 = this.sourceUrl;
  84260. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  84261. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  84262. return Math.abs(this.offset - other.get$offset());
  84263. },
  84264. compareTo$1(_, other) {
  84265. var t1 = this.sourceUrl;
  84266. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  84267. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  84268. return this.offset - other.get$offset();
  84269. },
  84270. $eq(_, other) {
  84271. if (other == null)
  84272. return false;
  84273. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  84274. },
  84275. get$hashCode(_) {
  84276. var t1 = this.sourceUrl;
  84277. t1 = t1 == null ? null : t1.get$hashCode(t1);
  84278. if (t1 == null)
  84279. t1 = 0;
  84280. return t1 + this.offset;
  84281. },
  84282. toString$0(_) {
  84283. var _this = this,
  84284. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  84285. source = _this.sourceUrl;
  84286. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  84287. },
  84288. $isComparable: 1,
  84289. get$sourceUrl(receiver) {
  84290. return this.sourceUrl;
  84291. },
  84292. get$offset() {
  84293. return this.offset;
  84294. },
  84295. get$line() {
  84296. return this.line;
  84297. },
  84298. get$column() {
  84299. return this.column;
  84300. }
  84301. };
  84302. A.SourceLocationMixin.prototype = {
  84303. distance$1(other) {
  84304. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  84305. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  84306. return Math.abs(this.offset - other.get$offset());
  84307. },
  84308. compareTo$1(_, other) {
  84309. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  84310. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  84311. return this.offset - other.get$offset();
  84312. },
  84313. $eq(_, other) {
  84314. if (other == null)
  84315. return false;
  84316. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  84317. },
  84318. get$hashCode(_) {
  84319. var t1 = this.file.url;
  84320. t1 = t1 == null ? null : t1.get$hashCode(t1);
  84321. if (t1 == null)
  84322. t1 = 0;
  84323. return t1 + this.offset;
  84324. },
  84325. toString$0(_) {
  84326. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  84327. t2 = this.offset,
  84328. t3 = this.file,
  84329. source = t3.url;
  84330. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  84331. },
  84332. $isComparable: 1,
  84333. $isSourceLocation: 1
  84334. };
  84335. A.SourceSpanBase.prototype = {
  84336. SourceSpanBase$3(start, end, text) {
  84337. var t3,
  84338. t1 = this.end,
  84339. t2 = this.start;
  84340. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  84341. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  84342. else if (t1.get$offset() < t2.get$offset())
  84343. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  84344. else {
  84345. t3 = this.text;
  84346. if (t3.length !== t2.distance$1(t1))
  84347. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  84348. }
  84349. },
  84350. get$start(receiver) {
  84351. return this.start;
  84352. },
  84353. get$end(receiver) {
  84354. return this.end;
  84355. },
  84356. get$text() {
  84357. return this.text;
  84358. }
  84359. };
  84360. A.SourceSpanException.prototype = {
  84361. get$message(_) {
  84362. return this._span_exception$_message;
  84363. },
  84364. get$span(_) {
  84365. return this._span;
  84366. },
  84367. toString$1$color(_, color) {
  84368. var _this = this;
  84369. _this.get$span(_this);
  84370. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  84371. },
  84372. toString$0(_) {
  84373. return this.toString$1$color(0, null);
  84374. },
  84375. $isException: 1
  84376. };
  84377. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  84378. get$source() {
  84379. return this.source;
  84380. }
  84381. };
  84382. A.MultiSourceSpanException.prototype = {
  84383. toString$0(_) {
  84384. var _this = this;
  84385. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  84386. },
  84387. get$primaryLabel() {
  84388. return this.primaryLabel;
  84389. },
  84390. get$secondarySpans() {
  84391. return this.secondarySpans;
  84392. }
  84393. };
  84394. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  84395. A.SourceSpanMixin.prototype = {
  84396. get$sourceUrl(_) {
  84397. var t1 = this.get$start(this);
  84398. return t1.get$sourceUrl(t1);
  84399. },
  84400. get$length(_) {
  84401. var _this = this;
  84402. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  84403. },
  84404. compareTo$1(_, other) {
  84405. var _this = this,
  84406. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  84407. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  84408. },
  84409. message$2$color(_, message, color) {
  84410. var t2, t3, highlight, _this = this,
  84411. t1 = "line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1);
  84412. if (_this.get$sourceUrl(_this) != null) {
  84413. t2 = _this.get$sourceUrl(_this);
  84414. t3 = $.$get$context();
  84415. t2.toString;
  84416. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  84417. t1 = t2;
  84418. }
  84419. t1 += ": " + message;
  84420. highlight = _this.highlight$1$color(color);
  84421. if (highlight.length !== 0)
  84422. t1 = t1 + "\n" + highlight;
  84423. return t1.charCodeAt(0) == 0 ? t1 : t1;
  84424. },
  84425. message$1(_, message) {
  84426. return this.message$2$color(0, message, null);
  84427. },
  84428. highlight$1$color(color) {
  84429. var _this = this;
  84430. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  84431. return "";
  84432. return A.Highlighter$(_this, color).highlight$0();
  84433. },
  84434. $eq(_, other) {
  84435. var _this = this;
  84436. if (other == null)
  84437. return false;
  84438. return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other));
  84439. },
  84440. get$hashCode(_) {
  84441. var _this = this;
  84442. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  84443. },
  84444. toString$0(_) {
  84445. var _this = this;
  84446. return "<" + A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  84447. },
  84448. $isComparable: 1,
  84449. $isSourceSpan: 1
  84450. };
  84451. A.SourceSpanWithContext.prototype = {
  84452. get$context(_) {
  84453. return this._context;
  84454. }
  84455. };
  84456. A.Chain.prototype = {
  84457. toTrace$0() {
  84458. var t1 = this.traces;
  84459. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  84460. },
  84461. toString$0(_) {
  84462. var t1 = this.traces,
  84463. t2 = A._arrayInstanceType(t1);
  84464. return new A.MappedListIterable(t1, new A.Chain_toString_closure(new A.MappedListIterable(t1, new A.Chain_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$1(0, string$.x3d_____);
  84465. },
  84466. $isStackTrace: 1
  84467. };
  84468. A.Chain_Chain$parse_closure.prototype = {
  84469. call$1(line) {
  84470. return line.length !== 0;
  84471. },
  84472. $signature: 5
  84473. };
  84474. A.Chain_toTrace_closure.prototype = {
  84475. call$1(trace) {
  84476. return trace.get$frames();
  84477. },
  84478. $signature: 289
  84479. };
  84480. A.Chain_toString_closure0.prototype = {
  84481. call$1(trace) {
  84482. var t1 = trace.get$frames();
  84483. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  84484. },
  84485. $signature: 290
  84486. };
  84487. A.Chain_toString__closure0.prototype = {
  84488. call$1(frame) {
  84489. return frame.get$location().length;
  84490. },
  84491. $signature: 269
  84492. };
  84493. A.Chain_toString_closure.prototype = {
  84494. call$1(trace) {
  84495. var t1 = trace.get$frames();
  84496. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  84497. },
  84498. $signature: 292
  84499. };
  84500. A.Chain_toString__closure.prototype = {
  84501. call$1(frame) {
  84502. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84503. },
  84504. $signature: 268
  84505. };
  84506. A.Frame.prototype = {
  84507. get$isCore() {
  84508. return this.uri.get$scheme() === "dart";
  84509. },
  84510. get$library() {
  84511. var t1 = this.uri;
  84512. if (t1.get$scheme() === "data")
  84513. return "data:...";
  84514. return $.$get$context().prettyUri$1(t1);
  84515. },
  84516. get$$package() {
  84517. var t1 = this.uri;
  84518. if (t1.get$scheme() !== "package")
  84519. return null;
  84520. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  84521. },
  84522. get$location() {
  84523. var t2, _this = this,
  84524. t1 = _this.line;
  84525. if (t1 == null)
  84526. return _this.get$library();
  84527. t2 = _this.column;
  84528. if (t2 == null)
  84529. return _this.get$library() + " " + A.S(t1);
  84530. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  84531. },
  84532. toString$0(_) {
  84533. return this.get$location() + " in " + A.S(this.member);
  84534. },
  84535. get$uri() {
  84536. return this.uri;
  84537. },
  84538. get$line() {
  84539. return this.line;
  84540. },
  84541. get$column() {
  84542. return this.column;
  84543. },
  84544. get$member() {
  84545. return this.member;
  84546. }
  84547. };
  84548. A.Frame_Frame$parseVM_closure.prototype = {
  84549. call$0() {
  84550. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  84551. t1 = this.frame;
  84552. if (t1 === "...")
  84553. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  84554. match = $.$get$_vmFrame().firstMatch$1(t1);
  84555. if (match == null)
  84556. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84557. t1 = match._match;
  84558. t2 = t1[1];
  84559. t2.toString;
  84560. t3 = $.$get$_asyncBody();
  84561. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  84562. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  84563. t2 = t1[2];
  84564. t3 = t2;
  84565. t3.toString;
  84566. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  84567. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84568. else {
  84569. t2 = t2;
  84570. t2.toString;
  84571. uri = A.Uri_parse(t2);
  84572. }
  84573. lineAndColumn = t1[3].split(":");
  84574. t1 = lineAndColumn.length;
  84575. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  84576. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  84577. },
  84578. $signature: 73
  84579. };
  84580. A.Frame_Frame$parseV8_closure.prototype = {
  84581. call$0() {
  84582. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  84583. t1 = this.frame,
  84584. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  84585. if (match != null) {
  84586. member = match.namedGroup$1("member");
  84587. t1 = match.namedGroup$1("uri");
  84588. t1.toString;
  84589. uri = A.Frame__uriOrPathToUri(t1);
  84590. t1 = match.namedGroup$1("index");
  84591. t1.toString;
  84592. t2 = match.namedGroup$1("offset");
  84593. t2.toString;
  84594. functionOffset = A.int_parse(t2, 16);
  84595. if (!(member == null))
  84596. t1 = member;
  84597. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84598. }
  84599. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  84600. if (match != null) {
  84601. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  84602. t2 = match._match;
  84603. t3 = t2[2];
  84604. if (t3 != null) {
  84605. t3 = t3;
  84606. t3.toString;
  84607. t2 = t2[1];
  84608. t2.toString;
  84609. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  84610. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  84611. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  84612. } else {
  84613. t2 = t2[3];
  84614. t2.toString;
  84615. return t1.call$2(t2, _s4_);
  84616. }
  84617. }
  84618. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  84619. },
  84620. $signature: 73
  84621. };
  84622. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84623. call$2($location, member) {
  84624. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84625. t1 = $.$get$_v8EvalLocation(),
  84626. evalMatch = t1.firstMatch$1($location);
  84627. for (; evalMatch != null; $location = t2) {
  84628. t2 = evalMatch._match[1];
  84629. t2.toString;
  84630. evalMatch = t1.firstMatch$1(t2);
  84631. }
  84632. if ($location === "native")
  84633. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84634. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84635. if (urlMatch == null)
  84636. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84637. t1 = urlMatch._match;
  84638. t2 = t1[1];
  84639. t2.toString;
  84640. uri = A.Frame__uriOrPathToUri(t2);
  84641. t2 = t1[2];
  84642. t2.toString;
  84643. line = A.int_parse(t2, _null);
  84644. columnMatch = t1[3];
  84645. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84646. },
  84647. $signature: 295
  84648. };
  84649. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84650. call$0() {
  84651. var t2, member, uri, line, _null = null,
  84652. t1 = this.frame,
  84653. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84654. if (match == null)
  84655. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84656. t1 = match._match;
  84657. t2 = t1[1];
  84658. t2.toString;
  84659. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84660. t2 = t1[2];
  84661. t2.toString;
  84662. uri = A.Frame__uriOrPathToUri(t2);
  84663. t1 = t1[3];
  84664. t1.toString;
  84665. line = A.int_parse(t1, _null);
  84666. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84667. },
  84668. $signature: 73
  84669. };
  84670. A.Frame_Frame$parseFirefox_closure.prototype = {
  84671. call$0() {
  84672. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84673. t1 = this.frame,
  84674. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84675. if (match != null) {
  84676. t2 = match._match;
  84677. t3 = t2[3];
  84678. t4 = t3;
  84679. t4.toString;
  84680. if (B.JSString_methods.contains$1(t4, " line "))
  84681. return A.Frame_Frame$_parseFirefoxEval(t1);
  84682. t1 = t3;
  84683. t1.toString;
  84684. uri = A.Frame__uriOrPathToUri(t1);
  84685. member = t2[1];
  84686. if (member != null) {
  84687. t1 = t2[2];
  84688. t1.toString;
  84689. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84690. if (member === "")
  84691. member = "<fn>";
  84692. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84693. } else
  84694. member = "<fn>";
  84695. t1 = t2[4];
  84696. if (t1 === "")
  84697. line = _null;
  84698. else {
  84699. t1 = t1;
  84700. t1.toString;
  84701. line = A.int_parse(t1, _null);
  84702. }
  84703. t1 = t2[5];
  84704. if (t1 == null || t1 === "")
  84705. column = _null;
  84706. else {
  84707. t1 = t1;
  84708. t1.toString;
  84709. column = A.int_parse(t1, _null);
  84710. }
  84711. return new A.Frame(uri, line, column, member);
  84712. }
  84713. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84714. if (match != null) {
  84715. t1 = match.namedGroup$1("member");
  84716. t1.toString;
  84717. t2 = match.namedGroup$1("uri");
  84718. t2.toString;
  84719. uri = A.Frame__uriOrPathToUri(t2);
  84720. t2 = match.namedGroup$1("index");
  84721. t2.toString;
  84722. t3 = match.namedGroup$1("offset");
  84723. t3.toString;
  84724. functionOffset = A.int_parse(t3, 16);
  84725. if (!(t1.length !== 0))
  84726. t1 = t2;
  84727. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84728. }
  84729. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84730. if (match != null) {
  84731. t1 = match.namedGroup$1("member");
  84732. t1.toString;
  84733. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84734. }
  84735. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84736. },
  84737. $signature: 73
  84738. };
  84739. A.Frame_Frame$parseFriendly_closure.prototype = {
  84740. call$0() {
  84741. var t2, uri, line, column, _null = null,
  84742. t1 = this.frame,
  84743. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84744. if (match == null)
  84745. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84746. t1 = match._match;
  84747. t2 = t1[1];
  84748. if (t2 === "data:...")
  84749. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84750. else {
  84751. t2 = t2;
  84752. t2.toString;
  84753. uri = A.Uri_parse(t2);
  84754. }
  84755. if (uri.get$scheme() === "") {
  84756. t2 = $.$get$context();
  84757. uri = t2.toUri$1(A.absolute(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  84758. }
  84759. t2 = t1[2];
  84760. if (t2 == null)
  84761. line = _null;
  84762. else {
  84763. t2 = t2;
  84764. t2.toString;
  84765. line = A.int_parse(t2, _null);
  84766. }
  84767. t2 = t1[3];
  84768. if (t2 == null)
  84769. column = _null;
  84770. else {
  84771. t2 = t2;
  84772. t2.toString;
  84773. column = A.int_parse(t2, _null);
  84774. }
  84775. return new A.Frame(uri, line, column, t1[4]);
  84776. },
  84777. $signature: 73
  84778. };
  84779. A.LazyTrace.prototype = {
  84780. get$_lazy_trace$_trace() {
  84781. var result, _this = this,
  84782. value = _this.__LazyTrace__trace_FI;
  84783. if (value === $) {
  84784. result = _this._thunk.call$0();
  84785. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84786. _this.__LazyTrace__trace_FI = result;
  84787. value = result;
  84788. }
  84789. return value;
  84790. },
  84791. get$frames() {
  84792. return this.get$_lazy_trace$_trace().get$frames();
  84793. },
  84794. get$terse() {
  84795. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84796. },
  84797. toString$0(_) {
  84798. return this.get$_lazy_trace$_trace().toString$0(0);
  84799. },
  84800. $isStackTrace: 1,
  84801. $isTrace: 1
  84802. };
  84803. A.LazyTrace_terse_closure.prototype = {
  84804. call$0() {
  84805. return this.$this.get$_lazy_trace$_trace().get$terse();
  84806. },
  84807. $signature: 265
  84808. };
  84809. A.Trace.prototype = {
  84810. get$terse() {
  84811. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84812. },
  84813. foldFrames$2$terse(predicate, terse) {
  84814. var newFrames, t1, t2, t3, _box_0 = {};
  84815. _box_0.predicate = predicate;
  84816. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84817. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84818. for (t1 = this.frames, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  84819. t3 = t1.__internal$_current;
  84820. if (t3 == null)
  84821. t3 = t2._as(t3);
  84822. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84823. newFrames.push(t3);
  84824. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84825. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84826. }
  84827. t1 = type$.MappedListIterable_Frame_Frame;
  84828. newFrames = A.List_List$_of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), t1._eval$1("ListIterable.E"));
  84829. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84830. B.JSArray_methods.removeAt$1(newFrames, 0);
  84831. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84832. },
  84833. toString$0(_) {
  84834. var t1 = this.frames,
  84835. t2 = A._arrayInstanceType(t1);
  84836. return new A.MappedListIterable(t1, new A.Trace_toString_closure(new A.MappedListIterable(t1, new A.Trace_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$0(0);
  84837. },
  84838. $isStackTrace: 1,
  84839. get$frames() {
  84840. return this.frames;
  84841. }
  84842. };
  84843. A.Trace_Trace$from_closure.prototype = {
  84844. call$0() {
  84845. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84846. },
  84847. $signature: 265
  84848. };
  84849. A.Trace__parseVM_closure.prototype = {
  84850. call$1(line) {
  84851. return line.length !== 0;
  84852. },
  84853. $signature: 5
  84854. };
  84855. A.Trace$parseV8_closure.prototype = {
  84856. call$1(line) {
  84857. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84858. },
  84859. $signature: 5
  84860. };
  84861. A.Trace$parseJSCore_closure.prototype = {
  84862. call$1(line) {
  84863. return line !== "\tat ";
  84864. },
  84865. $signature: 5
  84866. };
  84867. A.Trace$parseFirefox_closure.prototype = {
  84868. call$1(line) {
  84869. return line.length !== 0 && line !== "[native code]";
  84870. },
  84871. $signature: 5
  84872. };
  84873. A.Trace$parseFriendly_closure.prototype = {
  84874. call$1(line) {
  84875. return !B.JSString_methods.startsWith$1(line, "=====");
  84876. },
  84877. $signature: 5
  84878. };
  84879. A.Trace_terse_closure.prototype = {
  84880. call$1(_) {
  84881. return false;
  84882. },
  84883. $signature: 264
  84884. };
  84885. A.Trace_foldFrames_closure.prototype = {
  84886. call$1(frame) {
  84887. var t1;
  84888. if (this.oldPredicate.call$1(frame))
  84889. return true;
  84890. if (frame.get$isCore())
  84891. return true;
  84892. if (frame.get$$package() === "stack_trace")
  84893. return true;
  84894. t1 = frame.get$member();
  84895. t1.toString;
  84896. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84897. return false;
  84898. return frame.get$line() == null;
  84899. },
  84900. $signature: 264
  84901. };
  84902. A.Trace_foldFrames_closure0.prototype = {
  84903. call$1(frame) {
  84904. var t1, t2;
  84905. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84906. return frame;
  84907. t1 = frame.get$library();
  84908. t2 = $.$get$_terseRegExp();
  84909. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84910. },
  84911. $signature: 298
  84912. };
  84913. A.Trace_toString_closure0.prototype = {
  84914. call$1(frame) {
  84915. return frame.get$location().length;
  84916. },
  84917. $signature: 269
  84918. };
  84919. A.Trace_toString_closure.prototype = {
  84920. call$1(frame) {
  84921. if (frame instanceof A.UnparsedFrame)
  84922. return frame.toString$0(0) + "\n";
  84923. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84924. },
  84925. $signature: 268
  84926. };
  84927. A.UnparsedFrame.prototype = {
  84928. toString$0(_) {
  84929. return this.member;
  84930. },
  84931. $isFrame: 1,
  84932. get$uri() {
  84933. return this.uri;
  84934. },
  84935. get$line() {
  84936. return null;
  84937. },
  84938. get$column() {
  84939. return null;
  84940. },
  84941. get$isCore() {
  84942. return false;
  84943. },
  84944. get$library() {
  84945. return "unparsed";
  84946. },
  84947. get$$package() {
  84948. return null;
  84949. },
  84950. get$location() {
  84951. return "unparsed";
  84952. },
  84953. get$member() {
  84954. return this.member;
  84955. }
  84956. };
  84957. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84958. call$0() {
  84959. var t2, subscription, t3, t4, _this = this, t1 = {};
  84960. t1.valuesDone = false;
  84961. t2 = _this.controller;
  84962. subscription = _this._this.listen$3$onDone$onError(0, new A.TransformByHandlers_transformByHandlers__closure(_this.onData, t2, _this.S), new A.TransformByHandlers_transformByHandlers__closure0(t1, _this.handleDone, t2), new A.TransformByHandlers_transformByHandlers__closure1(_this.handleError, t2));
  84963. t3 = _this._box_1;
  84964. t3.subscription = subscription;
  84965. t2.set$onPause(subscription.get$pause(subscription));
  84966. t4 = t3.subscription;
  84967. t2.set$onResume(t4.get$resume(t4));
  84968. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84969. },
  84970. $signature: 0
  84971. };
  84972. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84973. call$1(value) {
  84974. return this.onData.call$2(value, this.controller);
  84975. },
  84976. $signature() {
  84977. return this.S._eval$1("~(0)");
  84978. }
  84979. };
  84980. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84981. call$2(error, stackTrace) {
  84982. this.handleError.call$3(error, stackTrace, this.controller);
  84983. },
  84984. $signature: 56
  84985. };
  84986. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84987. call$0() {
  84988. this._box_0.valuesDone = true;
  84989. this.handleDone.call$1(this.controller);
  84990. },
  84991. $signature: 0
  84992. };
  84993. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84994. call$0() {
  84995. var t1 = this._box_1,
  84996. toCancel = t1.subscription;
  84997. t1.subscription = null;
  84998. if (!this._box_0.valuesDone)
  84999. return toCancel.cancel$0();
  85000. return null;
  85001. },
  85002. $signature: 220
  85003. };
  85004. A.RateLimit__debounceAggregate_closure.prototype = {
  85005. call$2(value, sink) {
  85006. var _this = this,
  85007. t1 = _this._box_0,
  85008. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  85009. t3 = t1.timer;
  85010. if (t3 != null)
  85011. t3.cancel$0();
  85012. t1.soFar = _this.collect.call$2(value, t1.soFar);
  85013. t1.hasPending = true;
  85014. if (t1.timer == null && _this.leading) {
  85015. t1.emittedLatestAsLeading = true;
  85016. t2.call$0();
  85017. } else
  85018. t1.emittedLatestAsLeading = false;
  85019. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  85020. },
  85021. $signature() {
  85022. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  85023. }
  85024. };
  85025. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  85026. call$0() {
  85027. var t1 = this._box_0,
  85028. t2 = t1.soFar;
  85029. if (t2 == null)
  85030. t2 = this.S._as(t2);
  85031. this.sink.add$1(0, t2);
  85032. t1.soFar = null;
  85033. t1.hasPending = false;
  85034. },
  85035. $signature: 0
  85036. };
  85037. A.RateLimit__debounceAggregate__closure.prototype = {
  85038. call$0() {
  85039. var t1 = this._box_0,
  85040. t2 = t1.emittedLatestAsLeading;
  85041. if (!t2)
  85042. this.emit.call$0();
  85043. if (t1.shouldClose)
  85044. this.sink.close$0(0);
  85045. t1.timer = null;
  85046. },
  85047. $signature: 0
  85048. };
  85049. A.RateLimit__debounceAggregate_closure0.prototype = {
  85050. call$1(sink) {
  85051. var t1 = this._box_0;
  85052. if (t1.hasPending && this.trailing)
  85053. t1.shouldClose = true;
  85054. else {
  85055. t1 = t1.timer;
  85056. if (t1 != null)
  85057. t1.cancel$0();
  85058. sink.close$0(0);
  85059. }
  85060. },
  85061. $signature() {
  85062. return this.S._eval$1("~(EventSink<0>)");
  85063. }
  85064. };
  85065. A.StringScannerException.prototype = {
  85066. get$source() {
  85067. return A._asString(this.source);
  85068. }
  85069. };
  85070. A.LineScanner.prototype = {
  85071. scanChar$1(character) {
  85072. if (!this.super$StringScanner$scanChar(character))
  85073. return false;
  85074. this._adjustLineAndColumn$1(character);
  85075. return true;
  85076. },
  85077. readChar$0() {
  85078. var character = this.super$StringScanner$readChar();
  85079. this._adjustLineAndColumn$1(character);
  85080. return character;
  85081. },
  85082. _adjustLineAndColumn$1(character) {
  85083. var t1, _this = this;
  85084. if (character !== 10)
  85085. t1 = character === 13 && _this.peekChar$0() !== 10;
  85086. else
  85087. t1 = true;
  85088. if (t1) {
  85089. ++_this._line_scanner$_line;
  85090. _this._line_scanner$_column = 0;
  85091. } else {
  85092. t1 = _this._line_scanner$_column;
  85093. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  85094. }
  85095. },
  85096. scan$1(pattern) {
  85097. var t1, newlines, t2, _this = this;
  85098. if (!_this.super$StringScanner$scan(pattern))
  85099. return false;
  85100. t1 = _this.get$lastMatch();
  85101. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  85102. t1 = _this._line_scanner$_line;
  85103. t2 = newlines.length;
  85104. _this._line_scanner$_line = t1 + t2;
  85105. if (t2 === 0) {
  85106. t1 = _this._line_scanner$_column;
  85107. t2 = _this.get$lastMatch();
  85108. _this._line_scanner$_column = t1 + t2.pattern.length;
  85109. } else {
  85110. t1 = _this.get$lastMatch();
  85111. t1 = t1.pattern;
  85112. t2 = B.JSArray_methods.get$last(newlines);
  85113. _this._line_scanner$_column = t1.length - t2.get$end(t2);
  85114. }
  85115. return true;
  85116. },
  85117. _newlinesIn$2$endPosition(text, endPosition) {
  85118. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  85119. newlines = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  85120. t1 = this.string;
  85121. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  85122. newlines.pop();
  85123. return newlines;
  85124. }
  85125. };
  85126. A.SpanScanner.prototype = {
  85127. set$state(state) {
  85128. if (state._scanner !== this)
  85129. throw A.wrapException(A.ArgumentError$("The given LineScannerState was not returned by this LineScanner.", null));
  85130. this.set$position(state.position);
  85131. },
  85132. spanFrom$2(startState, endState) {
  85133. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  85134. return this._sourceFile.span$2(0, startState.position, endPosition);
  85135. },
  85136. spanFrom$1(startState) {
  85137. return this.spanFrom$2(startState, null);
  85138. },
  85139. spanFromPosition$2(startPosition, endPosition) {
  85140. var t1 = this._string_scanner$_position;
  85141. return this._sourceFile.span$2(0, startPosition, t1);
  85142. },
  85143. matches$1(pattern) {
  85144. var t1, t2, _this = this;
  85145. if (!_this.super$StringScanner$matches(pattern))
  85146. return false;
  85147. t1 = _this._string_scanner$_position;
  85148. t2 = _this.get$lastMatch();
  85149. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  85150. return true;
  85151. },
  85152. error$3$length$position(_, message, $length, position) {
  85153. var match, t2, _this = this,
  85154. t1 = _this.string;
  85155. A.validateErrorArgs(t1, null, position, $length);
  85156. match = position == null && $length == null ? _this.get$lastMatch() : null;
  85157. if (position == null)
  85158. position = match == null ? _this._string_scanner$_position : match.start;
  85159. if ($length == null)
  85160. if (match == null)
  85161. $length = 0;
  85162. else {
  85163. t2 = match.start;
  85164. $length = t2 + match.pattern.length - t2;
  85165. }
  85166. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  85167. },
  85168. error$1(_, message) {
  85169. return this.error$3$length$position(0, message, null, null);
  85170. },
  85171. error$2$position(_, message, position) {
  85172. return this.error$3$length$position(0, message, null, position);
  85173. },
  85174. error$2$length(_, message, $length) {
  85175. return this.error$3$length$position(0, message, $length, null);
  85176. }
  85177. };
  85178. A._SpanScannerState.prototype = {};
  85179. A.StringScanner.prototype = {
  85180. set$position(position) {
  85181. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  85182. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  85183. this._string_scanner$_position = position;
  85184. this._lastMatch = null;
  85185. },
  85186. get$lastMatch() {
  85187. var _this = this;
  85188. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  85189. _this._lastMatch = null;
  85190. return _this._lastMatch;
  85191. },
  85192. readChar$0() {
  85193. var _this = this,
  85194. t1 = _this.string;
  85195. if (_this._string_scanner$_position === t1.length)
  85196. _this._fail$1("more input");
  85197. return t1.charCodeAt(_this._string_scanner$_position++);
  85198. },
  85199. peekChar$1(offset) {
  85200. var index;
  85201. if (offset == null)
  85202. offset = 0;
  85203. index = this._string_scanner$_position + offset;
  85204. if (index < 0 || index >= this.string.length)
  85205. return null;
  85206. return this.string.charCodeAt(index);
  85207. },
  85208. peekChar$0() {
  85209. return this.peekChar$1(null);
  85210. },
  85211. scanChar$1(character) {
  85212. var t1, t2, t3, t4, _this = this;
  85213. if (character >= 65536 && character <= 1114111) {
  85214. t1 = _this._string_scanner$_position;
  85215. t2 = t1 + 1;
  85216. t3 = _this.string;
  85217. if (t2 < t3.length) {
  85218. t4 = character - 65536;
  85219. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  85220. } else
  85221. t2 = true;
  85222. if (t2)
  85223. return false;
  85224. else {
  85225. _this._string_scanner$_position = t1 + 2;
  85226. return true;
  85227. }
  85228. } else {
  85229. t1 = _this._string_scanner$_position;
  85230. t2 = _this.string;
  85231. if (t1 === t2.length)
  85232. return false;
  85233. if (t2.charCodeAt(t1) !== character)
  85234. return false;
  85235. _this._string_scanner$_position = t1 + 1;
  85236. return true;
  85237. }
  85238. },
  85239. expectChar$2$name(character, $name) {
  85240. if (this.scanChar$1(character))
  85241. return;
  85242. if ($name == null)
  85243. if (character === 92)
  85244. $name = '"\\"';
  85245. else
  85246. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  85247. this._fail$1($name);
  85248. },
  85249. expectChar$1(character) {
  85250. return this.expectChar$2$name(character, null);
  85251. },
  85252. scan$1(pattern) {
  85253. var t1, _this = this,
  85254. success = _this.matches$1(pattern);
  85255. if (success) {
  85256. t1 = _this._lastMatch;
  85257. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  85258. }
  85259. return success;
  85260. },
  85261. expect$1(pattern) {
  85262. var t1, $name;
  85263. if (this.scan$1(pattern))
  85264. return;
  85265. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  85266. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  85267. this._fail$1($name);
  85268. },
  85269. expectDone$0() {
  85270. if (this._string_scanner$_position === this.string.length)
  85271. return;
  85272. this._fail$1("no more input");
  85273. },
  85274. matches$1(pattern) {
  85275. var _this = this,
  85276. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  85277. _this._lastMatch = t1;
  85278. _this._lastMatchPosition = _this._string_scanner$_position;
  85279. return t1 != null;
  85280. },
  85281. substring$1(_, start) {
  85282. var end = this._string_scanner$_position;
  85283. return B.JSString_methods.substring$2(this.string, start, end);
  85284. },
  85285. error$3$length$position(_, message, $length, position) {
  85286. var match, t2, _this = this,
  85287. t1 = _this.string;
  85288. A.validateErrorArgs(t1, null, position, $length);
  85289. match = position == null && $length == null ? _this.get$lastMatch() : null;
  85290. if (position == null)
  85291. position = match == null ? _this._string_scanner$_position : match.start;
  85292. if ($length == null)
  85293. if (match == null)
  85294. $length = 0;
  85295. else {
  85296. t2 = match.start;
  85297. $length = t2 + match.pattern.length - t2;
  85298. }
  85299. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  85300. },
  85301. error$1(_, message) {
  85302. return this.error$3$length$position(0, message, null, null);
  85303. },
  85304. _fail$1($name) {
  85305. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  85306. }
  85307. };
  85308. A.AsciiGlyphSet.prototype = {
  85309. glyphOrAscii$2(glyph, alternative) {
  85310. return alternative;
  85311. },
  85312. get$horizontalLine() {
  85313. return "-";
  85314. },
  85315. get$verticalLine() {
  85316. return "|";
  85317. },
  85318. get$topLeftCorner() {
  85319. return ",";
  85320. },
  85321. get$bottomLeftCorner() {
  85322. return "'";
  85323. },
  85324. get$cross() {
  85325. return "+";
  85326. },
  85327. get$upEnd() {
  85328. return "'";
  85329. },
  85330. get$downEnd() {
  85331. return ",";
  85332. },
  85333. get$horizontalLineBold() {
  85334. return "=";
  85335. }
  85336. };
  85337. A.UnicodeGlyphSet.prototype = {
  85338. glyphOrAscii$2(glyph, alternative) {
  85339. return glyph;
  85340. },
  85341. get$horizontalLine() {
  85342. return "\u2500";
  85343. },
  85344. get$verticalLine() {
  85345. return "\u2502";
  85346. },
  85347. get$topLeftCorner() {
  85348. return "\u250c";
  85349. },
  85350. get$bottomLeftCorner() {
  85351. return "\u2514";
  85352. },
  85353. get$cross() {
  85354. return "\u253c";
  85355. },
  85356. get$upEnd() {
  85357. return "\u2575";
  85358. },
  85359. get$downEnd() {
  85360. return "\u2577";
  85361. },
  85362. get$horizontalLineBold() {
  85363. return "\u2501";
  85364. }
  85365. };
  85366. A.WatchEvent.prototype = {
  85367. toString$0(_) {
  85368. return this.type.toString$0(0) + " " + this.path;
  85369. }
  85370. };
  85371. A.ChangeType.prototype = {
  85372. toString$0(_) {
  85373. return this._watch_event$_name;
  85374. }
  85375. };
  85376. A.A98RgbColorSpace0.prototype = {
  85377. get$isBoundedInternal() {
  85378. return true;
  85379. },
  85380. toLinear$1(channel) {
  85381. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  85382. },
  85383. fromLinear$1(channel) {
  85384. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  85385. },
  85386. transformationMatrix$1(dest) {
  85387. var t1;
  85388. $label0$0: {
  85389. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  85390. t1 = $.$get$linearA98RgbToLinearSrgb0();
  85391. break $label0$0;
  85392. }
  85393. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  85394. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  85395. break $label0$0;
  85396. }
  85397. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  85398. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  85399. break $label0$0;
  85400. }
  85401. if (B.Rec2020ColorSpace_6oo0 === dest) {
  85402. t1 = $.$get$linearA98RgbToLinearRec20200();
  85403. break $label0$0;
  85404. }
  85405. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  85406. t1 = $.$get$linearA98RgbToXyzD650();
  85407. break $label0$0;
  85408. }
  85409. if (B.XyzD50ColorSpace_2OB0 === dest) {
  85410. t1 = $.$get$linearA98RgbToXyzD500();
  85411. break $label0$0;
  85412. }
  85413. if (B.LmsColorSpace_Os30 === dest) {
  85414. t1 = $.$get$linearA98RgbToLms0();
  85415. break $label0$0;
  85416. }
  85417. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  85418. break $label0$0;
  85419. }
  85420. return t1;
  85421. }
  85422. };
  85423. A.AnySelectorVisitor0.prototype = {
  85424. visitComplexSelector$1(complex) {
  85425. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  85426. },
  85427. visitCompoundSelector$1(compound) {
  85428. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  85429. },
  85430. visitPseudoSelector$1(_, pseudo) {
  85431. var selector = pseudo.selector;
  85432. return selector == null ? false : this.visitSelectorList$1(selector);
  85433. },
  85434. visitSelectorList$1(list) {
  85435. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  85436. },
  85437. visitAttributeSelector$1(_, attribute) {
  85438. return false;
  85439. },
  85440. visitClassSelector$1(_, klass) {
  85441. return false;
  85442. },
  85443. visitIDSelector$1(_, id) {
  85444. return false;
  85445. },
  85446. visitParentSelector$1(_, $parent) {
  85447. return false;
  85448. },
  85449. visitPlaceholderSelector$1(_, placeholder) {
  85450. return false;
  85451. },
  85452. visitTypeSelector$1(_, type) {
  85453. return false;
  85454. },
  85455. visitUniversalSelector$1(_, universal) {
  85456. return false;
  85457. }
  85458. };
  85459. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  85460. call$1(component) {
  85461. return this.$this.visitCompoundSelector$1(component.selector);
  85462. },
  85463. $signature: 53
  85464. };
  85465. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  85466. call$1(simple) {
  85467. return simple.accept$1(this.$this);
  85468. },
  85469. $signature: 14
  85470. };
  85471. A.SupportsAnything0.prototype = {
  85472. toInterpolation$0() {
  85473. var t1 = new A.StringBuffer(""),
  85474. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  85475. t3 = this.span,
  85476. t4 = this.contents,
  85477. t5 = t4.span,
  85478. t6 = A.SpanExtensions_before(t3, t5);
  85479. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  85480. t1._contents += t6;
  85481. t2.addInterpolation$1(t4);
  85482. t5 = A.SpanExtensions_after(t3, t5);
  85483. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  85484. t1._contents += t5;
  85485. return t2.interpolation$1(t3);
  85486. },
  85487. withSpan$1(span) {
  85488. return new A.SupportsAnything0(this.contents, span);
  85489. },
  85490. toString$0(_) {
  85491. return "(" + this.contents.toString$0(0) + ")";
  85492. },
  85493. $isAstNode0: 1,
  85494. $isSassNode: 1,
  85495. $isSupportsCondition: 1,
  85496. get$span(receiver) {
  85497. return this.span;
  85498. }
  85499. };
  85500. A.ArgumentList0.prototype = {
  85501. get$isEmpty(_) {
  85502. var t1;
  85503. if (this.positional.length === 0) {
  85504. t1 = this.named;
  85505. t1 = t1.get$isEmpty(t1) && this.rest == null;
  85506. } else
  85507. t1 = false;
  85508. return t1;
  85509. },
  85510. toString$0(_) {
  85511. var t2, t3, _i, _1_0, _2_0, _this = this,
  85512. t1 = A._setArrayType([], type$.JSArray_String);
  85513. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85514. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  85515. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  85516. t3 = t2.get$current(t2);
  85517. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  85518. }
  85519. _1_0 = _this.rest;
  85520. if (_1_0 != null)
  85521. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  85522. _2_0 = _this.keywordRest;
  85523. if (_2_0 != null)
  85524. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  85525. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  85526. },
  85527. _argument_list0$_parenthesizeArgument$1(argument) {
  85528. var t1;
  85529. $label0$0: {
  85530. if (argument instanceof A.ListExpression0 && B.ListSeparator_z0K0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  85531. t1 = "(" + argument.toString$0(0) + ")";
  85532. break $label0$0;
  85533. }
  85534. t1 = argument.toString$0(0);
  85535. break $label0$0;
  85536. }
  85537. return t1;
  85538. },
  85539. $isAstNode0: 1,
  85540. $isSassNode: 1,
  85541. get$span(receiver) {
  85542. return this.span;
  85543. }
  85544. };
  85545. A.argumentListClass_closure.prototype = {
  85546. call$0() {
  85547. var t1 = type$.JSClass,
  85548. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  85549. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  85550. A.JSClassExtension_injectSuperclass(t1._as(A.SassArgumentList$0(A._setArrayType([], type$.JSArray_Value_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Value_2), B.ListSeparator_undecided_null_3_undecided0).constructor), jsClass);
  85551. return jsClass;
  85552. },
  85553. $signature: 15
  85554. };
  85555. A.argumentListClass__closure.prototype = {
  85556. call$4($self, contents, keywords, separator) {
  85557. var t3,
  85558. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  85559. t2 = type$.Value_2;
  85560. t1 = J.cast$1$0$ax(t1, t2);
  85561. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  85562. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  85563. },
  85564. call$3($self, contents, keywords) {
  85565. return this.call$4($self, contents, keywords, ",");
  85566. },
  85567. "call*": "call$4",
  85568. $requiredArgCount: 3,
  85569. $defaultValues() {
  85570. return [","];
  85571. },
  85572. $signature: 303
  85573. };
  85574. A.argumentListClass__closure0.prototype = {
  85575. call$1($self) {
  85576. $self._argument_list$_wereKeywordsAccessed = true;
  85577. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  85578. },
  85579. $signature: 304
  85580. };
  85581. A.SassArgumentList0.prototype = {};
  85582. A.JSArray1.prototype = {};
  85583. A.AsyncImporter0.prototype = {
  85584. isNonCanonicalScheme$1(scheme) {
  85585. return false;
  85586. }
  85587. };
  85588. A.JSToDartAsyncImporter.prototype = {
  85589. canonicalize$1(_, url) {
  85590. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  85591. },
  85592. canonicalize$body$JSToDartAsyncImporter(_, url) {
  85593. var $async$goto = 0,
  85594. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  85595. $async$returnValue, $async$self = this, t1, result;
  85596. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85597. if ($async$errorCode === 1)
  85598. return A._asyncRethrow($async$result, $async$completer);
  85599. for (;;)
  85600. switch ($async$goto) {
  85601. case 0:
  85602. // Function start
  85603. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  85604. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85605. break;
  85606. case 3:
  85607. // then
  85608. $async$goto = 5;
  85609. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  85610. case 5:
  85611. // returning from await.
  85612. result = $async$result;
  85613. case 4:
  85614. // join
  85615. if (result == null) {
  85616. $async$returnValue = null;
  85617. // goto return
  85618. $async$goto = 1;
  85619. break;
  85620. }
  85621. t1 = self.URL;
  85622. if (result instanceof t1) {
  85623. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85624. // goto return
  85625. $async$goto = 1;
  85626. break;
  85627. }
  85628. A.jsThrow(new self.Error(string$.The_ca));
  85629. case 1:
  85630. // return
  85631. return A._asyncReturn($async$returnValue, $async$completer);
  85632. }
  85633. });
  85634. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85635. },
  85636. load$1(_, url) {
  85637. return this.load$body$JSToDartAsyncImporter(0, url);
  85638. },
  85639. load$body$JSToDartAsyncImporter(_, url) {
  85640. var $async$goto = 0,
  85641. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85642. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85643. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85644. if ($async$errorCode === 1)
  85645. return A._asyncRethrow($async$result, $async$completer);
  85646. for (;;)
  85647. switch ($async$goto) {
  85648. case 0:
  85649. // Function start
  85650. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85651. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85652. break;
  85653. case 3:
  85654. // then
  85655. $async$goto = 5;
  85656. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85657. case 5:
  85658. // returning from await.
  85659. result = $async$result;
  85660. case 4:
  85661. // join
  85662. if (result == null) {
  85663. $async$returnValue = null;
  85664. // goto return
  85665. $async$goto = 1;
  85666. break;
  85667. }
  85668. type$.JSImporterResult._as(result);
  85669. t1 = J.getInterceptor$x(result);
  85670. contents = t1.get$contents(result);
  85671. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85672. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85673. syntax = t1.get$syntax(result);
  85674. if (contents == null || syntax == null)
  85675. A.jsThrow(new self.Error(string$.The_lo));
  85676. t2 = A.parseSyntax(syntax);
  85677. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85678. // goto return
  85679. $async$goto = 1;
  85680. break;
  85681. case 1:
  85682. // return
  85683. return A._asyncReturn($async$returnValue, $async$completer);
  85684. }
  85685. });
  85686. return A._asyncStartSync($async$load$1, $async$completer);
  85687. },
  85688. isNonCanonicalScheme$1(scheme) {
  85689. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85690. }
  85691. };
  85692. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85693. call$0() {
  85694. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85695. },
  85696. $signature: 35
  85697. };
  85698. A.JSToDartAsyncImporter_load_closure.prototype = {
  85699. call$0() {
  85700. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85701. },
  85702. $signature: 35
  85703. };
  85704. A.AsyncBuiltInCallable0.prototype = {
  85705. callbackFor$2(positional, names) {
  85706. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85707. },
  85708. withDeprecationWarning$1(module) {
  85709. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85710. },
  85711. $isAsyncCallable0: 1,
  85712. get$name(receiver) {
  85713. return this.name;
  85714. },
  85715. get$acceptsContent() {
  85716. return this.acceptsContent;
  85717. }
  85718. };
  85719. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85720. call$1($arguments) {
  85721. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85722. },
  85723. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85724. var $async$goto = 0,
  85725. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85726. $async$returnValue, $async$self = this, t1;
  85727. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85728. if ($async$errorCode === 1)
  85729. return A._asyncRethrow($async$result, $async$completer);
  85730. for (;;)
  85731. switch ($async$goto) {
  85732. case 0:
  85733. // Function start
  85734. t1 = $async$self.callback.call$1($arguments);
  85735. $async$goto = 3;
  85736. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85737. case 3:
  85738. // returning from await.
  85739. $async$returnValue = B.C__SassNull0;
  85740. // goto return
  85741. $async$goto = 1;
  85742. break;
  85743. case 1:
  85744. // return
  85745. return A._asyncReturn($async$returnValue, $async$completer);
  85746. }
  85747. });
  85748. return A._asyncStartSync($async$call$1, $async$completer);
  85749. },
  85750. $signature: 92
  85751. };
  85752. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85753. call$1(args) {
  85754. var t1 = this.$this;
  85755. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_SGB);
  85756. return t1._async_built_in0$_callback.call$1(args);
  85757. },
  85758. $signature: 307
  85759. };
  85760. A._compileStylesheet_closure2.prototype = {
  85761. call$1(url) {
  85762. var t1;
  85763. if (url === "") {
  85764. t1 = this.stylesheet.span;
  85765. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  85766. } else
  85767. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  85768. return t1;
  85769. },
  85770. $signature: 6
  85771. };
  85772. A.AsyncEnvironment0.prototype = {
  85773. closure$0() {
  85774. var t4, t5, t6, _this = this,
  85775. t1 = _this._async_environment0$_forwardedModules,
  85776. t2 = _this._async_environment0$_nestedForwardedModules,
  85777. t3 = _this._async_environment0$_variables;
  85778. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85779. t4 = _this._async_environment0$_variableNodes;
  85780. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85781. t5 = _this._async_environment0$_functions;
  85782. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85783. t6 = _this._async_environment0$_mixins;
  85784. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85785. return A.AsyncEnvironment$_0(_this._async_environment0$_modules, _this._async_environment0$_namespaceNodes, _this._async_environment0$_globalModules, _this._async_environment0$_importedModules, t1, t2, _this._async_environment0$_allModules, t3, t4, t5, t6, _this._async_environment0$_content, B.Set_empty1);
  85786. },
  85787. forwardModule$2(module, rule) {
  85788. var view, t1, t2, _this = this,
  85789. forwardedModules = _this._async_environment0$_forwardedModules;
  85790. if (forwardedModules == null)
  85791. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85792. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85793. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  85794. t2 = t1.__js_helper$_current;
  85795. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85796. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85797. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85798. }
  85799. _this._async_environment0$_allModules.push(module);
  85800. forwardedModules.$indexSet(0, view, rule);
  85801. },
  85802. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85803. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85804. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85805. larger = oldMembers;
  85806. smaller = newMembers;
  85807. } else {
  85808. larger = newMembers;
  85809. smaller = oldMembers;
  85810. }
  85811. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85812. t4 = t2.get$current(t2);
  85813. $name = t4._0;
  85814. small = t4._1;
  85815. large = larger.$index(0, $name);
  85816. if (large == null)
  85817. continue;
  85818. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85819. continue;
  85820. if (t3)
  85821. $name = "$" + $name;
  85822. t2 = this._async_environment0$_forwardedModules;
  85823. if (t2 == null)
  85824. span = null;
  85825. else {
  85826. t2 = t2.$index(0, oldModule);
  85827. span = t2 == null ? null : t2.get$span(t2);
  85828. }
  85829. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85830. if (span != null)
  85831. t2.$indexSet(0, span, "original @forward");
  85832. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85833. }
  85834. },
  85835. importForwards$1(module) {
  85836. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85837. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85838. if (forwarded == null)
  85839. return;
  85840. forwardedModules = _this._async_environment0$_forwardedModules;
  85841. if (forwardedModules != null) {
  85842. t1 = type$.Module_AsyncCallable_2;
  85843. t2 = type$.AstNode_2;
  85844. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85845. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85846. t4 = t1.get$current(t1);
  85847. module = t4._0;
  85848. node = t4._1;
  85849. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85850. t3.$indexSet(0, module, node);
  85851. }
  85852. forwarded = t3;
  85853. } else
  85854. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85855. t1 = type$.String;
  85856. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85857. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  85858. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  85859. t2.add$1(0, t4.get$current(t4));
  85860. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85861. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  85862. t5 = t4.__js_helper$_current;
  85863. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  85864. t3.add$1(0, t5.get$current(t5));
  85865. }
  85866. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85867. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  85868. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  85869. t1.add$1(0, t5.get$current(t5));
  85870. t4 = _this._async_environment0$_variables;
  85871. t5 = t4.length;
  85872. if (t5 === 1) {
  85873. for (t5 = _this._async_environment0$_importedModules, t6 = type$.Module_AsyncCallable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  85874. t11 = t8[_i];
  85875. module = t11._0;
  85876. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85877. if (shadowed != null) {
  85878. t5.remove$1(0, module);
  85879. t12 = shadowed.variables;
  85880. t13 = false;
  85881. if (t12.get$isEmpty(t12)) {
  85882. t12 = shadowed.functions;
  85883. if (t12.get$isEmpty(t12)) {
  85884. t12 = shadowed.mixins;
  85885. if (t12.get$isEmpty(t12)) {
  85886. t12 = shadowed._shadowed_view0$_inner;
  85887. t12 = t12.get$css(t12);
  85888. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85889. } else
  85890. t12 = t13;
  85891. } else
  85892. t12 = t13;
  85893. } else
  85894. t12 = t13;
  85895. if (!t12)
  85896. t5.$indexSet(0, shadowed, t11._1);
  85897. }
  85898. }
  85899. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  85900. t8 = t6[_i];
  85901. module = t8._0;
  85902. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85903. if (shadowed != null) {
  85904. forwardedModules.remove$1(0, module);
  85905. t9 = shadowed.variables;
  85906. t11 = false;
  85907. if (t9.get$isEmpty(t9)) {
  85908. t9 = shadowed.functions;
  85909. if (t9.get$isEmpty(t9)) {
  85910. t9 = shadowed.mixins;
  85911. if (t9.get$isEmpty(t9)) {
  85912. t9 = shadowed._shadowed_view0$_inner;
  85913. t9 = t9.get$css(t9);
  85914. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85915. } else
  85916. t9 = t11;
  85917. } else
  85918. t9 = t11;
  85919. } else
  85920. t9 = t11;
  85921. if (!t9)
  85922. forwardedModules.$indexSet(0, shadowed, t8._1);
  85923. }
  85924. }
  85925. t5.addAll$1(0, forwarded);
  85926. forwardedModules.addAll$1(0, forwarded);
  85927. } else {
  85928. t6 = _this._async_environment0$_nestedForwardedModules;
  85929. if (t6 == null) {
  85930. _length = t5 - 1;
  85931. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85932. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85933. _list[_i] = A._setArrayType([], t5);
  85934. _this._async_environment0$_nestedForwardedModules = _list;
  85935. t5 = _list;
  85936. } else
  85937. t5 = t6;
  85938. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85939. }
  85940. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85941. t8 = t2._collection$_current;
  85942. if (t8 == null)
  85943. t8 = t7._as(t8);
  85944. t5.remove$1(0, t8);
  85945. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  85946. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  85947. }
  85948. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85949. t6 = t2._collection$_current;
  85950. if (t6 == null)
  85951. t6 = t5._as(t6);
  85952. t3.remove$1(0, t6);
  85953. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  85954. }
  85955. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  85956. t5 = t1._collection$_current;
  85957. if (t5 == null)
  85958. t5 = t4._as(t5);
  85959. t2.remove$1(0, t5);
  85960. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  85961. }
  85962. },
  85963. getVariable$2$namespace($name, namespace) {
  85964. var t1, _0_0, _1_0, _this = this;
  85965. if (namespace != null)
  85966. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85967. if (_this._async_environment0$_lastVariableName === $name) {
  85968. t1 = _this._async_environment0$_lastVariableIndex;
  85969. t1.toString;
  85970. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85971. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85972. }
  85973. t1 = _this._async_environment0$_variableIndices;
  85974. _0_0 = t1.$index(0, $name);
  85975. if (_0_0 != null) {
  85976. _this._async_environment0$_lastVariableName = $name;
  85977. _this._async_environment0$_lastVariableIndex = _0_0;
  85978. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85979. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85980. } else {
  85981. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85982. if (_1_0 != null) {
  85983. _this._async_environment0$_lastVariableName = $name;
  85984. _this._async_environment0$_lastVariableIndex = _1_0;
  85985. t1.$indexSet(0, $name, _1_0);
  85986. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85987. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85988. } else
  85989. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85990. }
  85991. },
  85992. getVariable$1($name) {
  85993. return this.getVariable$2$namespace($name, null);
  85994. },
  85995. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85996. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85997. },
  85998. getVariableNode$2$namespace($name, namespace) {
  85999. var t1, _0_0, _1_0, _this = this;
  86000. if (namespace != null)
  86001. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  86002. if (_this._async_environment0$_lastVariableName === $name) {
  86003. t1 = _this._async_environment0$_lastVariableIndex;
  86004. t1.toString;
  86005. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  86006. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  86007. }
  86008. t1 = _this._async_environment0$_variableIndices;
  86009. _0_0 = t1.$index(0, $name);
  86010. if (_0_0 != null) {
  86011. _this._async_environment0$_lastVariableName = $name;
  86012. _this._async_environment0$_lastVariableIndex = _0_0;
  86013. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  86014. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  86015. } else {
  86016. _1_0 = _this._async_environment0$_variableIndex$1($name);
  86017. if (_1_0 != null) {
  86018. _this._async_environment0$_lastVariableName = $name;
  86019. _this._async_environment0$_lastVariableIndex = _1_0;
  86020. t1.$indexSet(0, $name, _1_0);
  86021. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  86022. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  86023. } else
  86024. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  86025. }
  86026. },
  86027. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  86028. var t1, t2, _0_0;
  86029. for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  86030. t1 = t2._currentIterator;
  86031. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  86032. if (_0_0 != null)
  86033. return _0_0;
  86034. }
  86035. return null;
  86036. },
  86037. globalVariableExists$2$namespace($name, namespace) {
  86038. if (namespace != null)
  86039. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  86040. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  86041. return true;
  86042. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  86043. },
  86044. globalVariableExists$1($name) {
  86045. return this.globalVariableExists$2$namespace($name, null);
  86046. },
  86047. _async_environment0$_variableIndex$1($name) {
  86048. var t1, i;
  86049. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  86050. if (t1[i].containsKey$1($name))
  86051. return i;
  86052. return null;
  86053. },
  86054. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  86055. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  86056. if (namespace != null) {
  86057. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  86058. return;
  86059. }
  86060. if (global || _this._async_environment0$_variables.length === 1) {
  86061. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  86062. t1 = _this._async_environment0$_variables;
  86063. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  86064. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  86065. if (moduleWithName != null) {
  86066. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  86067. return;
  86068. }
  86069. }
  86070. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  86071. B.JSArray_methods.get$first(_this._async_environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  86072. return;
  86073. }
  86074. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  86075. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  86076. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  86077. t3 = t2.__internal$_current;
  86078. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  86079. t5 = t3.__internal$_current;
  86080. if (t5 == null)
  86081. t5 = t4._as(t5);
  86082. if (t5.get$variables().containsKey$1($name)) {
  86083. t5.setVariable$3($name, value, nodeWithSpan);
  86084. return;
  86085. }
  86086. }
  86087. }
  86088. if (_this._async_environment0$_lastVariableName === $name) {
  86089. t1 = _this._async_environment0$_lastVariableIndex;
  86090. t1.toString;
  86091. index = t1;
  86092. } else
  86093. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  86094. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  86095. index = _this._async_environment0$_variables.length - 1;
  86096. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  86097. }
  86098. _this._async_environment0$_lastVariableName = $name;
  86099. _this._async_environment0$_lastVariableIndex = index;
  86100. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  86101. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  86102. },
  86103. setVariable$4$global($name, value, nodeWithSpan, global) {
  86104. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  86105. },
  86106. setLocalVariable$3($name, value, nodeWithSpan) {
  86107. var index, _this = this,
  86108. t1 = _this._async_environment0$_variables,
  86109. t2 = t1.length;
  86110. _this._async_environment0$_lastVariableName = $name;
  86111. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  86112. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  86113. t1[index].$indexSet(0, $name, value);
  86114. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  86115. },
  86116. getFunction$2$namespace($name, namespace) {
  86117. var t1, _0_0, _1_0, _this = this;
  86118. if (namespace != null) {
  86119. t1 = _this._async_environment0$_getModule$1(namespace);
  86120. return t1.get$functions(t1).$index(0, $name);
  86121. }
  86122. t1 = _this._async_environment0$_functionIndices;
  86123. _0_0 = t1.$index(0, $name);
  86124. if (_0_0 != null) {
  86125. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  86126. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  86127. } else {
  86128. _1_0 = _this._async_environment0$_functionIndex$1($name);
  86129. if (_1_0 != null) {
  86130. t1.$indexSet(0, $name, _1_0);
  86131. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  86132. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  86133. } else
  86134. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  86135. }
  86136. },
  86137. getFunction$1($name) {
  86138. return this.getFunction$2$namespace($name, null);
  86139. },
  86140. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  86141. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  86142. },
  86143. _async_environment0$_functionIndex$1($name) {
  86144. var t1, i;
  86145. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  86146. if (t1[i].containsKey$1($name))
  86147. return i;
  86148. return null;
  86149. },
  86150. getMixin$2$namespace($name, namespace) {
  86151. var t1, _0_0, _1_0, _this = this;
  86152. if (namespace != null)
  86153. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  86154. t1 = _this._async_environment0$_mixinIndices;
  86155. _0_0 = t1.$index(0, $name);
  86156. if (_0_0 != null) {
  86157. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  86158. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  86159. } else {
  86160. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  86161. if (_1_0 != null) {
  86162. t1.$indexSet(0, $name, _1_0);
  86163. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  86164. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  86165. } else
  86166. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  86167. }
  86168. },
  86169. _async_environment0$_getMixinFromGlobalModule$1($name) {
  86170. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  86171. },
  86172. _async_environment0$_mixinIndex$1($name) {
  86173. var t1, i;
  86174. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  86175. if (t1[i].containsKey$1($name))
  86176. return i;
  86177. return null;
  86178. },
  86179. withContent$2($content, callback) {
  86180. return this.withContent$body$AsyncEnvironment0($content, callback);
  86181. },
  86182. withContent$body$AsyncEnvironment0($content, callback) {
  86183. var $async$goto = 0,
  86184. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86185. $async$self = this, oldContent;
  86186. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86187. if ($async$errorCode === 1)
  86188. return A._asyncRethrow($async$result, $async$completer);
  86189. for (;;)
  86190. switch ($async$goto) {
  86191. case 0:
  86192. // Function start
  86193. oldContent = $async$self._async_environment0$_content;
  86194. $async$self._async_environment0$_content = $content;
  86195. $async$goto = 2;
  86196. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  86197. case 2:
  86198. // returning from await.
  86199. $async$self._async_environment0$_content = oldContent;
  86200. // implicit return
  86201. return A._asyncReturn(null, $async$completer);
  86202. }
  86203. });
  86204. return A._asyncStartSync($async$withContent$2, $async$completer);
  86205. },
  86206. asMixin$1(callback) {
  86207. var $async$goto = 0,
  86208. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86209. $async$self = this, oldInMixin;
  86210. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86211. if ($async$errorCode === 1)
  86212. return A._asyncRethrow($async$result, $async$completer);
  86213. for (;;)
  86214. switch ($async$goto) {
  86215. case 0:
  86216. // Function start
  86217. oldInMixin = $async$self._async_environment0$_inMixin;
  86218. $async$self._async_environment0$_inMixin = true;
  86219. $async$goto = 2;
  86220. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  86221. case 2:
  86222. // returning from await.
  86223. $async$self._async_environment0$_inMixin = oldInMixin;
  86224. // implicit return
  86225. return A._asyncReturn(null, $async$completer);
  86226. }
  86227. });
  86228. return A._asyncStartSync($async$asMixin$1, $async$completer);
  86229. },
  86230. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  86231. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  86232. },
  86233. scope$1$1(callback, $T) {
  86234. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  86235. },
  86236. scope$1$2$when(callback, when, $T) {
  86237. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  86238. },
  86239. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  86240. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  86241. },
  86242. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  86243. var $async$goto = 0,
  86244. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86245. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  86246. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86247. if ($async$errorCode === 1) {
  86248. $async$errorStack.push($async$result);
  86249. $async$goto = $async$handler;
  86250. }
  86251. for (;;)
  86252. switch ($async$goto) {
  86253. case 0:
  86254. // Function start
  86255. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  86256. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  86257. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  86258. $async$goto = !when ? 3 : 4;
  86259. break;
  86260. case 3:
  86261. // then
  86262. $async$handler = 5;
  86263. $async$goto = 8;
  86264. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  86265. case 8:
  86266. // returning from await.
  86267. t1 = $async$result;
  86268. $async$returnValue = t1;
  86269. $async$next = [1];
  86270. // goto finally
  86271. $async$goto = 6;
  86272. break;
  86273. $async$next.push(7);
  86274. // goto finally
  86275. $async$goto = 6;
  86276. break;
  86277. case 5:
  86278. // uncaught
  86279. $async$next = [2];
  86280. case 6:
  86281. // finally
  86282. $async$handler = 2;
  86283. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  86284. // goto the next finally handler
  86285. $async$goto = $async$next.pop();
  86286. break;
  86287. case 7:
  86288. // after finally
  86289. case 4:
  86290. // join
  86291. t1 = $async$self._async_environment0$_variables;
  86292. t2 = type$.String;
  86293. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  86294. t3 = $async$self._async_environment0$_variableNodes;
  86295. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  86296. t4 = $async$self._async_environment0$_functions;
  86297. t5 = type$.AsyncCallable_2;
  86298. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  86299. t6 = $async$self._async_environment0$_mixins;
  86300. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  86301. t5 = $async$self._async_environment0$_nestedForwardedModules;
  86302. if (t5 != null)
  86303. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  86304. $async$handler = 9;
  86305. $async$goto = 12;
  86306. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  86307. case 12:
  86308. // returning from await.
  86309. t2 = $async$result;
  86310. $async$returnValue = t2;
  86311. $async$next = [1];
  86312. // goto finally
  86313. $async$goto = 10;
  86314. break;
  86315. $async$next.push(11);
  86316. // goto finally
  86317. $async$goto = 10;
  86318. break;
  86319. case 9:
  86320. // uncaught
  86321. $async$next = [2];
  86322. case 10:
  86323. // finally
  86324. $async$handler = 2;
  86325. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  86326. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  86327. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
  86328. $name = t1.get$current(t1);
  86329. t2.remove$1(0, $name);
  86330. }
  86331. B.JSArray_methods.removeLast$0(t3);
  86332. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
  86333. name0 = t1.get$current(t1);
  86334. t2.remove$1(0, name0);
  86335. }
  86336. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
  86337. name1 = t1.get$current(t1);
  86338. t2.remove$1(0, name1);
  86339. }
  86340. t1 = $async$self._async_environment0$_nestedForwardedModules;
  86341. if (t1 != null)
  86342. t1.pop();
  86343. // goto the next finally handler
  86344. $async$goto = $async$next.pop();
  86345. break;
  86346. case 11:
  86347. // after finally
  86348. case 1:
  86349. // return
  86350. return A._asyncReturn($async$returnValue, $async$completer);
  86351. case 2:
  86352. // rethrow
  86353. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86354. }
  86355. });
  86356. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  86357. },
  86358. toImplicitConfiguration$0() {
  86359. var t2, t3, t4, t5, t6, $name, value, i, values, nodes,
  86360. t1 = type$.String,
  86361. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  86362. for (t2 = this._async_environment0$_importedModules, t2 = new A.LinkedHashMapKeyIterator(t2, t2._modifications, t2._first), t3 = type$.Value_2; t2.moveNext$0();) {
  86363. t4 = t2.__js_helper$_current;
  86364. for (t5 = A.MapExtensions_get_pairs0(t4.get$variables(), t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  86365. t6 = t5.get$current(t5);
  86366. $name = t6._0;
  86367. value = t6._1;
  86368. t6 = t4.get$variableNodes().$index(0, $name);
  86369. t6.toString;
  86370. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  86371. }
  86372. }
  86373. for (t2 = this._async_environment0$_variables, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  86374. values = t2[i];
  86375. nodes = t4[i];
  86376. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  86377. t6 = t5.get$current(t5);
  86378. $name = t6._0;
  86379. value = t6._1;
  86380. t6 = nodes.$index(0, $name);
  86381. t6.toString;
  86382. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  86383. }
  86384. }
  86385. return new A.Configuration0(configuration, null);
  86386. },
  86387. toModule$3(css, preModuleComments, extensionStore) {
  86388. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  86389. },
  86390. toDummyModule$0() {
  86391. return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty18, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty16, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  86392. },
  86393. _async_environment0$_getModule$1(namespace) {
  86394. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  86395. if (_0_0 != null)
  86396. return _0_0;
  86397. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  86398. },
  86399. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  86400. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  86401. _0_0 = this._async_environment0$_nestedForwardedModules;
  86402. if (_0_0 != null)
  86403. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  86404. t3 = t2.__internal$_current;
  86405. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  86406. t5 = t3.__internal$_current;
  86407. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  86408. if (_1_0 != null)
  86409. return _1_0;
  86410. }
  86411. }
  86412. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  86413. _2_0 = callback.call$1(t1.__js_helper$_current);
  86414. if (_2_0 != null)
  86415. return _2_0;
  86416. }
  86417. for (t1 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  86418. t4 = t2.__js_helper$_current;
  86419. valueInModule = callback.call$1(t4);
  86420. if (valueInModule == null)
  86421. continue;
  86422. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  86423. if (identityFromModule.$eq(0, identity))
  86424. continue;
  86425. if (value != null) {
  86426. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86427. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_AsyncCallable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  86428. t1 = t3.get$current(t3);
  86429. module = t1._0;
  86430. node = t1._1;
  86431. if (callback.call$1(module) != null)
  86432. t2.$indexSet(0, node.get$span(node), t4);
  86433. }
  86434. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  86435. }
  86436. identity = identityFromModule;
  86437. value = valueInModule;
  86438. }
  86439. return value;
  86440. },
  86441. _async_environment0$_fromOneModule$3($name, type, callback) {
  86442. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  86443. }
  86444. };
  86445. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  86446. call$1(module) {
  86447. return module.get$variables().$index(0, this.name);
  86448. },
  86449. $signature: 308
  86450. };
  86451. A.AsyncEnvironment_setVariable_closure2.prototype = {
  86452. call$0() {
  86453. var t1 = this.$this;
  86454. t1._async_environment0$_lastVariableName = this.name;
  86455. return t1._async_environment0$_lastVariableIndex = 0;
  86456. },
  86457. $signature: 10
  86458. };
  86459. A.AsyncEnvironment_setVariable_closure3.prototype = {
  86460. call$1(module) {
  86461. return module.get$variables().containsKey$1(this.name) ? module : null;
  86462. },
  86463. $signature: 309
  86464. };
  86465. A.AsyncEnvironment_setVariable_closure4.prototype = {
  86466. call$0() {
  86467. var t1 = this.$this,
  86468. t2 = t1._async_environment0$_variableIndex$1(this.name);
  86469. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  86470. },
  86471. $signature: 10
  86472. };
  86473. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  86474. call$1(module) {
  86475. return module.get$functions(module).$index(0, this.name);
  86476. },
  86477. $signature: 261
  86478. };
  86479. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  86480. call$1(module) {
  86481. return module.get$mixins().$index(0, this.name);
  86482. },
  86483. $signature: 261
  86484. };
  86485. A.AsyncEnvironment_toModule_closure0.prototype = {
  86486. call$1(modules) {
  86487. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  86488. },
  86489. $signature: 260
  86490. };
  86491. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  86492. call$1(modules) {
  86493. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  86494. },
  86495. $signature: 260
  86496. };
  86497. A._EnvironmentModule2.prototype = {
  86498. get$url(_) {
  86499. var t1 = this.css;
  86500. t1 = t1.get$span(t1);
  86501. return t1.get$sourceUrl(t1);
  86502. },
  86503. setVariable$3($name, value, nodeWithSpan) {
  86504. var t1, t2,
  86505. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  86506. if (_0_0 != null) {
  86507. _0_0.setVariable$3($name, value, nodeWithSpan);
  86508. return;
  86509. }
  86510. t1 = this._async_environment0$_environment;
  86511. t2 = t1._async_environment0$_variables;
  86512. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  86513. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  86514. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  86515. B.JSArray_methods.get$first(t1._async_environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  86516. return;
  86517. },
  86518. variableIdentity$1($name) {
  86519. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  86520. return module == null ? this : module.variableIdentity$1($name);
  86521. },
  86522. couldHaveBeenConfigured$1(variables) {
  86523. var t2, t3, _0_0, variable, module,
  86524. t1 = this._async_environment0$_environment._async_environment0$_configurableVariables;
  86525. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  86526. t1 = this._async_environment0$_modulesByVariable;
  86527. t2 = type$.Module_AsyncCallable_2;
  86528. if (variables.get$length(variables) < t1.get$length(t1)) {
  86529. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86530. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  86531. _0_0 = t1.$index(0, t3.get$current(t3));
  86532. if (_0_0 != null)
  86533. t2.add$1(0, _0_0);
  86534. }
  86535. t1 = t2;
  86536. } else {
  86537. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86538. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86539. t2 = t1.get$current(t1);
  86540. variable = t2._0;
  86541. module = t2._1;
  86542. if (variables.contains$1(0, variable))
  86543. t3.add$1(0, module);
  86544. }
  86545. t1 = t3;
  86546. }
  86547. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure2(variables));
  86548. } else
  86549. t1 = true;
  86550. return t1;
  86551. },
  86552. cloneCss$0() {
  86553. var _0_0, _this = this;
  86554. if (!_this.transitivelyContainsCss)
  86555. return _this;
  86556. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  86557. return A._EnvironmentModule$_2(_this._async_environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  86558. },
  86559. toString$0(_) {
  86560. var t1 = this.css,
  86561. t2 = t1.get$span(t1);
  86562. if (t2.get$sourceUrl(t2) == null)
  86563. t1 = "<unknown url>";
  86564. else {
  86565. t1 = t1.get$span(t1);
  86566. t1 = t1.get$sourceUrl(t1);
  86567. t2 = $.$get$context();
  86568. t1.toString;
  86569. t1 = t2.prettyUri$1(t1);
  86570. }
  86571. return t1;
  86572. },
  86573. $isModule1: 1,
  86574. get$upstream() {
  86575. return this.upstream;
  86576. },
  86577. get$variables() {
  86578. return this.variables;
  86579. },
  86580. get$variableNodes() {
  86581. return this.variableNodes;
  86582. },
  86583. get$functions(receiver) {
  86584. return this.functions;
  86585. },
  86586. get$mixins() {
  86587. return this.mixins;
  86588. },
  86589. get$extensionStore() {
  86590. return this.extensionStore;
  86591. },
  86592. get$css(receiver) {
  86593. return this.css;
  86594. },
  86595. get$preModuleComments() {
  86596. return this.preModuleComments;
  86597. },
  86598. get$transitivelyContainsCss() {
  86599. return this.transitivelyContainsCss;
  86600. },
  86601. get$transitivelyContainsExtensions() {
  86602. return this.transitivelyContainsExtensions;
  86603. }
  86604. };
  86605. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  86606. call$1(module) {
  86607. return module.get$variables();
  86608. },
  86609. $signature: 312
  86610. };
  86611. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  86612. call$1(module) {
  86613. return module.get$variableNodes();
  86614. },
  86615. $signature: 313
  86616. };
  86617. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  86618. call$1(module) {
  86619. return module.get$functions(module);
  86620. },
  86621. $signature: 259
  86622. };
  86623. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  86624. call$1(module) {
  86625. return module.get$mixins();
  86626. },
  86627. $signature: 259
  86628. };
  86629. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  86630. call$1(module) {
  86631. return module.get$transitivelyContainsCss();
  86632. },
  86633. $signature: 116
  86634. };
  86635. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  86636. call$1(module) {
  86637. return module.get$transitivelyContainsExtensions();
  86638. },
  86639. $signature: 116
  86640. };
  86641. A._EnvironmentModule_couldHaveBeenConfigured_closure2.prototype = {
  86642. call$1(module) {
  86643. return module.couldHaveBeenConfigured$1(this.variables);
  86644. },
  86645. $signature: 116
  86646. };
  86647. A._EvaluateVisitor2.prototype = {
  86648. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  86649. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  86650. _s20_ = "$name, $module: null",
  86651. _s9_ = "sass:meta",
  86652. _s7_ = "$module",
  86653. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  86654. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure38(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure39(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure40(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure41(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure42(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure43(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure44(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure45(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure46(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure47(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", false, _s9_).parseParameterList$0(), new A._EvaluateVisitor_closure48(_this), false)], t1),
  86655. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure49(_this), false, _s9_), A.AsyncBuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure50(_this), true, _s9_)], t1);
  86656. t1 = type$.AsyncBuiltInCallable_2;
  86657. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  86658. B.JSArray_methods.addAll$1(t2, metaFunctions);
  86659. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  86660. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_AsyncCallable_2);
  86661. t1.push(metaModule);
  86662. t2 = t1.length;
  86663. t3 = _this._async_evaluate0$_builtInModules;
  86664. _i = 0;
  86665. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86666. module = t1[_i];
  86667. t3.$indexSet(0, module.url, module);
  86668. }
  86669. t1 = type$.JSArray_AsyncCallable_2;
  86670. t2 = A._setArrayType([], t1);
  86671. B.JSArray_methods.addAll$1(t2, functions);
  86672. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  86673. t1 = A._setArrayType([], t1);
  86674. for (_i = 0; _i < 11; ++_i)
  86675. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  86676. B.JSArray_methods.addAll$1(t2, t1);
  86677. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86678. $function = t2[_i];
  86679. t4 = $function.get$name($function);
  86680. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  86681. }
  86682. },
  86683. run$2(_, importer, node) {
  86684. return this.run$body$_EvaluateVisitor0(0, importer, node);
  86685. },
  86686. run$body$_EvaluateVisitor0(_, importer, node) {
  86687. var $async$goto = 0,
  86688. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86689. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86690. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86691. if ($async$errorCode === 1) {
  86692. $async$errorStack.push($async$result);
  86693. $async$goto = $async$handler;
  86694. }
  86695. for (;;)
  86696. switch ($async$goto) {
  86697. case 0:
  86698. // Function start
  86699. $async$handler = 4;
  86700. t1 = type$.nullable_Object;
  86701. t1 = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  86702. $async$goto = 7;
  86703. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2), $async$run$2);
  86704. case 7:
  86705. // returning from await.
  86706. t1 = $async$result;
  86707. $async$returnValue = t1;
  86708. // goto return
  86709. $async$goto = 1;
  86710. break;
  86711. $async$handler = 2;
  86712. // goto after finally
  86713. $async$goto = 6;
  86714. break;
  86715. case 4:
  86716. // catch
  86717. $async$handler = 3;
  86718. $async$exception = $async$errorStack.pop();
  86719. t1 = A.unwrapException($async$exception);
  86720. if (t1 instanceof A.SassException0) {
  86721. error = t1;
  86722. stackTrace = A.getTraceFromException($async$exception);
  86723. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86724. } else
  86725. throw $async$exception;
  86726. // goto after finally
  86727. $async$goto = 6;
  86728. break;
  86729. case 3:
  86730. // uncaught
  86731. // goto rethrow
  86732. $async$goto = 2;
  86733. break;
  86734. case 6:
  86735. // after finally
  86736. case 1:
  86737. // return
  86738. return A._asyncReturn($async$returnValue, $async$completer);
  86739. case 2:
  86740. // rethrow
  86741. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86742. }
  86743. });
  86744. return A._asyncStartSync($async$run$2, $async$completer);
  86745. },
  86746. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86747. if (value != null)
  86748. return value;
  86749. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86750. },
  86751. _async_evaluate0$_assertInModule$2(value, $name) {
  86752. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86753. },
  86754. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86755. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86756. },
  86757. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86758. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86759. },
  86760. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86761. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86762. },
  86763. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86764. var $async$goto = 0,
  86765. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86766. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86767. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86768. if ($async$errorCode === 1)
  86769. return A._asyncRethrow($async$result, $async$completer);
  86770. for (;;)
  86771. switch ($async$goto) {
  86772. case 0:
  86773. // Function start
  86774. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86775. t1 = {};
  86776. t1.builtInModule = null;
  86777. $async$goto = _0_0 != null ? 3 : 4;
  86778. break;
  86779. case 3:
  86780. // then
  86781. t1.builtInModule = _0_0;
  86782. if (configuration instanceof A.ExplicitConfiguration0) {
  86783. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86784. t2 = configuration.nodeWithSpan;
  86785. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86786. }
  86787. $async$goto = 5;
  86788. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(t1, callback), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  86789. case 5:
  86790. // returning from await.
  86791. // goto return
  86792. $async$goto = 1;
  86793. break;
  86794. case 4:
  86795. // join
  86796. $async$goto = 6;
  86797. return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure6($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  86798. case 6:
  86799. // returning from await.
  86800. case 1:
  86801. // return
  86802. return A._asyncReturn($async$returnValue, $async$completer);
  86803. }
  86804. });
  86805. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86806. },
  86807. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86808. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86809. },
  86810. _async_evaluate0$_execute$2(importer, stylesheet) {
  86811. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86812. },
  86813. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86814. var $async$goto = 0,
  86815. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86816. $async$returnValue, $async$self = this, currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  86817. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86818. if ($async$errorCode === 1)
  86819. return A._asyncRethrow($async$result, $async$completer);
  86820. for (;;)
  86821. switch ($async$goto) {
  86822. case 0:
  86823. // Function start
  86824. t1 = stylesheet.span;
  86825. url = t1.get$sourceUrl(t1);
  86826. t1 = configuration == null;
  86827. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86828. t2 = $async$self._async_evaluate0$_modules;
  86829. _0_0 = t2.$index(0, url);
  86830. if (_0_0 != null) {
  86831. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86832. t3 = t2._configuration0$__originalConfiguration;
  86833. t2 = t3 == null ? t2 : t3;
  86834. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86835. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0 && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.MapKeySet_String))) {
  86836. if (namesInErrors) {
  86837. t2 = $.$get$context();
  86838. url.toString;
  86839. message = t2.prettyUri$1(url) + string$.x20was_a;
  86840. } else
  86841. message = string$.This_mw;
  86842. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86843. existingSpan = t2 == null ? null : t2.get$span(t2);
  86844. if (t1) {
  86845. t1 = currentConfiguration.nodeWithSpan;
  86846. configurationSpan = t1.get$span(t1);
  86847. } else
  86848. configurationSpan = null;
  86849. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86850. if (existingSpan != null)
  86851. t1.$indexSet(0, existingSpan, "original load");
  86852. if (configurationSpan != null)
  86853. t1.$indexSet(0, configurationSpan, "configuration");
  86854. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86855. }
  86856. $async$returnValue = _0_0;
  86857. // goto return
  86858. $async$goto = 1;
  86859. break;
  86860. }
  86861. environment = A.AsyncEnvironment$0();
  86862. css = A._Cell$();
  86863. preModuleComments = A._Cell$();
  86864. extensionStore = A.ExtensionStore$0();
  86865. $async$goto = 3;
  86866. return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
  86867. case 3:
  86868. // returning from await.
  86869. t1 = css._readLocal$0();
  86870. t3 = preModuleComments._readLocal$0();
  86871. module = environment.toModule$3(t1, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86872. if (url != null) {
  86873. t2.$indexSet(0, url, module);
  86874. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  86875. if (nodeWithSpan != null)
  86876. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86877. }
  86878. $async$returnValue = module;
  86879. // goto return
  86880. $async$goto = 1;
  86881. break;
  86882. case 1:
  86883. // return
  86884. return A._asyncReturn($async$returnValue, $async$completer);
  86885. }
  86886. });
  86887. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86888. },
  86889. _async_evaluate0$_addOutOfOrderImports$0() {
  86890. var t1, t2, _this = this, _s5_ = "_root",
  86891. _s13_ = "_endOfImports",
  86892. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86893. $label0$0: {
  86894. if (_0_0 == null) {
  86895. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86896. break $label0$0;
  86897. }
  86898. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86899. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode_2);
  86900. B.JSArray_methods.addAll$1(t1, _0_0);
  86901. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86902. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  86903. break $label0$0;
  86904. }
  86905. return t1;
  86906. },
  86907. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86908. var selectors, _0_0, t1, imports, css, sorted, t2;
  86909. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86910. selectors = root.get$extensionStore().get$simpleSelectors();
  86911. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86912. if (_0_0 != null)
  86913. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86914. return root.get$css(root);
  86915. }
  86916. t1 = type$.JSArray_CssNode_2;
  86917. imports = A._setArrayType([], t1);
  86918. css = A._setArrayType([], t1);
  86919. t1 = type$.Module_AsyncCallable_2;
  86920. sorted = A.ListQueue$(t1);
  86921. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86922. if (root.get$transitivelyContainsExtensions())
  86923. this._async_evaluate0$_extendModules$1(sorted);
  86924. t1 = B.JSArray_methods.$add(imports, css);
  86925. t2 = root.get$css(root);
  86926. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86927. },
  86928. _async_evaluate0$_combineCss$1(root) {
  86929. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86930. },
  86931. _async_evaluate0$_extendModules$1(sortedModules) {
  86932. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86933. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86934. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86935. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86936. t3 = t1._collection$_current;
  86937. if (t3 == null)
  86938. t3 = t2._as(t3);
  86939. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86940. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86941. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86942. t4 = t3.get$extensionStore().get$addExtensions();
  86943. if ($self != null)
  86944. t4.call$1($self);
  86945. t4 = t3.get$extensionStore();
  86946. if (t4.get$isEmpty(t4))
  86947. continue;
  86948. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86949. upstream = t4[_i];
  86950. _0_0 = upstream.get$url(upstream);
  86951. if (_0_0 != null)
  86952. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86953. }
  86954. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86955. }
  86956. if (unsatisfiedExtensions._collection$_length !== 0)
  86957. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86958. },
  86959. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86960. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86961. },
  86962. _async_evaluate0$_indexAfterImports$1(statements) {
  86963. var t1, lastImport, i, _0_0;
  86964. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86965. $label0$0: {
  86966. _0_0 = t1.$index(statements, i);
  86967. if (_0_0 instanceof A.ModifiableCssImport0)
  86968. break $label0$0;
  86969. if (_0_0 instanceof A.ModifiableCssComment0)
  86970. continue;
  86971. break;
  86972. }
  86973. lastImport = i;
  86974. }
  86975. return lastImport + 1;
  86976. },
  86977. visitStylesheet$1(_, node) {
  86978. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86979. },
  86980. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86981. var $async$goto = 0,
  86982. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86983. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86984. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86985. if ($async$errorCode === 1)
  86986. return A._asyncRethrow($async$result, $async$completer);
  86987. for (;;)
  86988. switch ($async$goto) {
  86989. case 0:
  86990. // Function start
  86991. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  86992. warning = t1.__internal$_current;
  86993. if (warning == null)
  86994. warning = t2._as(warning);
  86995. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86996. }
  86997. t1 = node.children, t2 = t1.length, _i = 0;
  86998. case 3:
  86999. // for condition
  87000. if (!(_i < t2)) {
  87001. // goto after for
  87002. $async$goto = 5;
  87003. break;
  87004. }
  87005. $async$goto = 6;
  87006. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  87007. case 6:
  87008. // returning from await.
  87009. case 4:
  87010. // for update
  87011. ++_i;
  87012. // goto for condition
  87013. $async$goto = 3;
  87014. break;
  87015. case 5:
  87016. // after for
  87017. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  87018. t2 = t1.get$current(t1);
  87019. $name = t2._0;
  87020. span = t2._1;
  87021. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  87022. }
  87023. $async$returnValue = null;
  87024. // goto return
  87025. $async$goto = 1;
  87026. break;
  87027. case 1:
  87028. // return
  87029. return A._asyncReturn($async$returnValue, $async$completer);
  87030. }
  87031. });
  87032. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  87033. },
  87034. visitAtRootRule$1(_, node) {
  87035. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  87036. },
  87037. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  87038. var $async$goto = 0,
  87039. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87040. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  87041. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87042. if ($async$errorCode === 1)
  87043. return A._asyncRethrow($async$result, $async$completer);
  87044. for (;;)
  87045. switch ($async$goto) {
  87046. case 0:
  87047. // Function start
  87048. _0_0 = node.query;
  87049. $async$goto = _0_0 != null ? 3 : 5;
  87050. break;
  87051. case 3:
  87052. // then
  87053. $async$goto = 6;
  87054. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  87055. case 6:
  87056. // returning from await.
  87057. _1_0 = $async$result;
  87058. resolved = _1_0._0;
  87059. _1_0._1;
  87060. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  87061. // goto join
  87062. $async$goto = 4;
  87063. break;
  87064. case 5:
  87065. // else
  87066. query = B.AtRootQuery_bfj0;
  87067. case 4:
  87068. // join
  87069. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  87070. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  87071. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  87072. if (!query.excludes$1($parent))
  87073. included.push($parent);
  87074. _2_0 = $parent._node$_parent;
  87075. if (_2_0 == null)
  87076. throw A.wrapException(A.StateError$(string$.CssNod));
  87077. }
  87078. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  87079. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  87080. break;
  87081. case 7:
  87082. // then
  87083. $async$goto = 9;
  87084. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure5($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  87085. case 9:
  87086. // returning from await.
  87087. $async$returnValue = null;
  87088. // goto return
  87089. $async$goto = 1;
  87090. break;
  87091. case 8:
  87092. // join
  87093. if (included.length >= 1) {
  87094. first = included[0];
  87095. rest = B.JSArray_methods.sublist$1(included, 1);
  87096. innerCopy = first.copyWithoutChildren$0();
  87097. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  87098. copy = rest[_i].copyWithoutChildren$0();
  87099. copy.addChild$1(outerCopy);
  87100. }
  87101. root.addChild$1(outerCopy);
  87102. } else
  87103. innerCopy = root;
  87104. $async$goto = 10;
  87105. return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure6($async$self, node)), $async$visitAtRootRule$1);
  87106. case 10:
  87107. // returning from await.
  87108. $async$returnValue = null;
  87109. // goto return
  87110. $async$goto = 1;
  87111. break;
  87112. case 1:
  87113. // return
  87114. return A._asyncReturn($async$returnValue, $async$completer);
  87115. }
  87116. });
  87117. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  87118. },
  87119. _async_evaluate0$_trimIncluded$1(nodes) {
  87120. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  87121. _s22_ = " to be an ancestor of ";
  87122. if (nodes.length === 0)
  87123. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  87124. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  87125. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  87126. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  87127. _0_0 = $parent._node$_parent;
  87128. if (_0_0 == null)
  87129. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  87130. }
  87131. if (innermostContiguous == null)
  87132. innermostContiguous = i;
  87133. _1_0 = $parent._node$_parent;
  87134. if (_1_0 == null)
  87135. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  87136. }
  87137. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  87138. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  87139. innermostContiguous.toString;
  87140. root = nodes[innermostContiguous];
  87141. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  87142. return root;
  87143. },
  87144. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  87145. var _this = this,
  87146. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  87147. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  87148. if (t1 !== query.include)
  87149. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  87150. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  87151. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  87152. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  87153. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  87154. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  87155. },
  87156. visitContentBlock$1(_, node) {
  87157. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  87158. },
  87159. visitContentRule$1(_, node) {
  87160. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  87161. },
  87162. visitContentRule$body$_EvaluateVisitor0(_, node) {
  87163. var $async$goto = 0,
  87164. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87165. $async$returnValue, $async$self = this, $content;
  87166. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87167. if ($async$errorCode === 1)
  87168. return A._asyncRethrow($async$result, $async$completer);
  87169. for (;;)
  87170. switch ($async$goto) {
  87171. case 0:
  87172. // Function start
  87173. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  87174. if ($content == null) {
  87175. $async$returnValue = null;
  87176. // goto return
  87177. $async$goto = 1;
  87178. break;
  87179. }
  87180. $async$goto = 3;
  87181. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure2($async$self, $content), type$.Null), $async$visitContentRule$1);
  87182. case 3:
  87183. // returning from await.
  87184. $async$returnValue = null;
  87185. // goto return
  87186. $async$goto = 1;
  87187. break;
  87188. case 1:
  87189. // return
  87190. return A._asyncReturn($async$returnValue, $async$completer);
  87191. }
  87192. });
  87193. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  87194. },
  87195. visitDebugRule$1(_, node) {
  87196. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  87197. },
  87198. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  87199. var $async$goto = 0,
  87200. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87201. $async$returnValue, $async$self = this, value, t1;
  87202. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87203. if ($async$errorCode === 1)
  87204. return A._asyncRethrow($async$result, $async$completer);
  87205. for (;;)
  87206. switch ($async$goto) {
  87207. case 0:
  87208. // Function start
  87209. $async$goto = 3;
  87210. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  87211. case 3:
  87212. // returning from await.
  87213. value = $async$result;
  87214. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  87215. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  87216. $async$returnValue = null;
  87217. // goto return
  87218. $async$goto = 1;
  87219. break;
  87220. case 1:
  87221. // return
  87222. return A._asyncReturn($async$returnValue, $async$completer);
  87223. }
  87224. });
  87225. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  87226. },
  87227. visitDeclaration$1(_, node) {
  87228. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  87229. },
  87230. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  87231. var $async$goto = 0,
  87232. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87233. $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, _2_0, oldDeclarationName;
  87234. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87235. if ($async$errorCode === 1)
  87236. return A._asyncRethrow($async$result, $async$completer);
  87237. for (;;)
  87238. switch ($async$goto) {
  87239. case 0:
  87240. // Function start
  87241. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  87242. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  87243. if ($async$self._async_evaluate0$_declarationName != null && !node.parsedAsSassScript) {
  87244. t1 = B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--") ? string$.Declarw : string$.Declarp;
  87245. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, node.span));
  87246. }
  87247. $async$goto = 3;
  87248. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.name, true), $async$visitDeclaration$1);
  87249. case 3:
  87250. // returning from await.
  87251. $name = $async$result;
  87252. _0_0 = $async$self._async_evaluate0$_declarationName;
  87253. if (_0_0 != null)
  87254. $name = new A.CssValue0(_0_0 + "-" + $name.value, $name.span, type$.CssValue_String_2);
  87255. _1_0 = node.value;
  87256. $async$goto = _1_0 != null ? 4 : 5;
  87257. break;
  87258. case 4:
  87259. // then
  87260. $async$goto = 6;
  87261. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  87262. case 6:
  87263. // returning from await.
  87264. value = $async$result;
  87265. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  87266. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  87267. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  87268. t2 = _1_0.get$span(_1_0);
  87269. if ($async$self._async_evaluate0$_sourceMap) {
  87270. t3 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
  87271. t3 = t3 == null ? null : J.get$span$z(t3);
  87272. } else
  87273. t3 = null;
  87274. t1.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t2, type$.CssValue_Value_2), node.span, node.parsedAsSassScript, t3));
  87275. }
  87276. case 5:
  87277. // join
  87278. _2_0 = node.children;
  87279. t1 = {};
  87280. t1.children = null;
  87281. $async$goto = _2_0 != null ? 7 : 8;
  87282. break;
  87283. case 7:
  87284. // then
  87285. t1.children = _2_0;
  87286. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  87287. $async$self._async_evaluate0$_declarationName = $name.value;
  87288. $async$goto = 9;
  87289. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  87290. case 9:
  87291. // returning from await.
  87292. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  87293. case 8:
  87294. // join
  87295. $async$returnValue = null;
  87296. // goto return
  87297. $async$goto = 1;
  87298. break;
  87299. case 1:
  87300. // return
  87301. return A._asyncReturn($async$returnValue, $async$completer);
  87302. }
  87303. });
  87304. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  87305. },
  87306. visitEachRule$1(_, node) {
  87307. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  87308. },
  87309. visitEachRule$body$_EvaluateVisitor0(_, node) {
  87310. var $async$goto = 0,
  87311. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87312. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  87313. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87314. if ($async$errorCode === 1)
  87315. return A._asyncRethrow($async$result, $async$completer);
  87316. for (;;)
  87317. switch ($async$goto) {
  87318. case 0:
  87319. // Function start
  87320. t1 = node.list;
  87321. $async$goto = 3;
  87322. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  87323. case 3:
  87324. // returning from await.
  87325. list = $async$result;
  87326. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  87327. _0_0 = node.variables;
  87328. $label0$0: {
  87329. t1 = {};
  87330. t1.variable = null;
  87331. if (_0_0.length === 1) {
  87332. t1.variable = _0_0[0];
  87333. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  87334. break $label0$0;
  87335. }
  87336. t1 = {};
  87337. t1.variables = null;
  87338. t1.variables = _0_0;
  87339. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  87340. break $label0$0;
  87341. }
  87342. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, t1, node), true, type$.nullable_Value_2);
  87343. // goto return
  87344. $async$goto = 1;
  87345. break;
  87346. case 1:
  87347. // return
  87348. return A._asyncReturn($async$returnValue, $async$completer);
  87349. }
  87350. });
  87351. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  87352. },
  87353. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  87354. var i,
  87355. list = value.get$asList(),
  87356. t1 = variables.length,
  87357. minLength = Math.min(t1, list.length);
  87358. for (i = 0; i < minLength; ++i)
  87359. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  87360. for (i = minLength; i < t1; ++i)
  87361. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  87362. },
  87363. visitErrorRule$1(_, node) {
  87364. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  87365. },
  87366. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  87367. var $async$goto = 0,
  87368. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87369. $async$self = this, $async$temp1, $async$temp2;
  87370. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87371. if ($async$errorCode === 1)
  87372. return A._asyncRethrow($async$result, $async$completer);
  87373. for (;;)
  87374. switch ($async$goto) {
  87375. case 0:
  87376. // Function start
  87377. $async$temp1 = A;
  87378. $async$temp2 = J;
  87379. $async$goto = 2;
  87380. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  87381. case 2:
  87382. // returning from await.
  87383. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  87384. // implicit return
  87385. return A._asyncReturn(null, $async$completer);
  87386. }
  87387. });
  87388. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  87389. },
  87390. visitExtendRule$1(_, node) {
  87391. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  87392. },
  87393. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  87394. var $async$goto = 0,
  87395. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87396. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, simple, styleRule;
  87397. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87398. if ($async$errorCode === 1)
  87399. return A._asyncRethrow($async$result, $async$completer);
  87400. for (;;)
  87401. switch ($async$goto) {
  87402. case 0:
  87403. // Function start
  87404. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87405. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  87406. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  87407. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  87408. complex = t1[_i];
  87409. if (!complex.accept$1(B._IsBogusVisitor_true0))
  87410. continue;
  87411. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  87412. complex.accept$1(visitor);
  87413. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  87414. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  87415. $async$self._async_evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_2PR);
  87416. }
  87417. $async$goto = 3;
  87418. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  87419. case 3:
  87420. // returning from await.
  87421. _0_0 = $async$result;
  87422. targetText = _0_0._0;
  87423. targetMap = _0_0._1;
  87424. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, targetMap, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  87425. complex = t1[_i];
  87426. compound = complex.get$singleCompound();
  87427. if (compound == null)
  87428. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  87429. t4 = compound.components;
  87430. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  87431. if (simple == null)
  87432. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  87433. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, $async$self._async_evaluate0$_mediaQueries);
  87434. }
  87435. $async$returnValue = null;
  87436. // goto return
  87437. $async$goto = 1;
  87438. break;
  87439. case 1:
  87440. // return
  87441. return A._asyncReturn($async$returnValue, $async$completer);
  87442. }
  87443. });
  87444. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  87445. },
  87446. visitAtRule$1(_, node) {
  87447. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  87448. },
  87449. visitAtRule$body$_EvaluateVisitor0(_, node) {
  87450. var $async$goto = 0,
  87451. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87452. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  87453. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87454. if ($async$errorCode === 1)
  87455. return A._asyncRethrow($async$result, $async$completer);
  87456. for (;;)
  87457. switch ($async$goto) {
  87458. case 0:
  87459. // Function start
  87460. if ($async$self._async_evaluate0$_declarationName != null)
  87461. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  87462. $async$goto = 3;
  87463. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  87464. case 3:
  87465. // returning from await.
  87466. $name = $async$result;
  87467. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  87468. $async$goto = 4;
  87469. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  87470. case 4:
  87471. // returning from await.
  87472. value = $async$result;
  87473. children = node.children;
  87474. if (children == null) {
  87475. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  87476. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  87477. $async$returnValue = null;
  87478. // goto return
  87479. $async$goto = 1;
  87480. break;
  87481. }
  87482. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  87483. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  87484. if (A.unvendor0($name.value) === "keyframes")
  87485. $async$self._async_evaluate0$_inKeyframes = true;
  87486. else
  87487. $async$self._async_evaluate0$_inUnknownAtRule = true;
  87488. $async$goto = 5;
  87489. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure9($async$self, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
  87490. case 5:
  87491. // returning from await.
  87492. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  87493. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  87494. $async$returnValue = null;
  87495. // goto return
  87496. $async$goto = 1;
  87497. break;
  87498. case 1:
  87499. // return
  87500. return A._asyncReturn($async$returnValue, $async$completer);
  87501. }
  87502. });
  87503. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  87504. },
  87505. visitForRule$1(_, node) {
  87506. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  87507. },
  87508. visitForRule$body$_EvaluateVisitor0(_, node) {
  87509. var $async$goto = 0,
  87510. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87511. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  87512. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87513. if ($async$errorCode === 1)
  87514. return A._asyncRethrow($async$result, $async$completer);
  87515. for (;;)
  87516. switch ($async$goto) {
  87517. case 0:
  87518. // Function start
  87519. t1 = {};
  87520. t2 = node.from;
  87521. t3 = type$.SassNumber_2;
  87522. $async$goto = 3;
  87523. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  87524. case 3:
  87525. // returning from await.
  87526. fromNumber = $async$result;
  87527. t4 = node.to;
  87528. $async$goto = 4;
  87529. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  87530. case 4:
  87531. // returning from await.
  87532. toNumber = $async$result;
  87533. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  87534. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  87535. direction = from > to ? -1 : 1;
  87536. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  87537. $async$returnValue = null;
  87538. // goto return
  87539. $async$goto = 1;
  87540. break;
  87541. }
  87542. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure18(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  87543. // goto return
  87544. $async$goto = 1;
  87545. break;
  87546. case 1:
  87547. // return
  87548. return A._asyncReturn($async$returnValue, $async$completer);
  87549. }
  87550. });
  87551. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  87552. },
  87553. visitForwardRule$1(_, node) {
  87554. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  87555. },
  87556. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  87557. var $async$goto = 0,
  87558. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87559. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  87560. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87561. if ($async$errorCode === 1)
  87562. return A._asyncRethrow($async$result, $async$completer);
  87563. for (;;)
  87564. switch ($async$goto) {
  87565. case 0:
  87566. // Function start
  87567. oldConfiguration = $async$self._async_evaluate0$_configuration;
  87568. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  87569. t1 = node.configuration;
  87570. t2 = t1.length;
  87571. t3 = node.url;
  87572. $async$goto = t2 !== 0 ? 3 : 5;
  87573. break;
  87574. case 3:
  87575. // then
  87576. $async$goto = 6;
  87577. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  87578. case 6:
  87579. // returning from await.
  87580. newConfiguration = $async$result;
  87581. $async$goto = 7;
  87582. return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure5($async$self, node), newConfiguration), $async$visitForwardRule$1);
  87583. case 7:
  87584. // returning from await.
  87585. t3 = type$.String;
  87586. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87587. for (_i = 0; _i < t2; ++_i) {
  87588. variable = t1[_i];
  87589. if (!variable.isGuarded)
  87590. t4.add$1(0, variable.name);
  87591. }
  87592. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  87593. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87594. for (_i = 0; _i < t2; ++_i)
  87595. t3.add$1(0, t1[_i].name);
  87596. for (t1 = newConfiguration._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87597. $name = t2[_i];
  87598. if (!t3.contains$1(0, $name))
  87599. if (!t1.get$isEmpty(t1))
  87600. t1.remove$1(0, $name);
  87601. }
  87602. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  87603. // goto join
  87604. $async$goto = 4;
  87605. break;
  87606. case 5:
  87607. // else
  87608. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  87609. $async$goto = 8;
  87610. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  87611. case 8:
  87612. // returning from await.
  87613. $async$self._async_evaluate0$_configuration = oldConfiguration;
  87614. case 4:
  87615. // join
  87616. $async$returnValue = null;
  87617. // goto return
  87618. $async$goto = 1;
  87619. break;
  87620. case 1:
  87621. // return
  87622. return A._asyncReturn($async$returnValue, $async$completer);
  87623. }
  87624. });
  87625. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  87626. },
  87627. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  87628. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  87629. },
  87630. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  87631. var $async$goto = 0,
  87632. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  87633. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, _0_0, t7, oldValue, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  87634. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87635. if ($async$errorCode === 1)
  87636. return A._asyncRethrow($async$result, $async$completer);
  87637. for (;;)
  87638. switch ($async$goto) {
  87639. case 0:
  87640. // Function start
  87641. t1 = configuration._configuration0$_values;
  87642. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87643. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  87644. case 3:
  87645. // for condition
  87646. if (!(_i < t3)) {
  87647. // goto after for
  87648. $async$goto = 5;
  87649. break;
  87650. }
  87651. variable = t2[_i];
  87652. if (variable.isGuarded) {
  87653. t6 = variable.name;
  87654. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  87655. if (_0_0 != null) {
  87656. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  87657. oldValue = _0_0;
  87658. } else {
  87659. oldValue = null;
  87660. t7 = false;
  87661. }
  87662. if (t7) {
  87663. newValues.$indexSet(0, t6, oldValue);
  87664. // goto for update
  87665. $async$goto = 4;
  87666. break;
  87667. }
  87668. }
  87669. t6 = variable.expression;
  87670. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87671. t6 = t6.accept$1($async$self);
  87672. if (!t5._is(t6)) {
  87673. t7 = new A._Future($.Zone__current, t4);
  87674. t7._state = 8;
  87675. t7._resultOrListeners = t6;
  87676. t6 = t7;
  87677. }
  87678. $async$temp1 = newValues;
  87679. $async$temp2 = variable.name;
  87680. $async$temp3 = A;
  87681. $async$goto = 6;
  87682. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87683. case 6:
  87684. // returning from await.
  87685. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87686. case 4:
  87687. // for update
  87688. ++_i;
  87689. // goto for condition
  87690. $async$goto = 3;
  87691. break;
  87692. case 5:
  87693. // after for
  87694. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87695. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87696. // goto return
  87697. $async$goto = 1;
  87698. break;
  87699. } else {
  87700. $async$returnValue = new A.Configuration0(newValues, null);
  87701. // goto return
  87702. $async$goto = 1;
  87703. break;
  87704. }
  87705. case 1:
  87706. // return
  87707. return A._asyncReturn($async$returnValue, $async$completer);
  87708. }
  87709. });
  87710. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87711. },
  87712. _async_evaluate0$_registerCommentsForModule$1(module) {
  87713. var _this = this, _s5_ = "_root",
  87714. t1 = _this._async_evaluate0$__root;
  87715. if (t1 == null)
  87716. return;
  87717. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87718. return;
  87719. t1 = _this._async_evaluate0$_preModuleComments;
  87720. if (t1 == null)
  87721. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87722. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure2()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  87723. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87724. _this._async_evaluate0$__endOfImports = 0;
  87725. },
  87726. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87727. var t1, t2, t3, t4, _i, $name;
  87728. for (t1 = upstream._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87729. $name = t2[_i];
  87730. if (except.contains$1(0, $name))
  87731. continue;
  87732. if (!t4.containsKey$1($name))
  87733. if (!t1.get$isEmpty(t1))
  87734. t1.remove$1(0, $name);
  87735. }
  87736. },
  87737. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87738. var t1, _0_0;
  87739. if (!(configuration instanceof A.ExplicitConfiguration0))
  87740. return;
  87741. t1 = configuration._configuration0$_values;
  87742. if (t1.get$isEmpty(t1))
  87743. return;
  87744. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87745. _0_0 = t1.get$first(t1);
  87746. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  87747. throw A.wrapException(this._async_evaluate0$_exception$2(t1, _0_0._1.configurationSpan));
  87748. },
  87749. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87750. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87751. },
  87752. visitFunctionRule$1(_, node) {
  87753. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87754. },
  87755. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87756. var $async$goto = 0,
  87757. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87758. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87759. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87760. if ($async$errorCode === 1)
  87761. return A._asyncRethrow($async$result, $async$completer);
  87762. for (;;)
  87763. switch ($async$goto) {
  87764. case 0:
  87765. // Function start
  87766. t1 = $async$self._async_evaluate0$_environment;
  87767. t2 = t1.closure$0();
  87768. t3 = $async$self._async_evaluate0$_inDependency;
  87769. t4 = t1._async_environment0$_functions;
  87770. index = t4.length - 1;
  87771. t5 = node.name;
  87772. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87773. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87774. $async$returnValue = null;
  87775. // goto return
  87776. $async$goto = 1;
  87777. break;
  87778. case 1:
  87779. // return
  87780. return A._asyncReturn($async$returnValue, $async$completer);
  87781. }
  87782. });
  87783. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87784. },
  87785. visitIfRule$1(_, node) {
  87786. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87787. },
  87788. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87789. var $async$goto = 0,
  87790. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87791. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87792. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87793. if ($async$errorCode === 1)
  87794. return A._asyncRethrow($async$result, $async$completer);
  87795. for (;;)
  87796. switch ($async$goto) {
  87797. case 0:
  87798. // Function start
  87799. clause = node.lastClause;
  87800. t1 = node.clauses, t2 = t1.length, _i = 0;
  87801. case 3:
  87802. // for condition
  87803. if (!(_i < t2)) {
  87804. // goto after for
  87805. $async$goto = 5;
  87806. break;
  87807. }
  87808. clauseToCheck = t1[_i];
  87809. $async$goto = 6;
  87810. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87811. case 6:
  87812. // returning from await.
  87813. if ($async$result.get$isTruthy()) {
  87814. clause = clauseToCheck;
  87815. // goto after for
  87816. $async$goto = 5;
  87817. break;
  87818. }
  87819. case 4:
  87820. // for update
  87821. ++_i;
  87822. // goto for condition
  87823. $async$goto = 3;
  87824. break;
  87825. case 5:
  87826. // after for
  87827. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87828. $async$goto = 7;
  87829. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87830. case 7:
  87831. // returning from await.
  87832. $async$returnValue = $async$result;
  87833. // goto return
  87834. $async$goto = 1;
  87835. break;
  87836. case 1:
  87837. // return
  87838. return A._asyncReturn($async$returnValue, $async$completer);
  87839. }
  87840. });
  87841. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87842. },
  87843. visitImportRule$1(_, node) {
  87844. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87845. },
  87846. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87847. var $async$goto = 0,
  87848. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87849. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87850. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87851. if ($async$errorCode === 1)
  87852. return A._asyncRethrow($async$result, $async$completer);
  87853. for (;;)
  87854. switch ($async$goto) {
  87855. case 0:
  87856. // Function start
  87857. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87858. case 3:
  87859. // for condition
  87860. if (!(_i < t2)) {
  87861. // goto after for
  87862. $async$goto = 5;
  87863. break;
  87864. }
  87865. $import = t1[_i];
  87866. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87867. break;
  87868. case 6:
  87869. // then
  87870. $async$goto = 9;
  87871. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87872. case 9:
  87873. // returning from await.
  87874. // goto join
  87875. $async$goto = 7;
  87876. break;
  87877. case 8:
  87878. // else
  87879. $async$goto = 10;
  87880. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87881. case 10:
  87882. // returning from await.
  87883. case 7:
  87884. // join
  87885. case 4:
  87886. // for update
  87887. ++_i;
  87888. // goto for condition
  87889. $async$goto = 3;
  87890. break;
  87891. case 5:
  87892. // after for
  87893. $async$returnValue = null;
  87894. // goto return
  87895. $async$goto = 1;
  87896. break;
  87897. case 1:
  87898. // return
  87899. return A._asyncReturn($async$returnValue, $async$completer);
  87900. }
  87901. });
  87902. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87903. },
  87904. _async_evaluate0$_visitDynamicImport$1($import) {
  87905. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87906. },
  87907. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87908. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87909. },
  87910. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87911. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87912. },
  87913. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87914. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87915. },
  87916. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87917. var $async$goto = 0,
  87918. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87919. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, t1, t2, exception, $async$exception;
  87920. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87921. if ($async$errorCode === 1) {
  87922. $async$errorStack.push($async$result);
  87923. $async$goto = $async$handler;
  87924. }
  87925. for (;;)
  87926. switch ($async$goto) {
  87927. case 0:
  87928. // Function start
  87929. baseUrl = baseUrl;
  87930. $async$handler = 4;
  87931. $async$self._async_evaluate0$_importSpan = span;
  87932. _0_0 = $async$self._async_evaluate0$_importCache;
  87933. importCache = null;
  87934. $async$goto = _0_0 != null ? 7 : 8;
  87935. break;
  87936. case 7:
  87937. // then
  87938. importCache = _0_0;
  87939. if (baseUrl == null) {
  87940. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span;
  87941. baseUrl = t1.get$sourceUrl(t1);
  87942. }
  87943. $async$goto = 9;
  87944. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate0$_importer, baseUrl, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87945. case 9:
  87946. // returning from await.
  87947. _1_0 = $async$result;
  87948. importer = null;
  87949. canonicalUrl = null;
  87950. originalUrl = null;
  87951. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87952. break;
  87953. case 10:
  87954. // then
  87955. importer = _1_0._0;
  87956. canonicalUrl = _1_0._1;
  87957. originalUrl = _1_0._2;
  87958. if (canonicalUrl.get$scheme() === "")
  87959. A.WarnForDeprecation_warnForDeprecation0($async$self._async_evaluate0$_logger, B.Deprecation_Vc9, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  87960. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87961. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87962. $async$goto = 12;
  87963. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87964. case 12:
  87965. // returning from await.
  87966. _2_0 = $async$result;
  87967. stylesheet = null;
  87968. if (_2_0 != null) {
  87969. stylesheet = _2_0;
  87970. t1 = stylesheet;
  87971. t2 = importer;
  87972. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87973. $async$next = [1];
  87974. // goto finally
  87975. $async$goto = 5;
  87976. break;
  87977. }
  87978. case 11:
  87979. // join
  87980. case 8:
  87981. // join
  87982. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87983. break;
  87984. case 13:
  87985. // then
  87986. t1 = baseUrl;
  87987. if (t1 == null) {
  87988. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span;
  87989. t1 = t1.get$sourceUrl(t1);
  87990. }
  87991. $async$goto = 15;
  87992. return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87993. case 15:
  87994. // returning from await.
  87995. _3_0 = $async$result;
  87996. result = null;
  87997. if (_3_0 != null) {
  87998. result = _3_0;
  87999. t1 = result._0.span;
  88000. t2 = $async$self._async_evaluate0$_loadedUrls;
  88001. A.NullableExtension_andThen0(t1.get$sourceUrl(t1), t2.get$add(t2));
  88002. t2 = result;
  88003. $async$returnValue = t2;
  88004. $async$next = [1];
  88005. // goto finally
  88006. $async$goto = 5;
  88007. break;
  88008. }
  88009. case 14:
  88010. // join
  88011. t1 = B.JSString_methods.startsWith$1(url, "package:");
  88012. if (t1)
  88013. throw A.wrapException(string$.x22packa);
  88014. else
  88015. throw A.wrapException("Can't find stylesheet to import.");
  88016. $async$next.push(6);
  88017. // goto finally
  88018. $async$goto = 5;
  88019. break;
  88020. case 4:
  88021. // catch
  88022. $async$handler = 3;
  88023. $async$exception = $async$errorStack.pop();
  88024. t1 = A.unwrapException($async$exception);
  88025. if (t1 instanceof A.SassException0)
  88026. throw $async$exception;
  88027. else if (t1 instanceof A.ArgumentError) {
  88028. error = t1;
  88029. stackTrace = A.getTraceFromException($async$exception);
  88030. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  88031. } else {
  88032. error0 = t1;
  88033. stackTrace0 = A.getTraceFromException($async$exception);
  88034. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  88035. }
  88036. $async$next.push(6);
  88037. // goto finally
  88038. $async$goto = 5;
  88039. break;
  88040. case 3:
  88041. // uncaught
  88042. $async$next = [2];
  88043. case 5:
  88044. // finally
  88045. $async$handler = 2;
  88046. $async$self._async_evaluate0$_importSpan = null;
  88047. // goto the next finally handler
  88048. $async$goto = $async$next.pop();
  88049. break;
  88050. case 6:
  88051. // after finally
  88052. case 1:
  88053. // return
  88054. return A._asyncReturn($async$returnValue, $async$completer);
  88055. case 2:
  88056. // rethrow
  88057. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88058. }
  88059. });
  88060. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  88061. },
  88062. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  88063. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  88064. },
  88065. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  88066. var $async$goto = 0,
  88067. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  88068. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  88069. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88070. if ($async$errorCode === 1)
  88071. return A._asyncRethrow($async$result, $async$completer);
  88072. for (;;)
  88073. switch ($async$goto) {
  88074. case 0:
  88075. // Function start
  88076. t1 = $async$self._async_evaluate0$_nodeImporter;
  88077. result = t1.loadRelative$3(originalUrl, previous, forImport);
  88078. $async$goto = result != null ? 3 : 5;
  88079. break;
  88080. case 3:
  88081. // then
  88082. isDependency = $async$self._async_evaluate0$_inDependency;
  88083. // goto join
  88084. $async$goto = 4;
  88085. break;
  88086. case 5:
  88087. // else
  88088. $async$goto = 6;
  88089. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  88090. case 6:
  88091. // returning from await.
  88092. result = $async$result;
  88093. if (result == null) {
  88094. $async$returnValue = null;
  88095. // goto return
  88096. $async$goto = 1;
  88097. break;
  88098. }
  88099. isDependency = true;
  88100. case 4:
  88101. // join
  88102. url = result._1;
  88103. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_0_scss0;
  88104. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, false, url), null, isDependency);
  88105. // goto return
  88106. $async$goto = 1;
  88107. break;
  88108. case 1:
  88109. // return
  88110. return A._asyncReturn($async$returnValue, $async$completer);
  88111. }
  88112. });
  88113. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  88114. },
  88115. _async_evaluate0$_visitStaticImport$1($import) {
  88116. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  88117. },
  88118. _visitStaticImport$body$_EvaluateVisitor0($import) {
  88119. var $async$goto = 0,
  88120. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  88121. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  88122. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88123. if ($async$errorCode === 1)
  88124. return A._asyncRethrow($async$result, $async$completer);
  88125. for (;;)
  88126. switch ($async$goto) {
  88127. case 0:
  88128. // Function start
  88129. $async$goto = 2;
  88130. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  88131. case 2:
  88132. // returning from await.
  88133. t1 = $async$result;
  88134. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  88135. $async$temp1 = A;
  88136. $async$temp2 = t1;
  88137. $async$goto = 3;
  88138. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String_2), $async$_async_evaluate0$_visitStaticImport$1);
  88139. case 3:
  88140. // returning from await.
  88141. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  88142. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root")) {
  88143. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  88144. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  88145. } else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
  88146. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  88147. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  88148. } else {
  88149. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  88150. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  88151. }
  88152. // implicit return
  88153. return A._asyncReturn(null, $async$completer);
  88154. }
  88155. });
  88156. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  88157. },
  88158. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  88159. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  88160. },
  88161. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  88162. var $async$goto = 0,
  88163. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  88164. $async$self = this, t1, _0_0, t2, _1_8, t3;
  88165. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88166. if ($async$errorCode === 1)
  88167. return A._asyncRethrow($async$result, $async$completer);
  88168. for (;;)
  88169. switch ($async$goto) {
  88170. case 0:
  88171. // Function start
  88172. if (mixin == null)
  88173. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  88174. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  88175. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  88176. break;
  88177. case 3:
  88178. // then
  88179. $async$goto = 5;
  88180. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  88181. case 5:
  88182. // returning from await.
  88183. t1 = $async$result._values;
  88184. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  88185. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  88186. case 4:
  88187. // join
  88188. $async$goto = t1 ? 6 : 7;
  88189. break;
  88190. case 6:
  88191. // then
  88192. $async$goto = 8;
  88193. return A._asyncAwait($async$self._async_evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure5($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate0$_applyMixin$5);
  88194. case 8:
  88195. // returning from await.
  88196. // goto break $label0$0
  88197. $async$goto = 2;
  88198. break;
  88199. case 7:
  88200. // join
  88201. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  88202. t2 = false;
  88203. if (t1) {
  88204. _1_8 = mixin.declaration;
  88205. t3 = _1_8;
  88206. if (t3 instanceof A.MixinRule0)
  88207. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  88208. }
  88209. if (t2)
  88210. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  88211. $async$goto = t1 ? 9 : 10;
  88212. break;
  88213. case 9:
  88214. // then
  88215. $async$goto = 11;
  88216. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure6($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate0$_applyMixin$5);
  88217. case 11:
  88218. // returning from await.
  88219. // goto break $label0$0
  88220. $async$goto = 2;
  88221. break;
  88222. case 10:
  88223. // join
  88224. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  88225. case 2:
  88226. // break $label0$0
  88227. // implicit return
  88228. return A._asyncReturn(null, $async$completer);
  88229. }
  88230. });
  88231. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  88232. },
  88233. visitIncludeRule$1(_, node) {
  88234. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  88235. },
  88236. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  88237. var $async$goto = 0,
  88238. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88239. $async$returnValue, $async$self = this, mixin;
  88240. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88241. if ($async$errorCode === 1)
  88242. return A._asyncRethrow($async$result, $async$completer);
  88243. for (;;)
  88244. switch ($async$goto) {
  88245. case 0:
  88246. // Function start
  88247. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  88248. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  88249. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Sass__m, node.get$nameSpan()));
  88250. $async$goto = 3;
  88251. return A._asyncAwait($async$self._async_evaluate0$_applyMixin$5(mixin, A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure9($async$self)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure10(node))), $async$visitIncludeRule$1);
  88252. case 3:
  88253. // returning from await.
  88254. $async$returnValue = null;
  88255. // goto return
  88256. $async$goto = 1;
  88257. break;
  88258. case 1:
  88259. // return
  88260. return A._asyncReturn($async$returnValue, $async$completer);
  88261. }
  88262. });
  88263. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  88264. },
  88265. visitMixinRule$1(_, node) {
  88266. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  88267. },
  88268. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  88269. var $async$goto = 0,
  88270. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88271. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  88272. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88273. if ($async$errorCode === 1)
  88274. return A._asyncRethrow($async$result, $async$completer);
  88275. for (;;)
  88276. switch ($async$goto) {
  88277. case 0:
  88278. // Function start
  88279. t1 = $async$self._async_evaluate0$_environment;
  88280. t2 = t1.closure$0();
  88281. t3 = $async$self._async_evaluate0$_inDependency;
  88282. t4 = t1._async_environment0$_mixins;
  88283. index = t4.length - 1;
  88284. t5 = node.name;
  88285. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  88286. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  88287. $async$returnValue = null;
  88288. // goto return
  88289. $async$goto = 1;
  88290. break;
  88291. case 1:
  88292. // return
  88293. return A._asyncReturn($async$returnValue, $async$completer);
  88294. }
  88295. });
  88296. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  88297. },
  88298. visitLoudComment$1(_, node) {
  88299. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  88300. },
  88301. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  88302. var $async$goto = 0,
  88303. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88304. $async$returnValue, $async$self = this, t1, text;
  88305. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88306. if ($async$errorCode === 1)
  88307. return A._asyncRethrow($async$result, $async$completer);
  88308. for (;;)
  88309. switch ($async$goto) {
  88310. case 0:
  88311. // Function start
  88312. if ($async$self._async_evaluate0$_inFunction) {
  88313. $async$returnValue = null;
  88314. // goto return
  88315. $async$goto = 1;
  88316. break;
  88317. }
  88318. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
  88319. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  88320. t1 = node.text;
  88321. $async$goto = 3;
  88322. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  88323. case 3:
  88324. // returning from await.
  88325. text = $async$result;
  88326. if (!B.JSString_methods.endsWith$1(text, "*/"))
  88327. text += " */";
  88328. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  88329. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  88330. $async$returnValue = null;
  88331. // goto return
  88332. $async$goto = 1;
  88333. break;
  88334. case 1:
  88335. // return
  88336. return A._asyncReturn($async$returnValue, $async$completer);
  88337. }
  88338. });
  88339. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  88340. },
  88341. visitMediaRule$1(_, node) {
  88342. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  88343. },
  88344. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  88345. var $async$goto = 0,
  88346. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88347. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  88348. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88349. if ($async$errorCode === 1)
  88350. return A._asyncRethrow($async$result, $async$completer);
  88351. for (;;)
  88352. switch ($async$goto) {
  88353. case 0:
  88354. // Function start
  88355. if ($async$self._async_evaluate0$_declarationName != null)
  88356. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  88357. $async$goto = 3;
  88358. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  88359. case 3:
  88360. // returning from await.
  88361. queries = $async$result;
  88362. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  88363. t1 = mergedQueries == null;
  88364. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  88365. $async$returnValue = null;
  88366. // goto return
  88367. $async$goto = 1;
  88368. break;
  88369. }
  88370. if (t1)
  88371. mergedSources = B.Set_empty6;
  88372. else {
  88373. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  88374. t2.toString;
  88375. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  88376. t3 = $async$self._async_evaluate0$_mediaQueries;
  88377. t3.toString;
  88378. t2.addAll$1(0, t3);
  88379. t2.addAll$1(0, queries);
  88380. mergedSources = t2;
  88381. }
  88382. t1 = t1 ? queries : mergedQueries;
  88383. $async$goto = 4;
  88384. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure9($async$self, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure10(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitMediaRule$1);
  88385. case 4:
  88386. // returning from await.
  88387. $async$returnValue = null;
  88388. // goto return
  88389. $async$goto = 1;
  88390. break;
  88391. case 1:
  88392. // return
  88393. return A._asyncReturn($async$returnValue, $async$completer);
  88394. }
  88395. });
  88396. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  88397. },
  88398. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  88399. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  88400. },
  88401. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  88402. var $async$goto = 0,
  88403. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  88404. $async$returnValue, $async$self = this, _0_0, resolved, map;
  88405. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88406. if ($async$errorCode === 1)
  88407. return A._asyncRethrow($async$result, $async$completer);
  88408. for (;;)
  88409. switch ($async$goto) {
  88410. case 0:
  88411. // Function start
  88412. $async$goto = 3;
  88413. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  88414. case 3:
  88415. // returning from await.
  88416. _0_0 = $async$result;
  88417. resolved = _0_0._0;
  88418. map = _0_0._1;
  88419. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  88420. // goto return
  88421. $async$goto = 1;
  88422. break;
  88423. case 1:
  88424. // return
  88425. return A._asyncReturn($async$returnValue, $async$completer);
  88426. }
  88427. });
  88428. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  88429. },
  88430. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  88431. var t1, t2, t3, t4, _0_0, t5, result,
  88432. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  88433. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  88434. t3 = t1.get$current(t1);
  88435. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  88436. _0_0 = t3.merge$1(t4.get$current(t4));
  88437. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  88438. continue;
  88439. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  88440. return null;
  88441. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  88442. result = t5 ? _0_0 : null;
  88443. if (t5)
  88444. queries.push(result.query);
  88445. }
  88446. }
  88447. return queries;
  88448. },
  88449. visitReturnRule$1(_, node) {
  88450. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  88451. },
  88452. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  88453. var $async$goto = 0,
  88454. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88455. $async$returnValue, $async$self = this, t1, t2;
  88456. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88457. if ($async$errorCode === 1)
  88458. return A._asyncRethrow($async$result, $async$completer);
  88459. for (;;)
  88460. switch ($async$goto) {
  88461. case 0:
  88462. // Function start
  88463. t1 = node.expression;
  88464. t2 = t1.accept$1($async$self);
  88465. $async$goto = 3;
  88466. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  88467. case 3:
  88468. // returning from await.
  88469. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  88470. // goto return
  88471. $async$goto = 1;
  88472. break;
  88473. case 1:
  88474. // return
  88475. return A._asyncReturn($async$returnValue, $async$completer);
  88476. }
  88477. });
  88478. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  88479. },
  88480. visitSilentComment$1(_, node) {
  88481. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  88482. },
  88483. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  88484. var $async$goto = 0,
  88485. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88486. $async$returnValue;
  88487. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88488. if ($async$errorCode === 1)
  88489. return A._asyncRethrow($async$result, $async$completer);
  88490. for (;;)
  88491. switch ($async$goto) {
  88492. case 0:
  88493. // Function start
  88494. $async$returnValue = null;
  88495. // goto return
  88496. $async$goto = 1;
  88497. break;
  88498. case 1:
  88499. // return
  88500. return A._asyncReturn($async$returnValue, $async$completer);
  88501. }
  88502. });
  88503. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  88504. },
  88505. visitStyleRule$1(_, node) {
  88506. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  88507. },
  88508. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  88509. var $async$goto = 0,
  88510. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88511. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  88512. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88513. if ($async$errorCode === 1)
  88514. return A._asyncRethrow($async$result, $async$completer);
  88515. for (;;)
  88516. switch ($async$goto) {
  88517. case 0:
  88518. // Function start
  88519. if ($async$self._async_evaluate0$_declarationName != null)
  88520. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  88521. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  88522. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  88523. t1 = node.selector;
  88524. t1.toString;
  88525. $async$goto = 3;
  88526. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  88527. case 3:
  88528. // returning from await.
  88529. _0_0 = $async$result;
  88530. selectorText = _0_0._0;
  88531. selectorMap = _0_0._1;
  88532. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  88533. break;
  88534. case 4:
  88535. // then
  88536. $async$goto = 6;
  88537. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(selectorText, null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure11($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  88538. case 6:
  88539. // returning from await.
  88540. $async$returnValue = null;
  88541. // goto return
  88542. $async$goto = 1;
  88543. break;
  88544. case 5:
  88545. // join
  88546. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  88547. _1_0 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88548. $label0$0: {
  88549. if (_1_0 == null) {
  88550. t1 = true;
  88551. break $label0$0;
  88552. }
  88553. if (_1_0.fromPlainCss) {
  88554. t1 = false;
  88555. break $label0$0;
  88556. }
  88557. t1 = !($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  88558. break $label0$0;
  88559. }
  88560. if (t1) {
  88561. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  88562. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  88563. _2_0 = t2[_i].leadingCombinators;
  88564. if (_2_0.length >= 1) {
  88565. first = _2_0[0];
  88566. t4 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  88567. } else {
  88568. first = null;
  88569. t4 = false;
  88570. }
  88571. if (t4)
  88572. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  88573. }
  88574. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88575. t2 = t2 == null ? null : t2.originalSelector;
  88576. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  88577. }
  88578. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate0$_mediaQueries), node.span, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  88579. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  88580. t2 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  88581. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  88582. $async$goto = 7;
  88583. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure14($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  88584. case 7:
  88585. // returning from await.
  88586. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  88587. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  88588. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  88589. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88590. t1 = !t1.get$isEmpty(t1);
  88591. } else
  88592. t1 = t2;
  88593. if (t1) {
  88594. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88595. t1.get$last(t1).isGroupEnd = true;
  88596. }
  88597. $async$returnValue = null;
  88598. // goto return
  88599. $async$goto = 1;
  88600. break;
  88601. case 1:
  88602. // return
  88603. return A._asyncReturn($async$returnValue, $async$completer);
  88604. }
  88605. });
  88606. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  88607. },
  88608. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  88609. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  88610. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  88611. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  88612. complex = t1[_i];
  88613. if (!complex.accept$1(B._IsBogusVisitor_true0))
  88614. continue;
  88615. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  88616. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88617. complex.accept$1(visitor);
  88618. _this._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_2PR);
  88619. } else if (complex.leadingCombinators.length !== 0) {
  88620. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88621. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88622. complex.accept$1(visitor);
  88623. _this._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_2PR);
  88624. }
  88625. } else {
  88626. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88627. complex.accept$1(visitor);
  88628. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  88629. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  88630. t8 = A.SpanExtensions_trimRight0(complex.span);
  88631. if (t5.get$length(0) === 0)
  88632. A.throwExpression(A.IterableElementError_noElement());
  88633. t9 = J.get$span$z(t5.$index(0, 0));
  88634. _this._async_evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure2()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_2PR);
  88635. }
  88636. }
  88637. },
  88638. visitSupportsRule$1(_, node) {
  88639. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  88640. },
  88641. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  88642. var $async$goto = 0,
  88643. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88644. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88645. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88646. if ($async$errorCode === 1)
  88647. return A._asyncRethrow($async$result, $async$completer);
  88648. for (;;)
  88649. switch ($async$goto) {
  88650. case 0:
  88651. // Function start
  88652. if ($async$self._async_evaluate0$_declarationName != null)
  88653. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  88654. t1 = node.condition;
  88655. $async$temp1 = A;
  88656. $async$temp2 = A;
  88657. $async$goto = 4;
  88658. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  88659. case 4:
  88660. // returning from await.
  88661. $async$goto = 3;
  88662. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$0(new $async$temp2.CssValue0($async$result, t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure5($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitSupportsRule$1);
  88663. case 3:
  88664. // returning from await.
  88665. $async$returnValue = null;
  88666. // goto return
  88667. $async$goto = 1;
  88668. break;
  88669. case 1:
  88670. // return
  88671. return A._asyncReturn($async$returnValue, $async$completer);
  88672. }
  88673. });
  88674. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  88675. },
  88676. _async_evaluate0$_visitSupportsCondition$1(condition) {
  88677. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  88678. },
  88679. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  88680. var $async$goto = 0,
  88681. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88682. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88683. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88684. if ($async$errorCode === 1)
  88685. return A._asyncRethrow($async$result, $async$completer);
  88686. for (;;)
  88687. switch ($async$goto) {
  88688. case 0:
  88689. // Function start
  88690. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88691. break;
  88692. case 4:
  88693. // then
  88694. t1 = condition.operator;
  88695. $async$temp1 = A;
  88696. $async$goto = 6;
  88697. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88698. case 6:
  88699. // returning from await.
  88700. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88701. $async$temp2 = A;
  88702. $async$goto = 7;
  88703. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88704. case 7:
  88705. // returning from await.
  88706. t1 = $async$temp1 + $async$temp2.S($async$result);
  88707. // goto break $label0$0
  88708. $async$goto = 3;
  88709. break;
  88710. case 5:
  88711. // join
  88712. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88713. break;
  88714. case 8:
  88715. // then
  88716. $async$temp1 = A;
  88717. $async$goto = 10;
  88718. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88719. case 10:
  88720. // returning from await.
  88721. t1 = "not " + $async$temp1.S($async$result);
  88722. // goto break $label0$0
  88723. $async$goto = 3;
  88724. break;
  88725. case 9:
  88726. // join
  88727. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88728. break;
  88729. case 11:
  88730. // then
  88731. $async$goto = 13;
  88732. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88733. case 13:
  88734. // returning from await.
  88735. t1 = $async$result;
  88736. // goto break $label0$0
  88737. $async$goto = 3;
  88738. break;
  88739. case 12:
  88740. // join
  88741. t1 = {};
  88742. t1.declaration = null;
  88743. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88744. break;
  88745. case 14:
  88746. // then
  88747. t1.declaration = condition;
  88748. $async$goto = 16;
  88749. return A._asyncAwait($async$self._async_evaluate0$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure2(t1, $async$self), type$.String), $async$_async_evaluate0$_visitSupportsCondition$1);
  88750. case 16:
  88751. // returning from await.
  88752. t1 = $async$result;
  88753. // goto break $label0$0
  88754. $async$goto = 3;
  88755. break;
  88756. case 15:
  88757. // join
  88758. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88759. break;
  88760. case 17:
  88761. // then
  88762. $async$temp1 = A;
  88763. $async$goto = 19;
  88764. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88765. case 19:
  88766. // returning from await.
  88767. $async$temp1 = $async$temp1.S($async$result) + "(";
  88768. $async$temp2 = A;
  88769. $async$goto = 20;
  88770. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88771. case 20:
  88772. // returning from await.
  88773. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88774. // goto break $label0$0
  88775. $async$goto = 3;
  88776. break;
  88777. case 18:
  88778. // join
  88779. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88780. break;
  88781. case 21:
  88782. // then
  88783. $async$temp1 = A;
  88784. $async$goto = 23;
  88785. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88786. case 23:
  88787. // returning from await.
  88788. t1 = "(" + $async$temp1.S($async$result) + ")";
  88789. // goto break $label0$0
  88790. $async$goto = 3;
  88791. break;
  88792. case 22:
  88793. // join
  88794. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88795. case 3:
  88796. // break $label0$0
  88797. $async$returnValue = t1;
  88798. // goto return
  88799. $async$goto = 1;
  88800. break;
  88801. case 1:
  88802. // return
  88803. return A._asyncReturn($async$returnValue, $async$completer);
  88804. }
  88805. });
  88806. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88807. },
  88808. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88809. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88810. },
  88811. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88812. var $async$goto = 0,
  88813. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88814. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88815. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88816. if ($async$errorCode === 1) {
  88817. $async$errorStack.push($async$result);
  88818. $async$goto = $async$handler;
  88819. }
  88820. for (;;)
  88821. switch ($async$goto) {
  88822. case 0:
  88823. // Function start
  88824. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88825. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88826. $async$handler = 3;
  88827. t1 = callback.call$0();
  88828. $async$goto = 6;
  88829. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88830. case 6:
  88831. // returning from await.
  88832. t1 = $async$result;
  88833. $async$returnValue = t1;
  88834. $async$next = [1];
  88835. // goto finally
  88836. $async$goto = 4;
  88837. break;
  88838. $async$next.push(5);
  88839. // goto finally
  88840. $async$goto = 4;
  88841. break;
  88842. case 3:
  88843. // uncaught
  88844. $async$next = [2];
  88845. case 4:
  88846. // finally
  88847. $async$handler = 2;
  88848. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88849. // goto the next finally handler
  88850. $async$goto = $async$next.pop();
  88851. break;
  88852. case 5:
  88853. // after finally
  88854. case 1:
  88855. // return
  88856. return A._asyncReturn($async$returnValue, $async$completer);
  88857. case 2:
  88858. // rethrow
  88859. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88860. }
  88861. });
  88862. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88863. },
  88864. _async_evaluate0$_parenthesize$2(condition, operator) {
  88865. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88866. },
  88867. _async_evaluate0$_parenthesize$1(condition) {
  88868. return this._async_evaluate0$_parenthesize$2(condition, null);
  88869. },
  88870. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88871. var $async$goto = 0,
  88872. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88873. $async$returnValue, $async$self = this, t1, $async$temp1;
  88874. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88875. if ($async$errorCode === 1)
  88876. return A._asyncRethrow($async$result, $async$completer);
  88877. for (;;)
  88878. switch ($async$goto) {
  88879. case 0:
  88880. // Function start
  88881. if (!(condition instanceof A.SupportsNegation0))
  88882. if (condition instanceof A.SupportsOperation0)
  88883. t1 = operator == null || operator !== condition.operator;
  88884. else
  88885. t1 = false;
  88886. else
  88887. t1 = true;
  88888. $async$goto = t1 ? 3 : 4;
  88889. break;
  88890. case 3:
  88891. // then
  88892. $async$temp1 = A;
  88893. $async$goto = 5;
  88894. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88895. case 5:
  88896. // returning from await.
  88897. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88898. // goto return
  88899. $async$goto = 1;
  88900. break;
  88901. case 4:
  88902. // join
  88903. $async$goto = 6;
  88904. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88905. case 6:
  88906. // returning from await.
  88907. $async$returnValue = $async$result;
  88908. // goto return
  88909. $async$goto = 1;
  88910. break;
  88911. case 1:
  88912. // return
  88913. return A._asyncReturn($async$returnValue, $async$completer);
  88914. }
  88915. });
  88916. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88917. },
  88918. visitVariableDeclaration$1(_, node) {
  88919. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88920. },
  88921. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88922. var $async$goto = 0,
  88923. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88924. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  88925. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88926. if ($async$errorCode === 1)
  88927. return A._asyncRethrow($async$result, $async$completer);
  88928. for (;;)
  88929. switch ($async$goto) {
  88930. case 0:
  88931. // Function start
  88932. if (node.isGuarded) {
  88933. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88934. t1 = node.name;
  88935. $async$self._async_evaluate0$_environment._async_environment0$_configurableVariables.add$1(0, t1);
  88936. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88937. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  88938. t1 = {};
  88939. t1.override = null;
  88940. if (_0_0 != null) {
  88941. t1.override = _0_0;
  88942. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88943. } else
  88944. t2 = false;
  88945. if (t2) {
  88946. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88947. $async$returnValue = null;
  88948. // goto return
  88949. $async$goto = 1;
  88950. break;
  88951. }
  88952. }
  88953. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88954. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88955. $async$returnValue = null;
  88956. // goto return
  88957. $async$goto = 1;
  88958. break;
  88959. }
  88960. }
  88961. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88962. t1 = $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
  88963. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_pwd);
  88964. }
  88965. t1 = node.expression;
  88966. t2 = t1.accept$1($async$self);
  88967. $async$temp1 = node;
  88968. $async$temp2 = A;
  88969. $async$temp3 = node;
  88970. $async$goto = 3;
  88971. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88972. case 3:
  88973. // returning from await.
  88974. $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure10($async$self, $async$temp3, $async$self._async_evaluate0$_withoutSlash$2($async$result, t1)));
  88975. $async$returnValue = null;
  88976. // goto return
  88977. $async$goto = 1;
  88978. break;
  88979. case 1:
  88980. // return
  88981. return A._asyncReturn($async$returnValue, $async$completer);
  88982. }
  88983. });
  88984. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88985. },
  88986. visitUseRule$1(_, node) {
  88987. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88988. },
  88989. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88990. var $async$goto = 0,
  88991. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88992. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88993. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88994. if ($async$errorCode === 1)
  88995. return A._asyncRethrow($async$result, $async$completer);
  88996. for (;;)
  88997. switch ($async$goto) {
  88998. case 0:
  88999. // Function start
  89000. t1 = node.configuration;
  89001. t2 = t1.length;
  89002. $async$goto = t2 !== 0 ? 3 : 5;
  89003. break;
  89004. case 3:
  89005. // then
  89006. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  89007. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  89008. case 6:
  89009. // for condition
  89010. if (!(_i < t2)) {
  89011. // goto after for
  89012. $async$goto = 8;
  89013. break;
  89014. }
  89015. variable = t1[_i];
  89016. t5 = variable.expression;
  89017. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  89018. t5 = t5.accept$1($async$self);
  89019. if (!t4._is(t5)) {
  89020. t6 = new A._Future($.Zone__current, t3);
  89021. t6._state = 8;
  89022. t6._resultOrListeners = t5;
  89023. t5 = t6;
  89024. }
  89025. $async$temp1 = values;
  89026. $async$temp2 = variable.name;
  89027. $async$temp3 = A;
  89028. $async$goto = 9;
  89029. return A._asyncAwait(t5, $async$visitUseRule$1);
  89030. case 9:
  89031. // returning from await.
  89032. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  89033. case 7:
  89034. // for update
  89035. ++_i;
  89036. // goto for condition
  89037. $async$goto = 6;
  89038. break;
  89039. case 8:
  89040. // after for
  89041. configuration = new A.ExplicitConfiguration0(node, values, null);
  89042. // goto join
  89043. $async$goto = 4;
  89044. break;
  89045. case 5:
  89046. // else
  89047. configuration = B.Configuration_Map_empty_null0;
  89048. case 4:
  89049. // join
  89050. $async$goto = 10;
  89051. return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure2($async$self, node), configuration), $async$visitUseRule$1);
  89052. case 10:
  89053. // returning from await.
  89054. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  89055. $async$returnValue = null;
  89056. // goto return
  89057. $async$goto = 1;
  89058. break;
  89059. case 1:
  89060. // return
  89061. return A._asyncReturn($async$returnValue, $async$completer);
  89062. }
  89063. });
  89064. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  89065. },
  89066. visitWarnRule$1(_, node) {
  89067. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  89068. },
  89069. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  89070. var $async$goto = 0,
  89071. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  89072. $async$returnValue, $async$self = this, value, t1, t2;
  89073. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89074. if ($async$errorCode === 1)
  89075. return A._asyncRethrow($async$result, $async$completer);
  89076. for (;;)
  89077. switch ($async$goto) {
  89078. case 0:
  89079. // Function start
  89080. $async$goto = 3;
  89081. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure2($async$self, node), type$.Value_2), $async$visitWarnRule$1);
  89082. case 3:
  89083. // returning from await.
  89084. value = $async$result;
  89085. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  89086. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  89087. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  89088. $async$returnValue = null;
  89089. // goto return
  89090. $async$goto = 1;
  89091. break;
  89092. case 1:
  89093. // return
  89094. return A._asyncReturn($async$returnValue, $async$completer);
  89095. }
  89096. });
  89097. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  89098. },
  89099. visitWhileRule$1(_, node) {
  89100. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  89101. },
  89102. visitBinaryOperationExpression$1(_, node) {
  89103. var t1, _this = this;
  89104. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  89105. t1 = node.operator;
  89106. t1 = t1 !== B.BinaryOperator_g6F0 && t1 !== B.BinaryOperator_ehp0;
  89107. } else
  89108. t1 = false;
  89109. if (t1)
  89110. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  89111. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  89112. },
  89113. _async_evaluate0$_slash$3(left, right, node) {
  89114. var left0, _1_2,
  89115. result = left.dividedBy$1(right),
  89116. _1_2_isSet = left instanceof A.SassNumber0,
  89117. right0 = null,
  89118. t1 = false;
  89119. if (_1_2_isSet) {
  89120. if (right instanceof A.SassNumber0) {
  89121. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  89122. right0 = right;
  89123. }
  89124. left0 = left;
  89125. _1_2 = right;
  89126. } else {
  89127. _1_2 = null;
  89128. left0 = null;
  89129. }
  89130. if (t1)
  89131. return type$.SassNumber_2._as(result).withSlash$2(left0, right0);
  89132. if (left instanceof A.SassNumber0)
  89133. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  89134. else
  89135. t1 = false;
  89136. if (t1) {
  89137. this._async_evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation2().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_v81);
  89138. return result;
  89139. }
  89140. return result;
  89141. },
  89142. _async_evaluate0$_operandAllowsSlash$1(node) {
  89143. var t1;
  89144. if (node instanceof A.FunctionExpression0)
  89145. if (node.namespace == null) {
  89146. t1 = node.name;
  89147. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  89148. } else
  89149. t1 = false;
  89150. else
  89151. t1 = true;
  89152. return t1;
  89153. },
  89154. visitValueExpression$1(_, node) {
  89155. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  89156. },
  89157. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  89158. var $async$goto = 0,
  89159. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89160. $async$returnValue;
  89161. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89162. if ($async$errorCode === 1)
  89163. return A._asyncRethrow($async$result, $async$completer);
  89164. for (;;)
  89165. switch ($async$goto) {
  89166. case 0:
  89167. // Function start
  89168. $async$returnValue = node.value;
  89169. // goto return
  89170. $async$goto = 1;
  89171. break;
  89172. case 1:
  89173. // return
  89174. return A._asyncReturn($async$returnValue, $async$completer);
  89175. }
  89176. });
  89177. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  89178. },
  89179. visitVariableExpression$1(_, node) {
  89180. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  89181. },
  89182. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  89183. var $async$goto = 0,
  89184. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89185. $async$returnValue, $async$self = this, result;
  89186. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89187. if ($async$errorCode === 1)
  89188. return A._asyncRethrow($async$result, $async$completer);
  89189. for (;;)
  89190. switch ($async$goto) {
  89191. case 0:
  89192. // Function start
  89193. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  89194. if (result != null) {
  89195. $async$returnValue = result;
  89196. // goto return
  89197. $async$goto = 1;
  89198. break;
  89199. }
  89200. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  89201. case 1:
  89202. // return
  89203. return A._asyncReturn($async$returnValue, $async$completer);
  89204. }
  89205. });
  89206. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  89207. },
  89208. visitUnaryOperationExpression$1(_, node) {
  89209. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  89210. },
  89211. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  89212. var $async$goto = 0,
  89213. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89214. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  89215. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89216. if ($async$errorCode === 1)
  89217. return A._asyncRethrow($async$result, $async$completer);
  89218. for (;;)
  89219. switch ($async$goto) {
  89220. case 0:
  89221. // Function start
  89222. $async$temp1 = node;
  89223. $async$temp2 = A;
  89224. $async$temp3 = node;
  89225. $async$goto = 3;
  89226. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  89227. case 3:
  89228. // returning from await.
  89229. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  89230. // goto return
  89231. $async$goto = 1;
  89232. break;
  89233. case 1:
  89234. // return
  89235. return A._asyncReturn($async$returnValue, $async$completer);
  89236. }
  89237. });
  89238. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  89239. },
  89240. visitBooleanExpression$1(_, node) {
  89241. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  89242. },
  89243. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  89244. var $async$goto = 0,
  89245. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  89246. $async$returnValue;
  89247. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89248. if ($async$errorCode === 1)
  89249. return A._asyncRethrow($async$result, $async$completer);
  89250. for (;;)
  89251. switch ($async$goto) {
  89252. case 0:
  89253. // Function start
  89254. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89255. // goto return
  89256. $async$goto = 1;
  89257. break;
  89258. case 1:
  89259. // return
  89260. return A._asyncReturn($async$returnValue, $async$completer);
  89261. }
  89262. });
  89263. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  89264. },
  89265. visitIfExpression$1(_, node) {
  89266. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  89267. },
  89268. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  89269. var $async$goto = 0,
  89270. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89271. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  89272. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89273. if ($async$errorCode === 1)
  89274. return A._asyncRethrow($async$result, $async$completer);
  89275. for (;;)
  89276. switch ($async$goto) {
  89277. case 0:
  89278. // Function start
  89279. $async$goto = 3;
  89280. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  89281. case 3:
  89282. // returning from await.
  89283. _0_0 = $async$result;
  89284. positional = _0_0._0;
  89285. named = _0_0._1;
  89286. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  89287. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  89288. if (condition == null) {
  89289. t1 = named.$index(0, "condition");
  89290. t1.toString;
  89291. condition = t1;
  89292. }
  89293. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  89294. if (ifTrue == null) {
  89295. t1 = named.$index(0, "if-true");
  89296. t1.toString;
  89297. ifTrue = t1;
  89298. }
  89299. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  89300. if (ifFalse == null) {
  89301. t1 = named.$index(0, "if-false");
  89302. t1.toString;
  89303. ifFalse = t1;
  89304. }
  89305. $async$goto = 4;
  89306. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  89307. case 4:
  89308. // returning from await.
  89309. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  89310. t1 = result.accept$1($async$self);
  89311. $async$goto = 5;
  89312. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  89313. case 5:
  89314. // returning from await.
  89315. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  89316. // goto return
  89317. $async$goto = 1;
  89318. break;
  89319. case 1:
  89320. // return
  89321. return A._asyncReturn($async$returnValue, $async$completer);
  89322. }
  89323. });
  89324. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  89325. },
  89326. visitNullExpression$1(_, node) {
  89327. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  89328. },
  89329. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  89330. var $async$goto = 0,
  89331. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89332. $async$returnValue;
  89333. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89334. if ($async$errorCode === 1)
  89335. return A._asyncRethrow($async$result, $async$completer);
  89336. for (;;)
  89337. switch ($async$goto) {
  89338. case 0:
  89339. // Function start
  89340. $async$returnValue = B.C__SassNull0;
  89341. // goto return
  89342. $async$goto = 1;
  89343. break;
  89344. case 1:
  89345. // return
  89346. return A._asyncReturn($async$returnValue, $async$completer);
  89347. }
  89348. });
  89349. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  89350. },
  89351. visitNumberExpression$1(_, node) {
  89352. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  89353. },
  89354. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  89355. var $async$goto = 0,
  89356. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  89357. $async$returnValue;
  89358. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89359. if ($async$errorCode === 1)
  89360. return A._asyncRethrow($async$result, $async$completer);
  89361. for (;;)
  89362. switch ($async$goto) {
  89363. case 0:
  89364. // Function start
  89365. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  89366. // goto return
  89367. $async$goto = 1;
  89368. break;
  89369. case 1:
  89370. // return
  89371. return A._asyncReturn($async$returnValue, $async$completer);
  89372. }
  89373. });
  89374. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  89375. },
  89376. visitParenthesizedExpression$1(_, node) {
  89377. var _this = this;
  89378. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  89379. },
  89380. visitColorExpression$1(_, node) {
  89381. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  89382. },
  89383. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  89384. var $async$goto = 0,
  89385. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  89386. $async$returnValue;
  89387. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89388. if ($async$errorCode === 1)
  89389. return A._asyncRethrow($async$result, $async$completer);
  89390. for (;;)
  89391. switch ($async$goto) {
  89392. case 0:
  89393. // Function start
  89394. $async$returnValue = node.value;
  89395. // goto return
  89396. $async$goto = 1;
  89397. break;
  89398. case 1:
  89399. // return
  89400. return A._asyncReturn($async$returnValue, $async$completer);
  89401. }
  89402. });
  89403. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  89404. },
  89405. visitListExpression$1(_, node) {
  89406. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  89407. },
  89408. visitListExpression$body$_EvaluateVisitor0(_, node) {
  89409. var $async$goto = 0,
  89410. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  89411. $async$returnValue, $async$self = this, $async$temp1;
  89412. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89413. if ($async$errorCode === 1)
  89414. return A._asyncRethrow($async$result, $async$completer);
  89415. for (;;)
  89416. switch ($async$goto) {
  89417. case 0:
  89418. // Function start
  89419. $async$temp1 = A;
  89420. $async$goto = 3;
  89421. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  89422. case 3:
  89423. // returning from await.
  89424. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  89425. // goto return
  89426. $async$goto = 1;
  89427. break;
  89428. case 1:
  89429. // return
  89430. return A._asyncReturn($async$returnValue, $async$completer);
  89431. }
  89432. });
  89433. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  89434. },
  89435. visitMapExpression$1(_, node) {
  89436. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  89437. },
  89438. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  89439. var $async$goto = 0,
  89440. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  89441. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  89442. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89443. if ($async$errorCode === 1)
  89444. return A._asyncRethrow($async$result, $async$completer);
  89445. for (;;)
  89446. switch ($async$goto) {
  89447. case 0:
  89448. // Function start
  89449. t1 = type$.Value_2;
  89450. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  89451. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  89452. t2 = node.pairs, t3 = t2.length, _i = 0;
  89453. case 3:
  89454. // for condition
  89455. if (!(_i < t3)) {
  89456. // goto after for
  89457. $async$goto = 5;
  89458. break;
  89459. }
  89460. t4 = t2[_i];
  89461. key = t4._0;
  89462. $async$goto = 6;
  89463. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  89464. case 6:
  89465. // returning from await.
  89466. keyValue = $async$result;
  89467. $async$goto = 7;
  89468. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  89469. case 7:
  89470. // returning from await.
  89471. valueValue = $async$result;
  89472. if (map.containsKey$1(keyValue)) {
  89473. t1 = keyNodes.$index(0, keyValue);
  89474. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  89475. t1 = key.get$span(key);
  89476. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  89477. if (oldValueSpan != null)
  89478. t2.$indexSet(0, oldValueSpan, "first key");
  89479. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  89480. }
  89481. map.$indexSet(0, keyValue, valueValue);
  89482. keyNodes.$indexSet(0, keyValue, key);
  89483. case 4:
  89484. // for update
  89485. ++_i;
  89486. // goto for condition
  89487. $async$goto = 3;
  89488. break;
  89489. case 5:
  89490. // after for
  89491. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  89492. // goto return
  89493. $async$goto = 1;
  89494. break;
  89495. case 1:
  89496. // return
  89497. return A._asyncReturn($async$returnValue, $async$completer);
  89498. }
  89499. });
  89500. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  89501. },
  89502. visitFunctionExpression$1(_, node) {
  89503. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  89504. },
  89505. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89506. var $async$goto = 0,
  89507. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89508. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  89509. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89510. if ($async$errorCode === 1)
  89511. return A._asyncRethrow($async$result, $async$completer);
  89512. for (;;)
  89513. switch ($async$goto) {
  89514. case 0:
  89515. // Function start
  89516. t1 = {};
  89517. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure8($async$self, node));
  89518. t1.$function = $function;
  89519. $async$goto = $function == null || B.JSString_methods.startsWith$1(node.originalName, "--") ? 3 : 4;
  89520. break;
  89521. case 3:
  89522. // then
  89523. if (node.namespace != null)
  89524. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  89525. t2 = node.name;
  89526. _0_0 = t2.toLowerCase();
  89527. t3 = false;
  89528. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  89529. t3 = node.$arguments;
  89530. t4 = t3.named;
  89531. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  89532. $name = _0_0;
  89533. } else
  89534. $name = null;
  89535. $async$goto = t3 ? 5 : 6;
  89536. break;
  89537. case 5:
  89538. // then
  89539. $async$goto = 7;
  89540. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  89541. case 7:
  89542. // returning from await.
  89543. $async$returnValue = $async$result;
  89544. // goto return
  89545. $async$goto = 1;
  89546. break;
  89547. case 6:
  89548. // join
  89549. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0 ? 8 : 9;
  89550. break;
  89551. case 8:
  89552. // then
  89553. $async$goto = 10;
  89554. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  89555. case 10:
  89556. // returning from await.
  89557. $async$returnValue = $async$result;
  89558. // goto return
  89559. $async$goto = 1;
  89560. break;
  89561. case 9:
  89562. // join
  89563. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  89564. t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  89565. case 4:
  89566. // join
  89567. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89568. $async$self._async_evaluate0$_inFunction = true;
  89569. $async$goto = 11;
  89570. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure10(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
  89571. case 11:
  89572. // returning from await.
  89573. result = $async$result;
  89574. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89575. $async$returnValue = result;
  89576. // goto return
  89577. $async$goto = 1;
  89578. break;
  89579. case 1:
  89580. // return
  89581. return A._asyncReturn($async$returnValue, $async$completer);
  89582. }
  89583. });
  89584. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  89585. },
  89586. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  89587. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89588. },
  89589. _async_evaluate0$_visitCalculation$1(node) {
  89590. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  89591. },
  89592. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89593. var $async$goto = 0,
  89594. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89595. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  89596. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89597. if ($async$errorCode === 1)
  89598. return A._asyncRethrow($async$result, $async$completer);
  89599. for (;;)
  89600. switch ($async$goto) {
  89601. case 0:
  89602. // Function start
  89603. t2 = node.$arguments;
  89604. t3 = t2.named;
  89605. if (t3.get$isNotEmpty(t3))
  89606. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  89607. else if (t2.rest != null)
  89608. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  89609. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  89610. t3 = A._setArrayType([], type$.JSArray_Object);
  89611. t2 = t2.positional, t4 = t2.length, _i = 0;
  89612. case 3:
  89613. // for condition
  89614. if (!(_i < t4)) {
  89615. // goto after for
  89616. $async$goto = 5;
  89617. break;
  89618. }
  89619. $async$temp1 = t3;
  89620. $async$goto = 6;
  89621. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  89622. case 6:
  89623. // returning from await.
  89624. $async$temp1.push($async$result);
  89625. case 4:
  89626. // for update
  89627. ++_i;
  89628. // goto for condition
  89629. $async$goto = 3;
  89630. break;
  89631. case 5:
  89632. // after for
  89633. $arguments = t3;
  89634. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  89635. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  89636. // goto return
  89637. $async$goto = 1;
  89638. break;
  89639. }
  89640. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89641. $async$self._async_evaluate0$_callableNode = node;
  89642. try {
  89643. t1 = null;
  89644. t3 = node.name;
  89645. _0_0 = t3.toLowerCase();
  89646. $label0$0: {
  89647. if ("calc" === _0_0) {
  89648. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  89649. break $label0$0;
  89650. }
  89651. if ("sqrt" === _0_0) {
  89652. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  89653. break $label0$0;
  89654. }
  89655. if ("sin" === _0_0) {
  89656. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  89657. break $label0$0;
  89658. }
  89659. if ("cos" === _0_0) {
  89660. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  89661. break $label0$0;
  89662. }
  89663. if ("tan" === _0_0) {
  89664. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  89665. break $label0$0;
  89666. }
  89667. if ("asin" === _0_0) {
  89668. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  89669. break $label0$0;
  89670. }
  89671. if ("acos" === _0_0) {
  89672. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89673. break $label0$0;
  89674. }
  89675. if ("atan" === _0_0) {
  89676. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89677. break $label0$0;
  89678. }
  89679. if ("abs" === _0_0) {
  89680. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89681. break $label0$0;
  89682. }
  89683. if ("exp" === _0_0) {
  89684. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89685. break $label0$0;
  89686. }
  89687. if ("sign" === _0_0) {
  89688. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89689. break $label0$0;
  89690. }
  89691. if ("min" === _0_0) {
  89692. t1 = A.SassCalculation_min0($arguments);
  89693. break $label0$0;
  89694. }
  89695. if ("max" === _0_0) {
  89696. t1 = A.SassCalculation_max0($arguments);
  89697. break $label0$0;
  89698. }
  89699. if ("hypot" === _0_0) {
  89700. t1 = A.SassCalculation_hypot0($arguments);
  89701. break $label0$0;
  89702. }
  89703. if ("pow" === _0_0) {
  89704. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89705. break $label0$0;
  89706. }
  89707. if ("atan2" === _0_0) {
  89708. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89709. break $label0$0;
  89710. }
  89711. if ("log" === _0_0) {
  89712. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89713. break $label0$0;
  89714. }
  89715. if ("mod" === _0_0) {
  89716. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89717. break $label0$0;
  89718. }
  89719. if ("rem" === _0_0) {
  89720. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89721. break $label0$0;
  89722. }
  89723. if ("round" === _0_0) {
  89724. t1 = A.SassCalculation_roundInternal0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure2($async$self, node));
  89725. break $label0$0;
  89726. }
  89727. if ("clamp" === _0_0) {
  89728. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89729. break $label0$0;
  89730. }
  89731. if ("calc-size" === _0_0) {
  89732. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89733. break $label0$0;
  89734. }
  89735. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89736. t1 = A.throwExpression(t3);
  89737. }
  89738. t1 = t1;
  89739. $async$returnValue = t1;
  89740. // goto return
  89741. $async$goto = 1;
  89742. break;
  89743. } catch (exception) {
  89744. t1 = A.unwrapException(exception);
  89745. if (t1 instanceof A.SassScriptException0) {
  89746. error = t1;
  89747. stackTrace = A.getTraceFromException(exception);
  89748. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89749. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89750. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89751. } else
  89752. throw exception;
  89753. } finally {
  89754. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89755. }
  89756. case 1:
  89757. // return
  89758. return A._asyncReturn($async$returnValue, $async$completer);
  89759. }
  89760. });
  89761. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89762. },
  89763. _async_evaluate0$_checkCalculationArguments$1(node) {
  89764. var t1, _0_0,
  89765. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89766. $label0$0: {
  89767. t1 = node.name;
  89768. _0_0 = t1.toLowerCase();
  89769. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  89770. check.call$1(1);
  89771. break $label0$0;
  89772. }
  89773. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89774. check.call$0();
  89775. break $label0$0;
  89776. }
  89777. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89778. check.call$1(2);
  89779. break $label0$0;
  89780. }
  89781. if ("round" === _0_0 || "clamp" === _0_0) {
  89782. check.call$1(3);
  89783. break $label0$0;
  89784. }
  89785. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89786. }
  89787. },
  89788. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89789. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89790. for (i = 0; t1 = args.length, i < t1; ++i) {
  89791. _0_0 = args[i];
  89792. if (_0_0 instanceof A.SassNumber0) {
  89793. t1 = _0_0.get$hasComplexUnits();
  89794. arg = _0_0;
  89795. } else {
  89796. arg = null;
  89797. t1 = false;
  89798. }
  89799. if (t1) {
  89800. t1 = A.S(arg);
  89801. t2 = nodesWithSpans[i];
  89802. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89803. }
  89804. }
  89805. for (i = 0; i < t1 - 1; ++i) {
  89806. number1 = args[i];
  89807. if (!(number1 instanceof A.SassNumber0))
  89808. continue;
  89809. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89810. number2 = args[j];
  89811. if (!(number2 instanceof A.SassNumber0))
  89812. continue;
  89813. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89814. continue;
  89815. t1 = number1.toString$0(0);
  89816. t2 = number2.toString$0(0);
  89817. t3 = nodesWithSpans[i];
  89818. t3 = t3.get$span(t3);
  89819. t4 = number1.toString$0(0);
  89820. t5 = nodesWithSpans[j];
  89821. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89822. t6 = nodesWithSpans[i];
  89823. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89824. }
  89825. }
  89826. },
  89827. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89828. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89829. },
  89830. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89831. var $async$goto = 0,
  89832. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89833. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89834. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89835. if ($async$errorCode === 1)
  89836. return A._asyncRethrow($async$result, $async$completer);
  89837. for (;;)
  89838. switch ($async$goto) {
  89839. case 0:
  89840. // Function start
  89841. t1 = node instanceof A.ParenthesizedExpression0;
  89842. inner = t1 ? node.expression : null;
  89843. $async$goto = t1 ? 3 : 4;
  89844. break;
  89845. case 3:
  89846. // then
  89847. $async$goto = 5;
  89848. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89849. case 5:
  89850. // returning from await.
  89851. result = $async$result;
  89852. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89853. // goto return
  89854. $async$goto = 1;
  89855. break;
  89856. case 4:
  89857. // join
  89858. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89859. break;
  89860. case 6:
  89861. // then
  89862. t1 = node.text;
  89863. t2 = t1.get$asPlain();
  89864. _0_0 = t2 == null ? null : t2.toLowerCase();
  89865. if ("pi" === _0_0) {
  89866. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89867. // goto break $label0$0
  89868. $async$goto = 8;
  89869. break;
  89870. }
  89871. if ("e" === _0_0) {
  89872. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89873. // goto break $label0$0
  89874. $async$goto = 8;
  89875. break;
  89876. }
  89877. if ("infinity" === _0_0) {
  89878. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89879. // goto break $label0$0
  89880. $async$goto = 8;
  89881. break;
  89882. }
  89883. if ("-infinity" === _0_0) {
  89884. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89885. // goto break $label0$0
  89886. $async$goto = 8;
  89887. break;
  89888. }
  89889. if ("nan" === _0_0) {
  89890. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89891. // goto break $label0$0
  89892. $async$goto = 8;
  89893. break;
  89894. }
  89895. $async$temp1 = A;
  89896. $async$goto = 9;
  89897. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89898. case 9:
  89899. // returning from await.
  89900. t1 = new $async$temp1.SassString0($async$result, false);
  89901. // goto break $label0$0
  89902. $async$goto = 8;
  89903. break;
  89904. case 8:
  89905. // break $label0$0
  89906. $async$returnValue = t1;
  89907. // goto return
  89908. $async$goto = 1;
  89909. break;
  89910. case 7:
  89911. // join
  89912. _box_0 = {};
  89913. _box_0.right = _box_0.left = _box_0.operator = null;
  89914. t1 = node instanceof A.BinaryOperationExpression0;
  89915. if (t1) {
  89916. _box_0.operator = node.operator;
  89917. _box_0.left = node.left;
  89918. _box_0.right = node.right;
  89919. }
  89920. $async$goto = t1 ? 10 : 11;
  89921. break;
  89922. case 10:
  89923. // then
  89924. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89925. $async$goto = 12;
  89926. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure2(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89927. case 12:
  89928. // returning from await.
  89929. $async$returnValue = $async$result;
  89930. // goto return
  89931. $async$goto = 1;
  89932. break;
  89933. case 11:
  89934. // join
  89935. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89936. break;
  89937. case 13:
  89938. // then
  89939. $async$goto = 15;
  89940. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89941. case 15:
  89942. // returning from await.
  89943. _1_0 = $async$result;
  89944. $label1$1: {
  89945. if (_1_0 instanceof A.SassNumber0) {
  89946. t1 = _1_0;
  89947. break $label1$1;
  89948. }
  89949. if (_1_0 instanceof A.SassCalculation0) {
  89950. t1 = _1_0;
  89951. break $label1$1;
  89952. }
  89953. if (_1_0 instanceof A.SassString0) {
  89954. t1 = !_1_0._string0$_hasQuotes;
  89955. result = _1_0;
  89956. } else {
  89957. result = null;
  89958. t1 = false;
  89959. }
  89960. if (t1) {
  89961. t1 = result;
  89962. break $label1$1;
  89963. }
  89964. t1 = A.throwExpression($async$self._async_evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  89965. }
  89966. $async$returnValue = t1;
  89967. // goto return
  89968. $async$goto = 1;
  89969. break;
  89970. case 14:
  89971. // join
  89972. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_SrV0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89973. break;
  89974. case 16:
  89975. // then
  89976. t1 = A._setArrayType([], type$.JSArray_Object);
  89977. t2 = node.contents, t3 = t2.length, _i = 0;
  89978. case 18:
  89979. // for condition
  89980. if (!(_i < t3)) {
  89981. // goto after for
  89982. $async$goto = 20;
  89983. break;
  89984. }
  89985. $async$temp1 = t1;
  89986. $async$goto = 21;
  89987. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89988. case 21:
  89989. // returning from await.
  89990. $async$temp1.push($async$result);
  89991. case 19:
  89992. // for update
  89993. ++_i;
  89994. // goto for condition
  89995. $async$goto = 18;
  89996. break;
  89997. case 20:
  89998. // after for
  89999. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  90000. for (i = 0; i < t1.length; ++i) {
  90001. t3 = t1[i];
  90002. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  90003. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  90004. }
  90005. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  90006. // goto return
  90007. $async$goto = 1;
  90008. break;
  90009. case 17:
  90010. // join
  90011. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  90012. case 1:
  90013. // return
  90014. return A._asyncReturn($async$returnValue, $async$completer);
  90015. }
  90016. });
  90017. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  90018. },
  90019. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  90020. var t2, t3, t4, textBetweenOperands, first, last,
  90021. t1 = node.operator;
  90022. if (t1 !== B.BinaryOperator_jCK0 && t1 !== B.BinaryOperator_tDf0)
  90023. return;
  90024. t1 = node.left;
  90025. t2 = t1.get$span(t1);
  90026. t2 = t2.get$file(t2);
  90027. t3 = node.right;
  90028. t4 = t3.get$span(t3);
  90029. if (t2 !== t4.get$file(t4))
  90030. return;
  90031. t2 = t1.get$span(t1);
  90032. t2 = t2.get$end(t2);
  90033. t4 = t3.get$span(t3);
  90034. if (t2.offset >= t4.get$start(t4).offset)
  90035. return;
  90036. t2 = t1.get$span(t1);
  90037. t2 = t2.get$file(t2);
  90038. t1 = t1.get$span(t1);
  90039. t1 = t1.get$end(t1);
  90040. t3 = t3.get$span(t3);
  90041. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  90042. first = textBetweenOperands.charCodeAt(0);
  90043. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  90044. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  90045. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  90046. else
  90047. t1 = true;
  90048. if (t1)
  90049. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  90050. },
  90051. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  90052. var t1;
  90053. $label0$0: {
  90054. if (B.BinaryOperator_jCK0 === operator) {
  90055. t1 = B.CalculationOperator_dpX0;
  90056. break $label0$0;
  90057. }
  90058. if (B.BinaryOperator_tDf0 === operator) {
  90059. t1 = B.CalculationOperator_KrC0;
  90060. break $label0$0;
  90061. }
  90062. if (B.BinaryOperator_wkM0 === operator) {
  90063. t1 = B.CalculationOperator_LPB0;
  90064. break $label0$0;
  90065. }
  90066. if (B.BinaryOperator_ehp0 === operator) {
  90067. t1 = B.CalculationOperator_wFL0;
  90068. break $label0$0;
  90069. }
  90070. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  90071. }
  90072. return t1;
  90073. },
  90074. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  90075. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  90076. for (t1 = elements.length, i = 1; i < t1; ++i) {
  90077. t2 = i - 1;
  90078. previous = elements[t2];
  90079. current = elements[i];
  90080. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  90081. continue;
  90082. t1 = node.contents;
  90083. previousNode = t1[t2];
  90084. currentNode = t1[i];
  90085. if (currentNode instanceof A.UnaryOperationExpression0) {
  90086. _0_2 = currentNode.operator;
  90087. if (B.UnaryOperator_hCO0 !== _0_2)
  90088. t1 = B.UnaryOperator_n2K0 === _0_2;
  90089. else
  90090. t1 = true;
  90091. } else
  90092. t1 = false;
  90093. if (!t1)
  90094. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  90095. else
  90096. t1 = true;
  90097. if (t1)
  90098. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  90099. else
  90100. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  90101. }
  90102. },
  90103. visitInterpolatedFunctionExpression$1(_, node) {
  90104. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  90105. },
  90106. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  90107. var $async$goto = 0,
  90108. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90109. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  90110. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90111. if ($async$errorCode === 1)
  90112. return A._asyncRethrow($async$result, $async$completer);
  90113. for (;;)
  90114. switch ($async$goto) {
  90115. case 0:
  90116. // Function start
  90117. $async$goto = 3;
  90118. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  90119. case 3:
  90120. // returning from await.
  90121. t1 = $async$result;
  90122. oldInFunction = $async$self._async_evaluate0$_inFunction;
  90123. $async$self._async_evaluate0$_inFunction = true;
  90124. $async$goto = 4;
  90125. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2($async$self, node, new A.PlainCssCallable0(t1)), type$.Value_2), $async$visitInterpolatedFunctionExpression$1);
  90126. case 4:
  90127. // returning from await.
  90128. result = $async$result;
  90129. $async$self._async_evaluate0$_inFunction = oldInFunction;
  90130. $async$returnValue = result;
  90131. // goto return
  90132. $async$goto = 1;
  90133. break;
  90134. case 1:
  90135. // return
  90136. return A._asyncReturn($async$returnValue, $async$completer);
  90137. }
  90138. });
  90139. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  90140. },
  90141. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  90142. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  90143. },
  90144. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  90145. var $async$goto = 0,
  90146. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90147. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  90148. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90149. if ($async$errorCode === 1)
  90150. return A._asyncRethrow($async$result, $async$completer);
  90151. for (;;)
  90152. switch ($async$goto) {
  90153. case 0:
  90154. // Function start
  90155. $async$goto = 3;
  90156. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  90157. case 3:
  90158. // returning from await.
  90159. evaluated = $async$result;
  90160. $name = callable.declaration.name;
  90161. if ($name !== "@content")
  90162. $name += "()";
  90163. oldInDependency = $async$self._async_evaluate0$_inDependency;
  90164. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  90165. $async$goto = 4;
  90166. return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure2($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  90167. case 4:
  90168. // returning from await.
  90169. result = $async$result;
  90170. $async$self._async_evaluate0$_inDependency = oldInDependency;
  90171. $async$returnValue = result;
  90172. // goto return
  90173. $async$goto = 1;
  90174. break;
  90175. case 1:
  90176. // return
  90177. return A._asyncReturn($async$returnValue, $async$completer);
  90178. }
  90179. });
  90180. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  90181. },
  90182. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  90183. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  90184. },
  90185. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  90186. var $async$goto = 0,
  90187. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90188. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  90189. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90190. if ($async$errorCode === 1) {
  90191. $async$errorStack.push($async$result);
  90192. $async$goto = $async$handler;
  90193. }
  90194. for (;;)
  90195. switch ($async$goto) {
  90196. case 0:
  90197. // Function start
  90198. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  90199. break;
  90200. case 3:
  90201. // then
  90202. $async$goto = 6;
  90203. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  90204. case 6:
  90205. // returning from await.
  90206. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  90207. // goto return
  90208. $async$goto = 1;
  90209. break;
  90210. // goto join
  90211. $async$goto = 4;
  90212. break;
  90213. case 5:
  90214. // else
  90215. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  90216. break;
  90217. case 7:
  90218. // then
  90219. $async$goto = 10;
  90220. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure2($async$self, callable), type$.Value_2), $async$_async_evaluate0$_runFunctionCallable$3);
  90221. case 10:
  90222. // returning from await.
  90223. $async$returnValue = $async$result;
  90224. // goto return
  90225. $async$goto = 1;
  90226. break;
  90227. // goto join
  90228. $async$goto = 8;
  90229. break;
  90230. case 9:
  90231. // else
  90232. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  90233. break;
  90234. case 11:
  90235. // then
  90236. t1 = $arguments.named;
  90237. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  90238. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  90239. buffer = new A.StringBuffer(callable.name + "(");
  90240. $async$handler = 15;
  90241. first = true;
  90242. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  90243. case 18:
  90244. // for condition
  90245. if (!(_i < t2)) {
  90246. // goto after for
  90247. $async$goto = 20;
  90248. break;
  90249. }
  90250. argument = t1[_i];
  90251. if (first)
  90252. first = false;
  90253. else
  90254. buffer._contents += ", ";
  90255. t3 = buffer;
  90256. $async$temp1 = A;
  90257. $async$goto = 21;
  90258. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  90259. case 21:
  90260. // returning from await.
  90261. t4 = $async$temp1.S($async$result);
  90262. t3._contents += t4;
  90263. case 19:
  90264. // for update
  90265. ++_i;
  90266. // goto for condition
  90267. $async$goto = 18;
  90268. break;
  90269. case 20:
  90270. // after for
  90271. restArg = $arguments.rest;
  90272. $async$goto = restArg != null ? 22 : 23;
  90273. break;
  90274. case 22:
  90275. // then
  90276. $async$goto = 24;
  90277. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  90278. case 24:
  90279. // returning from await.
  90280. rest = $async$result;
  90281. if (!first)
  90282. buffer._contents += ", ";
  90283. t1 = buffer;
  90284. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  90285. t1._contents += t2;
  90286. case 23:
  90287. // join
  90288. $async$handler = 2;
  90289. // goto after finally
  90290. $async$goto = 17;
  90291. break;
  90292. case 15:
  90293. // catch
  90294. $async$handler = 14;
  90295. $async$exception = $async$errorStack.pop();
  90296. t1 = A.unwrapException($async$exception);
  90297. if (type$.SassRuntimeException_2._is(t1)) {
  90298. error = t1;
  90299. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  90300. throw $async$exception;
  90301. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  90302. } else
  90303. throw $async$exception;
  90304. // goto after finally
  90305. $async$goto = 17;
  90306. break;
  90307. case 14:
  90308. // uncaught
  90309. // goto rethrow
  90310. $async$goto = 2;
  90311. break;
  90312. case 17:
  90313. // after finally
  90314. t1 = buffer;
  90315. t2 = A.Primitives_stringFromCharCode(41);
  90316. t1._contents += t2;
  90317. t2 = buffer._contents;
  90318. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  90319. // goto return
  90320. $async$goto = 1;
  90321. break;
  90322. // goto join
  90323. $async$goto = 12;
  90324. break;
  90325. case 13:
  90326. // else
  90327. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  90328. case 12:
  90329. // join
  90330. case 8:
  90331. // join
  90332. case 4:
  90333. // join
  90334. case 1:
  90335. // return
  90336. return A._asyncReturn($async$returnValue, $async$completer);
  90337. case 2:
  90338. // rethrow
  90339. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  90340. }
  90341. });
  90342. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  90343. },
  90344. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  90345. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  90346. },
  90347. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  90348. var $async$goto = 0,
  90349. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90350. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, result, error, stackTrace, namedSet, _0_0, parameters, i, t1, t2, t3, parameter, t4, t5, t6, t7, rest, argumentList, exception, _box_0, evaluated, oldCallableNode, $async$exception;
  90351. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90352. if ($async$errorCode === 1) {
  90353. $async$errorStack.push($async$result);
  90354. $async$goto = $async$handler;
  90355. }
  90356. for (;;)
  90357. switch ($async$goto) {
  90358. case 0:
  90359. // Function start
  90360. _box_0 = {};
  90361. $async$goto = 3;
  90362. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  90363. case 3:
  90364. // returning from await.
  90365. evaluated = $async$result;
  90366. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  90367. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  90368. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  90369. _box_0.callback = _box_0.overload = null;
  90370. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  90371. _box_0.overload = _0_0._0;
  90372. _box_0.callback = _0_0._1;
  90373. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  90374. parameters = _box_0.overload.parameters;
  90375. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  90376. case 4:
  90377. // for condition
  90378. if (!(i < t1)) {
  90379. // goto after for
  90380. $async$goto = 6;
  90381. break;
  90382. }
  90383. parameter = parameters[i];
  90384. t4 = evaluated._values[2];
  90385. t5 = evaluated._values[0].remove$1(0, parameter.name);
  90386. $async$goto = t5 == null ? 7 : 8;
  90387. break;
  90388. case 7:
  90389. // then
  90390. t5 = parameter.defaultValue;
  90391. t6 = t5.accept$1($async$self);
  90392. if (!t3._is(t6)) {
  90393. t7 = new A._Future($.Zone__current, t2);
  90394. t7._state = 8;
  90395. t7._resultOrListeners = t6;
  90396. t6 = t7;
  90397. }
  90398. $async$goto = 9;
  90399. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  90400. case 9:
  90401. // returning from await.
  90402. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  90403. case 8:
  90404. // join
  90405. J.add$1$ax(t4, t5);
  90406. case 5:
  90407. // for update
  90408. ++i;
  90409. // goto for condition
  90410. $async$goto = 4;
  90411. break;
  90412. case 6:
  90413. // after for
  90414. if (_box_0.overload.restParameter != null) {
  90415. if (J.get$length$asx(evaluated._values[2]) > t1) {
  90416. rest = J.sublist$1$ax(evaluated._values[2], t1);
  90417. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  90418. } else
  90419. rest = B.List_empty21;
  90420. t1 = evaluated._values[0];
  90421. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_3_undecided0 ? B.ListSeparator_z0K0 : evaluated._values[4]);
  90422. J.add$1$ax(evaluated._values[2], argumentList);
  90423. } else
  90424. argumentList = null;
  90425. result = null;
  90426. $async$handler = 11;
  90427. $async$goto = 14;
  90428. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure9(_box_0, evaluated), type$.Value_2), $async$_async_evaluate0$_runBuiltInCallable$3);
  90429. case 14:
  90430. // returning from await.
  90431. result = $async$result;
  90432. $async$handler = 2;
  90433. // goto after finally
  90434. $async$goto = 13;
  90435. break;
  90436. case 11:
  90437. // catch
  90438. $async$handler = 10;
  90439. $async$exception = $async$errorStack.pop();
  90440. t1 = A.unwrapException($async$exception);
  90441. if (t1 instanceof A.SassException0)
  90442. throw $async$exception;
  90443. else {
  90444. error = t1;
  90445. stackTrace = A.getTraceFromException($async$exception);
  90446. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  90447. }
  90448. // goto after finally
  90449. $async$goto = 13;
  90450. break;
  90451. case 10:
  90452. // uncaught
  90453. // goto rethrow
  90454. $async$goto = 2;
  90455. break;
  90456. case 13:
  90457. // after finally
  90458. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  90459. if (argumentList == null) {
  90460. $async$returnValue = result;
  90461. // goto return
  90462. $async$goto = 1;
  90463. break;
  90464. }
  90465. t1 = evaluated._values[0];
  90466. if (t1.get$isEmpty(t1)) {
  90467. $async$returnValue = result;
  90468. // goto return
  90469. $async$goto = 1;
  90470. break;
  90471. }
  90472. if (argumentList._argument_list$_wereKeywordsAccessed) {
  90473. $async$returnValue = result;
  90474. // goto return
  90475. $async$goto = 1;
  90476. break;
  90477. }
  90478. t1 = evaluated._values[0];
  90479. t1 = t1.get$keys(t1);
  90480. t1 = A.pluralize0("parameter", t1.get$length(t1), null);
  90481. t2 = evaluated._values[0];
  90482. t2 = t2.get$keys(t2);
  90483. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(t2.map$1$1(t2, new A._EvaluateVisitor__runBuiltInCallable_closure10(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  90484. case 1:
  90485. // return
  90486. return A._asyncReturn($async$returnValue, $async$completer);
  90487. case 2:
  90488. // rethrow
  90489. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  90490. }
  90491. });
  90492. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  90493. },
  90494. _async_evaluate0$_evaluateArguments$1($arguments) {
  90495. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  90496. },
  90497. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  90498. var $async$goto = 0,
  90499. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2),
  90500. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  90501. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90502. if ($async$errorCode === 1)
  90503. return A._asyncRethrow($async$result, $async$completer);
  90504. for (;;)
  90505. switch ($async$goto) {
  90506. case 0:
  90507. // Function start
  90508. positional = A._setArrayType([], type$.JSArray_Value_2);
  90509. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  90510. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  90511. case 3:
  90512. // for condition
  90513. if (!(_i < t2)) {
  90514. // goto after for
  90515. $async$goto = 5;
  90516. break;
  90517. }
  90518. expression = t1[_i];
  90519. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  90520. t5 = expression.accept$1($async$self);
  90521. if (!t4._is(t5)) {
  90522. t6 = new A._Future($.Zone__current, t3);
  90523. t6._state = 8;
  90524. t6._resultOrListeners = t5;
  90525. t5 = t6;
  90526. }
  90527. $async$temp1 = positional;
  90528. $async$goto = 6;
  90529. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  90530. case 6:
  90531. // returning from await.
  90532. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90533. positionalNodes.push(nodeForSpan);
  90534. case 4:
  90535. // for update
  90536. ++_i;
  90537. // goto for condition
  90538. $async$goto = 3;
  90539. break;
  90540. case 5:
  90541. // after for
  90542. t1 = type$.String;
  90543. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  90544. t2 = type$.AstNode_2;
  90545. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90546. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  90547. case 7:
  90548. // for condition
  90549. if (!t5.moveNext$0()) {
  90550. // goto after for
  90551. $async$goto = 8;
  90552. break;
  90553. }
  90554. t6 = t5.get$current(t5);
  90555. $name = t6._0;
  90556. value = t6._1;
  90557. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  90558. t6 = value.accept$1($async$self);
  90559. if (!t4._is(t6)) {
  90560. t7 = new A._Future($.Zone__current, t3);
  90561. t7._state = 8;
  90562. t7._resultOrListeners = t6;
  90563. t6 = t7;
  90564. }
  90565. $async$temp1 = named;
  90566. $async$temp2 = $name;
  90567. $async$goto = 9;
  90568. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  90569. case 9:
  90570. // returning from await.
  90571. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90572. namedNodes.$indexSet(0, $name, nodeForSpan);
  90573. // goto for condition
  90574. $async$goto = 7;
  90575. break;
  90576. case 8:
  90577. // after for
  90578. restArgs = $arguments.rest;
  90579. if (restArgs == null) {
  90580. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_3_undecided0]);
  90581. // goto return
  90582. $async$goto = 1;
  90583. break;
  90584. }
  90585. $async$goto = 10;
  90586. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90587. case 10:
  90588. // returning from await.
  90589. rest = $async$result;
  90590. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  90591. if (rest instanceof A.SassMap0) {
  90592. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  90593. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90594. for (t4 = rest._map0$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString_2; t4.moveNext$0();)
  90595. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  90596. namedNodes.addAll$1(0, t3);
  90597. separator = B.ListSeparator_undecided_null_3_undecided0;
  90598. } else if (rest instanceof A.SassList0) {
  90599. t3 = rest._list1$_contents;
  90600. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure12($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
  90601. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  90602. separator = rest._list1$_separator;
  90603. if (rest instanceof A.SassArgumentList0) {
  90604. rest._argument_list$_wereKeywordsAccessed = true;
  90605. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  90606. }
  90607. } else {
  90608. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  90609. positionalNodes.push(restNodeForSpan);
  90610. separator = B.ListSeparator_undecided_null_3_undecided0;
  90611. }
  90612. keywordRestArgs = $arguments.keywordRest;
  90613. if (keywordRestArgs == null) {
  90614. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90615. // goto return
  90616. $async$goto = 1;
  90617. break;
  90618. }
  90619. $async$goto = 11;
  90620. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90621. case 11:
  90622. // returning from await.
  90623. keywordRest = $async$result;
  90624. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  90625. if (keywordRest instanceof A.SassMap0) {
  90626. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  90627. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90628. for (t2 = keywordRest._map0$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString_2; t2.moveNext$0();)
  90629. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  90630. namedNodes.addAll$1(0, t1);
  90631. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90632. // goto return
  90633. $async$goto = 1;
  90634. break;
  90635. } else
  90636. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  90637. case 1:
  90638. // return
  90639. return A._asyncReturn($async$returnValue, $async$completer);
  90640. }
  90641. });
  90642. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  90643. },
  90644. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  90645. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  90646. },
  90647. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  90648. var $async$goto = 0,
  90649. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  90650. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  90651. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90652. if ($async$errorCode === 1)
  90653. return A._asyncRethrow($async$result, $async$completer);
  90654. for (;;)
  90655. switch ($async$goto) {
  90656. case 0:
  90657. // Function start
  90658. t1 = invocation.$arguments;
  90659. restArgs_ = t1.rest;
  90660. if (restArgs_ == null) {
  90661. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  90662. // goto return
  90663. $async$goto = 1;
  90664. break;
  90665. }
  90666. t2 = t1.positional;
  90667. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  90668. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  90669. $async$goto = 3;
  90670. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90671. case 3:
  90672. // returning from await.
  90673. rest = $async$result;
  90674. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90675. if (rest instanceof A.SassMap0)
  90676. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90677. else if (rest instanceof A.SassList0) {
  90678. t2 = rest._list1$_contents;
  90679. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure12($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
  90680. if (rest instanceof A.SassArgumentList0) {
  90681. rest._argument_list$_wereKeywordsAccessed = true;
  90682. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90683. }
  90684. } else
  90685. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90686. keywordRestArgs_ = t1.keywordRest;
  90687. if (keywordRestArgs_ == null) {
  90688. $async$returnValue = new A._Record_2(positional, named);
  90689. // goto return
  90690. $async$goto = 1;
  90691. break;
  90692. }
  90693. $async$goto = 4;
  90694. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90695. case 4:
  90696. // returning from await.
  90697. keywordRest = $async$result;
  90698. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90699. if (keywordRest instanceof A.SassMap0) {
  90700. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90701. $async$returnValue = new A._Record_2(positional, named);
  90702. // goto return
  90703. $async$goto = 1;
  90704. break;
  90705. } else
  90706. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90707. case 1:
  90708. // return
  90709. return A._asyncReturn($async$returnValue, $async$completer);
  90710. }
  90711. });
  90712. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90713. },
  90714. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90715. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90716. },
  90717. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90718. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90719. },
  90720. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90721. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90722. },
  90723. visitSelectorExpression$1(_, node) {
  90724. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90725. },
  90726. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90727. var $async$goto = 0,
  90728. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90729. $async$returnValue, $async$self = this, t1;
  90730. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90731. if ($async$errorCode === 1)
  90732. return A._asyncRethrow($async$result, $async$completer);
  90733. for (;;)
  90734. switch ($async$goto) {
  90735. case 0:
  90736. // Function start
  90737. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90738. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90739. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90740. // goto return
  90741. $async$goto = 1;
  90742. break;
  90743. case 1:
  90744. // return
  90745. return A._asyncReturn($async$returnValue, $async$completer);
  90746. }
  90747. });
  90748. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90749. },
  90750. visitStringExpression$1(_, node) {
  90751. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90752. },
  90753. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90754. var $async$goto = 0,
  90755. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90756. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90757. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90758. if ($async$errorCode === 1)
  90759. return A._asyncRethrow($async$result, $async$completer);
  90760. for (;;)
  90761. switch ($async$goto) {
  90762. case 0:
  90763. // Function start
  90764. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90765. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90766. t1 = A._setArrayType([], type$.JSArray_String);
  90767. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90768. case 3:
  90769. // for condition
  90770. if (!(_i < t3)) {
  90771. // goto after for
  90772. $async$goto = 5;
  90773. break;
  90774. }
  90775. value = t2[_i];
  90776. if (typeof value == "string") {
  90777. t4 = value;
  90778. // goto break $label0$0
  90779. $async$goto = 6;
  90780. break;
  90781. }
  90782. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90783. break;
  90784. case 7:
  90785. // then
  90786. $async$goto = 9;
  90787. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90788. case 9:
  90789. // returning from await.
  90790. _0_0 = $async$result;
  90791. $label1$1: {
  90792. if (_0_0 instanceof A.SassString0) {
  90793. text = _0_0._string0$_text;
  90794. t4 = text;
  90795. break $label1$1;
  90796. }
  90797. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90798. break $label1$1;
  90799. }
  90800. // goto break $label0$0
  90801. $async$goto = 6;
  90802. break;
  90803. case 8:
  90804. // join
  90805. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90806. case 6:
  90807. // break $label0$0
  90808. t1.push(t4);
  90809. case 4:
  90810. // for update
  90811. ++_i;
  90812. // goto for condition
  90813. $async$goto = 3;
  90814. break;
  90815. case 5:
  90816. // after for
  90817. t1 = B.JSArray_methods.join$0(t1);
  90818. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90819. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90820. // goto return
  90821. $async$goto = 1;
  90822. break;
  90823. case 1:
  90824. // return
  90825. return A._asyncReturn($async$returnValue, $async$completer);
  90826. }
  90827. });
  90828. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90829. },
  90830. visitSupportsExpression$1(_, expression) {
  90831. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90832. },
  90833. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90834. var $async$goto = 0,
  90835. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90836. $async$returnValue, $async$self = this, $async$temp1;
  90837. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90838. if ($async$errorCode === 1)
  90839. return A._asyncRethrow($async$result, $async$completer);
  90840. for (;;)
  90841. switch ($async$goto) {
  90842. case 0:
  90843. // Function start
  90844. $async$temp1 = A;
  90845. $async$goto = 3;
  90846. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90847. case 3:
  90848. // returning from await.
  90849. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90850. // goto return
  90851. $async$goto = 1;
  90852. break;
  90853. case 1:
  90854. // return
  90855. return A._asyncReturn($async$returnValue, $async$completer);
  90856. }
  90857. });
  90858. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90859. },
  90860. visitCssAtRule$1(node) {
  90861. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90862. },
  90863. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90864. var $async$goto = 0,
  90865. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90866. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90867. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90868. if ($async$errorCode === 1)
  90869. return A._asyncRethrow($async$result, $async$completer);
  90870. for (;;)
  90871. switch ($async$goto) {
  90872. case 0:
  90873. // Function start
  90874. if ($async$self._async_evaluate0$_declarationName != null)
  90875. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90876. if (node.isChildless) {
  90877. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  90878. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90879. // goto return
  90880. $async$goto = 1;
  90881. break;
  90882. }
  90883. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90884. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90885. t1 = node.name;
  90886. if (A.unvendor0(t1.value) === "keyframes")
  90887. $async$self._async_evaluate0$_inKeyframes = true;
  90888. else
  90889. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90890. $async$goto = 3;
  90891. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure6(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitCssAtRule$1);
  90892. case 3:
  90893. // returning from await.
  90894. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90895. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90896. case 1:
  90897. // return
  90898. return A._asyncReturn($async$returnValue, $async$completer);
  90899. }
  90900. });
  90901. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90902. },
  90903. visitCssComment$1(node) {
  90904. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90905. },
  90906. visitCssComment$body$_EvaluateVisitor0(node) {
  90907. var $async$goto = 0,
  90908. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90909. $async$self = this;
  90910. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90911. if ($async$errorCode === 1)
  90912. return A._asyncRethrow($async$result, $async$completer);
  90913. for (;;)
  90914. switch ($async$goto) {
  90915. case 0:
  90916. // Function start
  90917. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
  90918. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90919. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  90920. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90921. // implicit return
  90922. return A._asyncReturn(null, $async$completer);
  90923. }
  90924. });
  90925. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90926. },
  90927. visitCssDeclaration$1(node) {
  90928. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90929. },
  90930. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90931. var $async$goto = 0,
  90932. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90933. $async$self = this;
  90934. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90935. if ($async$errorCode === 1)
  90936. return A._asyncRethrow($async$result, $async$completer);
  90937. for (;;)
  90938. switch ($async$goto) {
  90939. case 0:
  90940. // Function start
  90941. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  90942. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap));
  90943. // implicit return
  90944. return A._asyncReturn(null, $async$completer);
  90945. }
  90946. });
  90947. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90948. },
  90949. visitCssImport$1(node) {
  90950. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90951. },
  90952. visitCssImport$body$_EvaluateVisitor0(node) {
  90953. var $async$goto = 0,
  90954. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90955. $async$self = this, t1, modifiableNode;
  90956. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90957. if ($async$errorCode === 1)
  90958. return A._asyncRethrow($async$result, $async$completer);
  90959. for (;;)
  90960. switch ($async$goto) {
  90961. case 0:
  90962. // Function start
  90963. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90964. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root")) {
  90965. $async$self._async_evaluate0$_copyParentAfterSibling$0();
  90966. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90967. } else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
  90968. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90969. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90970. } else {
  90971. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90972. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90973. }
  90974. // implicit return
  90975. return A._asyncReturn(null, $async$completer);
  90976. }
  90977. });
  90978. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90979. },
  90980. visitCssKeyframeBlock$1(node) {
  90981. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90982. },
  90983. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90984. var $async$goto = 0,
  90985. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90986. $async$self = this;
  90987. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90988. if ($async$errorCode === 1)
  90989. return A._asyncRethrow($async$result, $async$completer);
  90990. for (;;)
  90991. switch ($async$goto) {
  90992. case 0:
  90993. // Function start
  90994. $async$goto = 2;
  90995. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure6(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitCssKeyframeBlock$1);
  90996. case 2:
  90997. // returning from await.
  90998. // implicit return
  90999. return A._asyncReturn(null, $async$completer);
  91000. }
  91001. });
  91002. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  91003. },
  91004. visitCssMediaRule$1(node) {
  91005. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  91006. },
  91007. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  91008. var $async$goto = 0,
  91009. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91010. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  91011. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91012. if ($async$errorCode === 1)
  91013. return A._asyncRethrow($async$result, $async$completer);
  91014. for (;;)
  91015. switch ($async$goto) {
  91016. case 0:
  91017. // Function start
  91018. if ($async$self._async_evaluate0$_declarationName != null)
  91019. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  91020. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  91021. t1 = mergedQueries == null;
  91022. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  91023. // goto return
  91024. $async$goto = 1;
  91025. break;
  91026. }
  91027. if (t1)
  91028. mergedSources = B.Set_empty6;
  91029. else {
  91030. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  91031. t2.toString;
  91032. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  91033. t3 = $async$self._async_evaluate0$_mediaQueries;
  91034. t3.toString;
  91035. t2.addAll$1(0, t3);
  91036. t2.addAll$1(0, node.queries);
  91037. mergedSources = t2;
  91038. }
  91039. t1 = t1 ? node.queries : mergedQueries;
  91040. $async$goto = 3;
  91041. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure9($async$self, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure10(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitCssMediaRule$1);
  91042. case 3:
  91043. // returning from await.
  91044. case 1:
  91045. // return
  91046. return A._asyncReturn($async$returnValue, $async$completer);
  91047. }
  91048. });
  91049. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  91050. },
  91051. visitCssStyleRule$1(node) {
  91052. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  91053. },
  91054. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  91055. var $async$goto = 0,
  91056. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91057. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  91058. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91059. if ($async$errorCode === 1)
  91060. return A._asyncRethrow($async$result, $async$completer);
  91061. for (;;)
  91062. switch ($async$goto) {
  91063. case 0:
  91064. // Function start
  91065. if ($async$self._async_evaluate0$_declarationName != null)
  91066. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  91067. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  91068. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  91069. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  91070. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91071. _0_0 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91072. $label0$0: {
  91073. if (_0_0 == null) {
  91074. t1 = true;
  91075. break $label0$0;
  91076. }
  91077. if (_0_0.fromPlainCss) {
  91078. t1 = false;
  91079. break $label0$0;
  91080. }
  91081. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  91082. break $label0$0;
  91083. }
  91084. t2 = node._style_rule0$_selector._box0$_inner;
  91085. if (t1) {
  91086. t2 = t2.value;
  91087. t3 = styleRule == null ? null : styleRule.originalSelector;
  91088. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  91089. } else
  91090. originalSelector = t2.value;
  91091. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  91092. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  91093. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  91094. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  91095. $async$goto = 2;
  91096. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure6($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  91097. case 2:
  91098. // returning from await.
  91099. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  91100. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  91101. t2 = J.getInterceptor$asx(t1);
  91102. _1_1 = t2.get$length(t1);
  91103. if (_1_1 >= 1) {
  91104. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  91105. t1 = styleRule == null;
  91106. } else {
  91107. lastChild = null;
  91108. t1 = false;
  91109. }
  91110. if (t1)
  91111. lastChild.isGroupEnd = true;
  91112. // implicit return
  91113. return A._asyncReturn(null, $async$completer);
  91114. }
  91115. });
  91116. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  91117. },
  91118. visitCssStylesheet$1(node) {
  91119. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  91120. },
  91121. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  91122. var $async$goto = 0,
  91123. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91124. $async$self = this, t1;
  91125. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91126. if ($async$errorCode === 1)
  91127. return A._asyncRethrow($async$result, $async$completer);
  91128. for (;;)
  91129. switch ($async$goto) {
  91130. case 0:
  91131. // Function start
  91132. t1 = J.get$iterator$ax(node.get$children(node));
  91133. case 2:
  91134. // for condition
  91135. if (!t1.moveNext$0()) {
  91136. // goto after for
  91137. $async$goto = 3;
  91138. break;
  91139. }
  91140. $async$goto = 4;
  91141. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  91142. case 4:
  91143. // returning from await.
  91144. // goto for condition
  91145. $async$goto = 2;
  91146. break;
  91147. case 3:
  91148. // after for
  91149. // implicit return
  91150. return A._asyncReturn(null, $async$completer);
  91151. }
  91152. });
  91153. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  91154. },
  91155. visitCssSupportsRule$1(node) {
  91156. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  91157. },
  91158. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  91159. var $async$goto = 0,
  91160. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91161. $async$self = this;
  91162. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91163. if ($async$errorCode === 1)
  91164. return A._asyncRethrow($async$result, $async$completer);
  91165. for (;;)
  91166. switch ($async$goto) {
  91167. case 0:
  91168. // Function start
  91169. if ($async$self._async_evaluate0$_declarationName != null)
  91170. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  91171. $async$goto = 2;
  91172. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitCssSupportsRule$1);
  91173. case 2:
  91174. // returning from await.
  91175. // implicit return
  91176. return A._asyncReturn(null, $async$completer);
  91177. }
  91178. });
  91179. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  91180. },
  91181. _async_evaluate0$_handleReturn$1$2(list, callback) {
  91182. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  91183. },
  91184. _async_evaluate0$_handleReturn$2(list, callback) {
  91185. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  91186. },
  91187. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  91188. var $async$goto = 0,
  91189. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  91190. $async$returnValue, t1, _i, _0_0;
  91191. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91192. if ($async$errorCode === 1)
  91193. return A._asyncRethrow($async$result, $async$completer);
  91194. for (;;)
  91195. switch ($async$goto) {
  91196. case 0:
  91197. // Function start
  91198. t1 = list.length, _i = 0;
  91199. case 3:
  91200. // for condition
  91201. if (!(_i < list.length)) {
  91202. // goto after for
  91203. $async$goto = 5;
  91204. break;
  91205. }
  91206. $async$goto = 6;
  91207. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  91208. case 6:
  91209. // returning from await.
  91210. _0_0 = $async$result;
  91211. if (_0_0 != null) {
  91212. $async$returnValue = _0_0;
  91213. // goto return
  91214. $async$goto = 1;
  91215. break;
  91216. }
  91217. case 4:
  91218. // for update
  91219. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  91220. // goto for condition
  91221. $async$goto = 3;
  91222. break;
  91223. case 5:
  91224. // after for
  91225. $async$returnValue = null;
  91226. // goto return
  91227. $async$goto = 1;
  91228. break;
  91229. case 1:
  91230. // return
  91231. return A._asyncReturn($async$returnValue, $async$completer);
  91232. }
  91233. });
  91234. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  91235. },
  91236. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  91237. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  91238. },
  91239. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  91240. var $async$goto = 0,
  91241. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91242. $async$returnValue, $async$self = this, result, oldEnvironment;
  91243. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91244. if ($async$errorCode === 1)
  91245. return A._asyncRethrow($async$result, $async$completer);
  91246. for (;;)
  91247. switch ($async$goto) {
  91248. case 0:
  91249. // Function start
  91250. oldEnvironment = $async$self._async_evaluate0$_environment;
  91251. $async$self._async_evaluate0$_environment = environment;
  91252. $async$goto = 3;
  91253. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  91254. case 3:
  91255. // returning from await.
  91256. result = $async$result;
  91257. $async$self._async_evaluate0$_environment = oldEnvironment;
  91258. $async$returnValue = result;
  91259. // goto return
  91260. $async$goto = 1;
  91261. break;
  91262. case 1:
  91263. // return
  91264. return A._asyncReturn($async$returnValue, $async$completer);
  91265. }
  91266. });
  91267. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  91268. },
  91269. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  91270. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  91271. },
  91272. _async_evaluate0$_interpolationToValue$1(interpolation) {
  91273. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  91274. },
  91275. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  91276. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  91277. },
  91278. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  91279. var $async$goto = 0,
  91280. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  91281. $async$returnValue, $async$self = this, result, t1;
  91282. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91283. if ($async$errorCode === 1)
  91284. return A._asyncRethrow($async$result, $async$completer);
  91285. for (;;)
  91286. switch ($async$goto) {
  91287. case 0:
  91288. // Function start
  91289. $async$goto = 3;
  91290. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  91291. case 3:
  91292. // returning from await.
  91293. result = $async$result;
  91294. t1 = trim ? A.trimAscii0(result, true) : result;
  91295. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  91296. // goto return
  91297. $async$goto = 1;
  91298. break;
  91299. case 1:
  91300. // return
  91301. return A._asyncReturn($async$returnValue, $async$completer);
  91302. }
  91303. });
  91304. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  91305. },
  91306. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  91307. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  91308. },
  91309. _async_evaluate0$_performInterpolation$1(interpolation) {
  91310. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  91311. },
  91312. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  91313. var $async$goto = 0,
  91314. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  91315. $async$returnValue, $async$self = this;
  91316. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91317. if ($async$errorCode === 1)
  91318. return A._asyncRethrow($async$result, $async$completer);
  91319. for (;;)
  91320. switch ($async$goto) {
  91321. case 0:
  91322. // Function start
  91323. $async$goto = 3;
  91324. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  91325. case 3:
  91326. // returning from await.
  91327. $async$returnValue = $async$result._0;
  91328. // goto return
  91329. $async$goto = 1;
  91330. break;
  91331. case 1:
  91332. // return
  91333. return A._asyncReturn($async$returnValue, $async$completer);
  91334. }
  91335. });
  91336. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  91337. },
  91338. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  91339. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  91340. },
  91341. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  91342. var $async$goto = 0,
  91343. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  91344. $async$returnValue, $async$self = this, _0_0, result, map;
  91345. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91346. if ($async$errorCode === 1)
  91347. return A._asyncRethrow($async$result, $async$completer);
  91348. for (;;)
  91349. switch ($async$goto) {
  91350. case 0:
  91351. // Function start
  91352. $async$goto = 3;
  91353. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  91354. case 3:
  91355. // returning from await.
  91356. _0_0 = $async$result;
  91357. result = _0_0._0;
  91358. map = _0_0._1;
  91359. map.toString;
  91360. $async$returnValue = new A._Record_2(result, map);
  91361. // goto return
  91362. $async$goto = 1;
  91363. break;
  91364. case 1:
  91365. // return
  91366. return A._asyncReturn($async$returnValue, $async$completer);
  91367. }
  91368. });
  91369. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  91370. },
  91371. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  91372. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  91373. },
  91374. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  91375. var $async$goto = 0,
  91376. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  91377. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetOffsets, oldInSupportsDeclaration;
  91378. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91379. if ($async$errorCode === 1)
  91380. return A._asyncRethrow($async$result, $async$completer);
  91381. for (;;)
  91382. switch ($async$goto) {
  91383. case 0:
  91384. // Function start
  91385. targetOffsets = sourceMap ? A._setArrayType([], type$.JSArray_int) : null;
  91386. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  91387. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  91388. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetOffsets == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  91389. case 3:
  91390. // for condition
  91391. if (!(_i < t2)) {
  91392. // goto after for
  91393. $async$goto = 5;
  91394. break;
  91395. }
  91396. value = t1[_i];
  91397. if (!first)
  91398. if (!t4)
  91399. targetOffsets.push(t7.length);
  91400. if (typeof value == "string") {
  91401. t7 += value;
  91402. // goto for update
  91403. $async$goto = 4;
  91404. break;
  91405. }
  91406. t3._as(value);
  91407. $async$goto = 6;
  91408. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  91409. case 6:
  91410. // returning from await.
  91411. result = $async$result;
  91412. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  91413. result0 = A.List_List$from([""], false, t6);
  91414. result0.$flags = 3;
  91415. t8 = $.$get$namesByColor0();
  91416. $async$self._async_evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_jCK0, new A.StringExpression0(new A.Interpolation0(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  91417. }
  91418. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  91419. case 4:
  91420. // for update
  91421. ++_i, first = false;
  91422. // goto for condition
  91423. $async$goto = 3;
  91424. break;
  91425. case 5:
  91426. // after for
  91427. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  91428. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetOffsets, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  91429. // goto return
  91430. $async$goto = 1;
  91431. break;
  91432. case 1:
  91433. // return
  91434. return A._asyncReturn($async$returnValue, $async$completer);
  91435. }
  91436. });
  91437. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  91438. },
  91439. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  91440. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  91441. },
  91442. _async_evaluate0$_evaluateToCss$1(expression) {
  91443. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  91444. },
  91445. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  91446. var $async$goto = 0,
  91447. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  91448. $async$returnValue, $async$self = this, t1;
  91449. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91450. if ($async$errorCode === 1)
  91451. return A._asyncRethrow($async$result, $async$completer);
  91452. for (;;)
  91453. switch ($async$goto) {
  91454. case 0:
  91455. // Function start
  91456. t1 = expression.accept$1($async$self);
  91457. $async$goto = 3;
  91458. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  91459. case 3:
  91460. // returning from await.
  91461. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  91462. // goto return
  91463. $async$goto = 1;
  91464. break;
  91465. case 1:
  91466. // return
  91467. return A._asyncReturn($async$returnValue, $async$completer);
  91468. }
  91469. });
  91470. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  91471. },
  91472. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  91473. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  91474. },
  91475. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  91476. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  91477. },
  91478. _async_evaluate0$_expressionNode$1(expression) {
  91479. var t1;
  91480. if (expression instanceof A.VariableExpression0) {
  91481. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  91482. return t1 == null ? expression : t1;
  91483. } else
  91484. return expression;
  91485. },
  91486. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  91487. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  91488. },
  91489. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  91490. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  91491. },
  91492. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  91493. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  91494. },
  91495. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  91496. var $async$goto = 0,
  91497. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91498. $async$returnValue, $async$self = this, oldParent, result;
  91499. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91500. if ($async$errorCode === 1)
  91501. return A._asyncRethrow($async$result, $async$completer);
  91502. for (;;)
  91503. switch ($async$goto) {
  91504. case 0:
  91505. // Function start
  91506. $async$self._async_evaluate0$_addChild$2$through(node, through);
  91507. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  91508. $async$self._async_evaluate0$__parent = node;
  91509. $async$goto = 3;
  91510. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  91511. case 3:
  91512. // returning from await.
  91513. result = $async$result;
  91514. $async$self._async_evaluate0$__parent = oldParent;
  91515. $async$returnValue = result;
  91516. // goto return
  91517. $async$goto = 1;
  91518. break;
  91519. case 1:
  91520. // return
  91521. return A._asyncReturn($async$returnValue, $async$completer);
  91522. }
  91523. });
  91524. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  91525. },
  91526. _async_evaluate0$_copyParentAfterSibling$0() {
  91527. var t1, grandparent, newParent, _this = this,
  91528. _s8_ = "__parent",
  91529. _0_0 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, _s8_)._node$_parent;
  91530. if (_0_0 != null) {
  91531. t1 = _0_0.children;
  91532. t1 = t1.get$last(t1) !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, _s8_);
  91533. grandparent = _0_0;
  91534. } else {
  91535. grandparent = null;
  91536. t1 = false;
  91537. }
  91538. if (t1) {
  91539. newParent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, _s8_).copyWithoutChildren$0();
  91540. grandparent.addChild$1(newParent);
  91541. _this._async_evaluate0$__parent = newParent;
  91542. }
  91543. },
  91544. _async_evaluate0$_addChild$2$through(node, through) {
  91545. var _0_0, grandparent, t1,
  91546. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  91547. if (through != null) {
  91548. for (; through.call$1($parent); $parent = _0_0) {
  91549. _0_0 = $parent._node$_parent;
  91550. if (_0_0 == null)
  91551. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  91552. }
  91553. if ($parent.get$hasFollowingSibling()) {
  91554. grandparent = $parent._node$_parent;
  91555. t1 = grandparent.children;
  91556. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  91557. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  91558. else {
  91559. $parent = $parent.copyWithoutChildren$0();
  91560. grandparent.addChild$1($parent);
  91561. }
  91562. }
  91563. }
  91564. $parent.addChild$1(node);
  91565. },
  91566. _async_evaluate0$_addChild$1(node) {
  91567. return this._async_evaluate0$_addChild$2$through(node, null);
  91568. },
  91569. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  91570. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  91571. },
  91572. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  91573. var $async$goto = 0,
  91574. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91575. $async$returnValue, $async$self = this, result, oldRule;
  91576. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91577. if ($async$errorCode === 1)
  91578. return A._asyncRethrow($async$result, $async$completer);
  91579. for (;;)
  91580. switch ($async$goto) {
  91581. case 0:
  91582. // Function start
  91583. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91584. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  91585. $async$goto = 3;
  91586. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  91587. case 3:
  91588. // returning from await.
  91589. result = $async$result;
  91590. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  91591. $async$returnValue = result;
  91592. // goto return
  91593. $async$goto = 1;
  91594. break;
  91595. case 1:
  91596. // return
  91597. return A._asyncReturn($async$returnValue, $async$completer);
  91598. }
  91599. });
  91600. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  91601. },
  91602. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  91603. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  91604. },
  91605. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  91606. var $async$goto = 0,
  91607. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91608. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  91609. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91610. if ($async$errorCode === 1)
  91611. return A._asyncRethrow($async$result, $async$completer);
  91612. for (;;)
  91613. switch ($async$goto) {
  91614. case 0:
  91615. // Function start
  91616. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  91617. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  91618. $async$self._async_evaluate0$_mediaQueries = queries;
  91619. $async$self._async_evaluate0$_mediaQuerySources = sources;
  91620. $async$goto = 3;
  91621. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  91622. case 3:
  91623. // returning from await.
  91624. result = $async$result;
  91625. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  91626. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  91627. $async$returnValue = result;
  91628. // goto return
  91629. $async$goto = 1;
  91630. break;
  91631. case 1:
  91632. // return
  91633. return A._asyncReturn($async$returnValue, $async$completer);
  91634. }
  91635. });
  91636. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  91637. },
  91638. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  91639. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  91640. },
  91641. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  91642. var $async$goto = 0,
  91643. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91644. $async$returnValue, $async$self = this, oldMember, result, t1;
  91645. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91646. if ($async$errorCode === 1)
  91647. return A._asyncRethrow($async$result, $async$completer);
  91648. for (;;)
  91649. switch ($async$goto) {
  91650. case 0:
  91651. // Function start
  91652. t1 = $async$self._async_evaluate0$_stack;
  91653. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  91654. oldMember = $async$self._async_evaluate0$_member;
  91655. $async$self._async_evaluate0$_member = member;
  91656. $async$goto = 3;
  91657. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  91658. case 3:
  91659. // returning from await.
  91660. result = $async$result;
  91661. $async$self._async_evaluate0$_member = oldMember;
  91662. t1.pop();
  91663. $async$returnValue = result;
  91664. // goto return
  91665. $async$goto = 1;
  91666. break;
  91667. case 1:
  91668. // return
  91669. return A._asyncReturn($async$returnValue, $async$completer);
  91670. }
  91671. });
  91672. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  91673. },
  91674. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  91675. var t1;
  91676. if (value instanceof A.SassNumber0)
  91677. t1 = value.asSlash != null;
  91678. else
  91679. t1 = false;
  91680. if (t1)
  91681. this._async_evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_v81);
  91682. return value.withoutSlash$0();
  91683. },
  91684. _async_evaluate0$_stackFrame$2(member, span) {
  91685. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  91686. },
  91687. _async_evaluate0$_stackTrace$1(span) {
  91688. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  91689. t1 = A._setArrayType([], type$.JSArray_Frame);
  91690. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  91691. t4 = t2[_i];
  91692. nodeWithSpan = t4._1;
  91693. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  91694. }
  91695. if (span != null)
  91696. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  91697. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  91698. },
  91699. _async_evaluate0$_stackTrace$0() {
  91700. return this._async_evaluate0$_stackTrace$1(null);
  91701. },
  91702. _async_evaluate0$_warn$3(message, span, deprecation) {
  91703. var trace, t1, _this = this;
  91704. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91705. return;
  91706. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91707. return;
  91708. trace = _this._async_evaluate0$_stackTrace$1(span);
  91709. t1 = _this._async_evaluate0$_logger;
  91710. if (deprecation == null)
  91711. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91712. else
  91713. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91714. },
  91715. _async_evaluate0$_warn$2(message, span) {
  91716. return this._async_evaluate0$_warn$3(message, span, null);
  91717. },
  91718. _async_evaluate0$_exception$2(message, span) {
  91719. var t1, t2;
  91720. if (span == null) {
  91721. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91722. t1 = t1.get$span(t1);
  91723. } else
  91724. t1 = span;
  91725. t2 = this._async_evaluate0$_stackTrace$1(span);
  91726. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91727. },
  91728. _async_evaluate0$_exception$1(message) {
  91729. return this._async_evaluate0$_exception$2(message, null);
  91730. },
  91731. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91732. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91733. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91734. },
  91735. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91736. var error, stackTrace, t1, exception,
  91737. addStackFrame = true;
  91738. try {
  91739. t1 = callback.call$0();
  91740. return t1;
  91741. } catch (exception) {
  91742. t1 = A.unwrapException(exception);
  91743. if (t1 instanceof A.SassScriptException0) {
  91744. error = t1;
  91745. stackTrace = A.getTraceFromException(exception);
  91746. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91747. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91748. } else
  91749. throw exception;
  91750. }
  91751. },
  91752. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91753. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91754. },
  91755. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91756. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91757. },
  91758. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91759. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91760. },
  91761. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91762. var $async$goto = 0,
  91763. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91764. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91765. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91766. if ($async$errorCode === 1) {
  91767. $async$errorStack.push($async$result);
  91768. $async$goto = $async$handler;
  91769. }
  91770. for (;;)
  91771. switch ($async$goto) {
  91772. case 0:
  91773. // Function start
  91774. $async$handler = 4;
  91775. t1 = callback.call$0();
  91776. $async$goto = 7;
  91777. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91778. case 7:
  91779. // returning from await.
  91780. t1 = $async$result;
  91781. $async$returnValue = t1;
  91782. // goto return
  91783. $async$goto = 1;
  91784. break;
  91785. $async$handler = 2;
  91786. // goto after finally
  91787. $async$goto = 6;
  91788. break;
  91789. case 4:
  91790. // catch
  91791. $async$handler = 3;
  91792. $async$exception = $async$errorStack.pop();
  91793. t1 = A.unwrapException($async$exception);
  91794. if (t1 instanceof A.SassScriptException0) {
  91795. error = t1;
  91796. stackTrace = A.getTraceFromException($async$exception);
  91797. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91798. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91799. } else
  91800. throw $async$exception;
  91801. // goto after finally
  91802. $async$goto = 6;
  91803. break;
  91804. case 3:
  91805. // uncaught
  91806. // goto rethrow
  91807. $async$goto = 2;
  91808. break;
  91809. case 6:
  91810. // after finally
  91811. case 1:
  91812. // return
  91813. return A._asyncReturn($async$returnValue, $async$completer);
  91814. case 2:
  91815. // rethrow
  91816. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91817. }
  91818. });
  91819. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91820. },
  91821. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91822. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91823. },
  91824. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91825. var $async$goto = 0,
  91826. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91827. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91828. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91829. if ($async$errorCode === 1) {
  91830. $async$errorStack.push($async$result);
  91831. $async$goto = $async$handler;
  91832. }
  91833. for (;;)
  91834. switch ($async$goto) {
  91835. case 0:
  91836. // Function start
  91837. $async$handler = 4;
  91838. t1 = callback.call$0();
  91839. $async$goto = 7;
  91840. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91841. case 7:
  91842. // returning from await.
  91843. t1 = $async$result;
  91844. $async$returnValue = t1;
  91845. // goto return
  91846. $async$goto = 1;
  91847. break;
  91848. $async$handler = 2;
  91849. // goto after finally
  91850. $async$goto = 6;
  91851. break;
  91852. case 4:
  91853. // catch
  91854. $async$handler = 3;
  91855. $async$exception = $async$errorStack.pop();
  91856. t1 = A.unwrapException($async$exception);
  91857. if (type$.SassRuntimeException_2._is(t1))
  91858. throw $async$exception;
  91859. else if (t1 instanceof A.SassException0) {
  91860. error = t1;
  91861. stackTrace = A.getTraceFromException($async$exception);
  91862. t1 = error;
  91863. t2 = J.getInterceptor$z(t1);
  91864. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91865. } else
  91866. throw $async$exception;
  91867. // goto after finally
  91868. $async$goto = 6;
  91869. break;
  91870. case 3:
  91871. // uncaught
  91872. // goto rethrow
  91873. $async$goto = 2;
  91874. break;
  91875. case 6:
  91876. // after finally
  91877. case 1:
  91878. // return
  91879. return A._asyncReturn($async$returnValue, $async$completer);
  91880. case 2:
  91881. // rethrow
  91882. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91883. }
  91884. });
  91885. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91886. },
  91887. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91888. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91889. },
  91890. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91891. var $async$goto = 0,
  91892. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91893. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91894. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91895. if ($async$errorCode === 1) {
  91896. $async$errorStack.push($async$result);
  91897. $async$goto = $async$handler;
  91898. }
  91899. for (;;)
  91900. switch ($async$goto) {
  91901. case 0:
  91902. // Function start
  91903. $async$handler = 4;
  91904. $async$goto = 7;
  91905. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91906. case 7:
  91907. // returning from await.
  91908. t1 = $async$result;
  91909. $async$returnValue = t1;
  91910. // goto return
  91911. $async$goto = 1;
  91912. break;
  91913. $async$handler = 2;
  91914. // goto after finally
  91915. $async$goto = 6;
  91916. break;
  91917. case 4:
  91918. // catch
  91919. $async$handler = 3;
  91920. $async$exception = $async$errorStack.pop();
  91921. t1 = A.unwrapException($async$exception);
  91922. if (type$.SassRuntimeException_2._is(t1)) {
  91923. error = t1;
  91924. stackTrace = A.getTraceFromException($async$exception);
  91925. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91926. throw $async$exception;
  91927. t1 = error._span_exception$_message;
  91928. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91929. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91930. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91931. } else
  91932. throw $async$exception;
  91933. // goto after finally
  91934. $async$goto = 6;
  91935. break;
  91936. case 3:
  91937. // uncaught
  91938. // goto rethrow
  91939. $async$goto = 2;
  91940. break;
  91941. case 6:
  91942. // after finally
  91943. case 1:
  91944. // return
  91945. return A._asyncReturn($async$returnValue, $async$completer);
  91946. case 2:
  91947. // rethrow
  91948. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91949. }
  91950. });
  91951. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91952. },
  91953. _async_evaluate0$_getErrorMessage$1(error) {
  91954. var t1, exception;
  91955. if (type$.Error._is(error))
  91956. return error.toString$0(0);
  91957. try {
  91958. t1 = A._asString(J.get$message$x(error));
  91959. return t1;
  91960. } catch (exception) {
  91961. t1 = J.toString$0$(error);
  91962. return t1;
  91963. }
  91964. },
  91965. $isExpressionVisitor: 1,
  91966. $isStatementVisitor: 1
  91967. };
  91968. A._EvaluateVisitor_closure38.prototype = {
  91969. call$1($arguments) {
  91970. var module, t2,
  91971. t1 = J.getInterceptor$asx($arguments),
  91972. variable = t1.$index($arguments, 0).assertString$1("name");
  91973. t1 = t1.$index($arguments, 1).get$realNull();
  91974. module = t1 == null ? null : t1.assertString$1("module");
  91975. t1 = this.$this._async_evaluate0$_environment;
  91976. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91977. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91978. },
  91979. $signature: 11
  91980. };
  91981. A._EvaluateVisitor_closure39.prototype = {
  91982. call$1($arguments) {
  91983. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91984. t1 = this.$this._async_evaluate0$_environment;
  91985. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91986. },
  91987. $signature: 11
  91988. };
  91989. A._EvaluateVisitor_closure40.prototype = {
  91990. call$1($arguments) {
  91991. var module, t2, t3, t4,
  91992. t1 = J.getInterceptor$asx($arguments),
  91993. variable = t1.$index($arguments, 0).assertString$1("name");
  91994. t1 = t1.$index($arguments, 1).get$realNull();
  91995. module = t1 == null ? null : t1.assertString$1("module");
  91996. t1 = this.$this;
  91997. t2 = t1._async_evaluate0$_environment;
  91998. t3 = variable._string0$_text;
  91999. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  92000. return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._async_evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92001. },
  92002. $signature: 11
  92003. };
  92004. A._EvaluateVisitor_closure41.prototype = {
  92005. call$1($arguments) {
  92006. var module, t2,
  92007. t1 = J.getInterceptor$asx($arguments),
  92008. variable = t1.$index($arguments, 0).assertString$1("name");
  92009. t1 = t1.$index($arguments, 1).get$realNull();
  92010. module = t1 == null ? null : t1.assertString$1("module");
  92011. t1 = this.$this._async_evaluate0$_environment;
  92012. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  92013. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92014. },
  92015. $signature: 11
  92016. };
  92017. A._EvaluateVisitor_closure42.prototype = {
  92018. call$1($arguments) {
  92019. var t1 = this.$this._async_evaluate0$_environment;
  92020. if (!t1._async_environment0$_inMixin)
  92021. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  92022. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  92023. },
  92024. $signature: 11
  92025. };
  92026. A._EvaluateVisitor_closure43.prototype = {
  92027. call$1($arguments) {
  92028. var t2, t3, t4,
  92029. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  92030. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  92031. if (module == null)
  92032. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  92033. t1 = type$.Value_2;
  92034. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  92035. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  92036. t4 = t3.get$current(t3);
  92037. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  92038. }
  92039. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  92040. },
  92041. $signature: 34
  92042. };
  92043. A._EvaluateVisitor_closure44.prototype = {
  92044. call$1($arguments) {
  92045. var t3, t4, t5,
  92046. t1 = this.$this,
  92047. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  92048. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  92049. if (module == null)
  92050. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  92051. t2 = type$.Value_2;
  92052. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  92053. for (t4 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate0$_compileContext; t4.moveNext$0();) {
  92054. t5 = t4.get$current(t4);
  92055. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  92056. }
  92057. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  92058. },
  92059. $signature: 34
  92060. };
  92061. A._EvaluateVisitor_closure45.prototype = {
  92062. call$1($arguments) {
  92063. var t3, t4, t5,
  92064. t1 = this.$this,
  92065. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  92066. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  92067. if (module == null)
  92068. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  92069. t2 = type$.Value_2;
  92070. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  92071. for (t4 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate0$_compileContext; t4.moveNext$0();) {
  92072. t5 = t4.get$current(t4);
  92073. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  92074. }
  92075. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  92076. },
  92077. $signature: 34
  92078. };
  92079. A._EvaluateVisitor_closure46.prototype = {
  92080. call$1($arguments) {
  92081. var module, t2, callable,
  92082. t1 = J.getInterceptor$asx($arguments),
  92083. $name = t1.$index($arguments, 0).assertString$1("name"),
  92084. css = t1.$index($arguments, 1).get$isTruthy();
  92085. t1 = t1.$index($arguments, 2).get$realNull();
  92086. module = t1 == null ? null : t1.assertString$1("module");
  92087. if (css) {
  92088. if (module != null)
  92089. throw A.wrapException(string$.x24css_a);
  92090. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._async_evaluate0$_compileContext);
  92091. }
  92092. t1 = this.$this;
  92093. t2 = t1._async_evaluate0$_callableNode;
  92094. t2.toString;
  92095. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  92096. if (callable == null)
  92097. throw A.wrapException("Function not found: " + $name.toString$0(0));
  92098. return new A.SassFunction0(callable, t1._async_evaluate0$_compileContext);
  92099. },
  92100. $signature: 256
  92101. };
  92102. A._EvaluateVisitor__closure14.prototype = {
  92103. call$0() {
  92104. var local,
  92105. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  92106. t1 = this.module,
  92107. namespace = t1 == null ? null : t1._string0$_text;
  92108. t1 = this.$this;
  92109. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  92110. if (local != null || namespace != null)
  92111. return local;
  92112. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  92113. },
  92114. $signature: 96
  92115. };
  92116. A._EvaluateVisitor_closure47.prototype = {
  92117. call$1($arguments) {
  92118. var module, t2, callable,
  92119. t1 = J.getInterceptor$asx($arguments),
  92120. $name = t1.$index($arguments, 0).assertString$1("name");
  92121. t1 = t1.$index($arguments, 1).get$realNull();
  92122. module = t1 == null ? null : t1.assertString$1("module");
  92123. t1 = this.$this;
  92124. t2 = t1._async_evaluate0$_callableNode;
  92125. t2.toString;
  92126. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  92127. if (callable == null)
  92128. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  92129. return new A.SassMixin0(callable, t1._async_evaluate0$_compileContext);
  92130. },
  92131. $signature: 248
  92132. };
  92133. A._EvaluateVisitor__closure13.prototype = {
  92134. call$0() {
  92135. var t1 = this.$this._async_evaluate0$_environment,
  92136. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  92137. t3 = this.module;
  92138. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  92139. },
  92140. $signature: 96
  92141. };
  92142. A._EvaluateVisitor_closure48.prototype = {
  92143. call$1($arguments) {
  92144. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  92145. },
  92146. $call$body$_EvaluateVisitor_closure4($arguments) {
  92147. var $async$goto = 0,
  92148. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  92149. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  92150. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92151. if ($async$errorCode === 1)
  92152. return A._asyncRethrow($async$result, $async$completer);
  92153. for (;;)
  92154. switch ($async$goto) {
  92155. case 0:
  92156. // Function start
  92157. t1 = J.getInterceptor$asx($arguments);
  92158. $function = t1.$index($arguments, 0);
  92159. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  92160. t1 = $async$self.$this;
  92161. t2 = t1._async_evaluate0$_callableNode;
  92162. t2.toString;
  92163. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  92164. t4 = type$.String;
  92165. t5 = type$.Expression_2;
  92166. t6 = t2.get$span(t2);
  92167. t7 = t2.get$span(t2);
  92168. args._argument_list$_wereKeywordsAccessed = true;
  92169. t8 = args._argument_list$_keywords;
  92170. if (t8.get$isEmpty(t8))
  92171. t2 = null;
  92172. else {
  92173. t9 = type$.Value_2;
  92174. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  92175. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  92176. t11 = t8.get$current(t8);
  92177. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  92178. }
  92179. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  92180. }
  92181. invocation = new A.ArgumentList0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  92182. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  92183. break;
  92184. case 3:
  92185. // then
  92186. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_LIY);
  92187. callableNode = t1._async_evaluate0$_callableNode;
  92188. t2 = $function._string0$_text;
  92189. t3 = callableNode.get$span(callableNode);
  92190. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  92191. $async$goto = 5;
  92192. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  92193. case 5:
  92194. // returning from await.
  92195. $async$returnValue = $async$result;
  92196. // goto return
  92197. $async$goto = 1;
  92198. break;
  92199. case 4:
  92200. // join
  92201. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate0$_compileContext);
  92202. t3 = t1._async_evaluate0$_callableNode;
  92203. t3.toString;
  92204. $async$goto = 6;
  92205. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  92206. case 6:
  92207. // returning from await.
  92208. t3 = $async$result;
  92209. $async$returnValue = t3;
  92210. // goto return
  92211. $async$goto = 1;
  92212. break;
  92213. case 1:
  92214. // return
  92215. return A._asyncReturn($async$returnValue, $async$completer);
  92216. }
  92217. });
  92218. return A._asyncStartSync($async$call$1, $async$completer);
  92219. },
  92220. $signature: 92
  92221. };
  92222. A._EvaluateVisitor_closure49.prototype = {
  92223. call$1($arguments) {
  92224. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  92225. },
  92226. $call$body$_EvaluateVisitor_closure3($arguments) {
  92227. var $async$goto = 0,
  92228. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92229. $async$self = this, withMap, t2, t3, values, span, configuration, t1, url;
  92230. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92231. if ($async$errorCode === 1)
  92232. return A._asyncRethrow($async$result, $async$completer);
  92233. for (;;)
  92234. switch ($async$goto) {
  92235. case 0:
  92236. // Function start
  92237. t1 = J.getInterceptor$asx($arguments);
  92238. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  92239. t1 = t1.$index($arguments, 1).get$realNull();
  92240. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  92241. t1 = $async$self.$this;
  92242. t2 = t1._async_evaluate0$_callableNode;
  92243. t2.toString;
  92244. if (withMap != null) {
  92245. t3 = {};
  92246. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  92247. span = t2.get$span(t2);
  92248. t3.privateDeprecation = false;
  92249. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(t3, values, span, t2));
  92250. configuration = new A.ExplicitConfiguration0(t2, values, null);
  92251. } else
  92252. configuration = B.Configuration_Map_empty_null0;
  92253. t3 = t2.get$span(t2);
  92254. $async$goto = 2;
  92255. return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure12(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  92256. case 2:
  92257. // returning from await.
  92258. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  92259. // implicit return
  92260. return A._asyncReturn(null, $async$completer);
  92261. }
  92262. });
  92263. return A._asyncStartSync($async$call$1, $async$completer);
  92264. },
  92265. $signature: 247
  92266. };
  92267. A._EvaluateVisitor__closure11.prototype = {
  92268. call$2(variable, value) {
  92269. var _this = this,
  92270. t1 = variable.assertString$1("with key"),
  92271. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  92272. t1 = _this.values;
  92273. if (t1.containsKey$1($name))
  92274. throw A.wrapException("The variable $" + $name + " was configured twice.");
  92275. else if (B.JSString_methods.startsWith$1($name, "-") && !_this._box_0.privateDeprecation) {
  92276. _this._box_0.privateDeprecation = true;
  92277. A.warnForDeprecation0("Configuring private variables (such as $" + $name + string$.x29x20is_dT, B.Deprecation_lkJ);
  92278. }
  92279. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, _this.span, _this.callableNode));
  92280. },
  92281. $signature: 97
  92282. };
  92283. A._EvaluateVisitor__closure12.prototype = {
  92284. call$2(module, _) {
  92285. var t1 = this.$this;
  92286. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  92287. },
  92288. $signature: 325
  92289. };
  92290. A._EvaluateVisitor_closure50.prototype = {
  92291. call$1($arguments) {
  92292. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  92293. },
  92294. $call$body$_EvaluateVisitor_closure2($arguments) {
  92295. var $async$goto = 0,
  92296. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92297. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  92298. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92299. if ($async$errorCode === 1)
  92300. return A._asyncRethrow($async$result, $async$completer);
  92301. for (;;)
  92302. switch ($async$goto) {
  92303. case 0:
  92304. // Function start
  92305. t1 = J.getInterceptor$asx($arguments);
  92306. mixin = t1.$index($arguments, 0);
  92307. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  92308. t1 = $async$self.$this;
  92309. callableNode = t1._async_evaluate0$_callableNode;
  92310. t2 = callableNode.get$span(callableNode);
  92311. t3 = callableNode.get$span(callableNode);
  92312. t4 = type$.Expression_2;
  92313. t5 = A.List_List$unmodifiable(B.List_empty22, t4);
  92314. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  92315. $async$goto = 2;
  92316. return A._asyncAwait(t1._async_evaluate0$_applyMixin$5(mixin.assertMixin$1("mixin").assertCompileContext$1(t1._async_evaluate0$_compileContext).callable, t1._async_evaluate0$_environment._async_environment0$_content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  92317. case 2:
  92318. // returning from await.
  92319. // implicit return
  92320. return A._asyncReturn(null, $async$completer);
  92321. }
  92322. });
  92323. return A._asyncStartSync($async$call$1, $async$completer);
  92324. },
  92325. $signature: 247
  92326. };
  92327. A._EvaluateVisitor_run_closure2.prototype = {
  92328. call$0() {
  92329. var $async$goto = 0,
  92330. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  92331. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  92332. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92333. if ($async$errorCode === 1)
  92334. return A._asyncRethrow($async$result, $async$completer);
  92335. for (;;)
  92336. switch ($async$goto) {
  92337. case 0:
  92338. // Function start
  92339. t1 = $async$self.node;
  92340. t2 = t1.span;
  92341. _0_0 = t2.get$sourceUrl(t2);
  92342. url = null;
  92343. if (_0_0 != null) {
  92344. url = _0_0;
  92345. t2 = $async$self.$this;
  92346. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  92347. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  92348. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  92349. }
  92350. t2 = $async$self.$this;
  92351. $async$goto = 3;
  92352. return A._asyncAwait(t2._async_evaluate0$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure2(t2, $async$self.importer, t1), type$.Module_AsyncCallable_2), $async$call$0);
  92353. case 3:
  92354. // returning from await.
  92355. module = $async$result;
  92356. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  92357. // goto return
  92358. $async$goto = 1;
  92359. break;
  92360. case 1:
  92361. // return
  92362. return A._asyncReturn($async$returnValue, $async$completer);
  92363. }
  92364. });
  92365. return A._asyncStartSync($async$call$0, $async$completer);
  92366. },
  92367. $signature: 326
  92368. };
  92369. A._EvaluateVisitor_run__closure2.prototype = {
  92370. call$0() {
  92371. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  92372. },
  92373. $signature: 327
  92374. };
  92375. A._EvaluateVisitor__loadModule_closure5.prototype = {
  92376. call$0() {
  92377. return this.callback.call$2(this._box_0.builtInModule, false);
  92378. },
  92379. $signature: 0
  92380. };
  92381. A._EvaluateVisitor__loadModule_closure6.prototype = {
  92382. call$0() {
  92383. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  92384. },
  92385. $call$body$_EvaluateVisitor__loadModule_closure0() {
  92386. var $async$goto = 0,
  92387. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92388. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  92389. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92390. if ($async$errorCode === 1) {
  92391. $async$errorStack.push($async$result);
  92392. $async$goto = $async$handler;
  92393. }
  92394. for (;;)
  92395. switch ($async$goto) {
  92396. case 0:
  92397. // Function start
  92398. t1 = {};
  92399. stylesheet = null;
  92400. importer = null;
  92401. t2 = $async$self.$this;
  92402. t3 = $async$self.nodeWithSpan;
  92403. $async$goto = 2;
  92404. return A._asyncAwait(t2._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  92405. case 2:
  92406. // returning from await.
  92407. _1_0 = $async$result;
  92408. stylesheet = _1_0._0;
  92409. importer = _1_0._1;
  92410. isDependency = _1_0._2;
  92411. t4 = stylesheet.span;
  92412. canonicalUrl = t4.get$sourceUrl(t4);
  92413. if (canonicalUrl != null) {
  92414. t4 = t2._async_evaluate0$_activeModules;
  92415. if (t4.containsKey$1(canonicalUrl)) {
  92416. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  92417. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  92418. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  92419. } else
  92420. t4.$indexSet(0, canonicalUrl, t3);
  92421. }
  92422. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  92423. oldInDependency = t2._async_evaluate0$_inDependency;
  92424. t2._async_evaluate0$_inDependency = isDependency;
  92425. t1.module = null;
  92426. $async$handler = 3;
  92427. $async$temp1 = t1;
  92428. $async$goto = 6;
  92429. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  92430. case 6:
  92431. // returning from await.
  92432. $async$temp1.module = $async$result;
  92433. $async$next.push(5);
  92434. // goto finally
  92435. $async$goto = 4;
  92436. break;
  92437. case 3:
  92438. // uncaught
  92439. $async$next = [1];
  92440. case 4:
  92441. // finally
  92442. $async$handler = 1;
  92443. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  92444. t2._async_evaluate0$_inDependency = oldInDependency;
  92445. // goto the next finally handler
  92446. $async$goto = $async$next.pop();
  92447. break;
  92448. case 5:
  92449. // after finally
  92450. $async$goto = 7;
  92451. return A._asyncAwait(t2._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure6(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  92452. case 7:
  92453. // returning from await.
  92454. // implicit return
  92455. return A._asyncReturn(null, $async$completer);
  92456. case 1:
  92457. // rethrow
  92458. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  92459. }
  92460. });
  92461. return A._asyncStartSync($async$call$0, $async$completer);
  92462. },
  92463. $signature: 2
  92464. };
  92465. A._EvaluateVisitor__loadModule__closure5.prototype = {
  92466. call$1(previousLoad) {
  92467. return this.$this._async_evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  92468. },
  92469. $signature: 98
  92470. };
  92471. A._EvaluateVisitor__loadModule__closure6.prototype = {
  92472. call$0() {
  92473. return this.callback.call$2(this._box_1.module, this.firstLoad);
  92474. },
  92475. $signature: 0
  92476. };
  92477. A._EvaluateVisitor__execute_closure2.prototype = {
  92478. call$0() {
  92479. var $async$goto = 0,
  92480. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92481. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  92482. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92483. if ($async$errorCode === 1)
  92484. return A._asyncRethrow($async$result, $async$completer);
  92485. for (;;)
  92486. switch ($async$goto) {
  92487. case 0:
  92488. // Function start
  92489. t1 = $async$self.$this;
  92490. oldImporter = t1._async_evaluate0$_importer;
  92491. oldStylesheet = t1._async_evaluate0$__stylesheet;
  92492. oldRoot = t1._async_evaluate0$__root;
  92493. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  92494. oldParent = t1._async_evaluate0$__parent;
  92495. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  92496. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92497. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  92498. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  92499. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92500. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  92501. oldDeclarationName = t1._async_evaluate0$_declarationName;
  92502. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92503. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  92504. oldConfiguration = t1._async_evaluate0$_configuration;
  92505. t1._async_evaluate0$_importer = $async$self.importer;
  92506. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  92507. t4 = t3.span;
  92508. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  92509. t1._async_evaluate0$__endOfImports = 0;
  92510. t1._async_evaluate0$_outOfOrderImports = null;
  92511. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  92512. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  92513. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  92514. t6 = $async$self.configuration;
  92515. if (t6 != null)
  92516. t1._async_evaluate0$_configuration = t6;
  92517. $async$goto = 2;
  92518. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  92519. case 2:
  92520. // returning from await.
  92521. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  92522. $async$self.css.__late_helper$_value = t3;
  92523. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  92524. t1._async_evaluate0$_importer = oldImporter;
  92525. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92526. t1._async_evaluate0$__root = oldRoot;
  92527. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  92528. t1._async_evaluate0$__parent = oldParent;
  92529. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92530. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92531. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  92532. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  92533. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  92534. t1._async_evaluate0$_declarationName = oldDeclarationName;
  92535. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  92536. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  92537. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  92538. t1._async_evaluate0$_configuration = oldConfiguration;
  92539. // implicit return
  92540. return A._asyncReturn(null, $async$completer);
  92541. }
  92542. });
  92543. return A._asyncStartSync($async$call$0, $async$completer);
  92544. },
  92545. $signature: 2
  92546. };
  92547. A._EvaluateVisitor__combineCss_closure5.prototype = {
  92548. call$1(module) {
  92549. return module.get$transitivelyContainsCss();
  92550. },
  92551. $signature: 116
  92552. };
  92553. A._EvaluateVisitor__combineCss_closure6.prototype = {
  92554. call$1(target) {
  92555. return !this.selectors.contains$1(0, target);
  92556. },
  92557. $signature: 14
  92558. };
  92559. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  92560. call$1(module) {
  92561. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  92562. if (!_this.seen.add$1(0, module))
  92563. return;
  92564. if (_this.clone)
  92565. module = module.cloneCss$0();
  92566. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  92567. upstream = t1[_i];
  92568. if (upstream.get$transitivelyContainsCss()) {
  92569. _1_0 = module.get$preModuleComments().$index(0, upstream);
  92570. if (_1_0 != null)
  92571. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  92572. _this.call$1(upstream);
  92573. }
  92574. }
  92575. _this.sorted.addFirst$1(module);
  92576. t1 = module.get$css(module);
  92577. statements = t1.get$children(t1);
  92578. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  92579. t1 = J.getInterceptor$ax(statements);
  92580. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  92581. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  92582. },
  92583. $signature: 329
  92584. };
  92585. A._EvaluateVisitor__extendModules_closure5.prototype = {
  92586. call$1(target) {
  92587. return !this.originalSelectors.contains$1(0, target);
  92588. },
  92589. $signature: 14
  92590. };
  92591. A._EvaluateVisitor__extendModules_closure6.prototype = {
  92592. call$0() {
  92593. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  92594. },
  92595. $signature: 246
  92596. };
  92597. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  92598. call$0() {
  92599. var $async$goto = 0,
  92600. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92601. $async$self = this, t1, t2, t3, _i;
  92602. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92603. if ($async$errorCode === 1)
  92604. return A._asyncRethrow($async$result, $async$completer);
  92605. for (;;)
  92606. switch ($async$goto) {
  92607. case 0:
  92608. // Function start
  92609. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92610. case 2:
  92611. // for condition
  92612. if (!(_i < t2)) {
  92613. // goto after for
  92614. $async$goto = 4;
  92615. break;
  92616. }
  92617. $async$goto = 5;
  92618. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92619. case 5:
  92620. // returning from await.
  92621. case 3:
  92622. // for update
  92623. ++_i;
  92624. // goto for condition
  92625. $async$goto = 2;
  92626. break;
  92627. case 4:
  92628. // after for
  92629. // implicit return
  92630. return A._asyncReturn(null, $async$completer);
  92631. }
  92632. });
  92633. return A._asyncStartSync($async$call$0, $async$completer);
  92634. },
  92635. $signature: 2
  92636. };
  92637. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  92638. call$0() {
  92639. var $async$goto = 0,
  92640. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92641. $async$self = this, t1, t2, t3, _i;
  92642. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92643. if ($async$errorCode === 1)
  92644. return A._asyncRethrow($async$result, $async$completer);
  92645. for (;;)
  92646. switch ($async$goto) {
  92647. case 0:
  92648. // Function start
  92649. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92650. case 2:
  92651. // for condition
  92652. if (!(_i < t2)) {
  92653. // goto after for
  92654. $async$goto = 4;
  92655. break;
  92656. }
  92657. $async$goto = 5;
  92658. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92659. case 5:
  92660. // returning from await.
  92661. case 3:
  92662. // for update
  92663. ++_i;
  92664. // goto for condition
  92665. $async$goto = 2;
  92666. break;
  92667. case 4:
  92668. // after for
  92669. // implicit return
  92670. return A._asyncReturn(null, $async$completer);
  92671. }
  92672. });
  92673. return A._asyncStartSync($async$call$0, $async$completer);
  92674. },
  92675. $signature: 30
  92676. };
  92677. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  92678. call$1(callback) {
  92679. var $async$goto = 0,
  92680. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92681. $async$self = this, t1, oldParent;
  92682. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92683. if ($async$errorCode === 1)
  92684. return A._asyncRethrow($async$result, $async$completer);
  92685. for (;;)
  92686. switch ($async$goto) {
  92687. case 0:
  92688. // Function start
  92689. t1 = $async$self.$this;
  92690. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92691. t1._async_evaluate0$__parent = $async$self.newParent;
  92692. $async$goto = 2;
  92693. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  92694. case 2:
  92695. // returning from await.
  92696. t1._async_evaluate0$__parent = oldParent;
  92697. // implicit return
  92698. return A._asyncReturn(null, $async$completer);
  92699. }
  92700. });
  92701. return A._asyncStartSync($async$call$1, $async$completer);
  92702. },
  92703. $signature: 39
  92704. };
  92705. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  92706. call$1(callback) {
  92707. var $async$goto = 0,
  92708. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92709. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92710. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92711. if ($async$errorCode === 1)
  92712. return A._asyncRethrow($async$result, $async$completer);
  92713. for (;;)
  92714. switch ($async$goto) {
  92715. case 0:
  92716. // Function start
  92717. t1 = $async$self.$this;
  92718. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92719. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92720. $async$goto = 2;
  92721. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92722. case 2:
  92723. // returning from await.
  92724. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92725. // implicit return
  92726. return A._asyncReturn(null, $async$completer);
  92727. }
  92728. });
  92729. return A._asyncStartSync($async$call$1, $async$completer);
  92730. },
  92731. $signature: 39
  92732. };
  92733. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92734. call$1(callback) {
  92735. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92736. },
  92737. $signature: 39
  92738. };
  92739. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92740. call$0() {
  92741. return this.innerScope.call$1(this.callback);
  92742. },
  92743. $signature: 2
  92744. };
  92745. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92746. call$1(callback) {
  92747. var $async$goto = 0,
  92748. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92749. $async$self = this, t1, wasInKeyframes;
  92750. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92751. if ($async$errorCode === 1)
  92752. return A._asyncRethrow($async$result, $async$completer);
  92753. for (;;)
  92754. switch ($async$goto) {
  92755. case 0:
  92756. // Function start
  92757. t1 = $async$self.$this;
  92758. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92759. t1._async_evaluate0$_inKeyframes = false;
  92760. $async$goto = 2;
  92761. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92762. case 2:
  92763. // returning from await.
  92764. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92765. // implicit return
  92766. return A._asyncReturn(null, $async$completer);
  92767. }
  92768. });
  92769. return A._asyncStartSync($async$call$1, $async$completer);
  92770. },
  92771. $signature: 39
  92772. };
  92773. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92774. call$1($parent) {
  92775. return $parent instanceof A.ModifiableCssAtRule0;
  92776. },
  92777. $signature: 245
  92778. };
  92779. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92780. call$1(callback) {
  92781. var $async$goto = 0,
  92782. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92783. $async$self = this, t1, wasInUnknownAtRule;
  92784. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92785. if ($async$errorCode === 1)
  92786. return A._asyncRethrow($async$result, $async$completer);
  92787. for (;;)
  92788. switch ($async$goto) {
  92789. case 0:
  92790. // Function start
  92791. t1 = $async$self.$this;
  92792. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92793. t1._async_evaluate0$_inUnknownAtRule = false;
  92794. $async$goto = 2;
  92795. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92796. case 2:
  92797. // returning from await.
  92798. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92799. // implicit return
  92800. return A._asyncReturn(null, $async$completer);
  92801. }
  92802. });
  92803. return A._asyncStartSync($async$call$1, $async$completer);
  92804. },
  92805. $signature: 39
  92806. };
  92807. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92808. call$0() {
  92809. var $async$goto = 0,
  92810. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92811. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92812. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92813. if ($async$errorCode === 1)
  92814. return A._asyncRethrow($async$result, $async$completer);
  92815. for (;;)
  92816. switch ($async$goto) {
  92817. case 0:
  92818. // Function start
  92819. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92820. case 3:
  92821. // for condition
  92822. if (!(_i < t2)) {
  92823. // goto after for
  92824. $async$goto = 5;
  92825. break;
  92826. }
  92827. $async$goto = 6;
  92828. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92829. case 6:
  92830. // returning from await.
  92831. case 4:
  92832. // for update
  92833. ++_i;
  92834. // goto for condition
  92835. $async$goto = 3;
  92836. break;
  92837. case 5:
  92838. // after for
  92839. $async$returnValue = null;
  92840. // goto return
  92841. $async$goto = 1;
  92842. break;
  92843. case 1:
  92844. // return
  92845. return A._asyncReturn($async$returnValue, $async$completer);
  92846. }
  92847. });
  92848. return A._asyncStartSync($async$call$0, $async$completer);
  92849. },
  92850. $signature: 2
  92851. };
  92852. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92853. call$0() {
  92854. var $async$goto = 0,
  92855. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92856. $async$self = this, t1, t2, t3, _i;
  92857. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92858. if ($async$errorCode === 1)
  92859. return A._asyncRethrow($async$result, $async$completer);
  92860. for (;;)
  92861. switch ($async$goto) {
  92862. case 0:
  92863. // Function start
  92864. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92865. case 2:
  92866. // for condition
  92867. if (!(_i < t2)) {
  92868. // goto after for
  92869. $async$goto = 4;
  92870. break;
  92871. }
  92872. $async$goto = 5;
  92873. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92874. case 5:
  92875. // returning from await.
  92876. case 3:
  92877. // for update
  92878. ++_i;
  92879. // goto for condition
  92880. $async$goto = 2;
  92881. break;
  92882. case 4:
  92883. // after for
  92884. // implicit return
  92885. return A._asyncReturn(null, $async$completer);
  92886. }
  92887. });
  92888. return A._asyncStartSync($async$call$0, $async$completer);
  92889. },
  92890. $signature: 2
  92891. };
  92892. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92893. call$1(value) {
  92894. var t1 = this.$this,
  92895. t2 = this.nodeWithSpan;
  92896. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92897. },
  92898. $signature: 64
  92899. };
  92900. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92901. call$1(value) {
  92902. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92903. },
  92904. $signature: 64
  92905. };
  92906. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92907. call$0() {
  92908. var _this = this,
  92909. t1 = _this.$this;
  92910. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92911. },
  92912. $signature: 78
  92913. };
  92914. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92915. call$1(element) {
  92916. var t1;
  92917. this.setVariables.call$1(element);
  92918. t1 = this.$this;
  92919. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92920. },
  92921. $signature: 334
  92922. };
  92923. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92924. call$1(child) {
  92925. return child.accept$1(this.$this);
  92926. },
  92927. $signature: 101
  92928. };
  92929. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92930. call$1(value) {
  92931. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92932. },
  92933. $signature: 336
  92934. };
  92935. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92936. call$0() {
  92937. var $async$goto = 0,
  92938. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92939. $async$self = this, t2, t3, _i, t1, styleRule;
  92940. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92941. if ($async$errorCode === 1)
  92942. return A._asyncRethrow($async$result, $async$completer);
  92943. for (;;)
  92944. switch ($async$goto) {
  92945. case 0:
  92946. // Function start
  92947. t1 = $async$self.$this;
  92948. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92949. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || $async$self.name.value === "font-face" ? 2 : 4;
  92950. break;
  92951. case 2:
  92952. // then
  92953. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92954. case 5:
  92955. // for condition
  92956. if (!(_i < t3)) {
  92957. // goto after for
  92958. $async$goto = 7;
  92959. break;
  92960. }
  92961. $async$goto = 8;
  92962. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92963. case 8:
  92964. // returning from await.
  92965. case 6:
  92966. // for update
  92967. ++_i;
  92968. // goto for condition
  92969. $async$goto = 5;
  92970. break;
  92971. case 7:
  92972. // after for
  92973. // goto join
  92974. $async$goto = 3;
  92975. break;
  92976. case 4:
  92977. // else
  92978. $async$goto = 9;
  92979. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  92980. case 9:
  92981. // returning from await.
  92982. case 3:
  92983. // join
  92984. // implicit return
  92985. return A._asyncReturn(null, $async$completer);
  92986. }
  92987. });
  92988. return A._asyncStartSync($async$call$0, $async$completer);
  92989. },
  92990. $signature: 2
  92991. };
  92992. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92993. call$0() {
  92994. var $async$goto = 0,
  92995. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92996. $async$self = this, t1, t2, t3, _i;
  92997. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92998. if ($async$errorCode === 1)
  92999. return A._asyncRethrow($async$result, $async$completer);
  93000. for (;;)
  93001. switch ($async$goto) {
  93002. case 0:
  93003. // Function start
  93004. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93005. case 2:
  93006. // for condition
  93007. if (!(_i < t2)) {
  93008. // goto after for
  93009. $async$goto = 4;
  93010. break;
  93011. }
  93012. $async$goto = 5;
  93013. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93014. case 5:
  93015. // returning from await.
  93016. case 3:
  93017. // for update
  93018. ++_i;
  93019. // goto for condition
  93020. $async$goto = 2;
  93021. break;
  93022. case 4:
  93023. // after for
  93024. // implicit return
  93025. return A._asyncReturn(null, $async$completer);
  93026. }
  93027. });
  93028. return A._asyncStartSync($async$call$0, $async$completer);
  93029. },
  93030. $signature: 2
  93031. };
  93032. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  93033. call$1(node) {
  93034. return node instanceof A.ModifiableCssStyleRule0;
  93035. },
  93036. $signature: 7
  93037. };
  93038. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  93039. call$0() {
  93040. var $async$goto = 0,
  93041. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  93042. $async$returnValue, $async$self = this;
  93043. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93044. if ($async$errorCode === 1)
  93045. return A._asyncRethrow($async$result, $async$completer);
  93046. for (;;)
  93047. switch ($async$goto) {
  93048. case 0:
  93049. // Function start
  93050. $async$goto = 3;
  93051. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  93052. case 3:
  93053. // returning from await.
  93054. $async$returnValue = $async$result.assertNumber$0();
  93055. // goto return
  93056. $async$goto = 1;
  93057. break;
  93058. case 1:
  93059. // return
  93060. return A._asyncReturn($async$returnValue, $async$completer);
  93061. }
  93062. });
  93063. return A._asyncStartSync($async$call$0, $async$completer);
  93064. },
  93065. $signature: 242
  93066. };
  93067. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  93068. call$0() {
  93069. var $async$goto = 0,
  93070. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  93071. $async$returnValue, $async$self = this;
  93072. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93073. if ($async$errorCode === 1)
  93074. return A._asyncRethrow($async$result, $async$completer);
  93075. for (;;)
  93076. switch ($async$goto) {
  93077. case 0:
  93078. // Function start
  93079. $async$goto = 3;
  93080. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  93081. case 3:
  93082. // returning from await.
  93083. $async$returnValue = $async$result.assertNumber$0();
  93084. // goto return
  93085. $async$goto = 1;
  93086. break;
  93087. case 1:
  93088. // return
  93089. return A._asyncReturn($async$returnValue, $async$completer);
  93090. }
  93091. });
  93092. return A._asyncStartSync($async$call$0, $async$completer);
  93093. },
  93094. $signature: 242
  93095. };
  93096. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  93097. call$0() {
  93098. return this.fromNumber.assertInt$0();
  93099. },
  93100. $signature: 10
  93101. };
  93102. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  93103. call$0() {
  93104. var t1 = this.fromNumber;
  93105. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  93106. },
  93107. $signature: 10
  93108. };
  93109. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  93110. call$0() {
  93111. var $async$goto = 0,
  93112. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93113. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  93114. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93115. if ($async$errorCode === 1)
  93116. return A._asyncRethrow($async$result, $async$completer);
  93117. for (;;)
  93118. switch ($async$goto) {
  93119. case 0:
  93120. // Function start
  93121. t1 = $async$self.$this;
  93122. t2 = $async$self.node;
  93123. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  93124. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  93125. case 3:
  93126. // for condition
  93127. if (!(i !== t3.to)) {
  93128. // goto after for
  93129. $async$goto = 5;
  93130. break;
  93131. }
  93132. t7 = t1._async_evaluate0$_environment;
  93133. t8 = t6.get$numeratorUnits(t6);
  93134. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  93135. $async$goto = 6;
  93136. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  93137. case 6:
  93138. // returning from await.
  93139. _0_0 = $async$result;
  93140. if (_0_0 != null) {
  93141. $async$returnValue = _0_0;
  93142. // goto return
  93143. $async$goto = 1;
  93144. break;
  93145. }
  93146. case 4:
  93147. // for update
  93148. i += t4;
  93149. // goto for condition
  93150. $async$goto = 3;
  93151. break;
  93152. case 5:
  93153. // after for
  93154. $async$returnValue = null;
  93155. // goto return
  93156. $async$goto = 1;
  93157. break;
  93158. case 1:
  93159. // return
  93160. return A._asyncReturn($async$returnValue, $async$completer);
  93161. }
  93162. });
  93163. return A._asyncStartSync($async$call$0, $async$completer);
  93164. },
  93165. $signature: 78
  93166. };
  93167. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  93168. call$1(child) {
  93169. return child.accept$1(this.$this);
  93170. },
  93171. $signature: 101
  93172. };
  93173. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  93174. call$2(module, firstLoad) {
  93175. if (firstLoad)
  93176. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93177. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  93178. },
  93179. $signature: 120
  93180. };
  93181. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  93182. call$2(module, firstLoad) {
  93183. if (firstLoad)
  93184. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93185. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  93186. },
  93187. $signature: 120
  93188. };
  93189. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  93190. call$0() {
  93191. return A._setArrayType([], type$.JSArray_CssComment_2);
  93192. },
  93193. $signature: 141
  93194. };
  93195. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  93196. call$1(clause) {
  93197. var t1 = this.$this;
  93198. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  93199. },
  93200. $signature: 341
  93201. };
  93202. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  93203. call$0() {
  93204. var t1 = this.$this;
  93205. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  93206. },
  93207. $signature: 78
  93208. };
  93209. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  93210. call$1(child) {
  93211. return child.accept$1(this.$this);
  93212. },
  93213. $signature: 101
  93214. };
  93215. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  93216. call$0() {
  93217. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  93218. },
  93219. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  93220. var $async$goto = 0,
  93221. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93222. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  93223. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93224. if ($async$errorCode === 1)
  93225. return A._asyncRethrow($async$result, $async$completer);
  93226. for (;;)
  93227. switch ($async$goto) {
  93228. case 0:
  93229. // Function start
  93230. _box_0 = {};
  93231. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  93232. t1 = $async$self.$this;
  93233. t2 = $async$self.$import;
  93234. $async$goto = 3;
  93235. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  93236. case 3:
  93237. // returning from await.
  93238. _0_0 = $async$result;
  93239. stylesheet = _box_0.stylesheet = _0_0._0;
  93240. importer = _0_0._1;
  93241. _box_0.importer = importer;
  93242. isDependency = _0_0._2;
  93243. _box_0.isDependency = isDependency;
  93244. t3 = stylesheet.span;
  93245. url = t3.get$sourceUrl(t3);
  93246. if (url != null) {
  93247. t3 = t1._async_evaluate0$_activeModules;
  93248. if (t3.containsKey$1(url)) {
  93249. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  93250. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  93251. }
  93252. t3.$indexSet(0, url, t2);
  93253. }
  93254. t2 = stylesheet._stylesheet1$_uses;
  93255. t3 = type$.UnmodifiableListView_UseRule_2;
  93256. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0 ? 4 : 5;
  93257. break;
  93258. case 4:
  93259. // then
  93260. oldImporter = t1._async_evaluate0$_importer;
  93261. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  93262. oldInDependency = t1._async_evaluate0$_inDependency;
  93263. t1._async_evaluate0$_importer = importer;
  93264. t1._async_evaluate0$__stylesheet = stylesheet;
  93265. t1._async_evaluate0$_inDependency = isDependency;
  93266. $async$goto = 6;
  93267. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  93268. case 6:
  93269. // returning from await.
  93270. t1._async_evaluate0$_importer = oldImporter;
  93271. t1._async_evaluate0$__stylesheet = oldStylesheet;
  93272. t1._async_evaluate0$_inDependency = oldInDependency;
  93273. t1._async_evaluate0$_activeModules.remove$1(0, url);
  93274. // goto return
  93275. $async$goto = 1;
  93276. break;
  93277. case 5:
  93278. // join
  93279. t2 = new A.UnmodifiableListView(t2, t3);
  93280. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  93281. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  93282. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  93283. } else
  93284. loadsUserDefinedModules = true;
  93285. children = A._Cell$();
  93286. t2 = t1._async_evaluate0$_environment;
  93287. t3 = type$.String;
  93288. t4 = type$.Module_AsyncCallable_2;
  93289. t5 = type$.AstNode_2;
  93290. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  93291. t7 = t2._async_environment0$_variables;
  93292. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  93293. t8 = t2._async_environment0$_variableNodes;
  93294. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  93295. t9 = t2._async_environment0$_functions;
  93296. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  93297. t10 = t2._async_environment0$_mixins;
  93298. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  93299. environment = A.AsyncEnvironment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment0$_content, t2._async_environment0$_configurableVariables);
  93300. $async$goto = 7;
  93301. return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  93302. case 7:
  93303. // returning from await.
  93304. module = environment.toDummyModule$0();
  93305. t1._async_evaluate0$_environment.importForwards$1(module);
  93306. $async$goto = loadsUserDefinedModules ? 8 : 9;
  93307. break;
  93308. case 8:
  93309. // then
  93310. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  93311. break;
  93312. case 10:
  93313. // then
  93314. $async$goto = 12;
  93315. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  93316. case 12:
  93317. // returning from await.
  93318. case 11:
  93319. // join
  93320. visitor = new A._ImportedCssVisitor2(t1);
  93321. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  93322. t2.get$current(t2).accept$1(visitor);
  93323. case 9:
  93324. // join
  93325. t1._async_evaluate0$_activeModules.remove$1(0, url);
  93326. case 1:
  93327. // return
  93328. return A._asyncReturn($async$returnValue, $async$completer);
  93329. }
  93330. });
  93331. return A._asyncStartSync($async$call$0, $async$completer);
  93332. },
  93333. $signature: 30
  93334. };
  93335. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  93336. call$1(previousLoad) {
  93337. return this.$this._async_evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  93338. },
  93339. $signature: 98
  93340. };
  93341. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  93342. call$1(rule) {
  93343. return rule.url.get$scheme() !== "sass";
  93344. },
  93345. $signature: 240
  93346. };
  93347. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  93348. call$1(rule) {
  93349. return rule.url.get$scheme() !== "sass";
  93350. },
  93351. $signature: 239
  93352. };
  93353. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  93354. call$0() {
  93355. var $async$goto = 0,
  93356. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93357. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  93358. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93359. if ($async$errorCode === 1)
  93360. return A._asyncRethrow($async$result, $async$completer);
  93361. for (;;)
  93362. switch ($async$goto) {
  93363. case 0:
  93364. // Function start
  93365. t1 = $async$self.$this;
  93366. oldImporter = t1._async_evaluate0$_importer;
  93367. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  93368. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  93369. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  93370. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  93371. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  93372. oldConfiguration = t1._async_evaluate0$_configuration;
  93373. oldInDependency = t1._async_evaluate0$_inDependency;
  93374. t2 = $async$self._box_0;
  93375. t1._async_evaluate0$_importer = t2.importer;
  93376. t3 = t2.stylesheet;
  93377. t1._async_evaluate0$__stylesheet = t3;
  93378. t4 = $async$self.loadsUserDefinedModules;
  93379. if (t4) {
  93380. t3 = A.ModifiableCssStylesheet$0(t3.span);
  93381. t1._async_evaluate0$__root = t3;
  93382. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  93383. t1._async_evaluate0$__endOfImports = 0;
  93384. t1._async_evaluate0$_outOfOrderImports = null;
  93385. }
  93386. t1._async_evaluate0$_inDependency = t2.isDependency;
  93387. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  93388. if (!t3.get$isEmpty(t3))
  93389. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  93390. $async$goto = 2;
  93391. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  93392. case 2:
  93393. // returning from await.
  93394. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  93395. $async$self.children.__late_helper$_value = t2;
  93396. t1._async_evaluate0$_importer = oldImporter;
  93397. t1._async_evaluate0$__stylesheet = oldStylesheet;
  93398. if (t4) {
  93399. t1._async_evaluate0$__root = oldRoot;
  93400. t1._async_evaluate0$__parent = oldParent;
  93401. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  93402. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  93403. }
  93404. t1._async_evaluate0$_configuration = oldConfiguration;
  93405. t1._async_evaluate0$_inDependency = oldInDependency;
  93406. // implicit return
  93407. return A._asyncReturn(null, $async$completer);
  93408. }
  93409. });
  93410. return A._asyncStartSync($async$call$0, $async$completer);
  93411. },
  93412. $signature: 2
  93413. };
  93414. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  93415. call$0() {
  93416. var $async$goto = 0,
  93417. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93418. $async$self = this, t1;
  93419. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93420. if ($async$errorCode === 1)
  93421. return A._asyncRethrow($async$result, $async$completer);
  93422. for (;;)
  93423. switch ($async$goto) {
  93424. case 0:
  93425. // Function start
  93426. t1 = $async$self.$this;
  93427. $async$goto = 2;
  93428. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure6(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  93429. case 2:
  93430. // returning from await.
  93431. // implicit return
  93432. return A._asyncReturn(null, $async$completer);
  93433. }
  93434. });
  93435. return A._asyncStartSync($async$call$0, $async$completer);
  93436. },
  93437. $signature: 30
  93438. };
  93439. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  93440. call$0() {
  93441. var $async$goto = 0,
  93442. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93443. $async$self = this;
  93444. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93445. if ($async$errorCode === 1)
  93446. return A._asyncRethrow($async$result, $async$completer);
  93447. for (;;)
  93448. switch ($async$goto) {
  93449. case 0:
  93450. // Function start
  93451. $async$goto = 2;
  93452. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  93453. case 2:
  93454. // returning from await.
  93455. // implicit return
  93456. return A._asyncReturn(null, $async$completer);
  93457. }
  93458. });
  93459. return A._asyncStartSync($async$call$0, $async$completer);
  93460. },
  93461. $signature: 30
  93462. };
  93463. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  93464. call$0() {
  93465. var $async$goto = 0,
  93466. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93467. $async$self = this, t1;
  93468. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93469. if ($async$errorCode === 1)
  93470. return A._asyncRethrow($async$result, $async$completer);
  93471. for (;;)
  93472. switch ($async$goto) {
  93473. case 0:
  93474. // Function start
  93475. t1 = $async$self.$this;
  93476. $async$goto = 2;
  93477. return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure5(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  93478. case 2:
  93479. // returning from await.
  93480. // implicit return
  93481. return A._asyncReturn(null, $async$completer);
  93482. }
  93483. });
  93484. return A._asyncStartSync($async$call$0, $async$completer);
  93485. },
  93486. $signature: 2
  93487. };
  93488. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  93489. call$0() {
  93490. var $async$goto = 0,
  93491. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93492. $async$self = this, t1;
  93493. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93494. if ($async$errorCode === 1)
  93495. return A._asyncRethrow($async$result, $async$completer);
  93496. for (;;)
  93497. switch ($async$goto) {
  93498. case 0:
  93499. // Function start
  93500. t1 = $async$self.$this;
  93501. $async$goto = 2;
  93502. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  93503. case 2:
  93504. // returning from await.
  93505. // implicit return
  93506. return A._asyncReturn(null, $async$completer);
  93507. }
  93508. });
  93509. return A._asyncStartSync($async$call$0, $async$completer);
  93510. },
  93511. $signature: 30
  93512. };
  93513. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  93514. call$0() {
  93515. var $async$goto = 0,
  93516. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93517. $async$self = this, t1, t2, t3, t4, t5, _i;
  93518. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93519. if ($async$errorCode === 1)
  93520. return A._asyncRethrow($async$result, $async$completer);
  93521. for (;;)
  93522. switch ($async$goto) {
  93523. case 0:
  93524. // Function start
  93525. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  93526. case 2:
  93527. // for condition
  93528. if (!(_i < t2)) {
  93529. // goto after for
  93530. $async$goto = 4;
  93531. break;
  93532. }
  93533. $async$goto = 5;
  93534. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  93535. case 5:
  93536. // returning from await.
  93537. case 3:
  93538. // for update
  93539. ++_i;
  93540. // goto for condition
  93541. $async$goto = 2;
  93542. break;
  93543. case 4:
  93544. // after for
  93545. // implicit return
  93546. return A._asyncReturn(null, $async$completer);
  93547. }
  93548. });
  93549. return A._asyncStartSync($async$call$0, $async$completer);
  93550. },
  93551. $signature: 30
  93552. };
  93553. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  93554. call$0() {
  93555. return this.statement.accept$1(this.$this);
  93556. },
  93557. $signature: 78
  93558. };
  93559. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  93560. call$0() {
  93561. var t1 = this.node;
  93562. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  93563. },
  93564. $signature: 96
  93565. };
  93566. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  93567. call$1($content) {
  93568. var t1 = this.$this;
  93569. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  93570. },
  93571. $signature: 344
  93572. };
  93573. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  93574. call$0() {
  93575. return this.node.get$spanWithoutContent();
  93576. },
  93577. $signature: 22
  93578. };
  93579. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  93580. call$1(mediaQueries) {
  93581. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  93582. },
  93583. $signature: 104
  93584. };
  93585. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  93586. call$0() {
  93587. var $async$goto = 0,
  93588. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93589. $async$self = this, t1, t2;
  93590. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93591. if ($async$errorCode === 1)
  93592. return A._asyncRethrow($async$result, $async$completer);
  93593. for (;;)
  93594. switch ($async$goto) {
  93595. case 0:
  93596. // Function start
  93597. t1 = $async$self.$this;
  93598. t2 = $async$self.mergedQueries;
  93599. if (t2 == null)
  93600. t2 = $async$self.queries;
  93601. $async$goto = 2;
  93602. return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  93603. case 2:
  93604. // returning from await.
  93605. // implicit return
  93606. return A._asyncReturn(null, $async$completer);
  93607. }
  93608. });
  93609. return A._asyncStartSync($async$call$0, $async$completer);
  93610. },
  93611. $signature: 2
  93612. };
  93613. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  93614. call$0() {
  93615. var $async$goto = 0,
  93616. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93617. $async$self = this, t2, t3, _i, t1, _0_0;
  93618. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93619. if ($async$errorCode === 1)
  93620. return A._asyncRethrow($async$result, $async$completer);
  93621. for (;;)
  93622. switch ($async$goto) {
  93623. case 0:
  93624. // Function start
  93625. t1 = $async$self.$this;
  93626. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93627. $async$goto = _0_0 != null ? 2 : 4;
  93628. break;
  93629. case 2:
  93630. // then
  93631. $async$goto = 5;
  93632. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  93633. case 5:
  93634. // returning from await.
  93635. // goto join
  93636. $async$goto = 3;
  93637. break;
  93638. case 4:
  93639. // else
  93640. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93641. case 6:
  93642. // for condition
  93643. if (!(_i < t3)) {
  93644. // goto after for
  93645. $async$goto = 8;
  93646. break;
  93647. }
  93648. $async$goto = 9;
  93649. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93650. case 9:
  93651. // returning from await.
  93652. case 7:
  93653. // for update
  93654. ++_i;
  93655. // goto for condition
  93656. $async$goto = 6;
  93657. break;
  93658. case 8:
  93659. // after for
  93660. case 3:
  93661. // join
  93662. // implicit return
  93663. return A._asyncReturn(null, $async$completer);
  93664. }
  93665. });
  93666. return A._asyncStartSync($async$call$0, $async$completer);
  93667. },
  93668. $signature: 2
  93669. };
  93670. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  93671. call$0() {
  93672. var $async$goto = 0,
  93673. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93674. $async$self = this, t1, t2, t3, _i;
  93675. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93676. if ($async$errorCode === 1)
  93677. return A._asyncRethrow($async$result, $async$completer);
  93678. for (;;)
  93679. switch ($async$goto) {
  93680. case 0:
  93681. // Function start
  93682. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93683. case 2:
  93684. // for condition
  93685. if (!(_i < t2)) {
  93686. // goto after for
  93687. $async$goto = 4;
  93688. break;
  93689. }
  93690. $async$goto = 5;
  93691. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93692. case 5:
  93693. // returning from await.
  93694. case 3:
  93695. // for update
  93696. ++_i;
  93697. // goto for condition
  93698. $async$goto = 2;
  93699. break;
  93700. case 4:
  93701. // after for
  93702. // implicit return
  93703. return A._asyncReturn(null, $async$completer);
  93704. }
  93705. });
  93706. return A._asyncStartSync($async$call$0, $async$completer);
  93707. },
  93708. $signature: 2
  93709. };
  93710. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93711. call$1(node) {
  93712. var t1;
  93713. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93714. t1 = this.mergedSources;
  93715. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93716. } else
  93717. t1 = true;
  93718. return t1;
  93719. },
  93720. $signature: 7
  93721. };
  93722. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93723. call$0() {
  93724. var $async$goto = 0,
  93725. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93726. $async$self = this, t1, t2, t3, _i;
  93727. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93728. if ($async$errorCode === 1)
  93729. return A._asyncRethrow($async$result, $async$completer);
  93730. for (;;)
  93731. switch ($async$goto) {
  93732. case 0:
  93733. // Function start
  93734. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93735. case 2:
  93736. // for condition
  93737. if (!(_i < t2)) {
  93738. // goto after for
  93739. $async$goto = 4;
  93740. break;
  93741. }
  93742. $async$goto = 5;
  93743. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93744. case 5:
  93745. // returning from await.
  93746. case 3:
  93747. // for update
  93748. ++_i;
  93749. // goto for condition
  93750. $async$goto = 2;
  93751. break;
  93752. case 4:
  93753. // after for
  93754. // implicit return
  93755. return A._asyncReturn(null, $async$completer);
  93756. }
  93757. });
  93758. return A._asyncStartSync($async$call$0, $async$completer);
  93759. },
  93760. $signature: 2
  93761. };
  93762. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93763. call$1(node) {
  93764. return node instanceof A.ModifiableCssStyleRule0;
  93765. },
  93766. $signature: 7
  93767. };
  93768. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93769. call$0() {
  93770. var $async$goto = 0,
  93771. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93772. $async$self = this, t1;
  93773. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93774. if ($async$errorCode === 1)
  93775. return A._asyncRethrow($async$result, $async$completer);
  93776. for (;;)
  93777. switch ($async$goto) {
  93778. case 0:
  93779. // Function start
  93780. t1 = $async$self.$this;
  93781. $async$goto = 2;
  93782. return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  93783. case 2:
  93784. // returning from await.
  93785. // implicit return
  93786. return A._asyncReturn(null, $async$completer);
  93787. }
  93788. });
  93789. return A._asyncStartSync($async$call$0, $async$completer);
  93790. },
  93791. $signature: 2
  93792. };
  93793. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93794. call$0() {
  93795. var $async$goto = 0,
  93796. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93797. $async$self = this, t1, t2, t3, _i;
  93798. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93799. if ($async$errorCode === 1)
  93800. return A._asyncRethrow($async$result, $async$completer);
  93801. for (;;)
  93802. switch ($async$goto) {
  93803. case 0:
  93804. // Function start
  93805. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93806. case 2:
  93807. // for condition
  93808. if (!(_i < t2)) {
  93809. // goto after for
  93810. $async$goto = 4;
  93811. break;
  93812. }
  93813. $async$goto = 5;
  93814. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93815. case 5:
  93816. // returning from await.
  93817. case 3:
  93818. // for update
  93819. ++_i;
  93820. // goto for condition
  93821. $async$goto = 2;
  93822. break;
  93823. case 4:
  93824. // after for
  93825. // implicit return
  93826. return A._asyncReturn(null, $async$completer);
  93827. }
  93828. });
  93829. return A._asyncStartSync($async$call$0, $async$completer);
  93830. },
  93831. $signature: 2
  93832. };
  93833. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93834. call$1(node) {
  93835. return node instanceof A.ModifiableCssStyleRule0;
  93836. },
  93837. $signature: 7
  93838. };
  93839. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93840. call$1(child) {
  93841. return child instanceof A.ModifiableCssComment0;
  93842. },
  93843. $signature: 7
  93844. };
  93845. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93846. call$0() {
  93847. var $async$goto = 0,
  93848. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93849. $async$self = this, t2, t3, _i, t1, _0_0;
  93850. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93851. if ($async$errorCode === 1)
  93852. return A._asyncRethrow($async$result, $async$completer);
  93853. for (;;)
  93854. switch ($async$goto) {
  93855. case 0:
  93856. // Function start
  93857. t1 = $async$self.$this;
  93858. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93859. $async$goto = _0_0 != null ? 2 : 4;
  93860. break;
  93861. case 2:
  93862. // then
  93863. $async$goto = 5;
  93864. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  93865. case 5:
  93866. // returning from await.
  93867. // goto join
  93868. $async$goto = 3;
  93869. break;
  93870. case 4:
  93871. // else
  93872. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93873. case 6:
  93874. // for condition
  93875. if (!(_i < t3)) {
  93876. // goto after for
  93877. $async$goto = 8;
  93878. break;
  93879. }
  93880. $async$goto = 9;
  93881. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93882. case 9:
  93883. // returning from await.
  93884. case 7:
  93885. // for update
  93886. ++_i;
  93887. // goto for condition
  93888. $async$goto = 6;
  93889. break;
  93890. case 8:
  93891. // after for
  93892. case 3:
  93893. // join
  93894. // implicit return
  93895. return A._asyncReturn(null, $async$completer);
  93896. }
  93897. });
  93898. return A._asyncStartSync($async$call$0, $async$completer);
  93899. },
  93900. $signature: 2
  93901. };
  93902. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93903. call$0() {
  93904. var $async$goto = 0,
  93905. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93906. $async$self = this, t1, t2, t3, _i;
  93907. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93908. if ($async$errorCode === 1)
  93909. return A._asyncRethrow($async$result, $async$completer);
  93910. for (;;)
  93911. switch ($async$goto) {
  93912. case 0:
  93913. // Function start
  93914. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93915. case 2:
  93916. // for condition
  93917. if (!(_i < t2)) {
  93918. // goto after for
  93919. $async$goto = 4;
  93920. break;
  93921. }
  93922. $async$goto = 5;
  93923. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93924. case 5:
  93925. // returning from await.
  93926. case 3:
  93927. // for update
  93928. ++_i;
  93929. // goto for condition
  93930. $async$goto = 2;
  93931. break;
  93932. case 4:
  93933. // after for
  93934. // implicit return
  93935. return A._asyncReturn(null, $async$completer);
  93936. }
  93937. });
  93938. return A._asyncStartSync($async$call$0, $async$completer);
  93939. },
  93940. $signature: 2
  93941. };
  93942. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93943. call$1(node) {
  93944. return node instanceof A.ModifiableCssStyleRule0;
  93945. },
  93946. $signature: 7
  93947. };
  93948. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93949. call$0() {
  93950. var $async$goto = 0,
  93951. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93952. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93953. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93954. if ($async$errorCode === 1)
  93955. return A._asyncRethrow($async$result, $async$completer);
  93956. for (;;)
  93957. switch ($async$goto) {
  93958. case 0:
  93959. // Function start
  93960. t1 = $async$self.$this;
  93961. t2 = $async$self._box_0;
  93962. $async$temp1 = A;
  93963. $async$goto = 3;
  93964. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93965. case 3:
  93966. // returning from await.
  93967. t3 = $async$temp1.S($async$result);
  93968. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93969. $async$temp1 = "(" + t3 + ":" + t4;
  93970. $async$temp2 = A;
  93971. $async$goto = 4;
  93972. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93973. case 4:
  93974. // returning from await.
  93975. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93976. // goto return
  93977. $async$goto = 1;
  93978. break;
  93979. case 1:
  93980. // return
  93981. return A._asyncReturn($async$returnValue, $async$completer);
  93982. }
  93983. });
  93984. return A._asyncStartSync($async$call$0, $async$completer);
  93985. },
  93986. $signature: 180
  93987. };
  93988. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93989. call$0() {
  93990. var t1 = this.$this._async_evaluate0$_environment,
  93991. t2 = this._box_0.override;
  93992. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93993. },
  93994. $signature: 1
  93995. };
  93996. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93997. call$0() {
  93998. var t1 = this.node;
  93999. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  94000. },
  94001. $signature: 43
  94002. };
  94003. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  94004. call$0() {
  94005. var t1 = this.$this,
  94006. t2 = this.node;
  94007. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  94008. },
  94009. $signature: 1
  94010. };
  94011. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  94012. call$2(module, firstLoad) {
  94013. var t1, t2, t3, _0_0, t4, t5, span;
  94014. if (firstLoad)
  94015. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  94016. t1 = this.$this._async_evaluate0$_environment;
  94017. t2 = this.node;
  94018. t3 = t2.namespace;
  94019. if (t3 == null) {
  94020. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  94021. t1._async_environment0$_allModules.push(module);
  94022. t1 = B.JSArray_methods.get$first(t1._async_environment0$_variables);
  94023. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  94024. if (_0_0 != null)
  94025. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  94026. } else {
  94027. t4 = t1._async_environment0$_modules;
  94028. if (t4.containsKey$1(t3)) {
  94029. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  94030. span = t5 == null ? null : t5.span;
  94031. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94032. if (span != null)
  94033. t5.$indexSet(0, span, "original @use");
  94034. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  94035. }
  94036. t4.$indexSet(0, t3, module);
  94037. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  94038. t1._async_environment0$_allModules.push(module);
  94039. }
  94040. },
  94041. $signature: 120
  94042. };
  94043. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  94044. call$0() {
  94045. return this.node.expression.accept$1(this.$this);
  94046. },
  94047. $signature: 79
  94048. };
  94049. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  94050. call$0() {
  94051. var $async$goto = 0,
  94052. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  94053. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  94054. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94055. if ($async$errorCode === 1)
  94056. return A._asyncRethrow($async$result, $async$completer);
  94057. for (;;)
  94058. switch ($async$goto) {
  94059. case 0:
  94060. // Function start
  94061. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  94062. case 3:
  94063. // for condition
  94064. $async$goto = 5;
  94065. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  94066. case 5:
  94067. // returning from await.
  94068. if (!$async$result.get$isTruthy()) {
  94069. // goto after for
  94070. $async$goto = 4;
  94071. break;
  94072. }
  94073. $async$goto = 6;
  94074. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  94075. case 6:
  94076. // returning from await.
  94077. _0_0 = $async$result;
  94078. if (_0_0 != null) {
  94079. $async$returnValue = _0_0;
  94080. // goto return
  94081. $async$goto = 1;
  94082. break;
  94083. }
  94084. // goto for condition
  94085. $async$goto = 3;
  94086. break;
  94087. case 4:
  94088. // after for
  94089. $async$returnValue = null;
  94090. // goto return
  94091. $async$goto = 1;
  94092. break;
  94093. case 1:
  94094. // return
  94095. return A._asyncReturn($async$returnValue, $async$completer);
  94096. }
  94097. });
  94098. return A._asyncStartSync($async$call$0, $async$completer);
  94099. },
  94100. $signature: 78
  94101. };
  94102. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  94103. call$1(child) {
  94104. return child.accept$1(this.$this);
  94105. },
  94106. $signature: 101
  94107. };
  94108. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  94109. call$0() {
  94110. var $async$goto = 0,
  94111. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  94112. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  94113. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94114. if ($async$errorCode === 1)
  94115. return A._asyncRethrow($async$result, $async$completer);
  94116. for (;;)
  94117. switch ($async$goto) {
  94118. case 0:
  94119. // Function start
  94120. t1 = $async$self.node;
  94121. t2 = $async$self.$this;
  94122. $async$goto = 3;
  94123. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  94124. case 3:
  94125. // returning from await.
  94126. left = $async$result;
  94127. case 4:
  94128. // switch
  94129. switch (t1.operator.index) {
  94130. case 0:
  94131. // goto case
  94132. $async$goto = 6;
  94133. break;
  94134. case 1:
  94135. // goto case
  94136. $async$goto = 7;
  94137. break;
  94138. case 2:
  94139. // goto case
  94140. $async$goto = 8;
  94141. break;
  94142. case 3:
  94143. // goto case
  94144. $async$goto = 9;
  94145. break;
  94146. case 4:
  94147. // goto case
  94148. $async$goto = 10;
  94149. break;
  94150. case 5:
  94151. // goto case
  94152. $async$goto = 11;
  94153. break;
  94154. case 6:
  94155. // goto case
  94156. $async$goto = 12;
  94157. break;
  94158. case 7:
  94159. // goto case
  94160. $async$goto = 13;
  94161. break;
  94162. case 8:
  94163. // goto case
  94164. $async$goto = 14;
  94165. break;
  94166. case 9:
  94167. // goto case
  94168. $async$goto = 15;
  94169. break;
  94170. case 10:
  94171. // goto case
  94172. $async$goto = 16;
  94173. break;
  94174. case 11:
  94175. // goto case
  94176. $async$goto = 17;
  94177. break;
  94178. case 12:
  94179. // goto case
  94180. $async$goto = 18;
  94181. break;
  94182. case 13:
  94183. // goto case
  94184. $async$goto = 19;
  94185. break;
  94186. default:
  94187. // goto default
  94188. $async$goto = 20;
  94189. break;
  94190. }
  94191. break;
  94192. case 6:
  94193. // case
  94194. t1 = t1.right.accept$1(t2);
  94195. $async$goto = 21;
  94196. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94197. case 21:
  94198. // returning from await.
  94199. t1 = $async$result;
  94200. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  94201. // goto after switch
  94202. $async$goto = 5;
  94203. break;
  94204. case 7:
  94205. // case
  94206. $async$goto = left.get$isTruthy() ? 22 : 24;
  94207. break;
  94208. case 22:
  94209. // then
  94210. t1 = left;
  94211. // goto join
  94212. $async$goto = 23;
  94213. break;
  94214. case 24:
  94215. // else
  94216. t1 = t1.right.accept$1(t2);
  94217. $async$goto = 25;
  94218. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94219. case 25:
  94220. // returning from await.
  94221. t1 = $async$result;
  94222. case 23:
  94223. // join
  94224. // goto after switch
  94225. $async$goto = 5;
  94226. break;
  94227. case 8:
  94228. // case
  94229. $async$goto = left.get$isTruthy() ? 26 : 28;
  94230. break;
  94231. case 26:
  94232. // then
  94233. t1 = t1.right.accept$1(t2);
  94234. $async$goto = 29;
  94235. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94236. case 29:
  94237. // returning from await.
  94238. t1 = $async$result;
  94239. // goto join
  94240. $async$goto = 27;
  94241. break;
  94242. case 28:
  94243. // else
  94244. t1 = left;
  94245. case 27:
  94246. // join
  94247. // goto after switch
  94248. $async$goto = 5;
  94249. break;
  94250. case 9:
  94251. // case
  94252. $async$temp1 = left;
  94253. $async$goto = 30;
  94254. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  94255. case 30:
  94256. // returning from await.
  94257. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  94258. // goto after switch
  94259. $async$goto = 5;
  94260. break;
  94261. case 10:
  94262. // case
  94263. $async$temp1 = left;
  94264. $async$goto = 31;
  94265. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  94266. case 31:
  94267. // returning from await.
  94268. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  94269. // goto after switch
  94270. $async$goto = 5;
  94271. break;
  94272. case 11:
  94273. // case
  94274. t1 = t1.right.accept$1(t2);
  94275. $async$temp1 = left;
  94276. $async$goto = 32;
  94277. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94278. case 32:
  94279. // returning from await.
  94280. t1 = $async$temp1.greaterThan$1($async$result);
  94281. // goto after switch
  94282. $async$goto = 5;
  94283. break;
  94284. case 12:
  94285. // case
  94286. t1 = t1.right.accept$1(t2);
  94287. $async$temp1 = left;
  94288. $async$goto = 33;
  94289. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94290. case 33:
  94291. // returning from await.
  94292. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  94293. // goto after switch
  94294. $async$goto = 5;
  94295. break;
  94296. case 13:
  94297. // case
  94298. t1 = t1.right.accept$1(t2);
  94299. $async$temp1 = left;
  94300. $async$goto = 34;
  94301. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94302. case 34:
  94303. // returning from await.
  94304. t1 = $async$temp1.lessThan$1($async$result);
  94305. // goto after switch
  94306. $async$goto = 5;
  94307. break;
  94308. case 14:
  94309. // case
  94310. t1 = t1.right.accept$1(t2);
  94311. $async$temp1 = left;
  94312. $async$goto = 35;
  94313. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94314. case 35:
  94315. // returning from await.
  94316. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  94317. // goto after switch
  94318. $async$goto = 5;
  94319. break;
  94320. case 15:
  94321. // case
  94322. t1 = t1.right.accept$1(t2);
  94323. $async$temp1 = left;
  94324. $async$goto = 36;
  94325. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94326. case 36:
  94327. // returning from await.
  94328. t1 = $async$temp1.plus$1($async$result);
  94329. // goto after switch
  94330. $async$goto = 5;
  94331. break;
  94332. case 16:
  94333. // case
  94334. t1 = t1.right.accept$1(t2);
  94335. $async$temp1 = left;
  94336. $async$goto = 37;
  94337. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94338. case 37:
  94339. // returning from await.
  94340. t1 = $async$temp1.minus$1($async$result);
  94341. // goto after switch
  94342. $async$goto = 5;
  94343. break;
  94344. case 17:
  94345. // case
  94346. t1 = t1.right.accept$1(t2);
  94347. $async$temp1 = left;
  94348. $async$goto = 38;
  94349. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94350. case 38:
  94351. // returning from await.
  94352. t1 = $async$temp1.times$1($async$result);
  94353. // goto after switch
  94354. $async$goto = 5;
  94355. break;
  94356. case 18:
  94357. // case
  94358. t3 = t1.right.accept$1(t2);
  94359. $async$temp1 = t2;
  94360. $async$temp2 = left;
  94361. $async$goto = 39;
  94362. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  94363. case 39:
  94364. // returning from await.
  94365. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  94366. // goto after switch
  94367. $async$goto = 5;
  94368. break;
  94369. case 19:
  94370. // case
  94371. t1 = t1.right.accept$1(t2);
  94372. $async$temp1 = left;
  94373. $async$goto = 40;
  94374. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94375. case 40:
  94376. // returning from await.
  94377. t1 = $async$temp1.modulo$1($async$result);
  94378. // goto after switch
  94379. $async$goto = 5;
  94380. break;
  94381. case 20:
  94382. // default
  94383. t1 = null;
  94384. case 5:
  94385. // after switch
  94386. $async$returnValue = t1;
  94387. // goto return
  94388. $async$goto = 1;
  94389. break;
  94390. case 1:
  94391. // return
  94392. return A._asyncReturn($async$returnValue, $async$completer);
  94393. }
  94394. });
  94395. return A._asyncStartSync($async$call$0, $async$completer);
  94396. },
  94397. $signature: 79
  94398. };
  94399. A._EvaluateVisitor__slash_recommendation2.prototype = {
  94400. call$1(expression) {
  94401. var t1;
  94402. $label0$0: {
  94403. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_ehp0 === expression.operator) {
  94404. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  94405. break $label0$0;
  94406. }
  94407. if (expression instanceof A.ParenthesizedExpression0) {
  94408. t1 = expression.expression.toString$0(0);
  94409. break $label0$0;
  94410. }
  94411. t1 = expression.toString$0(0);
  94412. break $label0$0;
  94413. }
  94414. return t1;
  94415. },
  94416. $signature: 119
  94417. };
  94418. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  94419. call$0() {
  94420. var t1 = this.node;
  94421. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  94422. },
  94423. $signature: 43
  94424. };
  94425. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  94426. call$0() {
  94427. var t1, _this = this;
  94428. switch (_this.node.operator.index) {
  94429. case 0:
  94430. t1 = _this.operand.unaryPlus$0();
  94431. break;
  94432. case 1:
  94433. t1 = _this.operand.unaryMinus$0();
  94434. break;
  94435. case 2:
  94436. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  94437. break;
  94438. case 3:
  94439. t1 = _this.operand.unaryNot$0();
  94440. break;
  94441. default:
  94442. t1 = null;
  94443. }
  94444. return t1;
  94445. },
  94446. $signature: 48
  94447. };
  94448. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  94449. call$1(expression) {
  94450. return expression.accept$1(this.$this);
  94451. },
  94452. $signature: 350
  94453. };
  94454. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  94455. call$0() {
  94456. var t1 = this.node;
  94457. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  94458. },
  94459. $signature: 96
  94460. };
  94461. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  94462. call$1(argument) {
  94463. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  94464. },
  94465. $signature: 118
  94466. };
  94467. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  94468. call$0() {
  94469. var t1 = this.node;
  94470. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  94471. },
  94472. $signature: 79
  94473. };
  94474. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  94475. call$2(message, deprecation) {
  94476. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  94477. },
  94478. call$1(message) {
  94479. return this.call$2(message, null);
  94480. },
  94481. $signature: 110
  94482. };
  94483. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  94484. call$1(maxArgs) {
  94485. var t1 = this.node,
  94486. t2 = t1.$arguments.positional.length;
  94487. if (t2 === 0)
  94488. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  94489. else if (maxArgs != null && t2 > maxArgs)
  94490. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  94491. },
  94492. call$0() {
  94493. return this.call$1(null);
  94494. },
  94495. $signature: 99
  94496. };
  94497. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  94498. call$0() {
  94499. var $async$goto = 0,
  94500. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  94501. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  94502. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94503. if ($async$errorCode === 1)
  94504. return A._asyncRethrow($async$result, $async$completer);
  94505. for (;;)
  94506. switch ($async$goto) {
  94507. case 0:
  94508. // Function start
  94509. t1 = $async$self.$this;
  94510. t2 = $async$self._box_0;
  94511. t3 = $async$self.node;
  94512. t4 = $async$self.inLegacySassFunction;
  94513. $async$temp1 = A;
  94514. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  94515. $async$goto = 3;
  94516. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  94517. case 3:
  94518. // returning from await.
  94519. $async$temp3 = $async$result;
  94520. $async$goto = 4;
  94521. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  94522. case 4:
  94523. // returning from await.
  94524. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  94525. // goto return
  94526. $async$goto = 1;
  94527. break;
  94528. case 1:
  94529. // return
  94530. return A._asyncReturn($async$returnValue, $async$completer);
  94531. }
  94532. });
  94533. return A._asyncStartSync($async$call$0, $async$completer);
  94534. },
  94535. $signature: 182
  94536. };
  94537. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  94538. call$2(message, deprecation) {
  94539. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  94540. },
  94541. call$1(message) {
  94542. return this.call$2(message, null);
  94543. },
  94544. $signature: 110
  94545. };
  94546. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  94547. call$0() {
  94548. var t1 = this.node;
  94549. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  94550. },
  94551. $signature: 79
  94552. };
  94553. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  94554. call$0() {
  94555. var _this = this,
  94556. t1 = _this.$this,
  94557. t2 = _this.callable,
  94558. t3 = _this.V;
  94559. return t1._async_evaluate0$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure2(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
  94560. },
  94561. $signature() {
  94562. return this.V._eval$1("Future<0>()");
  94563. }
  94564. };
  94565. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  94566. call$0() {
  94567. var _this = this,
  94568. t1 = _this.$this,
  94569. t2 = _this.V;
  94570. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  94571. },
  94572. $signature() {
  94573. return this.V._eval$1("Future<0>()");
  94574. }
  94575. };
  94576. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  94577. call$0() {
  94578. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  94579. },
  94580. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  94581. var $async$goto = 0,
  94582. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  94583. $async$returnValue, $async$self = this, parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, t1, t2, t3, t4, $async$temp1;
  94584. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94585. if ($async$errorCode === 1)
  94586. return A._asyncRethrow($async$result, $async$completer);
  94587. for (;;)
  94588. switch ($async$goto) {
  94589. case 0:
  94590. // Function start
  94591. t1 = $async$self.$this;
  94592. t2 = $async$self.evaluated._values;
  94593. t3 = $async$self.callable.declaration.parameters;
  94594. t4 = $async$self.nodeWithSpan;
  94595. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  94596. parameters = t3.parameters;
  94597. t5 = parameters.length;
  94598. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  94599. for (i = 0; i < minLength; ++i)
  94600. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  94601. i = J.get$length$asx(t2[2]);
  94602. case 3:
  94603. // for condition
  94604. if (!(i < t5)) {
  94605. // goto after for
  94606. $async$goto = 5;
  94607. break;
  94608. }
  94609. parameter = parameters[i];
  94610. t6 = parameter.name;
  94611. value = t2[0].remove$1(0, t6);
  94612. $async$goto = value == null ? 6 : 7;
  94613. break;
  94614. case 6:
  94615. // then
  94616. t7 = parameter.defaultValue;
  94617. $async$temp1 = t1;
  94618. $async$goto = 8;
  94619. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  94620. case 8:
  94621. // returning from await.
  94622. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  94623. case 7:
  94624. // join
  94625. t7 = t1._async_evaluate0$_environment;
  94626. t8 = t2[1].$index(0, t6);
  94627. if (t8 == null) {
  94628. t8 = parameter.defaultValue;
  94629. t8.toString;
  94630. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  94631. }
  94632. t7.setLocalVariable$3(t6, value, t8);
  94633. case 4:
  94634. // for update
  94635. ++i;
  94636. // goto for condition
  94637. $async$goto = 3;
  94638. break;
  94639. case 5:
  94640. // after for
  94641. restParameter = t3.restParameter;
  94642. if (restParameter != null) {
  94643. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty21;
  94644. t5 = t2[0];
  94645. t6 = t2[4];
  94646. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_3_undecided0 ? B.ListSeparator_z0K0 : t6);
  94647. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  94648. } else
  94649. argumentList = null;
  94650. $async$goto = 9;
  94651. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  94652. case 9:
  94653. // returning from await.
  94654. result = $async$result;
  94655. if (argumentList == null) {
  94656. $async$returnValue = result;
  94657. // goto return
  94658. $async$goto = 1;
  94659. break;
  94660. }
  94661. t5 = t2[0];
  94662. if (t5.get$isEmpty(t5)) {
  94663. $async$returnValue = result;
  94664. // goto return
  94665. $async$goto = 1;
  94666. break;
  94667. }
  94668. if (argumentList._argument_list$_wereKeywordsAccessed) {
  94669. $async$returnValue = result;
  94670. // goto return
  94671. $async$goto = 1;
  94672. break;
  94673. }
  94674. t5 = t2[0];
  94675. t5 = t5.get$keys(t5);
  94676. parameterWord = A.pluralize0("parameter", t5.get$length(t5), null);
  94677. t2 = t2[0];
  94678. t2 = t2.get$keys(t2);
  94679. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(t2.map$1$1(t2, new A._EvaluateVisitor__runUserDefinedCallable____closure2(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  94680. case 1:
  94681. // return
  94682. return A._asyncReturn($async$returnValue, $async$completer);
  94683. }
  94684. });
  94685. return A._asyncStartSync($async$call$0, $async$completer);
  94686. },
  94687. $signature() {
  94688. return this.V._eval$1("Future<0>()");
  94689. }
  94690. };
  94691. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  94692. call$1($name) {
  94693. return "$" + $name;
  94694. },
  94695. $signature: 6
  94696. };
  94697. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  94698. call$0() {
  94699. var $async$goto = 0,
  94700. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  94701. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  94702. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94703. if ($async$errorCode === 1)
  94704. return A._asyncRethrow($async$result, $async$completer);
  94705. for (;;)
  94706. switch ($async$goto) {
  94707. case 0:
  94708. // Function start
  94709. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  94710. case 3:
  94711. // for condition
  94712. if (!(_i < t3)) {
  94713. // goto after for
  94714. $async$goto = 5;
  94715. break;
  94716. }
  94717. $async$goto = 6;
  94718. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94719. case 6:
  94720. // returning from await.
  94721. $returnValue = $async$result;
  94722. if ($returnValue instanceof A.Value0) {
  94723. $async$returnValue = $returnValue;
  94724. // goto return
  94725. $async$goto = 1;
  94726. break;
  94727. }
  94728. case 4:
  94729. // for update
  94730. ++_i;
  94731. // goto for condition
  94732. $async$goto = 3;
  94733. break;
  94734. case 5:
  94735. // after for
  94736. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94737. case 1:
  94738. // return
  94739. return A._asyncReturn($async$returnValue, $async$completer);
  94740. }
  94741. });
  94742. return A._asyncStartSync($async$call$0, $async$completer);
  94743. },
  94744. $signature: 79
  94745. };
  94746. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94747. call$0() {
  94748. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94749. },
  94750. $signature: 0
  94751. };
  94752. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94753. call$0() {
  94754. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94755. },
  94756. $signature: 353
  94757. };
  94758. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94759. call$1($name) {
  94760. return "$" + $name;
  94761. },
  94762. $signature: 6
  94763. };
  94764. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94765. call$1(value) {
  94766. return value;
  94767. },
  94768. $signature: 44
  94769. };
  94770. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94771. call$1(value) {
  94772. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94773. },
  94774. $signature: 44
  94775. };
  94776. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94777. call$2(key, value) {
  94778. var _this = this,
  94779. t1 = _this.restNodeForSpan;
  94780. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94781. _this.namedNodes.$indexSet(0, key, t1);
  94782. },
  94783. $signature: 112
  94784. };
  94785. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94786. call$1(value) {
  94787. return value;
  94788. },
  94789. $signature: 44
  94790. };
  94791. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94792. call$1(value) {
  94793. var t1 = this.restArgs;
  94794. return new A.ValueExpression0(value, t1.get$span(t1));
  94795. },
  94796. $signature: 58
  94797. };
  94798. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94799. call$1(value) {
  94800. var t1 = this.restArgs;
  94801. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94802. },
  94803. $signature: 58
  94804. };
  94805. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94806. call$2(key, value) {
  94807. var _this = this,
  94808. t1 = _this.restArgs;
  94809. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94810. },
  94811. $signature: 112
  94812. };
  94813. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94814. call$1(value) {
  94815. var t1 = this.keywordRestArgs;
  94816. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94817. },
  94818. $signature: 58
  94819. };
  94820. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94821. call$2(key, value) {
  94822. var t2, _this = this,
  94823. t1 = _this.$this;
  94824. if (key instanceof A.SassString0)
  94825. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94826. else {
  94827. t2 = _this.nodeWithSpan;
  94828. throw A.wrapException(t1._async_evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  94829. }
  94830. },
  94831. $signature: 97
  94832. };
  94833. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94834. call$0() {
  94835. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94836. },
  94837. $signature: 0
  94838. };
  94839. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94840. call$0() {
  94841. var $async$goto = 0,
  94842. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94843. $async$self = this, t1, t2, t3, t4;
  94844. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94845. if ($async$errorCode === 1)
  94846. return A._asyncRethrow($async$result, $async$completer);
  94847. for (;;)
  94848. switch ($async$goto) {
  94849. case 0:
  94850. // Function start
  94851. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94852. case 2:
  94853. // for condition
  94854. if (!t1.moveNext$0()) {
  94855. // goto after for
  94856. $async$goto = 3;
  94857. break;
  94858. }
  94859. t4 = t1.__internal$_current;
  94860. $async$goto = 4;
  94861. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94862. case 4:
  94863. // returning from await.
  94864. // goto for condition
  94865. $async$goto = 2;
  94866. break;
  94867. case 3:
  94868. // after for
  94869. // implicit return
  94870. return A._asyncReturn(null, $async$completer);
  94871. }
  94872. });
  94873. return A._asyncStartSync($async$call$0, $async$completer);
  94874. },
  94875. $signature: 2
  94876. };
  94877. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94878. call$1(node) {
  94879. return node instanceof A.ModifiableCssStyleRule0;
  94880. },
  94881. $signature: 7
  94882. };
  94883. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94884. call$0() {
  94885. var $async$goto = 0,
  94886. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94887. $async$self = this, t1, t2, t3, t4;
  94888. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94889. if ($async$errorCode === 1)
  94890. return A._asyncRethrow($async$result, $async$completer);
  94891. for (;;)
  94892. switch ($async$goto) {
  94893. case 0:
  94894. // Function start
  94895. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94896. case 2:
  94897. // for condition
  94898. if (!t1.moveNext$0()) {
  94899. // goto after for
  94900. $async$goto = 3;
  94901. break;
  94902. }
  94903. t4 = t1.__internal$_current;
  94904. $async$goto = 4;
  94905. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94906. case 4:
  94907. // returning from await.
  94908. // goto for condition
  94909. $async$goto = 2;
  94910. break;
  94911. case 3:
  94912. // after for
  94913. // implicit return
  94914. return A._asyncReturn(null, $async$completer);
  94915. }
  94916. });
  94917. return A._asyncStartSync($async$call$0, $async$completer);
  94918. },
  94919. $signature: 2
  94920. };
  94921. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94922. call$1(node) {
  94923. return node instanceof A.ModifiableCssStyleRule0;
  94924. },
  94925. $signature: 7
  94926. };
  94927. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94928. call$1(mediaQueries) {
  94929. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94930. },
  94931. $signature: 104
  94932. };
  94933. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94934. call$0() {
  94935. var $async$goto = 0,
  94936. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94937. $async$self = this, t1, t2;
  94938. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94939. if ($async$errorCode === 1)
  94940. return A._asyncRethrow($async$result, $async$completer);
  94941. for (;;)
  94942. switch ($async$goto) {
  94943. case 0:
  94944. // Function start
  94945. t1 = $async$self.$this;
  94946. t2 = $async$self.mergedQueries;
  94947. if (t2 == null)
  94948. t2 = $async$self.node.queries;
  94949. $async$goto = 2;
  94950. return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  94951. case 2:
  94952. // returning from await.
  94953. // implicit return
  94954. return A._asyncReturn(null, $async$completer);
  94955. }
  94956. });
  94957. return A._asyncStartSync($async$call$0, $async$completer);
  94958. },
  94959. $signature: 2
  94960. };
  94961. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94962. call$0() {
  94963. var $async$goto = 0,
  94964. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94965. $async$self = this, t2, t3, t4, t1, _0_0;
  94966. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94967. if ($async$errorCode === 1)
  94968. return A._asyncRethrow($async$result, $async$completer);
  94969. for (;;)
  94970. switch ($async$goto) {
  94971. case 0:
  94972. // Function start
  94973. t1 = $async$self.$this;
  94974. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94975. $async$goto = _0_0 != null ? 2 : 4;
  94976. break;
  94977. case 2:
  94978. // then
  94979. $async$goto = 5;
  94980. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  94981. case 5:
  94982. // returning from await.
  94983. // goto join
  94984. $async$goto = 3;
  94985. break;
  94986. case 4:
  94987. // else
  94988. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  94989. case 6:
  94990. // for condition
  94991. if (!t2.moveNext$0()) {
  94992. // goto after for
  94993. $async$goto = 7;
  94994. break;
  94995. }
  94996. t4 = t2.__internal$_current;
  94997. $async$goto = 8;
  94998. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94999. case 8:
  95000. // returning from await.
  95001. // goto for condition
  95002. $async$goto = 6;
  95003. break;
  95004. case 7:
  95005. // after for
  95006. case 3:
  95007. // join
  95008. // implicit return
  95009. return A._asyncReturn(null, $async$completer);
  95010. }
  95011. });
  95012. return A._asyncStartSync($async$call$0, $async$completer);
  95013. },
  95014. $signature: 2
  95015. };
  95016. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  95017. call$0() {
  95018. var $async$goto = 0,
  95019. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  95020. $async$self = this, t1, t2, t3, t4;
  95021. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95022. if ($async$errorCode === 1)
  95023. return A._asyncRethrow($async$result, $async$completer);
  95024. for (;;)
  95025. switch ($async$goto) {
  95026. case 0:
  95027. // Function start
  95028. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  95029. case 2:
  95030. // for condition
  95031. if (!t1.moveNext$0()) {
  95032. // goto after for
  95033. $async$goto = 3;
  95034. break;
  95035. }
  95036. t4 = t1.__internal$_current;
  95037. $async$goto = 4;
  95038. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  95039. case 4:
  95040. // returning from await.
  95041. // goto for condition
  95042. $async$goto = 2;
  95043. break;
  95044. case 3:
  95045. // after for
  95046. // implicit return
  95047. return A._asyncReturn(null, $async$completer);
  95048. }
  95049. });
  95050. return A._asyncStartSync($async$call$0, $async$completer);
  95051. },
  95052. $signature: 2
  95053. };
  95054. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  95055. call$1(node) {
  95056. var t1;
  95057. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  95058. t1 = this.mergedSources;
  95059. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  95060. } else
  95061. t1 = true;
  95062. return t1;
  95063. },
  95064. $signature: 7
  95065. };
  95066. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  95067. call$0() {
  95068. var $async$goto = 0,
  95069. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  95070. $async$self = this, t1;
  95071. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95072. if ($async$errorCode === 1)
  95073. return A._asyncRethrow($async$result, $async$completer);
  95074. for (;;)
  95075. switch ($async$goto) {
  95076. case 0:
  95077. // Function start
  95078. t1 = $async$self.$this;
  95079. $async$goto = 2;
  95080. return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  95081. case 2:
  95082. // returning from await.
  95083. // implicit return
  95084. return A._asyncReturn(null, $async$completer);
  95085. }
  95086. });
  95087. return A._asyncStartSync($async$call$0, $async$completer);
  95088. },
  95089. $signature: 2
  95090. };
  95091. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  95092. call$0() {
  95093. var $async$goto = 0,
  95094. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  95095. $async$self = this, t1, t2, t3, t4;
  95096. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95097. if ($async$errorCode === 1)
  95098. return A._asyncRethrow($async$result, $async$completer);
  95099. for (;;)
  95100. switch ($async$goto) {
  95101. case 0:
  95102. // Function start
  95103. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  95104. case 2:
  95105. // for condition
  95106. if (!t1.moveNext$0()) {
  95107. // goto after for
  95108. $async$goto = 3;
  95109. break;
  95110. }
  95111. t4 = t1.__internal$_current;
  95112. $async$goto = 4;
  95113. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  95114. case 4:
  95115. // returning from await.
  95116. // goto for condition
  95117. $async$goto = 2;
  95118. break;
  95119. case 3:
  95120. // after for
  95121. // implicit return
  95122. return A._asyncReturn(null, $async$completer);
  95123. }
  95124. });
  95125. return A._asyncStartSync($async$call$0, $async$completer);
  95126. },
  95127. $signature: 2
  95128. };
  95129. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  95130. call$1(node) {
  95131. return node instanceof A.ModifiableCssStyleRule0;
  95132. },
  95133. $signature: 7
  95134. };
  95135. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  95136. call$0() {
  95137. var $async$goto = 0,
  95138. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  95139. $async$self = this, t2, t3, t4, t1, _0_0;
  95140. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95141. if ($async$errorCode === 1)
  95142. return A._asyncRethrow($async$result, $async$completer);
  95143. for (;;)
  95144. switch ($async$goto) {
  95145. case 0:
  95146. // Function start
  95147. t1 = $async$self.$this;
  95148. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  95149. $async$goto = _0_0 != null ? 2 : 4;
  95150. break;
  95151. case 2:
  95152. // then
  95153. $async$goto = 5;
  95154. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  95155. case 5:
  95156. // returning from await.
  95157. // goto join
  95158. $async$goto = 3;
  95159. break;
  95160. case 4:
  95161. // else
  95162. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  95163. case 6:
  95164. // for condition
  95165. if (!t2.moveNext$0()) {
  95166. // goto after for
  95167. $async$goto = 7;
  95168. break;
  95169. }
  95170. t4 = t2.__internal$_current;
  95171. $async$goto = 8;
  95172. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  95173. case 8:
  95174. // returning from await.
  95175. // goto for condition
  95176. $async$goto = 6;
  95177. break;
  95178. case 7:
  95179. // after for
  95180. case 3:
  95181. // join
  95182. // implicit return
  95183. return A._asyncReturn(null, $async$completer);
  95184. }
  95185. });
  95186. return A._asyncStartSync($async$call$0, $async$completer);
  95187. },
  95188. $signature: 2
  95189. };
  95190. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  95191. call$0() {
  95192. var $async$goto = 0,
  95193. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  95194. $async$self = this, t1, t2, t3, t4;
  95195. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95196. if ($async$errorCode === 1)
  95197. return A._asyncRethrow($async$result, $async$completer);
  95198. for (;;)
  95199. switch ($async$goto) {
  95200. case 0:
  95201. // Function start
  95202. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  95203. case 2:
  95204. // for condition
  95205. if (!t1.moveNext$0()) {
  95206. // goto after for
  95207. $async$goto = 3;
  95208. break;
  95209. }
  95210. t4 = t1.__internal$_current;
  95211. $async$goto = 4;
  95212. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  95213. case 4:
  95214. // returning from await.
  95215. // goto for condition
  95216. $async$goto = 2;
  95217. break;
  95218. case 3:
  95219. // after for
  95220. // implicit return
  95221. return A._asyncReturn(null, $async$completer);
  95222. }
  95223. });
  95224. return A._asyncStartSync($async$call$0, $async$completer);
  95225. },
  95226. $signature: 2
  95227. };
  95228. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  95229. call$1(node) {
  95230. return node instanceof A.ModifiableCssStyleRule0;
  95231. },
  95232. $signature: 7
  95233. };
  95234. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  95235. call$1(targetOffsets) {
  95236. return A.InterpolationMap$0(this.interpolation, targetOffsets);
  95237. },
  95238. $signature: 232
  95239. };
  95240. A._EvaluateVisitor__serialize_closure2.prototype = {
  95241. call$0() {
  95242. return A.serializeValue0(this.value, false, this.quote);
  95243. },
  95244. $signature: 29
  95245. };
  95246. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  95247. call$0() {
  95248. var t1 = this.expression;
  95249. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  95250. },
  95251. $signature: 230
  95252. };
  95253. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  95254. call$1(number) {
  95255. var before, after, t1,
  95256. _1_0 = number.asSlash;
  95257. $label0$0: {
  95258. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  95259. before = _1_0._0;
  95260. after = _1_0._1;
  95261. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  95262. break $label0$0;
  95263. }
  95264. t1 = A.serializeValue0(number, true, true);
  95265. break $label0$0;
  95266. }
  95267. return t1;
  95268. },
  95269. $signature: 229
  95270. };
  95271. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  95272. call$1(url) {
  95273. var t1 = this.$this._async_evaluate0$_importCache;
  95274. t1 = t1 == null ? null : t1.humanize$1(url);
  95275. return t1 == null ? url : t1;
  95276. },
  95277. $signature: 47
  95278. };
  95279. A._ImportedCssVisitor2.prototype = {
  95280. visitCssAtRule$1(node) {
  95281. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  95282. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  95283. },
  95284. visitCssComment$1(node) {
  95285. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  95286. },
  95287. visitCssDeclaration$1(node) {
  95288. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  95289. },
  95290. visitCssImport$1(node) {
  95291. var t2,
  95292. _s13_ = "_endOfImports",
  95293. t1 = this._async_evaluate0$_visitor;
  95294. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  95295. t1._async_evaluate0$_addChild$1(node);
  95296. else if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root").children._collection$_source)) {
  95297. t1._async_evaluate0$_addChild$1(node);
  95298. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  95299. } else {
  95300. t2 = t1._async_evaluate0$_outOfOrderImports;
  95301. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  95302. }
  95303. },
  95304. visitCssKeyframeBlock$1(node) {
  95305. },
  95306. visitCssMediaRule$1(node) {
  95307. var t1 = this._async_evaluate0$_visitor,
  95308. mediaQueries = t1._async_evaluate0$_mediaQueries;
  95309. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  95310. },
  95311. visitCssStyleRule$1(node) {
  95312. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  95313. },
  95314. visitCssStylesheet$1(node) {
  95315. var t1, t2, t3;
  95316. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  95317. t3 = t1.__internal$_current;
  95318. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  95319. }
  95320. },
  95321. visitCssSupportsRule$1(node) {
  95322. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  95323. }
  95324. };
  95325. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  95326. call$1(node) {
  95327. return node instanceof A.ModifiableCssStyleRule0;
  95328. },
  95329. $signature: 7
  95330. };
  95331. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  95332. call$1(node) {
  95333. var t1;
  95334. if (!(node instanceof A.ModifiableCssStyleRule0))
  95335. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  95336. else
  95337. t1 = true;
  95338. return t1;
  95339. },
  95340. $signature: 7
  95341. };
  95342. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  95343. call$1(node) {
  95344. return node instanceof A.ModifiableCssStyleRule0;
  95345. },
  95346. $signature: 7
  95347. };
  95348. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  95349. call$1(node) {
  95350. return node instanceof A.ModifiableCssStyleRule0;
  95351. },
  95352. $signature: 7
  95353. };
  95354. A._EvaluationContext2.prototype = {
  95355. get$currentCallableSpan() {
  95356. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  95357. if (_0_0 != null)
  95358. return _0_0.get$span(_0_0);
  95359. throw A.wrapException(A.StateError$(string$.No_Sasc));
  95360. },
  95361. warn$2(_, message, deprecation) {
  95362. var t1 = this._async_evaluate0$_visitor,
  95363. t2 = t1._async_evaluate0$_importSpan;
  95364. if (t2 == null) {
  95365. t2 = t1._async_evaluate0$_callableNode;
  95366. t2 = t2 == null ? null : t2.get$span(t2);
  95367. }
  95368. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  95369. },
  95370. $isEvaluationContext0: 1
  95371. };
  95372. A.JSToDartAsyncFileImporter.prototype = {
  95373. canonicalize$1(_, url) {
  95374. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  95375. },
  95376. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  95377. var $async$goto = 0,
  95378. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  95379. $async$returnValue, $async$self = this, result, t1, resultUrl;
  95380. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95381. if ($async$errorCode === 1)
  95382. return A._asyncRethrow($async$result, $async$completer);
  95383. for (;;)
  95384. switch ($async$goto) {
  95385. case 0:
  95386. // Function start
  95387. if (url.get$scheme() === "file") {
  95388. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  95389. // goto return
  95390. $async$goto = 1;
  95391. break;
  95392. }
  95393. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  95394. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  95395. break;
  95396. case 3:
  95397. // then
  95398. $async$goto = 5;
  95399. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  95400. case 5:
  95401. // returning from await.
  95402. result = $async$result;
  95403. case 4:
  95404. // join
  95405. if (result == null) {
  95406. $async$returnValue = null;
  95407. // goto return
  95408. $async$goto = 1;
  95409. break;
  95410. }
  95411. t1 = self.URL;
  95412. if (!(result instanceof t1))
  95413. A.jsThrow(new self.Error(string$.The_fie));
  95414. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  95415. if (resultUrl.get$scheme() !== "file")
  95416. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  95417. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  95418. // goto return
  95419. $async$goto = 1;
  95420. break;
  95421. case 1:
  95422. // return
  95423. return A._asyncReturn($async$returnValue, $async$completer);
  95424. }
  95425. });
  95426. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  95427. },
  95428. load$1(_, url) {
  95429. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  95430. },
  95431. isNonCanonicalScheme$1(scheme) {
  95432. return scheme !== "file";
  95433. }
  95434. };
  95435. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  95436. call$0() {
  95437. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  95438. },
  95439. $signature: 35
  95440. };
  95441. A.AsyncImportCache0.prototype = {
  95442. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  95443. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  95444. },
  95445. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  95446. var $async$goto = 0,
  95447. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95448. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  95449. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95450. if ($async$errorCode === 1)
  95451. return A._asyncRethrow($async$result, $async$completer);
  95452. for (;;)
  95453. switch ($async$goto) {
  95454. case 0:
  95455. // Function start
  95456. if (A.isBrowser())
  95457. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  95458. else
  95459. t1 = false;
  95460. if (t1)
  95461. throw A.wrapException(string$.Custom);
  95462. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  95463. break;
  95464. case 3:
  95465. // then
  95466. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  95467. if (resolvedUrl == null)
  95468. resolvedUrl = url;
  95469. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  95470. $async$goto = 5;
  95471. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure0($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  95472. case 5:
  95473. // returning from await.
  95474. relativeResult = $async$result;
  95475. if (relativeResult != null) {
  95476. $async$returnValue = relativeResult;
  95477. // goto return
  95478. $async$goto = 1;
  95479. break;
  95480. }
  95481. case 4:
  95482. // join
  95483. key = new A._Record_2_forImport(url, forImport);
  95484. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  95485. if (t1.containsKey$1(key)) {
  95486. $async$returnValue = t1.$index(0, key);
  95487. // goto return
  95488. $async$goto = 1;
  95489. break;
  95490. }
  95491. t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
  95492. case 6:
  95493. // for condition
  95494. if (!(i < t2.length)) {
  95495. // goto after for
  95496. $async$goto = 8;
  95497. break;
  95498. }
  95499. importer = t2[i];
  95500. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  95501. if (t4.containsKey$1(perImporterKey)) {
  95502. t7 = t4.$index(0, perImporterKey);
  95503. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  95504. } else
  95505. _1_0 = null;
  95506. _1_2_isSet = t3._is(_1_0);
  95507. result = null;
  95508. if (_1_2_isSet) {
  95509. _1_2 = _1_0._0;
  95510. t7 = _1_2 != null;
  95511. if (t7) {
  95512. t6._as(_1_2);
  95513. result = _1_2;
  95514. }
  95515. } else {
  95516. _1_2 = null;
  95517. t7 = false;
  95518. }
  95519. if (t7) {
  95520. $async$returnValue = result;
  95521. // goto return
  95522. $async$goto = 1;
  95523. break;
  95524. }
  95525. if (_1_2_isSet)
  95526. t7 = _1_2 == null;
  95527. else
  95528. t7 = false;
  95529. if (t7) {
  95530. // goto for update
  95531. $async$goto = 7;
  95532. break;
  95533. }
  95534. $async$goto = 10;
  95535. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  95536. case 10:
  95537. // returning from await.
  95538. _2_0 = $async$result;
  95539. _2_1 = _2_0._0;
  95540. _2_5_isSet = _2_1 != null;
  95541. _2_5 = null;
  95542. _2_3 = null;
  95543. t7 = false;
  95544. if (_2_5_isSet) {
  95545. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  95546. _2_3 = _2_0._1;
  95547. t7 = _2_3;
  95548. _2_5 = t7;
  95549. t7 = t7 && cacheable;
  95550. } else
  95551. result = null;
  95552. if (t7) {
  95553. t1.$indexSet(0, key, result);
  95554. $async$returnValue = result;
  95555. // goto return
  95556. $async$goto = 1;
  95557. break;
  95558. }
  95559. if (_2_5_isSet) {
  95560. t7 = _2_5;
  95561. _2_3_isSet = _2_5_isSet;
  95562. } else {
  95563. _2_3 = _2_0._1;
  95564. t7 = _2_3;
  95565. _2_3_isSet = true;
  95566. }
  95567. t7 = t7 && !cacheable;
  95568. if (t7) {
  95569. t4.$indexSet(0, perImporterKey, _2_1);
  95570. if (_2_1 != null) {
  95571. $async$returnValue = _2_1;
  95572. // goto return
  95573. $async$goto = 1;
  95574. break;
  95575. }
  95576. // goto break $label0$1
  95577. $async$goto = 9;
  95578. break;
  95579. }
  95580. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  95581. if (t7) {
  95582. if (cacheable) {
  95583. for (j = 0; j < i; ++j)
  95584. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  95585. cacheable = false;
  95586. }
  95587. if (_2_1 != null) {
  95588. $async$returnValue = _2_1;
  95589. // goto return
  95590. $async$goto = 1;
  95591. break;
  95592. }
  95593. }
  95594. case 9:
  95595. // break $label0$1
  95596. case 7:
  95597. // for update
  95598. ++i;
  95599. // goto for condition
  95600. $async$goto = 6;
  95601. break;
  95602. case 8:
  95603. // after for
  95604. if (cacheable)
  95605. t1.$indexSet(0, key, null);
  95606. $async$returnValue = null;
  95607. // goto return
  95608. $async$goto = 1;
  95609. break;
  95610. case 1:
  95611. // return
  95612. return A._asyncReturn($async$returnValue, $async$completer);
  95613. }
  95614. });
  95615. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  95616. },
  95617. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  95618. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  95619. },
  95620. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  95621. var $async$goto = 0,
  95622. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  95623. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  95624. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95625. if ($async$errorCode === 1)
  95626. return A._asyncRethrow($async$result, $async$completer);
  95627. for (;;)
  95628. switch ($async$goto) {
  95629. case 0:
  95630. // Function start
  95631. $async$goto = baseUrl != null ? 3 : 5;
  95632. break;
  95633. case 3:
  95634. // then
  95635. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  95636. break;
  95637. case 6:
  95638. // then
  95639. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  95640. $async$goto = 9;
  95641. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95642. case 9:
  95643. // returning from await.
  95644. t1 = $async$result;
  95645. passContainingUrl = t1;
  95646. // goto join
  95647. $async$goto = 7;
  95648. break;
  95649. case 8:
  95650. // else
  95651. passContainingUrl = true;
  95652. case 7:
  95653. // join
  95654. // goto join
  95655. $async$goto = 4;
  95656. break;
  95657. case 5:
  95658. // else
  95659. passContainingUrl = false;
  95660. case 4:
  95661. // join
  95662. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  95663. t1 = type$.nullable_Object;
  95664. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  95665. $async$goto = 10;
  95666. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  95667. case 10:
  95668. // returning from await.
  95669. result = $async$result;
  95670. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  95671. if (result == null) {
  95672. $async$returnValue = new A._Record_2(null, cacheable);
  95673. // goto return
  95674. $async$goto = 1;
  95675. break;
  95676. }
  95677. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  95678. break;
  95679. case 11:
  95680. // then
  95681. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  95682. $async$goto = 14;
  95683. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95684. case 14:
  95685. // returning from await.
  95686. t1 = $async$result;
  95687. // goto join
  95688. $async$goto = 12;
  95689. break;
  95690. case 13:
  95691. // else
  95692. t1 = false;
  95693. case 12:
  95694. // join
  95695. if (t1)
  95696. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  95697. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  95698. // goto return
  95699. $async$goto = 1;
  95700. break;
  95701. case 1:
  95702. // return
  95703. return A._asyncReturn($async$returnValue, $async$completer);
  95704. }
  95705. });
  95706. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  95707. },
  95708. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  95709. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  95710. },
  95711. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95712. var $async$goto = 0,
  95713. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95714. $async$returnValue, $async$self = this;
  95715. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95716. if ($async$errorCode === 1)
  95717. return A._asyncRethrow($async$result, $async$completer);
  95718. for (;;)
  95719. switch ($async$goto) {
  95720. case 0:
  95721. // Function start
  95722. $async$goto = 3;
  95723. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure0($async$self, importer, canonicalUrl, originalUrl), type$.Uri, type$.nullable_Stylesheet_2), $async$importCanonical$3$originalUrl);
  95724. case 3:
  95725. // returning from await.
  95726. $async$returnValue = $async$result;
  95727. // goto return
  95728. $async$goto = 1;
  95729. break;
  95730. case 1:
  95731. // return
  95732. return A._asyncReturn($async$returnValue, $async$completer);
  95733. }
  95734. });
  95735. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95736. },
  95737. humanize$1(canonicalUrl) {
  95738. var t1 = this._async_import_cache0$_canonicalizeCache,
  95739. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95740. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.AsyncImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure5()), new A.AsyncImportCache_humanize_closure6(canonicalUrl));
  95741. return t2 == null ? canonicalUrl : t2;
  95742. },
  95743. sourceMapUrl$1(_, canonicalUrl) {
  95744. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95745. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95746. return t1 == null ? canonicalUrl : t1;
  95747. }
  95748. };
  95749. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95750. call$0() {
  95751. var $async$goto = 0,
  95752. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95753. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95754. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95755. if ($async$errorCode === 1)
  95756. return A._asyncRethrow($async$result, $async$completer);
  95757. for (;;)
  95758. switch ($async$goto) {
  95759. case 0:
  95760. // Function start
  95761. t1 = $async$self.$this;
  95762. t2 = $async$self.baseUrl;
  95763. $async$goto = 3;
  95764. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95765. case 3:
  95766. // returning from await.
  95767. _0_0 = $async$result;
  95768. result = _0_0._0;
  95769. _0_0._1;
  95770. if (t2 != null)
  95771. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95772. $async$returnValue = result;
  95773. // goto return
  95774. $async$goto = 1;
  95775. break;
  95776. case 1:
  95777. // return
  95778. return A._asyncReturn($async$returnValue, $async$completer);
  95779. }
  95780. });
  95781. return A._asyncStartSync($async$call$0, $async$completer);
  95782. },
  95783. $signature: 360
  95784. };
  95785. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95786. call$0() {
  95787. return this.importer.canonicalize$1(0, this.url);
  95788. },
  95789. $signature: 181
  95790. };
  95791. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95792. call$0() {
  95793. var $async$goto = 0,
  95794. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95795. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95796. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95797. if ($async$errorCode === 1)
  95798. return A._asyncRethrow($async$result, $async$completer);
  95799. for (;;)
  95800. switch ($async$goto) {
  95801. case 0:
  95802. // Function start
  95803. t1 = Date.now();
  95804. t2 = $async$self.canonicalUrl;
  95805. t3 = $async$self.importer.load$1(0, t2);
  95806. $async$goto = 3;
  95807. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95808. case 3:
  95809. // returning from await.
  95810. result = $async$result;
  95811. if (result == null) {
  95812. $async$returnValue = null;
  95813. // goto return
  95814. $async$goto = 1;
  95815. break;
  95816. }
  95817. t3 = $async$self.$this;
  95818. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95819. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95820. t3 = result.contents;
  95821. t1 = result.syntax;
  95822. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95823. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, false, t2);
  95824. // goto return
  95825. $async$goto = 1;
  95826. break;
  95827. case 1:
  95828. // return
  95829. return A._asyncReturn($async$returnValue, $async$completer);
  95830. }
  95831. });
  95832. return A._asyncStartSync($async$call$0, $async$completer);
  95833. },
  95834. $signature: 361
  95835. };
  95836. A.AsyncImportCache_humanize_closure3.prototype = {
  95837. call$1(result) {
  95838. return result._1.$eq(0, this.canonicalUrl);
  95839. },
  95840. $signature: 362
  95841. };
  95842. A.AsyncImportCache_humanize_closure4.prototype = {
  95843. call$1(result) {
  95844. return result._2;
  95845. },
  95846. $signature: 363
  95847. };
  95848. A.AsyncImportCache_humanize_closure5.prototype = {
  95849. call$1(url) {
  95850. return url.get$path(url).length;
  95851. },
  95852. $signature: 88
  95853. };
  95854. A.AsyncImportCache_humanize_closure6.prototype = {
  95855. call$1(url) {
  95856. var t1 = $.$get$url(),
  95857. t2 = this.canonicalUrl;
  95858. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95859. },
  95860. $signature: 47
  95861. };
  95862. A.AtRootQueryParser0.prototype = {
  95863. parse$0(_) {
  95864. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95865. }
  95866. };
  95867. A.AtRootQueryParser_parse_closure0.prototype = {
  95868. call$0() {
  95869. var include, atRules,
  95870. t1 = this.$this,
  95871. t2 = t1.scanner;
  95872. t2.expectChar$1(40);
  95873. t1.whitespace$1$consumeNewlines(true);
  95874. include = t1.scanIdentifier$1("with");
  95875. if (!include)
  95876. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95877. t1.whitespace$1$consumeNewlines(true);
  95878. t2.expectChar$1(58);
  95879. t1.whitespace$1$consumeNewlines(true);
  95880. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95881. do {
  95882. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95883. t1.whitespace$1$consumeNewlines(true);
  95884. } while (t1.lookingAtIdentifier$0());
  95885. t2.expectChar$1(41);
  95886. t2.expectDone$0();
  95887. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95888. },
  95889. $signature: 364
  95890. };
  95891. A.AtRootQuery0.prototype = {
  95892. excludes$1(node) {
  95893. var t1, _this = this;
  95894. if (_this._at_root_query0$_all)
  95895. return !_this.include;
  95896. $label0$0: {
  95897. if (node instanceof A.ModifiableCssStyleRule0) {
  95898. t1 = _this._at_root_query0$_rule !== _this.include;
  95899. break $label0$0;
  95900. }
  95901. if (node instanceof A.ModifiableCssMediaRule0) {
  95902. t1 = _this.excludesName$1("media");
  95903. break $label0$0;
  95904. }
  95905. if (node instanceof A.ModifiableCssSupportsRule0) {
  95906. t1 = _this.excludesName$1("supports");
  95907. break $label0$0;
  95908. }
  95909. if (node instanceof A.ModifiableCssAtRule0) {
  95910. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95911. break $label0$0;
  95912. }
  95913. t1 = false;
  95914. break $label0$0;
  95915. }
  95916. return t1;
  95917. },
  95918. excludesName$1($name) {
  95919. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95920. return t1 !== this.include;
  95921. }
  95922. };
  95923. A.AtRootRule0.prototype = {
  95924. accept$1$1(visitor) {
  95925. return visitor.visitAtRootRule$1(0, this);
  95926. },
  95927. accept$1(visitor) {
  95928. return this.accept$1$1(visitor, type$.dynamic);
  95929. },
  95930. toString$0(_) {
  95931. var buffer = new A.StringBuffer("@at-root "),
  95932. t1 = this.query;
  95933. if (t1 != null)
  95934. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95935. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  95936. },
  95937. get$span(receiver) {
  95938. return this.span;
  95939. }
  95940. };
  95941. A.ModifiableCssAtRule0.prototype = {
  95942. accept$1$1(visitor) {
  95943. return visitor.visitCssAtRule$1(this);
  95944. },
  95945. accept$1(visitor) {
  95946. return this.accept$1$1(visitor, type$.dynamic);
  95947. },
  95948. equalsIgnoringChildren$1(other) {
  95949. var t1, t2;
  95950. if (other instanceof A.ModifiableCssAtRule0) {
  95951. t1 = this.name;
  95952. t2 = other.name;
  95953. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95954. } else
  95955. t1 = false;
  95956. return t1;
  95957. },
  95958. copyWithoutChildren$0() {
  95959. var _this = this;
  95960. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95961. },
  95962. addChild$1(child) {
  95963. this.super$ModifiableCssParentNode$addChild0(child);
  95964. },
  95965. get$isChildless() {
  95966. return this.isChildless;
  95967. },
  95968. get$span(receiver) {
  95969. return this.span;
  95970. }
  95971. };
  95972. A.AtRule0.prototype = {
  95973. accept$1$1(visitor) {
  95974. return visitor.visitAtRule$1(0, this);
  95975. },
  95976. accept$1(visitor) {
  95977. return this.accept$1$1(visitor, type$.dynamic);
  95978. },
  95979. toString$0(_) {
  95980. var children,
  95981. t1 = "@" + this.name.toString$0(0),
  95982. buffer = new A.StringBuffer(t1),
  95983. t2 = this.value;
  95984. if (t2 != null)
  95985. buffer._contents = t1 + (" " + t2.toString$0(0));
  95986. children = this.children;
  95987. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95988. },
  95989. get$span(receiver) {
  95990. return this.span;
  95991. }
  95992. };
  95993. A.InterpolatedAttributeSelector.prototype = {
  95994. accept$1$1(visitor) {
  95995. return J.visitAttributeSelector$1$x(visitor._simple_selector$_inner, this);
  95996. },
  95997. accept$1(visitor) {
  95998. return this.accept$1$1(visitor, type$.dynamic);
  95999. },
  96000. toString$0(_) {
  96001. var _this = this,
  96002. result = "[" + _this.name.toString$0(0),
  96003. t1 = _this.op;
  96004. if (t1 != null) {
  96005. result += t1.toString$0(0) + A.S(_this.value);
  96006. t1 = _this.modifier;
  96007. if (t1 != null)
  96008. result += " " + t1.toString$0(0);
  96009. }
  96010. return result;
  96011. },
  96012. get$span(receiver) {
  96013. return this.span;
  96014. }
  96015. };
  96016. A.AttributeSelector0.prototype = {
  96017. accept$1$1(visitor) {
  96018. return visitor.visitAttributeSelector$1(0, this);
  96019. },
  96020. accept$1(visitor) {
  96021. return this.accept$1$1(visitor, type$.dynamic);
  96022. },
  96023. $eq(_, other) {
  96024. var _this = this;
  96025. if (other == null)
  96026. return false;
  96027. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  96028. },
  96029. get$hashCode(_) {
  96030. var _this = this,
  96031. t1 = _this.name;
  96032. return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
  96033. }
  96034. };
  96035. A.AttributeOperator0.prototype = {
  96036. _enumToString$0() {
  96037. return "AttributeOperator." + this._name;
  96038. },
  96039. toString$0(_) {
  96040. return this._attribute0$_text;
  96041. }
  96042. };
  96043. A.BinaryOperationExpression0.prototype = {
  96044. get$span(_) {
  96045. var right,
  96046. left = this.left;
  96047. while (left instanceof A.BinaryOperationExpression0)
  96048. left = left.left;
  96049. right = this.right;
  96050. while (right instanceof A.BinaryOperationExpression0)
  96051. right = right.right;
  96052. return left.get$span(left).expand$1(0, right.get$span(right));
  96053. },
  96054. get$operatorSpan() {
  96055. var t3, t4,
  96056. t1 = this.left,
  96057. t2 = t1.get$span(t1);
  96058. t2 = t2.get$file(t2);
  96059. t3 = this.right;
  96060. t4 = t3.get$span(t3);
  96061. if (t2 === t4.get$file(t4)) {
  96062. t2 = t1.get$span(t1);
  96063. t2 = t2.get$end(t2);
  96064. t4 = t3.get$span(t3);
  96065. t4 = t2.offset < t4.get$start(t4).offset;
  96066. t2 = t4;
  96067. } else
  96068. t2 = false;
  96069. if (t2) {
  96070. t2 = t1.get$span(t1);
  96071. t2 = t2.get$file(t2);
  96072. t1 = t1.get$span(t1);
  96073. t1 = t1.get$end(t1);
  96074. t3 = t3.get$span(t3);
  96075. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  96076. t1 = t3;
  96077. } else
  96078. t1 = this.get$span(0);
  96079. return t1;
  96080. },
  96081. accept$1$1(visitor) {
  96082. return visitor.visitBinaryOperationExpression$1(0, this);
  96083. },
  96084. accept$1(visitor) {
  96085. return this.accept$1$1(visitor, type$.dynamic);
  96086. },
  96087. toString$0(_) {
  96088. var t1, t2, t3, right, operator, _this = this,
  96089. _0_0 = _this.left;
  96090. $label0$0: {
  96091. if (_0_0 instanceof A.BinaryOperationExpression0) {
  96092. t1 = _0_0.operator.precedence < _this.operator.precedence;
  96093. break $label0$0;
  96094. }
  96095. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  96096. t1 = true;
  96097. break $label0$0;
  96098. }
  96099. t1 = false;
  96100. break $label0$0;
  96101. }
  96102. t2 = t1 ? A.Primitives_stringFromCharCode(40) : "";
  96103. t2 += _0_0.toString$0(0);
  96104. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  96105. t2 = A.Primitives_stringFromCharCode(32);
  96106. t3 = _this.operator;
  96107. t2 = t1 + t2 + t3.operator + t2;
  96108. right = _this.right;
  96109. $label1$1: {
  96110. t1 = false;
  96111. if (right instanceof A.BinaryOperationExpression0) {
  96112. operator = right.operator;
  96113. if (operator.precedence <= t3.precedence)
  96114. t1 = !(operator === t3 && operator.isAssociative);
  96115. break $label1$1;
  96116. }
  96117. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  96118. t1 = true;
  96119. break $label1$1;
  96120. }
  96121. break $label1$1;
  96122. }
  96123. if (t1)
  96124. t2 += A.Primitives_stringFromCharCode(40);
  96125. t2 += right.toString$0(0);
  96126. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  96127. return t1.charCodeAt(0) == 0 ? t1 : t1;
  96128. }
  96129. };
  96130. A.BinaryOperator0.prototype = {
  96131. _enumToString$0() {
  96132. return "BinaryOperator." + this._name;
  96133. },
  96134. toString$0(_) {
  96135. return this.name;
  96136. }
  96137. };
  96138. A.BooleanExpression0.prototype = {
  96139. accept$1$1(visitor) {
  96140. return visitor.visitBooleanExpression$1(0, this);
  96141. },
  96142. accept$1(visitor) {
  96143. return this.accept$1$1(visitor, type$.dynamic);
  96144. },
  96145. toString$0(_) {
  96146. return String(this.value);
  96147. },
  96148. get$span(receiver) {
  96149. return this.span;
  96150. }
  96151. };
  96152. A.booleanClass_closure.prototype = {
  96153. call$0() {
  96154. var t1 = type$.JSClass,
  96155. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  96156. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  96157. return jsClass;
  96158. },
  96159. $signature: 15
  96160. };
  96161. A.booleanClass__closure.prototype = {
  96162. call$2($self, _) {
  96163. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  96164. },
  96165. call$1($self) {
  96166. return this.call$2($self, null);
  96167. },
  96168. "call*": "call$2",
  96169. $requiredArgCount: 1,
  96170. $defaultValues() {
  96171. return [null];
  96172. },
  96173. $signature: 225
  96174. };
  96175. A.legacyBooleanClass_closure.prototype = {
  96176. call$0() {
  96177. var t1 = type$.JSClass,
  96178. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  96179. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  96180. jsClass.TRUE = B.SassBoolean_true0;
  96181. jsClass.FALSE = B.SassBoolean_false0;
  96182. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  96183. return jsClass;
  96184. },
  96185. $signature: 15
  96186. };
  96187. A.legacyBooleanClass__closure.prototype = {
  96188. call$2(_, __) {
  96189. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  96190. },
  96191. call$1(_) {
  96192. return this.call$2(_, null);
  96193. },
  96194. "call*": "call$2",
  96195. $requiredArgCount: 1,
  96196. $defaultValues() {
  96197. return [null];
  96198. },
  96199. $signature: 223
  96200. };
  96201. A.legacyBooleanClass__closure0.prototype = {
  96202. call$1($self) {
  96203. return $self === B.SassBoolean_true0;
  96204. },
  96205. $signature: 74
  96206. };
  96207. A.SassBoolean0.prototype = {
  96208. get$isTruthy() {
  96209. return this.value;
  96210. },
  96211. accept$1$1(visitor) {
  96212. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  96213. },
  96214. accept$1(visitor) {
  96215. return this.accept$1$1(visitor, type$.dynamic);
  96216. },
  96217. assertBoolean$1($name) {
  96218. return this;
  96219. },
  96220. unaryNot$0() {
  96221. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  96222. }
  96223. };
  96224. A.Box0.prototype = {
  96225. $eq(_, other) {
  96226. if (other == null)
  96227. return false;
  96228. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  96229. },
  96230. get$hashCode(_) {
  96231. return A.Primitives_objectHashCode(this._box0$_inner);
  96232. },
  96233. toString$0(_) {
  96234. return "<box: " + this._box0$_inner.value.toString$0(0) + ">";
  96235. }
  96236. };
  96237. A.ModifiableBox0.prototype = {
  96238. toString$0(_) {
  96239. return "<modifiable box: " + this.value.toString$0(0) + ">";
  96240. }
  96241. };
  96242. A.BuiltInCallable0.prototype = {
  96243. callbackFor$2(positional, names) {
  96244. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  96245. for (t1 = this._built_in$_overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  96246. overload = t1[_i];
  96247. t3 = overload._0;
  96248. if (t3.matches$2(positional, names))
  96249. return overload;
  96250. mismatchDistance = t3.parameters.length - positional;
  96251. if (minMismatchDistance != null) {
  96252. t3 = Math.abs(mismatchDistance);
  96253. t4 = Math.abs(minMismatchDistance);
  96254. if (t3 > t4)
  96255. continue;
  96256. if (t3 === t4 && mismatchDistance < 0)
  96257. continue;
  96258. }
  96259. minMismatchDistance = mismatchDistance;
  96260. fuzzyMatch = overload;
  96261. }
  96262. if (fuzzyMatch != null)
  96263. return fuzzyMatch;
  96264. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  96265. },
  96266. withName$1($name) {
  96267. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  96268. },
  96269. withDeprecationWarning$2(module, newName) {
  96270. var t2, t3, _i, t4, t5, _this = this,
  96271. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  96272. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  96273. t4 = {};
  96274. t5 = t2[_i];
  96275. t4.$function = null;
  96276. t4.$function = t5._1;
  96277. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  96278. }
  96279. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  96280. },
  96281. withDeprecationWarning$1(module) {
  96282. return this.withDeprecationWarning$2(module, null);
  96283. },
  96284. $isAsyncCallable0: 1,
  96285. $isAsyncBuiltInCallable0: 1,
  96286. $isCallable: 1,
  96287. get$name(receiver) {
  96288. return this.name;
  96289. },
  96290. get$acceptsContent() {
  96291. return this.acceptsContent;
  96292. }
  96293. };
  96294. A.BuiltInCallable$mixin_closure0.prototype = {
  96295. call$1($arguments) {
  96296. this.callback.call$1($arguments);
  96297. return B.C__SassNull0;
  96298. },
  96299. $signature: 3
  96300. };
  96301. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  96302. call$1(args) {
  96303. var _this = this,
  96304. t1 = _this.newName;
  96305. if (t1 == null)
  96306. t1 = _this.$this.name;
  96307. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_SGB);
  96308. return _this._box_0.$function.call$1(args);
  96309. },
  96310. $signature: 3
  96311. };
  96312. A.BuiltInModule0.prototype = {
  96313. get$upstream() {
  96314. return B.List_empty20;
  96315. },
  96316. get$variableNodes() {
  96317. return B.Map_empty13;
  96318. },
  96319. get$extensionStore() {
  96320. return B.C_EmptyExtensionStore0;
  96321. },
  96322. get$css(_) {
  96323. return new A.CssStylesheet0(B.List_empty18, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  96324. },
  96325. get$preModuleComments() {
  96326. return B.Map_empty12;
  96327. },
  96328. get$transitivelyContainsCss() {
  96329. return false;
  96330. },
  96331. get$transitivelyContainsExtensions() {
  96332. return false;
  96333. },
  96334. setVariable$3($name, value, nodeWithSpan) {
  96335. if (!this.variables.containsKey$1($name))
  96336. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  96337. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  96338. },
  96339. variableIdentity$1($name) {
  96340. return this;
  96341. },
  96342. couldHaveBeenConfigured$1(_) {
  96343. return false;
  96344. },
  96345. cloneCss$0() {
  96346. return this;
  96347. },
  96348. $isModule1: 1,
  96349. get$url(receiver) {
  96350. return this.url;
  96351. },
  96352. get$functions(receiver) {
  96353. return this.functions;
  96354. },
  96355. get$mixins() {
  96356. return this.mixins;
  96357. },
  96358. get$variables() {
  96359. return this.variables;
  96360. }
  96361. };
  96362. A.calculationClass_closure.prototype = {
  96363. call$0() {
  96364. var t1 = type$.JSClass,
  96365. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  96366. t2 = type$.String,
  96367. t3 = type$.Function;
  96368. A.LinkedHashMap_LinkedHashMap$_literal(["calc", new A.calculationClass__closure0(), "min", new A.calculationClass__closure1(), "max", new A.calculationClass__closure2(), "clamp", new A.calculationClass__closure3()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineStaticMethod(jsClass));
  96369. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  96370. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  96371. A.JSClassExtension_injectSuperclass(t1._as(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber0(1, null)], type$.JSArray_Object), type$.Object)).constructor), jsClass);
  96372. return jsClass;
  96373. },
  96374. $signature: 15
  96375. };
  96376. A.calculationClass__closure.prototype = {
  96377. call$2($self, _) {
  96378. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  96379. },
  96380. call$1($self) {
  96381. return this.call$2($self, null);
  96382. },
  96383. "call*": "call$2",
  96384. $requiredArgCount: 1,
  96385. $defaultValues() {
  96386. return [null];
  96387. },
  96388. $signature: 225
  96389. };
  96390. A.calculationClass__closure0.prototype = {
  96391. call$1(argument) {
  96392. A._assertCalculationValue(argument);
  96393. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  96394. },
  96395. $signature: 140
  96396. };
  96397. A.calculationClass__closure1.prototype = {
  96398. call$1($arguments) {
  96399. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  96400. t2 = type$.Object,
  96401. argList = J.cast$1$0$ax(t1, t2);
  96402. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  96403. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  96404. },
  96405. $signature: 140
  96406. };
  96407. A.calculationClass__closure2.prototype = {
  96408. call$1($arguments) {
  96409. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  96410. t2 = type$.Object,
  96411. argList = J.cast$1$0$ax(t1, t2);
  96412. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  96413. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  96414. },
  96415. $signature: 140
  96416. };
  96417. A.calculationClass__closure3.prototype = {
  96418. call$3(min, value, max) {
  96419. var t1;
  96420. if (!(value == null && !A._isValidClampArg(min)))
  96421. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  96422. else
  96423. t1 = true;
  96424. if (t1)
  96425. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + new A.NonNullsIterable([min, value, max], type$.NonNullsIterable_Object).toString$0(0) + "`"));
  96426. t1 = type$.NonNullsIterable_Object;
  96427. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  96428. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  96429. },
  96430. call$1(min) {
  96431. return this.call$3(min, null, null);
  96432. },
  96433. call$2(min, value) {
  96434. return this.call$3(min, value, null);
  96435. },
  96436. "call*": "call$3",
  96437. $requiredArgCount: 1,
  96438. $defaultValues() {
  96439. return [null, null];
  96440. },
  96441. $signature: 369
  96442. };
  96443. A.calculationClass__closure4.prototype = {
  96444. call$2($self, $name) {
  96445. return $self;
  96446. },
  96447. call$1($self) {
  96448. return this.call$2($self, null);
  96449. },
  96450. "call*": "call$2",
  96451. $requiredArgCount: 1,
  96452. $defaultValues() {
  96453. return [null];
  96454. },
  96455. $signature: 370
  96456. };
  96457. A.calculationClass__closure5.prototype = {
  96458. call$1($self) {
  96459. return new self.immutable.List($self.$arguments);
  96460. },
  96461. $signature: 371
  96462. };
  96463. A.calculationOperationClass_closure.prototype = {
  96464. call$0() {
  96465. var _null = null,
  96466. t1 = type$.JSClass,
  96467. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  96468. t2 = type$.String,
  96469. t3 = type$.Function;
  96470. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  96471. A.LinkedHashMap_LinkedHashMap$_literal(["operator", new A.calculationOperationClass__closure2(), "left", new A.calculationOperationClass__closure3(), "right", new A.calculationOperationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  96472. A.JSClassExtension_injectSuperclass(t1._as(A.SassCalculation_operateInternal0(B.CalculationOperator_dpX0, A.SassNumber_SassNumber0(1, _null), A.SassNumber_SassNumber0(1, _null), _null, false, _null).constructor), jsClass);
  96473. return jsClass;
  96474. },
  96475. $signature: 15
  96476. };
  96477. A.calculationOperationClass__closure.prototype = {
  96478. call$4($self, strOperator, left, right) {
  96479. var operator = A.IterableExtension_firstWhereOrNull(B.List_UqK, new A.calculationOperationClass___closure(strOperator));
  96480. if (operator == null)
  96481. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  96482. A._assertCalculationValue(left);
  96483. A._assertCalculationValue(right);
  96484. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  96485. },
  96486. "call*": "call$4",
  96487. $requiredArgCount: 4,
  96488. $signature: 372
  96489. };
  96490. A.calculationOperationClass___closure.prototype = {
  96491. call$1(value) {
  96492. return value.operator === this.strOperator;
  96493. },
  96494. $signature: 373
  96495. };
  96496. A.calculationOperationClass__closure0.prototype = {
  96497. call$2($self, other) {
  96498. return $self.$eq(0, other);
  96499. },
  96500. $signature: 374
  96501. };
  96502. A.calculationOperationClass__closure1.prototype = {
  96503. call$1($self) {
  96504. return $self.get$hashCode(0);
  96505. },
  96506. $signature: 375
  96507. };
  96508. A.calculationOperationClass__closure2.prototype = {
  96509. call$1($self) {
  96510. return $self._calculation0$_operator.operator;
  96511. },
  96512. $signature: 376
  96513. };
  96514. A.calculationOperationClass__closure3.prototype = {
  96515. call$1($self) {
  96516. return $self._calculation0$_left;
  96517. },
  96518. $signature: 222
  96519. };
  96520. A.calculationOperationClass__closure4.prototype = {
  96521. call$1($self) {
  96522. return $self._calculation0$_right;
  96523. },
  96524. $signature: 222
  96525. };
  96526. A.calculationInterpolationClass_closure.prototype = {
  96527. call$0() {
  96528. var t1 = type$.JSClass,
  96529. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  96530. t2 = type$.String,
  96531. t3 = type$.Function;
  96532. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  96533. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  96534. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  96535. return jsClass;
  96536. },
  96537. $signature: 15
  96538. };
  96539. A.calculationInterpolationClass__closure.prototype = {
  96540. call$2($self, value) {
  96541. return new A.CalculationInterpolation(value);
  96542. },
  96543. $signature: 378
  96544. };
  96545. A.calculationInterpolationClass__closure0.prototype = {
  96546. call$2($self, other) {
  96547. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  96548. },
  96549. $signature: 379
  96550. };
  96551. A.calculationInterpolationClass__closure1.prototype = {
  96552. call$1($self) {
  96553. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  96554. },
  96555. $signature: 380
  96556. };
  96557. A.calculationInterpolationClass__closure2.prototype = {
  96558. call$1($self) {
  96559. return $self._calculation0$_value;
  96560. },
  96561. $signature: 381
  96562. };
  96563. A.SassCalculation0.prototype = {
  96564. get$isSpecialNumber() {
  96565. return true;
  96566. },
  96567. accept$1$1(visitor) {
  96568. return visitor.visitCalculation$1(this);
  96569. },
  96570. accept$1(visitor) {
  96571. return this.accept$1$1(visitor, type$.dynamic);
  96572. },
  96573. assertCalculation$1($name) {
  96574. return this;
  96575. },
  96576. plus$1(other) {
  96577. if (other instanceof A.SassString0)
  96578. return this.super$Value$plus0(other);
  96579. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  96580. },
  96581. minus$1(other) {
  96582. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  96583. },
  96584. unaryPlus$0() {
  96585. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  96586. },
  96587. unaryMinus$0() {
  96588. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  96589. },
  96590. $eq(_, other) {
  96591. if (other == null)
  96592. return false;
  96593. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  96594. },
  96595. get$hashCode(_) {
  96596. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  96597. }
  96598. };
  96599. A.SassCalculation__verifyLength_closure0.prototype = {
  96600. call$1(arg) {
  96601. return arg instanceof A.SassString0;
  96602. },
  96603. $signature: 74
  96604. };
  96605. A.CalculationOperation0.prototype = {
  96606. $eq(_, other) {
  96607. if (other == null)
  96608. return false;
  96609. return other instanceof A.CalculationOperation0 && this._calculation0$_operator === other._calculation0$_operator && J.$eq$(this._calculation0$_left, other._calculation0$_left) && J.$eq$(this._calculation0$_right, other._calculation0$_right);
  96610. },
  96611. get$hashCode(_) {
  96612. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  96613. },
  96614. toString$0(_) {
  96615. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  96616. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  96617. }
  96618. };
  96619. A.CalculationOperator0.prototype = {
  96620. _enumToString$0() {
  96621. return "CalculationOperator." + this._name;
  96622. },
  96623. toString$0(_) {
  96624. return this.name;
  96625. }
  96626. };
  96627. A.CalculationInterpolation.prototype = {
  96628. $eq(_, other) {
  96629. if (other == null)
  96630. return false;
  96631. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  96632. },
  96633. get$hashCode(_) {
  96634. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  96635. },
  96636. toString$0(_) {
  96637. return this._calculation0$_value;
  96638. }
  96639. };
  96640. A.CallableDeclaration0.prototype = {
  96641. get$span(receiver) {
  96642. return this.span;
  96643. }
  96644. };
  96645. A.updateCanonicalizeContextPrototype_closure.prototype = {
  96646. call$1($self) {
  96647. return $self._canonicalize_context$_fromImport;
  96648. },
  96649. $signature: 382
  96650. };
  96651. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  96652. call$1($self) {
  96653. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  96654. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  96655. },
  96656. $signature: 383
  96657. };
  96658. A.CanonicalizeContext0.prototype = {
  96659. withFromImport$1$2(fromImport, callback) {
  96660. var t1,
  96661. oldFromImport = this._canonicalize_context$_fromImport;
  96662. this._canonicalize_context$_fromImport = true;
  96663. try {
  96664. t1 = callback.call$0();
  96665. return t1;
  96666. } finally {
  96667. this._canonicalize_context$_fromImport = oldFromImport;
  96668. }
  96669. },
  96670. withFromImport$2(fromImport, callback) {
  96671. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  96672. }
  96673. };
  96674. A.ColorChannel0.prototype = {
  96675. isAnalogous$1(other) {
  96676. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  96677. _0_1 = this.name,
  96678. _0_6 = other.name;
  96679. $label0$0: {
  96680. if ("red" !== _0_1)
  96681. _0_6_isSet = "x" === _0_1;
  96682. else
  96683. _0_6_isSet = true;
  96684. if (_0_6_isSet) {
  96685. if ("red" !== _0_6)
  96686. t1 = "x" === _0_6;
  96687. else
  96688. t1 = true;
  96689. _0_60 = _0_6;
  96690. } else {
  96691. _0_60 = null;
  96692. t1 = false;
  96693. }
  96694. t2 = true;
  96695. if (!t1) {
  96696. if ("green" !== _0_1)
  96697. t1 = "y" === _0_1;
  96698. else
  96699. t1 = true;
  96700. if (t1) {
  96701. _0_6_isSet0 = true;
  96702. if (_0_6_isSet)
  96703. t1 = _0_60;
  96704. else {
  96705. t1 = _0_6;
  96706. _0_6_isSet = _0_6_isSet0;
  96707. _0_60 = t1;
  96708. }
  96709. if ("green" !== t1) {
  96710. if (_0_6_isSet)
  96711. t1 = _0_60;
  96712. else {
  96713. t1 = _0_6;
  96714. _0_6_isSet = _0_6_isSet0;
  96715. _0_60 = t1;
  96716. }
  96717. t1 = "y" === t1;
  96718. } else
  96719. t1 = true;
  96720. } else
  96721. t1 = false;
  96722. if (!t1) {
  96723. if ("blue" !== _0_1)
  96724. t1 = "z" === _0_1;
  96725. else
  96726. t1 = true;
  96727. if (t1) {
  96728. _0_6_isSet0 = true;
  96729. if (_0_6_isSet)
  96730. t1 = _0_60;
  96731. else {
  96732. t1 = _0_6;
  96733. _0_6_isSet = _0_6_isSet0;
  96734. _0_60 = t1;
  96735. }
  96736. if ("blue" !== t1) {
  96737. if (_0_6_isSet)
  96738. t1 = _0_60;
  96739. else {
  96740. t1 = _0_6;
  96741. _0_6_isSet = _0_6_isSet0;
  96742. _0_60 = t1;
  96743. }
  96744. t1 = "z" === t1;
  96745. } else
  96746. t1 = true;
  96747. } else
  96748. t1 = false;
  96749. if (!t1) {
  96750. if ("chroma" !== _0_1)
  96751. t1 = "saturation" === _0_1;
  96752. else
  96753. t1 = true;
  96754. if (t1) {
  96755. _0_6_isSet0 = true;
  96756. if (_0_6_isSet)
  96757. t1 = _0_60;
  96758. else {
  96759. t1 = _0_6;
  96760. _0_6_isSet = _0_6_isSet0;
  96761. _0_60 = t1;
  96762. }
  96763. if ("chroma" !== t1) {
  96764. if (_0_6_isSet)
  96765. t1 = _0_60;
  96766. else {
  96767. t1 = _0_6;
  96768. _0_6_isSet = _0_6_isSet0;
  96769. _0_60 = t1;
  96770. }
  96771. t1 = "saturation" === t1;
  96772. } else
  96773. t1 = true;
  96774. } else
  96775. t1 = false;
  96776. if (!t1) {
  96777. if ("lightness" === _0_1) {
  96778. if (_0_6_isSet)
  96779. t1 = _0_60;
  96780. else {
  96781. t1 = _0_6;
  96782. _0_60 = t1;
  96783. _0_6_isSet = true;
  96784. }
  96785. t1 = "lightness" === t1;
  96786. } else
  96787. t1 = false;
  96788. if (!t1)
  96789. if ("hue" === _0_1)
  96790. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96791. else
  96792. t1 = false;
  96793. else
  96794. t1 = t2;
  96795. } else
  96796. t1 = t2;
  96797. } else
  96798. t1 = t2;
  96799. } else
  96800. t1 = t2;
  96801. } else
  96802. t1 = t2;
  96803. break $label0$0;
  96804. }
  96805. return t1;
  96806. }
  96807. };
  96808. A.LinearChannel0.prototype = {};
  96809. A.Chokidar0.prototype = {};
  96810. A.ChokidarOptions0.prototype = {};
  96811. A.ChokidarWatcher0.prototype = {};
  96812. A.InterpolatedClassSelector.prototype = {
  96813. get$span(_) {
  96814. var t1 = this.name.span;
  96815. return t1.get$file(t1).span$2(0, t1.get$start(t1).offset - 1, t1.get$end(t1).offset);
  96816. },
  96817. accept$1$1(visitor) {
  96818. return J.visitClassSelector$1$x(visitor._simple_selector$_inner, this);
  96819. },
  96820. accept$1(visitor) {
  96821. return this.accept$1$1(visitor, type$.dynamic);
  96822. },
  96823. toString$0(_) {
  96824. return "." + this.name.toString$0(0);
  96825. }
  96826. };
  96827. A.ClassSelector0.prototype = {
  96828. $eq(_, other) {
  96829. if (other == null)
  96830. return false;
  96831. return other instanceof A.ClassSelector0 && other.name === this.name;
  96832. },
  96833. accept$1$1(visitor) {
  96834. return visitor.visitClassSelector$1(0, this);
  96835. },
  96836. accept$1(visitor) {
  96837. return this.accept$1$1(visitor, type$.dynamic);
  96838. },
  96839. addSuffix$1(suffix) {
  96840. return new A.ClassSelector0(this.name + suffix, this.span);
  96841. },
  96842. get$hashCode(_) {
  96843. return B.JSString_methods.get$hashCode(this.name);
  96844. }
  96845. };
  96846. A.ClipGamutMap0.prototype = {
  96847. map$1(_, color) {
  96848. var t1 = color._color0$_space,
  96849. t2 = t1._space$_channels;
  96850. return A.SassColor_SassColor$forSpaceInternal0(t1, this._clip$_clampChannel$2(color.channel0OrNull, t2[0]), this._clip$_clampChannel$2(color.channel1OrNull, t2[1]), this._clip$_clampChannel$2(color.channel2OrNull, t2[2]), color.alphaOrNull);
  96851. },
  96852. _clip$_clampChannel$2(value, channel) {
  96853. var t1, min;
  96854. if (value == null)
  96855. t1 = null;
  96856. else
  96857. $label0$0: {
  96858. if (channel instanceof A.LinearChannel0) {
  96859. min = channel.min;
  96860. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96861. break $label0$0;
  96862. }
  96863. t1 = value;
  96864. break $label0$0;
  96865. }
  96866. return t1;
  96867. }
  96868. };
  96869. A._CloneCssVisitor0.prototype = {
  96870. visitCssAtRule$1(node) {
  96871. var t1 = node.isChildless,
  96872. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96873. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96874. },
  96875. visitCssComment$1(node) {
  96876. return new A.ModifiableCssComment0(node.text, node.span);
  96877. },
  96878. visitCssDeclaration$1(node) {
  96879. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap);
  96880. },
  96881. visitCssImport$1(node) {
  96882. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96883. },
  96884. visitCssKeyframeBlock$1(node) {
  96885. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96886. },
  96887. visitCssMediaRule$1(node) {
  96888. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96889. },
  96890. visitCssStyleRule$1(node) {
  96891. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96892. if (_0_0 != null)
  96893. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96894. else
  96895. throw A.wrapException(A.StateError$(string$.The_Ex));
  96896. },
  96897. visitCssStylesheet$1(node) {
  96898. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96899. },
  96900. visitCssSupportsRule$1(node) {
  96901. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96902. },
  96903. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96904. var t1, t2, newChild;
  96905. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96906. t2 = t1.get$current(t1);
  96907. newChild = t2.accept$1(this);
  96908. newChild.isGroupEnd = t2.get$isGroupEnd();
  96909. newParent.addChild$1(newChild);
  96910. }
  96911. return newParent;
  96912. },
  96913. _clone_css$_visitChildren$2(newParent, oldParent) {
  96914. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96915. }
  96916. };
  96917. A.ColorExpression0.prototype = {
  96918. accept$1$1(visitor) {
  96919. return visitor.visitColorExpression$1(0, this);
  96920. },
  96921. accept$1(visitor) {
  96922. return this.accept$1$1(visitor, type$.dynamic);
  96923. },
  96924. toString$0(_) {
  96925. return A.serializeValue0(this.value, true, true);
  96926. },
  96927. get$span(receiver) {
  96928. return this.span;
  96929. }
  96930. };
  96931. A.global_closure44.prototype = {
  96932. call$1(color) {
  96933. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96934. },
  96935. $signature: 40
  96936. };
  96937. A.global_closure45.prototype = {
  96938. call$1(color) {
  96939. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96940. },
  96941. $signature: 40
  96942. };
  96943. A.global_closure46.prototype = {
  96944. call$1(color) {
  96945. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96946. },
  96947. $signature: 40
  96948. };
  96949. A.global_closure47.prototype = {
  96950. call$1($arguments) {
  96951. return A._rgb0("rgb", $arguments);
  96952. },
  96953. $signature: 3
  96954. };
  96955. A.global_closure48.prototype = {
  96956. call$1($arguments) {
  96957. return A._rgb0("rgb", $arguments);
  96958. },
  96959. $signature: 3
  96960. };
  96961. A.global_closure49.prototype = {
  96962. call$1($arguments) {
  96963. return A._rgbTwoArg0("rgb", $arguments);
  96964. },
  96965. $signature: 3
  96966. };
  96967. A.global_closure50.prototype = {
  96968. call$1($arguments) {
  96969. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96970. },
  96971. $signature: 3
  96972. };
  96973. A.global_closure51.prototype = {
  96974. call$1($arguments) {
  96975. return A._rgb0("rgba", $arguments);
  96976. },
  96977. $signature: 3
  96978. };
  96979. A.global_closure52.prototype = {
  96980. call$1($arguments) {
  96981. return A._rgb0("rgba", $arguments);
  96982. },
  96983. $signature: 3
  96984. };
  96985. A.global_closure53.prototype = {
  96986. call$1($arguments) {
  96987. return A._rgbTwoArg0("rgba", $arguments);
  96988. },
  96989. $signature: 3
  96990. };
  96991. A.global_closure54.prototype = {
  96992. call$1($arguments) {
  96993. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96994. },
  96995. $signature: 3
  96996. };
  96997. A.global_closure55.prototype = {
  96998. call$1($arguments) {
  96999. var t1 = J.getInterceptor$asx($arguments);
  97000. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  97001. A.warnForDeprecation0(string$.Globalci, B.Deprecation_SGB);
  97002. return A._invert0($arguments, true);
  97003. },
  97004. $signature: 3
  97005. };
  97006. A.global_closure56.prototype = {
  97007. call$1(color) {
  97008. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97009. },
  97010. $signature: 31
  97011. };
  97012. A.global_closure57.prototype = {
  97013. call$1(color) {
  97014. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97015. },
  97016. $signature: 31
  97017. };
  97018. A.global_closure58.prototype = {
  97019. call$1(color) {
  97020. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97021. },
  97022. $signature: 31
  97023. };
  97024. A.global_closure59.prototype = {
  97025. call$1($arguments) {
  97026. return A._hsl0("hsl", $arguments);
  97027. },
  97028. $signature: 3
  97029. };
  97030. A.global_closure60.prototype = {
  97031. call$1($arguments) {
  97032. return A._hsl0("hsl", $arguments);
  97033. },
  97034. $signature: 3
  97035. };
  97036. A.global_closure61.prototype = {
  97037. call$1($arguments) {
  97038. var t1 = J.getInterceptor$asx($arguments);
  97039. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  97040. return A._functionString0("hsl", $arguments);
  97041. else
  97042. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  97043. },
  97044. $signature: 17
  97045. };
  97046. A.global_closure62.prototype = {
  97047. call$1($arguments) {
  97048. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  97049. },
  97050. $signature: 3
  97051. };
  97052. A.global_closure63.prototype = {
  97053. call$1($arguments) {
  97054. return A._hsl0("hsla", $arguments);
  97055. },
  97056. $signature: 3
  97057. };
  97058. A.global_closure64.prototype = {
  97059. call$1($arguments) {
  97060. return A._hsl0("hsla", $arguments);
  97061. },
  97062. $signature: 3
  97063. };
  97064. A.global_closure65.prototype = {
  97065. call$1($arguments) {
  97066. var t1 = J.getInterceptor$asx($arguments);
  97067. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  97068. return A._functionString0("hsla", $arguments);
  97069. else
  97070. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  97071. },
  97072. $signature: 17
  97073. };
  97074. A.global_closure66.prototype = {
  97075. call$1($arguments) {
  97076. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  97077. },
  97078. $signature: 3
  97079. };
  97080. A.global_closure67.prototype = {
  97081. call$1($arguments) {
  97082. var t1 = J.getInterceptor$asx($arguments);
  97083. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  97084. return A._functionString0("grayscale", $arguments);
  97085. else {
  97086. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_SGB);
  97087. return A._grayscale0(t1.$index($arguments, 0));
  97088. }
  97089. },
  97090. $signature: 3
  97091. };
  97092. A.global_closure68.prototype = {
  97093. call$1($arguments) {
  97094. var t1 = J.getInterceptor$asx($arguments),
  97095. color = t1.$index($arguments, 0).assertColor$1("color"),
  97096. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  97097. if (!color._color0$_space.get$isLegacyInternal())
  97098. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  97099. A.warnForDeprecation0(string$.adjustd + A.serializeValue0(A.SassNumber_SassNumber0(degrees, "deg"), false, true) + string$.x29x0a_Mor_, B.Deprecation_hJG);
  97100. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  97101. },
  97102. $signature: 23
  97103. };
  97104. A.global_closure69.prototype = {
  97105. call$1($arguments) {
  97106. var result,
  97107. _s9_ = "lightness",
  97108. t1 = J.getInterceptor$asx($arguments),
  97109. color = t1.$index($arguments, 0).assertColor$1("color"),
  97110. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  97111. if (!color._color0$_space.get$isLegacyInternal())
  97112. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  97113. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  97114. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  97115. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_hJG);
  97116. return result;
  97117. },
  97118. $signature: 23
  97119. };
  97120. A.global_closure70.prototype = {
  97121. call$1($arguments) {
  97122. var result,
  97123. _s9_ = "lightness",
  97124. t1 = J.getInterceptor$asx($arguments),
  97125. color = t1.$index($arguments, 0).assertColor$1("color"),
  97126. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  97127. if (!color._color0$_space.get$isLegacyInternal())
  97128. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  97129. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  97130. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  97131. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_hJG);
  97132. return result;
  97133. },
  97134. $signature: 23
  97135. };
  97136. A.global_closure71.prototype = {
  97137. call$1($arguments) {
  97138. var t1 = J.getInterceptor$asx($arguments);
  97139. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  97140. return A._functionString0("saturate", $arguments);
  97141. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  97142. },
  97143. $signature: 17
  97144. };
  97145. A.global_closure72.prototype = {
  97146. call$1($arguments) {
  97147. var t1, color, amount, result,
  97148. _s10_ = "saturation";
  97149. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_SGB);
  97150. t1 = J.getInterceptor$asx($arguments);
  97151. color = t1.$index($arguments, 0).assertColor$1("color");
  97152. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  97153. if (!color._color0$_space.get$isLegacyInternal())
  97154. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  97155. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  97156. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  97157. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_hJG);
  97158. return result;
  97159. },
  97160. $signature: 23
  97161. };
  97162. A.global_closure73.prototype = {
  97163. call$1($arguments) {
  97164. var result,
  97165. _s10_ = "saturation",
  97166. t1 = J.getInterceptor$asx($arguments),
  97167. color = t1.$index($arguments, 0).assertColor$1("color"),
  97168. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  97169. if (!color._color0$_space.get$isLegacyInternal())
  97170. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  97171. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  97172. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  97173. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_hJG);
  97174. return result;
  97175. },
  97176. $signature: 23
  97177. };
  97178. A.global_closure74.prototype = {
  97179. call$1($arguments) {
  97180. return A._opacify0("opacify", $arguments);
  97181. },
  97182. $signature: 23
  97183. };
  97184. A.global_closure75.prototype = {
  97185. call$1($arguments) {
  97186. return A._opacify0("fade-in", $arguments);
  97187. },
  97188. $signature: 23
  97189. };
  97190. A.global_closure76.prototype = {
  97191. call$1($arguments) {
  97192. return A._transparentize0("transparentize", $arguments);
  97193. },
  97194. $signature: 23
  97195. };
  97196. A.global_closure77.prototype = {
  97197. call$1($arguments) {
  97198. return A._transparentize0("fade-out", $arguments);
  97199. },
  97200. $signature: 23
  97201. };
  97202. A.global_closure78.prototype = {
  97203. call$1($arguments) {
  97204. var _0_0 = J.$index$asx($arguments, 0),
  97205. t1 = false;
  97206. if (_0_0 instanceof A.SassString0)
  97207. if (!_0_0._string0$_hasQuotes)
  97208. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  97209. if (t1)
  97210. return A._functionString0("alpha", $arguments);
  97211. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  97212. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  97213. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_SGB);
  97214. t1 = _0_0.assertColor$1("color").alphaOrNull;
  97215. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97216. },
  97217. $signature: 3
  97218. };
  97219. A.global_closure79.prototype = {
  97220. call$1($arguments) {
  97221. var t1,
  97222. argList = J.$index$asx($arguments, 0).get$asList();
  97223. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  97224. return A._functionString0("alpha", $arguments);
  97225. t1 = argList.length;
  97226. if (t1 === 0)
  97227. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  97228. else
  97229. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  97230. },
  97231. $signature: 17
  97232. };
  97233. A.global__closure0.prototype = {
  97234. call$1(argument) {
  97235. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  97236. },
  97237. $signature: 52
  97238. };
  97239. A.global_closure80.prototype = {
  97240. call$1($arguments) {
  97241. var t1 = J.getInterceptor$asx($arguments);
  97242. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  97243. return A._functionString0("opacity", $arguments);
  97244. A.warnForDeprecation0(string$.Globalco, B.Deprecation_SGB);
  97245. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  97246. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97247. },
  97248. $signature: 3
  97249. };
  97250. A.global_closure81.prototype = {
  97251. call$1($arguments) {
  97252. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  97253. },
  97254. $signature: 3
  97255. };
  97256. A.global_closure82.prototype = {
  97257. call$1($arguments) {
  97258. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  97259. },
  97260. $signature: 3
  97261. };
  97262. A.global_closure83.prototype = {
  97263. call$1($arguments) {
  97264. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  97265. },
  97266. $signature: 3
  97267. };
  97268. A.global_closure84.prototype = {
  97269. call$1($arguments) {
  97270. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  97271. },
  97272. $signature: 3
  97273. };
  97274. A.global_closure85.prototype = {
  97275. call$1($arguments) {
  97276. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  97277. },
  97278. $signature: 3
  97279. };
  97280. A.global_closure86.prototype = {
  97281. call$1($arguments) {
  97282. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  97283. },
  97284. $signature: 3
  97285. };
  97286. A.module_closure27.prototype = {
  97287. call$1(color) {
  97288. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97289. },
  97290. $signature: 40
  97291. };
  97292. A.module_closure28.prototype = {
  97293. call$1(color) {
  97294. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97295. },
  97296. $signature: 40
  97297. };
  97298. A.module_closure29.prototype = {
  97299. call$1(color) {
  97300. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97301. },
  97302. $signature: 40
  97303. };
  97304. A.module_closure30.prototype = {
  97305. call$1($arguments) {
  97306. var result = A._invert0($arguments, false);
  97307. if (result instanceof A.SassString0)
  97308. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_mqF);
  97309. return result;
  97310. },
  97311. $signature: 3
  97312. };
  97313. A.module_closure31.prototype = {
  97314. call$1(color) {
  97315. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97316. },
  97317. $signature: 31
  97318. };
  97319. A.module_closure32.prototype = {
  97320. call$1(color) {
  97321. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97322. },
  97323. $signature: 31
  97324. };
  97325. A.module_closure33.prototype = {
  97326. call$1(color) {
  97327. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97328. },
  97329. $signature: 31
  97330. };
  97331. A.module_closure34.prototype = {
  97332. call$1($arguments) {
  97333. var result,
  97334. t1 = J.getInterceptor$asx($arguments);
  97335. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  97336. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  97337. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_mqF);
  97338. return result;
  97339. }
  97340. return A._grayscale0(t1.$index($arguments, 0));
  97341. },
  97342. $signature: 3
  97343. };
  97344. A.module_closure35.prototype = {
  97345. call$1($arguments) {
  97346. var t1 = J.getInterceptor$asx($arguments),
  97347. t2 = type$.JSArray_Value_2;
  97348. return A._parseChannels0("hwb", A.SassList$0(A._setArrayType([A.SassList$0(A._setArrayType([t1.$index($arguments, 0), t1.$index($arguments, 1), t1.$index($arguments, 2)], t2), B.ListSeparator_SrV0, false), t1.$index($arguments, 3)], t2), B.ListSeparator_Lul0, false), null, B.HwbColorSpace_guQ0);
  97349. },
  97350. $signature: 3
  97351. };
  97352. A.module_closure36.prototype = {
  97353. call$1($arguments) {
  97354. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  97355. },
  97356. $signature: 3
  97357. };
  97358. A.module_closure37.prototype = {
  97359. call$1(color) {
  97360. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97361. },
  97362. $signature: 31
  97363. };
  97364. A.module_closure38.prototype = {
  97365. call$1(color) {
  97366. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97367. },
  97368. $signature: 31
  97369. };
  97370. A.module_closure39.prototype = {
  97371. call$1($arguments) {
  97372. var result,
  97373. _0_0 = J.$index$asx($arguments, 0),
  97374. t1 = false;
  97375. if (_0_0 instanceof A.SassString0)
  97376. if (!_0_0._string0$_hasQuotes)
  97377. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  97378. if (t1) {
  97379. result = A._functionString0("alpha", $arguments);
  97380. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_mqF);
  97381. return result;
  97382. }
  97383. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  97384. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  97385. t1 = _0_0.assertColor$1("color").alphaOrNull;
  97386. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97387. },
  97388. $signature: 3
  97389. };
  97390. A.module_closure40.prototype = {
  97391. call$1($arguments) {
  97392. var result,
  97393. t1 = J.getInterceptor$asx($arguments);
  97394. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  97395. result = A._functionString0("alpha", $arguments);
  97396. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_mqF);
  97397. return result;
  97398. }
  97399. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  97400. },
  97401. $signature: 17
  97402. };
  97403. A.module__closure6.prototype = {
  97404. call$1(argument) {
  97405. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  97406. },
  97407. $signature: 52
  97408. };
  97409. A.module_closure41.prototype = {
  97410. call$1($arguments) {
  97411. var result,
  97412. t1 = J.getInterceptor$asx($arguments);
  97413. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  97414. result = A._functionString0("opacity", $arguments);
  97415. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_mqF);
  97416. return result;
  97417. }
  97418. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  97419. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97420. },
  97421. $signature: 3
  97422. };
  97423. A.module_closure42.prototype = {
  97424. call$1($arguments) {
  97425. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  97426. },
  97427. $signature: 17
  97428. };
  97429. A.module_closure43.prototype = {
  97430. call$1($arguments) {
  97431. var t1 = J.getInterceptor$asx($arguments);
  97432. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  97433. },
  97434. $signature: 23
  97435. };
  97436. A.module_closure44.prototype = {
  97437. call$1($arguments) {
  97438. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97439. },
  97440. $signature: 11
  97441. };
  97442. A.module_closure45.prototype = {
  97443. call$1($arguments) {
  97444. var t1 = J.getInterceptor$asx($arguments);
  97445. return t1.$index($arguments, 0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName0(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97446. },
  97447. $signature: 11
  97448. };
  97449. A.module_closure46.prototype = {
  97450. call$1($arguments) {
  97451. var t1 = J.getInterceptor$asx($arguments);
  97452. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97453. },
  97454. $signature: 11
  97455. };
  97456. A.module_closure47.prototype = {
  97457. call$1($arguments) {
  97458. var space, method, _s5_ = "space", _s6_ = "method",
  97459. t1 = J.getInterceptor$asx($arguments),
  97460. color = t1.$index($arguments, 0).assertColor$1("color"),
  97461. t2 = t1.$index($arguments, 1);
  97462. if (t2.$eq(0, B.C__SassNull0))
  97463. space = color._color0$_space;
  97464. else {
  97465. t2 = t2.assertString$1(_s5_);
  97466. t2.assertUnquoted$1(_s5_);
  97467. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  97468. }
  97469. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  97470. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  97471. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  97472. t1.assertUnquoted$1(_s6_);
  97473. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  97474. if (!space.get$isBoundedInternal())
  97475. return color;
  97476. t1 = color.toSpace$1(space);
  97477. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  97478. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  97479. },
  97480. $signature: 23
  97481. };
  97482. A.module_closure48.prototype = {
  97483. call$1($arguments) {
  97484. var channelIndex, channelInfo, channelValue, unit,
  97485. t1 = J.getInterceptor$asx($arguments),
  97486. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  97487. channelName = A._channelName0(t1.$index($arguments, 1));
  97488. if (channelName === "alpha") {
  97489. t1 = color.alphaOrNull;
  97490. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97491. }
  97492. t1 = color._color0$_space._space$_channels;
  97493. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  97494. if (channelIndex === -1)
  97495. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  97496. channelInfo = t1[channelIndex];
  97497. channelValue = color.get$channels()[channelIndex];
  97498. unit = channelInfo.associatedUnit;
  97499. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  97500. },
  97501. $signature: 24
  97502. };
  97503. A.module__closure5.prototype = {
  97504. call$1(channel) {
  97505. return channel.name === this.channelName;
  97506. },
  97507. $signature: 77
  97508. };
  97509. A.module_closure49.prototype = {
  97510. call$1($arguments) {
  97511. var t2, t3,
  97512. t1 = J.getInterceptor$asx($arguments),
  97513. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97514. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  97515. t1 = new A.module_closure_toXyzNoMissing0();
  97516. if (color1._color0$_space === color2._color0$_space) {
  97517. t1 = color1.channel0OrNull;
  97518. t2 = false;
  97519. if (t1 == null)
  97520. t1 = 0;
  97521. t3 = color2.channel0OrNull;
  97522. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97523. t1 = color1.channel1OrNull;
  97524. if (t1 == null)
  97525. t1 = 0;
  97526. t3 = color2.channel1OrNull;
  97527. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97528. t1 = color1.channel2OrNull;
  97529. if (t1 == null)
  97530. t1 = 0;
  97531. t3 = color2.channel2OrNull;
  97532. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97533. t1 = color1.alphaOrNull;
  97534. if (t1 == null)
  97535. t1 = 0;
  97536. t2 = color2.alphaOrNull;
  97537. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  97538. } else
  97539. t1 = t2;
  97540. } else
  97541. t1 = t2;
  97542. } else
  97543. t1 = t2;
  97544. } else
  97545. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  97546. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97547. },
  97548. $signature: 11
  97549. };
  97550. A.module_closure_toXyzNoMissing0.prototype = {
  97551. call$1(color) {
  97552. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  97553. $label0$0: {
  97554. _1_1 = color._color0$_space;
  97555. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  97556. t1 = _1_3;
  97557. if (t1)
  97558. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  97559. else
  97560. t1 = false;
  97561. if (t1) {
  97562. t1 = color;
  97563. break $label0$0;
  97564. }
  97565. if (_1_3) {
  97566. _1_7 = color.channel0OrNull;
  97567. if (_1_7 == null)
  97568. _1_7 = 0;
  97569. channel0 = _1_7;
  97570. _1_8 = color.channel1OrNull;
  97571. if (_1_8 == null)
  97572. _1_8 = 0;
  97573. channel1 = _1_8;
  97574. _1_9 = color.channel2OrNull;
  97575. if (_1_9 == null)
  97576. _1_9 = 0;
  97577. channel2 = _1_9;
  97578. _1_10 = color.alphaOrNull;
  97579. if (_1_10 == null)
  97580. _1_10 = 0;
  97581. alpha = _1_10;
  97582. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, _null);
  97583. break $label0$0;
  97584. }
  97585. _1_7 = color.channel0OrNull;
  97586. if (_1_7 == null)
  97587. _1_7 = 0;
  97588. channel0 = _1_7;
  97589. _1_8 = color.channel1OrNull;
  97590. if (_1_8 == null)
  97591. _1_8 = 0;
  97592. channel1 = _1_8;
  97593. _1_9 = color.channel2OrNull;
  97594. if (_1_9 == null)
  97595. _1_9 = 0;
  97596. channel2 = _1_9;
  97597. _1_10 = color.alphaOrNull;
  97598. if (_1_10 == null)
  97599. _1_10 = 0;
  97600. alpha = _1_10;
  97601. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  97602. break $label0$0;
  97603. }
  97604. return t1;
  97605. },
  97606. $signature: 391
  97607. };
  97608. A.module_closure50.prototype = {
  97609. call$1($arguments) {
  97610. var t1 = J.getInterceptor$asx($arguments);
  97611. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true).isChannelPowerless$3$channelName$colorName(A._channelName0(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97612. },
  97613. $signature: 11
  97614. };
  97615. A._mix_closure0.prototype = {
  97616. call$1($arguments) {
  97617. var _s6_ = "weight",
  97618. _s41_ = string$.To_usem,
  97619. _s29_ = ", you must provide a $method.",
  97620. t1 = J.getInterceptor$asx($arguments),
  97621. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97622. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  97623. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  97624. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  97625. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  97626. A._checkPercent0(weight, _s6_);
  97627. if (!color1._color0$_space.get$isLegacyInternal())
  97628. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  97629. else if (!color2._color0$_space.get$isLegacyInternal())
  97630. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  97631. return A._mixLegacy0(color1, color2, weight);
  97632. },
  97633. $signature: 23
  97634. };
  97635. A._complement_closure0.prototype = {
  97636. call$1($arguments) {
  97637. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  97638. t1 = J.getInterceptor$asx($arguments),
  97639. color = t1.$index($arguments, 0).assertColor$1("color"),
  97640. t2 = color._color0$_space;
  97641. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  97642. space = B.HslColorSpace_JQ20;
  97643. else {
  97644. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  97645. t3.assertUnquoted$1(_s5_);
  97646. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  97647. }
  97648. if (!space.get$isPolarInternal())
  97649. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  97650. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  97651. t1 = space._space$_channels;
  97652. t3 = colorInSpace.channel0OrNull;
  97653. t4 = colorInSpace.channel1OrNull;
  97654. t5 = colorInSpace.channel2OrNull;
  97655. t6 = colorInSpace.alphaOrNull;
  97656. return (space.get$isLegacyInternal() ? A.SassColor_SassColor$forSpaceInternal0(space, A._adjustChannel0(colorInSpace, t1[0], t3, A.SassNumber_SassNumber0(180, null)), t4, t5, t6) : A.SassColor_SassColor$forSpaceInternal0(space, t3, t4, A._adjustChannel0(colorInSpace, t1[2], t5, A.SassNumber_SassNumber0(180, null)), t6)).toSpace$2$legacyMissing(t2, false);
  97657. },
  97658. $signature: 23
  97659. };
  97660. A._adjust_closure0.prototype = {
  97661. call$1($arguments) {
  97662. return A._updateComponents0($arguments, true, false, false);
  97663. },
  97664. $signature: 23
  97665. };
  97666. A._scale_closure0.prototype = {
  97667. call$1($arguments) {
  97668. return A._updateComponents0($arguments, false, false, true);
  97669. },
  97670. $signature: 23
  97671. };
  97672. A._change_closure0.prototype = {
  97673. call$1($arguments) {
  97674. return A._updateComponents0($arguments, false, true, false);
  97675. },
  97676. $signature: 23
  97677. };
  97678. A._ieHexStr_closure0.prototype = {
  97679. call$1($arguments) {
  97680. var t1, t2, t3, t4, t5,
  97681. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  97682. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  97683. t1 = new A._ieHexStr_closure_hexString0();
  97684. t2 = color.alphaOrNull;
  97685. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  97686. t3 = color.channel0OrNull;
  97687. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  97688. t4 = color.channel1OrNull;
  97689. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  97690. t5 = color.channel2OrNull;
  97691. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  97692. },
  97693. $signature: 17
  97694. };
  97695. A._ieHexStr_closure_hexString0.prototype = {
  97696. call$1(component) {
  97697. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  97698. },
  97699. $signature: 214
  97700. };
  97701. A._updateComponents_closure1.prototype = {
  97702. call$1(space) {
  97703. return this.originalColor.toSpace$2$legacyMissing(space, false);
  97704. },
  97705. $signature: 392
  97706. };
  97707. A._updateComponents_closure2.prototype = {
  97708. call$1(info) {
  97709. return this._box_0.name === info.name;
  97710. },
  97711. $signature: 77
  97712. };
  97713. A._changeColor_closure0.prototype = {
  97714. call$0() {
  97715. var t1 = this.alphaArg;
  97716. A.warnForDeprecation0("$alpha: Passing a unit other than % (" + t1.toString$0(0) + string$.x29x20is_d_ + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_PHd);
  97717. return t1.valueInRange$3(0, 1, "alpha");
  97718. },
  97719. $signature: 207
  97720. };
  97721. A._adjustColor_closure0.prototype = {
  97722. call$1(alpha) {
  97723. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97724. },
  97725. $signature: 16
  97726. };
  97727. A._functionString_closure0.prototype = {
  97728. call$1(argument) {
  97729. return A.serializeValue0(argument, false, true);
  97730. },
  97731. $signature: 190
  97732. };
  97733. A._removedColorFunction_closure0.prototype = {
  97734. call$1($arguments) {
  97735. var t1 = this.name,
  97736. t2 = J.getInterceptor$asx($arguments),
  97737. t3 = t2.$index($arguments, 0).toString$0(0),
  97738. t4 = this.negative ? "-" : "";
  97739. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + t2.$index($arguments, 1).toString$0(0) + string$.x29x0a_Moro + t1, null));
  97740. },
  97741. $signature: 394
  97742. };
  97743. A._rgb_closure0.prototype = {
  97744. call$1(alpha) {
  97745. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97746. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97747. },
  97748. $signature: 217
  97749. };
  97750. A._hsl_closure0.prototype = {
  97751. call$1(alpha) {
  97752. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97753. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97754. },
  97755. $signature: 217
  97756. };
  97757. A._parseChannels_closure1.prototype = {
  97758. call$1($name) {
  97759. return $name + " channel";
  97760. },
  97761. $signature: 6
  97762. };
  97763. A._parseChannels_closure2.prototype = {
  97764. call$1(channel) {
  97765. return channel.get$isSpecialNumber();
  97766. },
  97767. $signature: 52
  97768. };
  97769. A._colorFromChannels_closure1.prototype = {
  97770. call$1(channel0) {
  97771. return A._angleValue0(channel0, "hue");
  97772. },
  97773. $signature: 102
  97774. };
  97775. A._colorFromChannels_closure2.prototype = {
  97776. call$1(channel0) {
  97777. return A._angleValue0(channel0, "hue");
  97778. },
  97779. $signature: 102
  97780. };
  97781. A._channelFromValue_closure0.prototype = {
  97782. call$1(value) {
  97783. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  97784. _0_0 = this.channel;
  97785. $label0$0: {
  97786. t1 = _0_0 instanceof A.LinearChannel0;
  97787. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97788. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97789. _0_8 = null;
  97790. t2 = false;
  97791. if (t1) {
  97792. _0_5 = _0_0.lowerClamped;
  97793. _0_8_isSet = !_0_5;
  97794. if (_0_8_isSet) {
  97795. _0_8 = _0_0.upperClamped;
  97796. t2 = !_0_8;
  97797. }
  97798. } else {
  97799. _0_5 = null;
  97800. _0_8_isSet = false;
  97801. }
  97802. if (t2) {
  97803. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97804. break $label0$0;
  97805. }
  97806. if (t1 && !this.clamp) {
  97807. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97808. break $label0$0;
  97809. }
  97810. if (t1) {
  97811. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97812. t1 = _0_0.max;
  97813. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97814. t3 = _0_5 ? _0_0.min : -1 / 0;
  97815. t1 = upperClamped ? t1 : 1 / 0;
  97816. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97817. break $label0$0;
  97818. }
  97819. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97820. break $label0$0;
  97821. }
  97822. return t1;
  97823. },
  97824. $signature: 102
  97825. };
  97826. A._channelFunction_closure0.prototype = {
  97827. call$1($arguments) {
  97828. var _this = this,
  97829. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97830. t1 = _this.global ? "" : "color.",
  97831. t2 = _this.name;
  97832. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_hJG);
  97833. return result;
  97834. },
  97835. $signature: 24
  97836. };
  97837. A._suggestScaleAndAdjust_closure0.prototype = {
  97838. call$1(channel) {
  97839. return channel.name === this.channelName;
  97840. },
  97841. $signature: 77
  97842. };
  97843. A.colorClass_closure.prototype = {
  97844. call$0() {
  97845. var t1 = type$.JSClass,
  97846. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97847. t2 = type$.String,
  97848. t3 = type$.Function;
  97849. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.colorClass__closure0(), "hashCode", new A.colorClass__closure1(), "toSpace", new A.colorClass__closure2(), "isInGamut", new A.colorClass__closure3(), "toGamut", new A.colorClass__closure4(), "channel", new A.colorClass__closure5(), "isChannelMissing", new A.colorClass__closure6(), "isChannelPowerless", new A.colorClass__closure7(), "change", new A.colorClass__closure8(), "interpolate", new A.colorClass__closure9()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  97850. A.LinkedHashMap_LinkedHashMap$_literal(["red", new A.colorClass__closure10(), "green", new A.colorClass__closure11(), "blue", new A.colorClass__closure12(), "hue", new A.colorClass__closure13(), "saturation", new A.colorClass__closure14(), "lightness", new A.colorClass__closure15(), "whiteness", new A.colorClass__closure16(), "blackness", new A.colorClass__closure17(), "alpha", new A.colorClass__closure18(), "space", new A.colorClass__closure19(), "isLegacy", new A.colorClass__closure20(), "channelsOrNull", new A.colorClass__closure21(), "channels", new A.colorClass__closure22()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  97851. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97852. return jsClass;
  97853. },
  97854. $signature: 15
  97855. };
  97856. A.colorClass__closure.prototype = {
  97857. call$2($self, options) {
  97858. var t1, t2, t3, t4, _null = null;
  97859. switch (A._constructionSpace(options)) {
  97860. case B.RgbColorSpace_i0P0:
  97861. A._checkNullAlphaDeprecation(options);
  97862. t1 = J.getInterceptor$x(options);
  97863. t2 = t1.get$red(options);
  97864. t3 = t1.get$green(options);
  97865. t4 = t1.get$blue(options);
  97866. t1 = t1.get$alpha(options);
  97867. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97868. case B.HslColorSpace_JQ20:
  97869. A._checkNullAlphaDeprecation(options);
  97870. t1 = J.getInterceptor$x(options);
  97871. t2 = t1.get$hue(options);
  97872. t3 = t1.get$saturation(options);
  97873. t4 = t1.get$lightness(options);
  97874. t1 = t1.get$alpha(options);
  97875. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97876. case B.HwbColorSpace_guQ0:
  97877. A._checkNullAlphaDeprecation(options);
  97878. t1 = J.getInterceptor$x(options);
  97879. t2 = t1.get$hue(options);
  97880. t3 = t1.get$whiteness(options);
  97881. t4 = t1.get$blackness(options);
  97882. t1 = t1.get$alpha(options);
  97883. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97884. case B.LabColorSpace_2nT0:
  97885. t1 = J.getInterceptor$x(options);
  97886. t2 = t1.get$lightness(options);
  97887. t3 = t1.get$a(options);
  97888. t4 = t1.get$b(options);
  97889. t1 = t1.get$alpha(options);
  97890. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97891. case B.OklabColorSpace_5400:
  97892. t1 = J.getInterceptor$x(options);
  97893. t2 = t1.get$lightness(options);
  97894. t3 = t1.get$a(options);
  97895. t4 = t1.get$b(options);
  97896. t1 = t1.get$alpha(options);
  97897. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97898. case B.LchColorSpace_Bpv0:
  97899. t1 = J.getInterceptor$x(options);
  97900. t2 = t1.get$lightness(options);
  97901. t3 = t1.get$chroma(options);
  97902. t4 = t1.get$hue(options);
  97903. t1 = t1.get$alpha(options);
  97904. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97905. case B.OklchColorSpace_9Gj0:
  97906. t1 = J.getInterceptor$x(options);
  97907. t2 = t1.get$lightness(options);
  97908. t3 = t1.get$chroma(options);
  97909. t4 = t1.get$hue(options);
  97910. t1 = t1.get$alpha(options);
  97911. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97912. case B.SrgbColorSpace_thf0:
  97913. t1 = J.getInterceptor$x(options);
  97914. t2 = t1.get$red(options);
  97915. t3 = t1.get$green(options);
  97916. t4 = t1.get$blue(options);
  97917. t1 = t1.get$alpha(options);
  97918. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97919. case B.SrgbLinearColorSpace_kUj0:
  97920. t1 = J.getInterceptor$x(options);
  97921. t2 = t1.get$red(options);
  97922. t3 = t1.get$green(options);
  97923. t4 = t1.get$blue(options);
  97924. t1 = t1.get$alpha(options);
  97925. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97926. case B.DisplayP3ColorSpace_MmT0:
  97927. t1 = J.getInterceptor$x(options);
  97928. t2 = t1.get$red(options);
  97929. t3 = t1.get$green(options);
  97930. t4 = t1.get$blue(options);
  97931. t1 = t1.get$alpha(options);
  97932. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97933. case B.A98RgbColorSpace_lf20:
  97934. t1 = J.getInterceptor$x(options);
  97935. t2 = t1.get$red(options);
  97936. t3 = t1.get$green(options);
  97937. t4 = t1.get$blue(options);
  97938. t1 = t1.get$alpha(options);
  97939. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97940. case B.ProphotoRgbColorSpace_BDz0:
  97941. t1 = J.getInterceptor$x(options);
  97942. t2 = t1.get$red(options);
  97943. t3 = t1.get$green(options);
  97944. t4 = t1.get$blue(options);
  97945. t1 = t1.get$alpha(options);
  97946. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97947. case B.Rec2020ColorSpace_6oo0:
  97948. t1 = J.getInterceptor$x(options);
  97949. t2 = t1.get$red(options);
  97950. t3 = t1.get$green(options);
  97951. t4 = t1.get$blue(options);
  97952. t1 = t1.get$alpha(options);
  97953. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97954. case B.XyzD50ColorSpace_2OB0:
  97955. t1 = J.getInterceptor$x(options);
  97956. t2 = t1.get$x(options);
  97957. t3 = t1.get$y(options);
  97958. t4 = t1.get$z(options);
  97959. t1 = t1.get$alpha(options);
  97960. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97961. case B.XyzD65ColorSpace_WiJ0:
  97962. t1 = J.getInterceptor$x(options);
  97963. t2 = t1.get$x(options);
  97964. t3 = t1.get$y(options);
  97965. t4 = t1.get$z(options);
  97966. t1 = t1.get$alpha(options);
  97967. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97968. default:
  97969. throw A.wrapException("Unreachable");
  97970. }
  97971. },
  97972. $signature: 397
  97973. };
  97974. A.colorClass__closure0.prototype = {
  97975. call$2($self, other) {
  97976. return $self.$eq(0, other);
  97977. },
  97978. $signature: 398
  97979. };
  97980. A.colorClass__closure1.prototype = {
  97981. call$1($self) {
  97982. return $self.get$hashCode(0);
  97983. },
  97984. $signature: 40
  97985. };
  97986. A.colorClass__closure2.prototype = {
  97987. call$2($self, space) {
  97988. return A._toSpace($self, space);
  97989. },
  97990. $signature: 399
  97991. };
  97992. A.colorClass__closure3.prototype = {
  97993. call$2($self, space) {
  97994. return A._toSpace($self, space).get$isInGamut();
  97995. },
  97996. call$1($self) {
  97997. return this.call$2($self, null);
  97998. },
  97999. "call*": "call$2",
  98000. $requiredArgCount: 1,
  98001. $defaultValues() {
  98002. return [null];
  98003. },
  98004. $signature: 400
  98005. };
  98006. A.colorClass__closure4.prototype = {
  98007. call$2($self, options) {
  98008. var t1 = J.getInterceptor$x(options),
  98009. t2 = A._toSpace($self, t1.get$space(options));
  98010. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  98011. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  98012. return t1.toSpace$1($self._color0$_space);
  98013. },
  98014. $signature: 401
  98015. };
  98016. A.colorClass__closure5.prototype = {
  98017. call$3($self, channel, options) {
  98018. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  98019. },
  98020. call$2($self, channel) {
  98021. return this.call$3($self, channel, null);
  98022. },
  98023. "call*": "call$3",
  98024. $requiredArgCount: 2,
  98025. $defaultValues() {
  98026. return [null];
  98027. },
  98028. $signature: 402
  98029. };
  98030. A.colorClass__closure6.prototype = {
  98031. call$2($self, channel) {
  98032. return $self.isChannelMissing$1(channel);
  98033. },
  98034. $signature: 403
  98035. };
  98036. A.colorClass__closure7.prototype = {
  98037. call$3($self, channel, options) {
  98038. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  98039. },
  98040. call$2($self, channel) {
  98041. return this.call$3($self, channel, null);
  98042. },
  98043. "call*": "call$3",
  98044. $requiredArgCount: 2,
  98045. $defaultValues() {
  98046. return [null];
  98047. },
  98048. $signature: 404
  98049. };
  98050. A.colorClass__closure8.prototype = {
  98051. call$2($self, options) {
  98052. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  98053. _s9_ = "whiteness",
  98054. _s9_0 = "blackness",
  98055. _s3_ = "hue",
  98056. _s10_ = "saturation",
  98057. _s9_1 = "lightness",
  98058. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  98059. _s106_ = string$.Passin_,
  98060. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  98061. t1 = J.getInterceptor$x(options),
  98062. t2 = t1.get$space(options) == null,
  98063. spaceSetExplicitly = !t2;
  98064. if (spaceSetExplicitly) {
  98065. t3 = t1.get$space(options);
  98066. t3.toString;
  98067. space = A.ColorSpace_fromName0(t3, _null);
  98068. } else
  98069. space = $self._color0$_space;
  98070. t3 = $self._color0$_space;
  98071. if (t3.get$isLegacyInternal() && t2) {
  98072. if ("whiteness" in options || "blackness" in options)
  98073. space = B.HwbColorSpace_guQ0;
  98074. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  98075. space = B.HwbColorSpace_guQ0;
  98076. else if ("hue" in options || "saturation" in options || "lightness" in options)
  98077. space = B.HslColorSpace_JQ20;
  98078. else if ("red" in options || "green" in options || "blue" in options)
  98079. space = B.RgbColorSpace_i0P0;
  98080. if (space !== t3)
  98081. A.warnForDeprecationFromApi("Changing a channel not in this color's space without explicitly specifying the `space` option is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98082. }
  98083. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  98084. t6 = t2.get$current(t2);
  98085. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  98086. continue;
  98087. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  98088. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  98089. }
  98090. color = $self.toSpace$1(space);
  98091. changedValue = new A.colorClass__closure_changedValue(color, options);
  98092. $label0$2: {
  98093. _0_2 = B.HslColorSpace_JQ20 === space;
  98094. if (_0_2 && spaceSetExplicitly) {
  98095. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  98096. break $label0$2;
  98097. }
  98098. if (_0_2) {
  98099. t2 = t1.get$hue(options);
  98100. t4 = $.$get$_isNull();
  98101. if (A._asBool(t4.call$1(t2)))
  98102. A.warnForDeprecationFromApi(_s105_, B.Deprecation_alT);
  98103. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  98104. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98105. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  98106. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98107. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  98108. A.warnForDeprecationFromApi(_s106_, B.Deprecation_ox0);
  98109. t2 = t1.get$hue(options);
  98110. if (t2 == null)
  98111. t2 = color.channel$1(0, _s3_);
  98112. t4 = t1.get$saturation(options);
  98113. if (t4 == null)
  98114. t4 = color.channel$1(0, _s10_);
  98115. t5 = t1.get$lightness(options);
  98116. if (t5 == null)
  98117. t5 = color.channel$1(0, _s9_1);
  98118. t1 = t1.get$alpha(options);
  98119. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  98120. break $label0$2;
  98121. }
  98122. _0_4 = B.HwbColorSpace_guQ0 === space;
  98123. if (_0_4 && spaceSetExplicitly) {
  98124. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  98125. break $label0$2;
  98126. }
  98127. if (_0_4) {
  98128. t2 = t1.get$hue(options);
  98129. t4 = $.$get$_isNull();
  98130. if (A._asBool(t4.call$1(t2)))
  98131. A.warnForDeprecationFromApi(_s105_, B.Deprecation_alT);
  98132. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  98133. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98134. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  98135. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98136. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  98137. A.warnForDeprecationFromApi(_s106_, B.Deprecation_ox0);
  98138. t2 = t1.get$hue(options);
  98139. if (t2 == null)
  98140. t2 = color.channel$1(0, _s3_);
  98141. t4 = t1.get$whiteness(options);
  98142. if (t4 == null)
  98143. t4 = color.channel$1(0, _s9_);
  98144. t5 = t1.get$blackness(options);
  98145. if (t5 == null)
  98146. t5 = color.channel$1(0, _s9_0);
  98147. t1 = t1.get$alpha(options);
  98148. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  98149. break $label0$2;
  98150. }
  98151. _0_6 = B.RgbColorSpace_i0P0 === space;
  98152. if (_0_6 && spaceSetExplicitly) {
  98153. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98154. break $label0$2;
  98155. }
  98156. if (_0_6) {
  98157. t2 = t1.get$red(options);
  98158. t4 = $.$get$_isNull();
  98159. if (A._asBool(t4.call$1(t2)))
  98160. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98161. else if (A._asBool(t4.call$1(t1.get$green(options))))
  98162. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98163. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  98164. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98165. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  98166. A.warnForDeprecationFromApi(_s106_, B.Deprecation_ox0);
  98167. t2 = t1.get$red(options);
  98168. if (t2 == null)
  98169. t2 = color.channel$1(0, _s3_0);
  98170. t4 = t1.get$green(options);
  98171. if (t4 == null)
  98172. t4 = color.channel$1(0, _s5_);
  98173. t5 = t1.get$blue(options);
  98174. if (t5 == null)
  98175. t5 = color.channel$1(0, _s4_);
  98176. t1 = t1.get$alpha(options);
  98177. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  98178. break $label0$2;
  98179. }
  98180. if (B.LabColorSpace_2nT0 === space) {
  98181. changedColor = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, changedValue.call$1(_s9_1), changedValue.call$1("a"), changedValue.call$1("b"), changedValue.call$1(_s5_0), _null);
  98182. break $label0$2;
  98183. }
  98184. if (B.OklabColorSpace_5400 === space) {
  98185. changedColor = A.SassColor$_forSpace0(B.OklabColorSpace_5400, changedValue.call$1(_s9_1), changedValue.call$1("a"), changedValue.call$1("b"), changedValue.call$1(_s5_0), _null);
  98186. break $label0$2;
  98187. }
  98188. if (B.LchColorSpace_Bpv0 === space) {
  98189. changedColor = A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, changedValue.call$1(_s9_1), changedValue.call$1("chroma"), changedValue.call$1(_s3_), changedValue.call$1(_s5_0));
  98190. break $label0$2;
  98191. }
  98192. if (B.OklchColorSpace_9Gj0 === space) {
  98193. changedColor = A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, changedValue.call$1(_s9_1), changedValue.call$1("chroma"), changedValue.call$1(_s3_), changedValue.call$1(_s5_0));
  98194. break $label0$2;
  98195. }
  98196. if (B.A98RgbColorSpace_lf20 === space) {
  98197. changedColor = A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98198. break $label0$2;
  98199. }
  98200. if (B.DisplayP3ColorSpace_MmT0 === space) {
  98201. changedColor = A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98202. break $label0$2;
  98203. }
  98204. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  98205. changedColor = A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98206. break $label0$2;
  98207. }
  98208. if (B.Rec2020ColorSpace_6oo0 === space) {
  98209. changedColor = A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98210. break $label0$2;
  98211. }
  98212. if (B.SrgbColorSpace_thf0 === space) {
  98213. changedColor = A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98214. break $label0$2;
  98215. }
  98216. if (B.SrgbLinearColorSpace_kUj0 === space) {
  98217. changedColor = A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  98218. break $label0$2;
  98219. }
  98220. if (B.XyzD50ColorSpace_2OB0 === space) {
  98221. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  98222. break $label0$2;
  98223. }
  98224. if (B.XyzD65ColorSpace_WiJ0 === space) {
  98225. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  98226. break $label0$2;
  98227. }
  98228. throw A.wrapException("No space set");
  98229. }
  98230. return changedColor.toSpace$1(t3);
  98231. },
  98232. $signature: 405
  98233. };
  98234. A.colorClass___closure.prototype = {
  98235. call$1(channel) {
  98236. return channel.name === this.key;
  98237. },
  98238. $signature: 77
  98239. };
  98240. A.colorClass__closure_changedValue.prototype = {
  98241. call$1(channel) {
  98242. var t2,
  98243. t1 = this.options;
  98244. if (channel in t1) {
  98245. t2 = t1[channel];
  98246. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  98247. } else
  98248. t2 = false;
  98249. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  98250. },
  98251. $signature: 406
  98252. };
  98253. A.colorClass__closure9.prototype = {
  98254. call$3($self, color2, options) {
  98255. var interpolationMethod, t2,
  98256. t1 = options == null,
  98257. _1_0 = t1 ? null : J.get$method$x(options);
  98258. if (_1_0 != null)
  98259. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_mRc, _1_0));
  98260. else {
  98261. t2 = $self._color0$_space;
  98262. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  98263. }
  98264. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  98265. },
  98266. call$2($self, color2) {
  98267. return this.call$3($self, color2, null);
  98268. },
  98269. "call*": "call$3",
  98270. $requiredArgCount: 2,
  98271. $defaultValues() {
  98272. return [null];
  98273. },
  98274. $signature: 407
  98275. };
  98276. A.colorClass__closure10.prototype = {
  98277. call$1($self) {
  98278. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98279. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  98280. },
  98281. $signature: 40
  98282. };
  98283. A.colorClass__closure11.prototype = {
  98284. call$1($self) {
  98285. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98286. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  98287. },
  98288. $signature: 40
  98289. };
  98290. A.colorClass__closure12.prototype = {
  98291. call$1($self) {
  98292. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98293. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  98294. },
  98295. $signature: 40
  98296. };
  98297. A.colorClass__closure13.prototype = {
  98298. call$1($self) {
  98299. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98300. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  98301. },
  98302. $signature: 31
  98303. };
  98304. A.colorClass__closure14.prototype = {
  98305. call$1($self) {
  98306. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98307. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  98308. },
  98309. $signature: 31
  98310. };
  98311. A.colorClass__closure15.prototype = {
  98312. call$1($self) {
  98313. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98314. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  98315. },
  98316. $signature: 31
  98317. };
  98318. A.colorClass__closure16.prototype = {
  98319. call$1($self) {
  98320. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98321. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  98322. },
  98323. $signature: 31
  98324. };
  98325. A.colorClass__closure17.prototype = {
  98326. call$1($self) {
  98327. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_alT);
  98328. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  98329. },
  98330. $signature: 31
  98331. };
  98332. A.colorClass__closure18.prototype = {
  98333. call$1($self) {
  98334. var t1 = $self.alphaOrNull;
  98335. return t1 == null ? 0 : t1;
  98336. },
  98337. $signature: 31
  98338. };
  98339. A.colorClass__closure19.prototype = {
  98340. call$1($self) {
  98341. return $self._color0$_space.name;
  98342. },
  98343. $signature: 408
  98344. };
  98345. A.colorClass__closure20.prototype = {
  98346. call$1($self) {
  98347. return $self._color0$_space.get$isLegacyInternal();
  98348. },
  98349. $signature: 409
  98350. };
  98351. A.colorClass__closure21.prototype = {
  98352. call$1($self) {
  98353. return new self.immutable.List($self.get$channelsOrNull());
  98354. },
  98355. $signature: 142
  98356. };
  98357. A.colorClass__closure22.prototype = {
  98358. call$1($self) {
  98359. return new self.immutable.List($self.get$channels());
  98360. },
  98361. $signature: 142
  98362. };
  98363. A._Channels.prototype = {};
  98364. A._ConstructionOptions.prototype = {};
  98365. A._ChannelOptions.prototype = {};
  98366. A._ToGamutOptions.prototype = {};
  98367. A._InterpolationOptions.prototype = {};
  98368. A._NodeSassColor.prototype = {};
  98369. A.legacyColorClass_closure.prototype = {
  98370. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  98371. var red, t1, t2, t3, t4;
  98372. if (dartValue != null) {
  98373. J.set$dartValue$x(thisArg, dartValue);
  98374. return;
  98375. }
  98376. if (green == null || blue == null) {
  98377. A._asInt(redOrArgb);
  98378. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  98379. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  98380. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  98381. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  98382. } else {
  98383. redOrArgb.toString;
  98384. red = redOrArgb;
  98385. }
  98386. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  98387. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  98388. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  98389. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  98390. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  98391. },
  98392. call$2(thisArg, redOrArgb) {
  98393. var _null = null;
  98394. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  98395. },
  98396. call$3(thisArg, redOrArgb, green) {
  98397. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  98398. },
  98399. call$4(thisArg, redOrArgb, green, blue) {
  98400. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  98401. },
  98402. call$5(thisArg, redOrArgb, green, blue, alpha) {
  98403. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  98404. },
  98405. "call*": "call$6",
  98406. $requiredArgCount: 2,
  98407. $defaultValues() {
  98408. return [null, null, null, null];
  98409. },
  98410. $signature: 411
  98411. };
  98412. A.legacyColorClass__closure.prototype = {
  98413. call$1(alpha) {
  98414. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  98415. },
  98416. $signature: 412
  98417. };
  98418. A.legacyColorClass_closure0.prototype = {
  98419. call$1(thisArg) {
  98420. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  98421. },
  98422. $signature: 124
  98423. };
  98424. A.legacyColorClass_closure1.prototype = {
  98425. call$1(thisArg) {
  98426. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  98427. },
  98428. $signature: 124
  98429. };
  98430. A.legacyColorClass_closure2.prototype = {
  98431. call$1(thisArg) {
  98432. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  98433. },
  98434. $signature: 124
  98435. };
  98436. A.legacyColorClass_closure3.prototype = {
  98437. call$1(thisArg) {
  98438. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  98439. return t1 == null ? 0 : t1;
  98440. },
  98441. $signature: 414
  98442. };
  98443. A.legacyColorClass_closure4.prototype = {
  98444. call$2(thisArg, value) {
  98445. var t1 = J.getInterceptor$x(thisArg),
  98446. t2 = t1.get$dartValue(thisArg);
  98447. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98448. },
  98449. $signature: 115
  98450. };
  98451. A.legacyColorClass_closure5.prototype = {
  98452. call$2(thisArg, value) {
  98453. var t1 = J.getInterceptor$x(thisArg),
  98454. t2 = t1.get$dartValue(thisArg);
  98455. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98456. },
  98457. $signature: 115
  98458. };
  98459. A.legacyColorClass_closure6.prototype = {
  98460. call$2(thisArg, value) {
  98461. var t1 = J.getInterceptor$x(thisArg),
  98462. t2 = t1.get$dartValue(thisArg);
  98463. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98464. },
  98465. $signature: 115
  98466. };
  98467. A.legacyColorClass_closure7.prototype = {
  98468. call$2(thisArg, value) {
  98469. var t1 = J.getInterceptor$x(thisArg),
  98470. t2 = t1.get$dartValue(thisArg);
  98471. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  98472. },
  98473. $signature: 115
  98474. };
  98475. A.SassColor0.prototype = {
  98476. get$channels() {
  98477. var t2, t3,
  98478. t1 = this.channel0OrNull;
  98479. if (t1 == null)
  98480. t1 = 0;
  98481. t2 = this.channel1OrNull;
  98482. if (t2 == null)
  98483. t2 = 0;
  98484. t3 = this.channel2OrNull;
  98485. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  98486. },
  98487. get$channelsOrNull() {
  98488. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  98489. },
  98490. get$isChannel0Powerless() {
  98491. var t1, t2, _this = this,
  98492. _0_0 = _this._color0$_space;
  98493. $label0$0: {
  98494. if (B.HslColorSpace_JQ20 === _0_0) {
  98495. t1 = _this.channel1OrNull;
  98496. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  98497. break $label0$0;
  98498. }
  98499. if (B.HwbColorSpace_guQ0 === _0_0) {
  98500. t1 = _this.channel1OrNull;
  98501. if (t1 == null)
  98502. t1 = 0;
  98503. t2 = _this.channel2OrNull;
  98504. t1 += t2 == null ? 0 : t2;
  98505. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  98506. break $label0$0;
  98507. }
  98508. t1 = false;
  98509. break $label0$0;
  98510. }
  98511. return t1;
  98512. },
  98513. get$isChannel2Powerless() {
  98514. var t1,
  98515. _0_0 = this._color0$_space;
  98516. $label0$0: {
  98517. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  98518. t1 = this.channel1OrNull;
  98519. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  98520. break $label0$0;
  98521. }
  98522. t1 = false;
  98523. break $label0$0;
  98524. }
  98525. return t1;
  98526. },
  98527. get$isInGamut() {
  98528. var t2, t3, _this = this,
  98529. t1 = _this._color0$_space;
  98530. if (!t1.get$isBoundedInternal())
  98531. return true;
  98532. t2 = _this.channel0OrNull;
  98533. if (t2 == null)
  98534. t2 = 0;
  98535. t1 = t1._space$_channels;
  98536. t3 = false;
  98537. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  98538. t2 = _this.channel1OrNull;
  98539. if (t2 == null)
  98540. t2 = 0;
  98541. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  98542. t2 = _this.channel2OrNull;
  98543. if (t2 == null)
  98544. t2 = 0;
  98545. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  98546. } else
  98547. t1 = t3;
  98548. } else
  98549. t1 = t3;
  98550. return t1;
  98551. },
  98552. _color0$_isChannelInGamut$2(value, channel) {
  98553. var min, max, t1;
  98554. $label0$0: {
  98555. if (channel instanceof A.LinearChannel0) {
  98556. min = channel.min;
  98557. max = channel.max;
  98558. if (value < max || A.fuzzyEquals0(value, max))
  98559. t1 = value > min || A.fuzzyEquals0(value, min);
  98560. else
  98561. t1 = false;
  98562. break $label0$0;
  98563. }
  98564. t1 = true;
  98565. break $label0$0;
  98566. }
  98567. return t1;
  98568. },
  98569. accept$1$1(visitor) {
  98570. return visitor.visitColor$1(this);
  98571. },
  98572. accept$1(visitor) {
  98573. return this.accept$1$1(visitor, type$.dynamic);
  98574. },
  98575. assertColor$1($name) {
  98576. return this;
  98577. },
  98578. assertLegacy$1($name) {
  98579. if (this._color0$_space.get$isLegacyInternal())
  98580. return;
  98581. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  98582. },
  98583. channel$1(_, channel) {
  98584. var t1, _this = this,
  98585. channels = _this._color0$_space._space$_channels;
  98586. if (channel === channels[0].name) {
  98587. t1 = _this.channel0OrNull;
  98588. return t1 == null ? 0 : t1;
  98589. }
  98590. if (channel === channels[1].name) {
  98591. t1 = _this.channel1OrNull;
  98592. return t1 == null ? 0 : t1;
  98593. }
  98594. if (channel === channels[2].name) {
  98595. t1 = _this.channel2OrNull;
  98596. return t1 == null ? 0 : t1;
  98597. }
  98598. if (channel === "alpha") {
  98599. t1 = _this.alphaOrNull;
  98600. return t1 == null ? 0 : t1;
  98601. }
  98602. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  98603. },
  98604. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  98605. var _this = this,
  98606. channels = _this._color0$_space._space$_channels;
  98607. if (channel === channels[0].name)
  98608. return _this.channel0OrNull == null;
  98609. if (channel === channels[1].name)
  98610. return _this.channel1OrNull == null;
  98611. if (channel === channels[2].name)
  98612. return _this.channel2OrNull == null;
  98613. if (channel === "alpha")
  98614. return _this.alphaOrNull == null;
  98615. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98616. },
  98617. isChannelMissing$1(channel) {
  98618. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  98619. },
  98620. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  98621. var _this = this,
  98622. channels = _this._color0$_space._space$_channels;
  98623. if (channel === channels[0].name)
  98624. return _this.get$isChannel0Powerless();
  98625. if (channel === channels[1].name)
  98626. return false;
  98627. if (channel === channels[2].name)
  98628. return _this.get$isChannel2Powerless();
  98629. if (channel === "alpha")
  98630. return false;
  98631. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98632. },
  98633. isChannelPowerless$1(channel) {
  98634. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  98635. },
  98636. _color0$_legacyChannel$2(space, channel) {
  98637. if (!this._color0$_space.get$isLegacyInternal())
  98638. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  98639. return this.toSpace$1(space).channel$1(0, channel);
  98640. },
  98641. toSpace$2$legacyMissing(space, legacyMissing) {
  98642. var t2, converted, t3, t4, _this = this,
  98643. t1 = _this._color0$_space;
  98644. if (t1 === space)
  98645. return _this;
  98646. t2 = _this.alphaOrNull;
  98647. if (t2 == null)
  98648. t2 = 0;
  98649. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  98650. t1 = false;
  98651. if (!legacyMissing)
  98652. if (converted._color0$_space.get$isLegacyInternal())
  98653. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  98654. if (t1) {
  98655. t1 = converted.channel0OrNull;
  98656. if (t1 == null)
  98657. t1 = 0;
  98658. t2 = converted.channel1OrNull;
  98659. if (t2 == null)
  98660. t2 = 0;
  98661. t3 = converted.channel2OrNull;
  98662. if (t3 == null)
  98663. t3 = 0;
  98664. t4 = converted.alphaOrNull;
  98665. if (t4 == null)
  98666. t4 = 0;
  98667. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  98668. t1 = t4;
  98669. } else
  98670. t1 = converted;
  98671. return t1;
  98672. },
  98673. toSpace$1(space) {
  98674. return this.toSpace$2$legacyMissing(space, true);
  98675. },
  98676. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  98677. var t1, t2, t3, t4, _this = this, _null = null;
  98678. if (!_this._color0$_space.get$isLegacyInternal())
  98679. throw A.wrapException(A.SassScriptException$0("color.changeRgb() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.", _null));
  98680. t1 = red == null ? _null : red;
  98681. if (t1 == null)
  98682. t1 = _this.channel$1(0, "red");
  98683. t2 = green == null ? _null : green;
  98684. if (t2 == null)
  98685. t2 = _this.channel$1(0, "green");
  98686. t3 = blue == null ? _null : blue;
  98687. if (t3 == null)
  98688. t3 = _this.channel$1(0, "blue");
  98689. t4 = alpha == null ? _null : alpha;
  98690. if (t4 == null) {
  98691. t4 = _this.alphaOrNull;
  98692. if (t4 == null)
  98693. t4 = 0;
  98694. }
  98695. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  98696. },
  98697. changeRgb$1$alpha(alpha) {
  98698. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  98699. },
  98700. changeRgb$1$blue(blue) {
  98701. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  98702. },
  98703. changeRgb$1$green(green) {
  98704. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  98705. },
  98706. changeRgb$1$red(red) {
  98707. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  98708. },
  98709. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  98710. var t2, t3, t4, t5, _this = this, _null = null,
  98711. t1 = _this._color0$_space;
  98712. if (!t1.get$isLegacyInternal())
  98713. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  98714. t2 = hue == null ? _null : hue;
  98715. if (t2 == null)
  98716. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  98717. t3 = saturation == null ? _null : saturation;
  98718. if (t3 == null)
  98719. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  98720. t4 = lightness == null ? _null : lightness;
  98721. if (t4 == null)
  98722. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  98723. t5 = _this.alphaOrNull;
  98724. if (t5 == null)
  98725. t5 = 0;
  98726. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  98727. },
  98728. changeHsl$1$saturation(saturation) {
  98729. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  98730. },
  98731. changeHsl$1$lightness(lightness) {
  98732. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  98733. },
  98734. changeHsl$1$hue(hue) {
  98735. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  98736. },
  98737. changeAlpha$1(alpha) {
  98738. var t2, t3, _this = this,
  98739. t1 = _this.channel0OrNull;
  98740. if (t1 == null)
  98741. t1 = 0;
  98742. t2 = _this.channel1OrNull;
  98743. if (t2 == null)
  98744. t2 = 0;
  98745. t3 = _this.channel2OrNull;
  98746. if (t3 == null)
  98747. t3 = 0;
  98748. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  98749. },
  98750. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  98751. var t1, color1, color2, missing1_0, missing1_1, missing1_2, missing2_0, missing2_1, missing2_2, channel1_0, channel1_1, channel1_2, channel2_0, channel2_1, channel2_2, alpha1, t2, t3, alpha10, alpha2, alpha20, thisMultiplier, t4, t5, otherMultiplier, mixedAlpha, mixed0, mixed1, mixed2, _this = this, _null = null;
  98752. if (weight == null)
  98753. weight = 0.5;
  98754. if (A.fuzzyEquals0(weight, 0))
  98755. return other;
  98756. if (A.fuzzyEquals0(weight, 1))
  98757. return _this;
  98758. t1 = method.space;
  98759. color1 = _this.toSpace$1(t1);
  98760. color2 = other.toSpace$1(t1);
  98761. if (weight < 0 || weight > 1)
  98762. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98763. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98764. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98765. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98766. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98767. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98768. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98769. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98770. if (channel1_0 == null)
  98771. channel1_0 = 0;
  98772. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98773. if (channel1_1 == null)
  98774. channel1_1 = 0;
  98775. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98776. if (channel1_2 == null)
  98777. channel1_2 = 0;
  98778. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98779. if (channel2_0 == null)
  98780. channel2_0 = 0;
  98781. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98782. if (channel2_1 == null)
  98783. channel2_1 = 0;
  98784. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98785. if (channel2_2 == null)
  98786. channel2_2 = 0;
  98787. alpha1 = _this.alphaOrNull;
  98788. t2 = alpha1 == null;
  98789. if (t2) {
  98790. t3 = other.alphaOrNull;
  98791. alpha10 = t3 == null ? 0 : t3;
  98792. } else
  98793. alpha10 = alpha1;
  98794. alpha2 = other.alphaOrNull;
  98795. t3 = alpha2 == null;
  98796. if (t3)
  98797. alpha20 = t2 ? 0 : alpha1;
  98798. else
  98799. alpha20 = alpha2;
  98800. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98801. t4 = t3 ? 1 : alpha2;
  98802. t5 = 1 - weight;
  98803. otherMultiplier = t4 * t5;
  98804. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98805. if (missing1_0 && missing2_0)
  98806. mixed0 = _null;
  98807. else {
  98808. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98809. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98810. }
  98811. if (missing1_1 && missing2_1)
  98812. mixed1 = _null;
  98813. else {
  98814. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98815. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98816. }
  98817. if (missing1_2 && missing2_2)
  98818. mixed2 = _null;
  98819. else {
  98820. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98821. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98822. }
  98823. $label0$0: {
  98824. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98825. if (missing1_0 && missing2_0)
  98826. t2 = _null;
  98827. else {
  98828. t2 = method.hue;
  98829. t2.toString;
  98830. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98831. }
  98832. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98833. t1 = t2;
  98834. break $label0$0;
  98835. }
  98836. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98837. if (missing1_2 && missing2_2)
  98838. t2 = _null;
  98839. else {
  98840. t2 = method.hue;
  98841. t2.toString;
  98842. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98843. }
  98844. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98845. t1 = t2;
  98846. break $label0$0;
  98847. }
  98848. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98849. break $label0$0;
  98850. }
  98851. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98852. },
  98853. interpolate$3$weight(other, method, weight) {
  98854. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98855. },
  98856. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98857. var originalChannel;
  98858. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98859. return true;
  98860. if (original === output)
  98861. return false;
  98862. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98863. if (originalChannel == null)
  98864. return false;
  98865. return original.isChannelMissing$1(originalChannel.name);
  98866. },
  98867. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98868. var _0_0, _1_0;
  98869. $label1$1: {
  98870. if (B.HueInterpolationMethod_00 === method) {
  98871. $label0$0: {
  98872. _0_0 = hue2 - hue1;
  98873. if (_0_0 > 180) {
  98874. hue1 += 360;
  98875. break $label0$0;
  98876. }
  98877. if (_0_0 < -180)
  98878. hue2 += 360;
  98879. }
  98880. break $label1$1;
  98881. }
  98882. if (B.HueInterpolationMethod_10 === method) {
  98883. $label2$2: {
  98884. _1_0 = hue2 - hue1;
  98885. if (_1_0 > 0 && _1_0 < 180) {
  98886. hue2 += 360;
  98887. break $label2$2;
  98888. }
  98889. if (_1_0 > -180 && _1_0 <= 0)
  98890. hue1 += 360;
  98891. }
  98892. break $label1$1;
  98893. }
  98894. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98895. hue2 += 360;
  98896. break $label1$1;
  98897. }
  98898. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98899. hue1 += 360;
  98900. break $label1$1;
  98901. }
  98902. }
  98903. return hue1 * weight + hue2 * (1 - weight);
  98904. },
  98905. plus$1(other) {
  98906. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98907. return this.super$Value$plus0(other);
  98908. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98909. },
  98910. minus$1(other) {
  98911. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98912. return this.super$Value$minus0(other);
  98913. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98914. },
  98915. dividedBy$1(other) {
  98916. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98917. return this.super$Value$dividedBy0(other);
  98918. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98919. },
  98920. $eq(_, other) {
  98921. var t1, t2, _this = this;
  98922. if (other == null)
  98923. return false;
  98924. if (!(other instanceof A.SassColor0))
  98925. return false;
  98926. t1 = _this._color0$_space;
  98927. if (t1.get$isLegacyInternal()) {
  98928. t2 = other._color0$_space;
  98929. if (!t2.get$isLegacyInternal())
  98930. return false;
  98931. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98932. return false;
  98933. if (t1 === t2)
  98934. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98935. else
  98936. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98937. }
  98938. return t1 === other._color0$_space && A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull) && A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull);
  98939. },
  98940. get$hashCode(_) {
  98941. var rgb, t2, t3, t4, t5, _this = this,
  98942. t1 = _this._color0$_space;
  98943. if (t1.get$isLegacyInternal()) {
  98944. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98945. t1 = rgb.channel0OrNull;
  98946. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98947. t2 = rgb.channel1OrNull;
  98948. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98949. t3 = rgb.channel2OrNull;
  98950. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98951. t4 = _this.alphaOrNull;
  98952. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98953. } else {
  98954. t1 = A.Primitives_objectHashCode(t1);
  98955. t2 = _this.channel0OrNull;
  98956. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98957. t3 = _this.channel1OrNull;
  98958. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98959. t4 = _this.channel2OrNull;
  98960. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98961. t5 = _this.alphaOrNull;
  98962. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98963. }
  98964. }
  98965. };
  98966. A.SassColor$_forSpace_closure0.prototype = {
  98967. call$1(alpha) {
  98968. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98969. },
  98970. $signature: 16
  98971. };
  98972. A._ColorFormatEnum0.prototype = {
  98973. toString$0(_) {
  98974. return "rgbFunction";
  98975. }
  98976. };
  98977. A.SpanColorFormat0.prototype = {};
  98978. A.Combinator0.prototype = {
  98979. _enumToString$0() {
  98980. return "Combinator." + this._name;
  98981. },
  98982. toString$0(_) {
  98983. return this._combinator0$_text;
  98984. }
  98985. };
  98986. A.ModifiableCssComment0.prototype = {
  98987. accept$1$1(visitor) {
  98988. return visitor.visitCssComment$1(this);
  98989. },
  98990. accept$1(visitor) {
  98991. return this.accept$1$1(visitor, type$.dynamic);
  98992. },
  98993. $isCssComment0: 1,
  98994. get$span(receiver) {
  98995. return this.span;
  98996. }
  98997. };
  98998. A.compileAsync_closure.prototype = {
  98999. call$0() {
  99000. var $async$goto = 0,
  99001. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  99002. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  99003. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99004. if ($async$errorCode === 1)
  99005. return A._asyncRethrow($async$result, $async$completer);
  99006. for (;;)
  99007. switch ($async$goto) {
  99008. case 0:
  99009. // Function start
  99010. t1 = $async$self.options;
  99011. t2 = t1 == null;
  99012. t3 = t2 ? null : J.get$loadPaths$x(t1);
  99013. t4 = t2 ? null : J.get$quietDeps$x(t1);
  99014. if (t4 == null)
  99015. t4 = false;
  99016. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  99017. t6 = t2 ? null : J.get$verbose$x(t1);
  99018. if (t6 == null)
  99019. t6 = false;
  99020. t7 = t2 ? null : J.get$charset$x(t1);
  99021. if (t7 == null)
  99022. t7 = true;
  99023. t8 = t2 ? null : J.get$sourceMap$x(t1);
  99024. if (t8 == null)
  99025. t8 = false;
  99026. t9 = $async$self.logger;
  99027. if (t2)
  99028. t10 = null;
  99029. else {
  99030. t10 = J.get$importers$x(t1);
  99031. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  99032. }
  99033. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  99034. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  99035. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  99036. $async$goto = 3;
  99037. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t12, t11, A.parseDeprecations(t9, t2 ? null : J.get$futureDeprecations$x(t1), false), A.AsyncImportCache$(t10, t3, null), null, null, t9, null, t4, t13, t8, t5, null, true, t6), $async$call$0);
  99038. case 3:
  99039. // returning from await.
  99040. result = $async$result;
  99041. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  99042. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  99043. // goto return
  99044. $async$goto = 1;
  99045. break;
  99046. case 1:
  99047. // return
  99048. return A._asyncReturn($async$returnValue, $async$completer);
  99049. }
  99050. });
  99051. return A._asyncStartSync($async$call$0, $async$completer);
  99052. },
  99053. $signature: 211
  99054. };
  99055. A.compileAsync__closure.prototype = {
  99056. call$1(importer) {
  99057. return A._parseAsyncImporter(importer);
  99058. },
  99059. $signature: 210
  99060. };
  99061. A.compileStringAsync_closure.prototype = {
  99062. call$0() {
  99063. var $async$goto = 0,
  99064. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  99065. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  99066. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99067. if ($async$errorCode === 1)
  99068. return A._asyncRethrow($async$result, $async$completer);
  99069. for (;;)
  99070. switch ($async$goto) {
  99071. case 0:
  99072. // Function start
  99073. t1 = $async$self.options;
  99074. t2 = t1 == null;
  99075. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  99076. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  99077. t5 = t2 ? null : J.get$loadPaths$x(t1);
  99078. t6 = t2 ? null : J.get$quietDeps$x(t1);
  99079. if (t6 == null)
  99080. t6 = false;
  99081. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  99082. t8 = t2 ? null : J.get$verbose$x(t1);
  99083. if (t8 == null)
  99084. t8 = false;
  99085. t9 = t2 ? null : J.get$charset$x(t1);
  99086. if (t9 == null)
  99087. t9 = true;
  99088. t10 = t2 ? null : J.get$sourceMap$x(t1);
  99089. if (t10 == null)
  99090. t10 = false;
  99091. t11 = $async$self.logger;
  99092. if (t2)
  99093. t12 = null;
  99094. else {
  99095. t12 = J.get$importers$x(t1);
  99096. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  99097. }
  99098. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  99099. if (t13 == null)
  99100. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  99101. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  99102. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  99103. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  99104. $async$goto = 3;
  99105. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t15, t14, A.parseDeprecations(t11, t2 ? null : J.get$futureDeprecations$x(t1), false), A.AsyncImportCache$(t12, t5, null), t13, null, null, t11, null, t6, t16, t10, t7, t3, t4, true, t8), $async$call$0);
  99106. case 3:
  99107. // returning from await.
  99108. result = $async$result;
  99109. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  99110. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  99111. // goto return
  99112. $async$goto = 1;
  99113. break;
  99114. case 1:
  99115. // return
  99116. return A._asyncReturn($async$returnValue, $async$completer);
  99117. }
  99118. });
  99119. return A._asyncStartSync($async$call$0, $async$completer);
  99120. },
  99121. $signature: 211
  99122. };
  99123. A.compileStringAsync__closure.prototype = {
  99124. call$1(importer) {
  99125. return A._parseAsyncImporter(importer);
  99126. },
  99127. $signature: 210
  99128. };
  99129. A.compileStringAsync__closure0.prototype = {
  99130. call$1(importer) {
  99131. return A._parseAsyncImporter(importer);
  99132. },
  99133. $signature: 418
  99134. };
  99135. A._wrapAsyncSassExceptions_closure.prototype = {
  99136. call$1(error) {
  99137. var t1;
  99138. if (error instanceof A.SassException0)
  99139. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  99140. else
  99141. t1 = A.jsThrow(error == null ? A._asObject(error) : error);
  99142. return t1;
  99143. },
  99144. $signature: 419
  99145. };
  99146. A._parseFunctions_closure0.prototype = {
  99147. call$2(signature, callback) {
  99148. var callable,
  99149. t1 = this.result;
  99150. if (!this.asynch) {
  99151. callable = A._Cell$();
  99152. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  99153. t1.push(callable._readLocal$0());
  99154. } else {
  99155. callable = A._Cell$();
  99156. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  99157. t1.push(callable._readLocal$0());
  99158. }
  99159. },
  99160. $signature: 126
  99161. };
  99162. A._parseFunctions__closure2.prototype = {
  99163. call$1($arguments) {
  99164. var t1, t2,
  99165. _s42_ = string$.Invali,
  99166. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  99167. if (result instanceof A.Value0)
  99168. return A._simplifyValue(result);
  99169. t1 = result != null && result instanceof self.Promise;
  99170. t2 = this.callable;
  99171. if (t1) {
  99172. t1 = t2.readLocal$0();
  99173. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  99174. } else {
  99175. t1 = t2.readLocal$0();
  99176. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  99177. }
  99178. },
  99179. $signature: 3
  99180. };
  99181. A._parseFunctions___closure6.prototype = {
  99182. call$0() {
  99183. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  99184. },
  99185. $signature: 65
  99186. };
  99187. A._parseFunctions__closure3.prototype = {
  99188. call$1($arguments) {
  99189. return this.$call$body$_parseFunctions__closure0($arguments);
  99190. },
  99191. $call$body$_parseFunctions__closure0($arguments) {
  99192. var $async$goto = 0,
  99193. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  99194. $async$returnValue, $async$self = this, t1, result;
  99195. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99196. if ($async$errorCode === 1)
  99197. return A._asyncRethrow($async$result, $async$completer);
  99198. for (;;)
  99199. switch ($async$goto) {
  99200. case 0:
  99201. // Function start
  99202. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  99203. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  99204. break;
  99205. case 3:
  99206. // then
  99207. $async$goto = 5;
  99208. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  99209. case 5:
  99210. // returning from await.
  99211. result = $async$result;
  99212. case 4:
  99213. // join
  99214. if (result instanceof A.Value0) {
  99215. $async$returnValue = A._simplifyValue(result);
  99216. // goto return
  99217. $async$goto = 1;
  99218. break;
  99219. }
  99220. t1 = $async$self.callable.readLocal$0();
  99221. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  99222. case 1:
  99223. // return
  99224. return A._asyncReturn($async$returnValue, $async$completer);
  99225. }
  99226. });
  99227. return A._asyncStartSync($async$call$1, $async$completer);
  99228. },
  99229. $signature: 92
  99230. };
  99231. A._parseFunctions___closure5.prototype = {
  99232. call$0() {
  99233. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  99234. },
  99235. $signature: 65
  99236. };
  99237. A.nodePackageImporterClass_closure.prototype = {
  99238. call$0() {
  99239. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  99240. },
  99241. $signature: 15
  99242. };
  99243. A.nodePackageImporterClass__closure.prototype = {
  99244. call$2($self, entrypointDirectory) {
  99245. var t1, t2, _null = null,
  99246. _0_3 = A.entrypointFilename();
  99247. $label0$0: {
  99248. if (entrypointDirectory != null) {
  99249. t1 = entrypointDirectory;
  99250. break $label0$0;
  99251. }
  99252. if (_0_3 != null) {
  99253. t1 = $.$get$context().dirname$1(_0_3);
  99254. break $label0$0;
  99255. }
  99256. t1 = A.throwExpression("The Node package importer cannot determine an entry point because `require.main.filename` is not defined. Please provide an `entryPointDirectory` to the `NodePackageImporter`.");
  99257. }
  99258. t2 = new A.NodePackageImporter0();
  99259. if (A.isBrowser())
  99260. A.throwExpression(string$.The_No);
  99261. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  99262. return t2;
  99263. },
  99264. call$1($self) {
  99265. return this.call$2($self, null);
  99266. },
  99267. "call*": "call$2",
  99268. $requiredArgCount: 1,
  99269. $defaultValues() {
  99270. return [null];
  99271. },
  99272. $signature: 421
  99273. };
  99274. A._compileStylesheet_closure1.prototype = {
  99275. call$1(url) {
  99276. var t1;
  99277. if (url === "") {
  99278. t1 = this.stylesheet.span;
  99279. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  99280. } else
  99281. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  99282. return t1;
  99283. },
  99284. $signature: 6
  99285. };
  99286. A.CompileOptions.prototype = {};
  99287. A.CompileStringOptions.prototype = {};
  99288. A.NodeCompileResult.prototype = {};
  99289. A.CompileResult0.prototype = {};
  99290. A.Compiler.prototype = {};
  99291. A.AsyncCompiler.prototype = {
  99292. addCompilation$1(compilation) {
  99293. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  99294. }
  99295. };
  99296. A.AsyncCompiler_addCompilation_closure.prototype = {
  99297. call$1(err) {
  99298. },
  99299. $signature: 66
  99300. };
  99301. A.compilerClass_closure.prototype = {
  99302. call$0() {
  99303. var t1 = type$.JSClass,
  99304. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  99305. A.LinkedHashMap_LinkedHashMap$_literal(["compile", new A.compilerClass__closure0(), "compileString", new A.compilerClass__closure1(), "dispose", new A.compilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  99306. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  99307. return jsClass;
  99308. },
  99309. $signature: 15
  99310. };
  99311. A.compilerClass__closure.prototype = {
  99312. call$1($self) {
  99313. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  99314. },
  99315. $signature: 204
  99316. };
  99317. A.compilerClass__closure0.prototype = {
  99318. call$3($self, path, options) {
  99319. if ($self._disposed)
  99320. A.jsThrow(new self.Error("Compiler has already been disposed."));
  99321. return A.compile0(path, options);
  99322. },
  99323. call$2($self, path) {
  99324. return this.call$3($self, path, null);
  99325. },
  99326. "call*": "call$3",
  99327. $requiredArgCount: 2,
  99328. $defaultValues() {
  99329. return [null];
  99330. },
  99331. $signature: 423
  99332. };
  99333. A.compilerClass__closure1.prototype = {
  99334. call$3($self, source, options) {
  99335. if ($self._disposed)
  99336. A.jsThrow(new self.Error("Compiler has already been disposed."));
  99337. return A.compileString0(source, options);
  99338. },
  99339. call$2($self, source) {
  99340. return this.call$3($self, source, null);
  99341. },
  99342. "call*": "call$3",
  99343. $requiredArgCount: 2,
  99344. $defaultValues() {
  99345. return [null];
  99346. },
  99347. $signature: 424
  99348. };
  99349. A.compilerClass__closure2.prototype = {
  99350. call$1($self) {
  99351. $self._disposed = true;
  99352. },
  99353. $signature: 425
  99354. };
  99355. A.asyncCompilerClass_closure.prototype = {
  99356. call$0() {
  99357. var t1 = type$.JSClass,
  99358. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  99359. A.LinkedHashMap_LinkedHashMap$_literal(["compileAsync", new A.asyncCompilerClass__closure0(), "compileStringAsync", new A.asyncCompilerClass__closure1(), "dispose", new A.asyncCompilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  99360. A.JSClassExtension_injectSuperclass(t1._as(new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void)).constructor), jsClass);
  99361. return jsClass;
  99362. },
  99363. $signature: 15
  99364. };
  99365. A.asyncCompilerClass__closure.prototype = {
  99366. call$1($self) {
  99367. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  99368. },
  99369. $signature: 204
  99370. };
  99371. A.asyncCompilerClass__closure0.prototype = {
  99372. call$3($self, path, options) {
  99373. var compilation;
  99374. if ($self._disposed)
  99375. A.jsThrow(new self.Error("Compiler has already been disposed."));
  99376. compilation = A.compileAsync1(path, options);
  99377. $self.addCompilation$1(compilation);
  99378. return compilation;
  99379. },
  99380. call$2($self, path) {
  99381. return this.call$3($self, path, null);
  99382. },
  99383. "call*": "call$3",
  99384. $requiredArgCount: 2,
  99385. $defaultValues() {
  99386. return [null];
  99387. },
  99388. $signature: 426
  99389. };
  99390. A.asyncCompilerClass__closure1.prototype = {
  99391. call$3($self, source, options) {
  99392. var compilation;
  99393. if ($self._disposed)
  99394. A.jsThrow(new self.Error("Compiler has already been disposed."));
  99395. compilation = A.compileStringAsync1(source, options);
  99396. $self.addCompilation$1(compilation);
  99397. return compilation;
  99398. },
  99399. call$2($self, source) {
  99400. return this.call$3($self, source, null);
  99401. },
  99402. "call*": "call$3",
  99403. $requiredArgCount: 2,
  99404. $defaultValues() {
  99405. return [null];
  99406. },
  99407. $signature: 427
  99408. };
  99409. A.asyncCompilerClass__closure2.prototype = {
  99410. call$1($self) {
  99411. $self._disposed = true;
  99412. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  99413. },
  99414. $signature: 428
  99415. };
  99416. A.asyncCompilerClass___closure.prototype = {
  99417. call$0() {
  99418. var $async$goto = 0,
  99419. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  99420. $async$self = this, t1;
  99421. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99422. if ($async$errorCode === 1)
  99423. return A._asyncRethrow($async$result, $async$completer);
  99424. for (;;)
  99425. switch ($async$goto) {
  99426. case 0:
  99427. // Function start
  99428. t1 = $async$self.self.compilations;
  99429. t1.close$0(0);
  99430. $async$goto = 2;
  99431. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  99432. case 2:
  99433. // returning from await.
  99434. // implicit return
  99435. return A._asyncReturn(null, $async$completer);
  99436. }
  99437. });
  99438. return A._asyncStartSync($async$call$0, $async$completer);
  99439. },
  99440. $signature: 2
  99441. };
  99442. A.initAsyncCompiler_closure.prototype = {
  99443. call$0() {
  99444. var $async$goto = 0,
  99445. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  99446. $async$returnValue;
  99447. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99448. if ($async$errorCode === 1)
  99449. return A._asyncRethrow($async$result, $async$completer);
  99450. for (;;)
  99451. switch ($async$goto) {
  99452. case 0:
  99453. // Function start
  99454. $async$returnValue = new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void));
  99455. // goto return
  99456. $async$goto = 1;
  99457. break;
  99458. case 1:
  99459. // return
  99460. return A._asyncReturn($async$returnValue, $async$completer);
  99461. }
  99462. });
  99463. return A._asyncStartSync($async$call$0, $async$completer);
  99464. },
  99465. $signature: 429
  99466. };
  99467. A.InterpolatedComplexSelector.prototype = {
  99468. accept$1$1(visitor) {
  99469. return visitor.visitComplexSelector$1(this);
  99470. },
  99471. accept$1(visitor) {
  99472. return this.accept$1$1(visitor, type$.dynamic);
  99473. },
  99474. toString$0(_) {
  99475. return B.JSArray_methods.join$1(this.components, " ");
  99476. },
  99477. get$span(receiver) {
  99478. return this.span;
  99479. }
  99480. };
  99481. A.ComplexSassNumber0.prototype = {
  99482. get$numeratorUnits(_) {
  99483. return this._complex0$_numeratorUnits;
  99484. },
  99485. get$denominatorUnits(_) {
  99486. return this._complex0$_denominatorUnits;
  99487. },
  99488. get$hasUnits() {
  99489. return true;
  99490. },
  99491. get$hasComplexUnits() {
  99492. return true;
  99493. },
  99494. hasUnit$1(unit) {
  99495. return false;
  99496. },
  99497. compatibleWithUnit$1(unit) {
  99498. return false;
  99499. },
  99500. hasPossiblyCompatibleUnits$1(other) {
  99501. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  99502. },
  99503. withValue$1(value) {
  99504. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  99505. },
  99506. withSlash$2(numerator, denominator) {
  99507. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  99508. }
  99509. };
  99510. A.ComplexSelector0.prototype = {
  99511. get$specificity() {
  99512. var result, _this = this,
  99513. value = _this._complex$__ComplexSelector_specificity_FI;
  99514. if (value === $) {
  99515. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  99516. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99517. _this._complex$__ComplexSelector_specificity_FI = result;
  99518. value = result;
  99519. }
  99520. return value;
  99521. },
  99522. get$singleCompound() {
  99523. var _0_0, t1, _0_4, selector;
  99524. if (this.leadingCombinators.length !== 0)
  99525. return null;
  99526. _0_0 = this.components;
  99527. $label0$0: {
  99528. t1 = false;
  99529. if (_0_0.length === 1) {
  99530. _0_4 = _0_0[0];
  99531. selector = _0_4.selector;
  99532. t1 = _0_4.combinators.length <= 0;
  99533. } else
  99534. selector = null;
  99535. if (t1) {
  99536. t1 = selector;
  99537. break $label0$0;
  99538. }
  99539. t1 = null;
  99540. break $label0$0;
  99541. }
  99542. return t1;
  99543. },
  99544. accept$1$1(visitor) {
  99545. return visitor.visitComplexSelector$1(this);
  99546. },
  99547. accept$1(visitor) {
  99548. return this.accept$1$1(visitor, type$.dynamic);
  99549. },
  99550. isSuperselector$1(other) {
  99551. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  99552. },
  99553. withAdditionalCombinators$1(combinators) {
  99554. var _0_0, _0_1, t1, initial, last, _this = this;
  99555. if (combinators.length === 0)
  99556. return _this;
  99557. _0_0 = _this.components;
  99558. $label0$0: {
  99559. _0_1 = _0_0.length;
  99560. if (_0_1 >= 1) {
  99561. t1 = _0_1 - 1;
  99562. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  99563. last = _0_0[t1];
  99564. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  99565. t1.push(last.withAdditionalCombinators$1(combinators));
  99566. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  99567. break $label0$0;
  99568. }
  99569. if (_0_1 <= 0) {
  99570. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99571. B.JSArray_methods.addAll$1(t1, combinators);
  99572. t1 = A.ComplexSelector$0(t1, B.List_empty17, _this.span, _this.lineBreak);
  99573. break $label0$0;
  99574. }
  99575. t1 = null;
  99576. }
  99577. return t1;
  99578. },
  99579. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  99580. var t2, _0_1, initial, last, _this = this,
  99581. t1 = child.leadingCombinators,
  99582. _0_0 = _this.components;
  99583. if (t1.length === 0) {
  99584. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent_2);
  99585. B.JSArray_methods.addAll$1(t1, child.components);
  99586. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99587. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  99588. } else {
  99589. _0_1 = _0_0.length;
  99590. if (_0_1 >= 1) {
  99591. t2 = _0_1 - 1;
  99592. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  99593. last = _0_0[t2];
  99594. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  99595. t2.push(last.withAdditionalCombinators$1(t1));
  99596. B.JSArray_methods.addAll$1(t2, child.components);
  99597. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99598. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  99599. } else {
  99600. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99601. B.JSArray_methods.addAll$1(t2, t1);
  99602. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99603. return A.ComplexSelector$0(t2, child.components, span, t1);
  99604. }
  99605. }
  99606. },
  99607. concatenate$2(child, span) {
  99608. return this.concatenate$3$forceLineBreak(child, span, false);
  99609. },
  99610. get$hashCode(_) {
  99611. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  99612. },
  99613. $eq(_, other) {
  99614. if (other == null)
  99615. return false;
  99616. return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.leadingCombinators, other.leadingCombinators) && B.C_ListEquality.equals$2(0, this.components, other.components);
  99617. }
  99618. };
  99619. A.ComplexSelector_specificity_closure0.prototype = {
  99620. call$2(sum, component) {
  99621. return sum + component.selector.get$specificity();
  99622. },
  99623. $signature: 430
  99624. };
  99625. A.InterpolatedComplexSelectorComponent.prototype = {
  99626. toString$0(_) {
  99627. var t1,
  99628. _0_0 = this.combinator;
  99629. $label0$0: {
  99630. if (_0_0 != null) {
  99631. t1 = this.selector.toString$0(0) + " " + _0_0.toString$0(0);
  99632. break $label0$0;
  99633. }
  99634. t1 = B.JSArray_methods.join$1(this.selector.components, "");
  99635. break $label0$0;
  99636. }
  99637. return t1;
  99638. },
  99639. $isAstNode0: 1,
  99640. $isSassNode: 1,
  99641. get$span(receiver) {
  99642. return this.span;
  99643. }
  99644. };
  99645. A.ComplexSelectorComponent0.prototype = {
  99646. withAdditionalCombinators$1(combinators) {
  99647. var t1, t2, _this = this;
  99648. if (combinators.length === 0)
  99649. t1 = _this;
  99650. else {
  99651. t1 = type$.CssValue_Combinator_2;
  99652. t2 = A.List_List$_of(_this.combinators, t1);
  99653. B.JSArray_methods.addAll$1(t2, combinators);
  99654. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  99655. }
  99656. return t1;
  99657. },
  99658. get$hashCode(_) {
  99659. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  99660. },
  99661. $eq(_, other) {
  99662. var t1;
  99663. if (other == null)
  99664. return false;
  99665. if (other instanceof A.ComplexSelectorComponent0) {
  99666. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  99667. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  99668. } else
  99669. t1 = false;
  99670. return t1;
  99671. },
  99672. toString$0(_) {
  99673. var t1 = this.combinators;
  99674. return A.serializeSelector0(this.selector, true) + new A.MappedListIterable(t1, new A.ComplexSelectorComponent_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, "");
  99675. }
  99676. };
  99677. A.ComplexSelectorComponent_toString_closure0.prototype = {
  99678. call$1(combinator) {
  99679. return " " + combinator.toString$0(0);
  99680. },
  99681. $signature: 431
  99682. };
  99683. A.InterpolatedCompoundSelector.prototype = {
  99684. get$span(_) {
  99685. var t2,
  99686. t1 = this.components;
  99687. if (t1.length === 1) {
  99688. t1 = B.JSArray_methods.get$first(t1);
  99689. t1 = t1.get$span(t1);
  99690. } else {
  99691. t2 = B.JSArray_methods.get$first(t1);
  99692. t2 = t2.get$span(t2);
  99693. t1 = B.JSArray_methods.get$last(t1);
  99694. t1 = t2.expand$1(0, t1.get$span(t1));
  99695. }
  99696. return t1;
  99697. },
  99698. accept$1$1(visitor) {
  99699. return visitor.visitCompoundSelector$1(this);
  99700. },
  99701. accept$1(visitor) {
  99702. return this.accept$1$1(visitor, type$.dynamic);
  99703. },
  99704. toString$0(_) {
  99705. return B.JSArray_methods.join$1(this.components, "");
  99706. }
  99707. };
  99708. A.CompoundSelector0.prototype = {
  99709. get$specificity() {
  99710. var result, _this = this,
  99711. value = _this._compound$__CompoundSelector_specificity_FI;
  99712. if (value === $) {
  99713. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  99714. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99715. _this._compound$__CompoundSelector_specificity_FI = result;
  99716. value = result;
  99717. }
  99718. return value;
  99719. },
  99720. get$hasComplicatedSuperselectorSemantics() {
  99721. var result, _this = this,
  99722. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  99723. if (value === $) {
  99724. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  99725. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  99726. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  99727. value = result;
  99728. }
  99729. return value;
  99730. },
  99731. accept$1$1(visitor) {
  99732. return visitor.visitCompoundSelector$1(this);
  99733. },
  99734. accept$1(visitor) {
  99735. return this.accept$1$1(visitor, type$.dynamic);
  99736. },
  99737. get$hashCode(_) {
  99738. return B.C_ListEquality0.hash$1(this.components);
  99739. },
  99740. $eq(_, other) {
  99741. if (other == null)
  99742. return false;
  99743. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  99744. }
  99745. };
  99746. A.CompoundSelector_specificity_closure0.prototype = {
  99747. call$2(sum, component) {
  99748. return sum + component.get$specificity();
  99749. },
  99750. $signature: 432
  99751. };
  99752. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  99753. call$1(component) {
  99754. return component.get$hasComplicatedSuperselectorSemantics();
  99755. },
  99756. $signature: 14
  99757. };
  99758. A.Configuration0.prototype = {
  99759. throughForward$1($forward) {
  99760. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  99761. newValues = this._configuration0$_values;
  99762. if (newValues.get$isEmpty(newValues))
  99763. return this;
  99764. _0_0 = $forward.prefix;
  99765. if (_0_0 != null)
  99766. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  99767. _1_0 = $forward.shownVariables;
  99768. if (_1_0 != null)
  99769. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  99770. else {
  99771. _2_0 = $forward.hiddenVariables;
  99772. if (_2_0 != null) {
  99773. t1 = _2_0._base.get$isNotEmpty(0);
  99774. hiddenVariables = _2_0;
  99775. } else {
  99776. hiddenVariables = null;
  99777. t1 = false;
  99778. }
  99779. if (t1)
  99780. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  99781. }
  99782. return this._configuration0$_withValues$1(newValues);
  99783. },
  99784. _configuration0$_withValues$1(values) {
  99785. var t1 = this._configuration0$__originalConfiguration;
  99786. return new A.Configuration0(values, t1 == null ? this : t1);
  99787. },
  99788. toString$0(_) {
  99789. var t2, t3,
  99790. t1 = A._setArrayType([], type$.JSArray_String);
  99791. for (t2 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(this._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  99792. t3 = t2.get$current(t2);
  99793. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  99794. }
  99795. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  99796. }
  99797. };
  99798. A.ExplicitConfiguration0.prototype = {
  99799. _configuration0$_withValues$1(values) {
  99800. var t1 = this._configuration0$__originalConfiguration;
  99801. if (t1 == null)
  99802. t1 = this;
  99803. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  99804. }
  99805. };
  99806. A.ConfiguredValue0.prototype = {
  99807. toString$0(_) {
  99808. return this.value.toString$0(0);
  99809. }
  99810. };
  99811. A.ConfiguredVariable0.prototype = {
  99812. toString$0(_) {
  99813. var t1 = this.expression.toString$0(0),
  99814. t2 = this.isGuarded ? " !default" : "";
  99815. return "$" + this.name + ": " + t1 + t2;
  99816. },
  99817. $isAstNode0: 1,
  99818. $isSassNode: 1,
  99819. get$span(receiver) {
  99820. return this.span;
  99821. }
  99822. };
  99823. A.ContentBlock0.prototype = {
  99824. accept$1$1(visitor) {
  99825. return visitor.visitContentBlock$1(0, this);
  99826. },
  99827. accept$1(visitor) {
  99828. return this.accept$1$1(visitor, type$.dynamic);
  99829. },
  99830. toString$0(_) {
  99831. var t1 = this.parameters;
  99832. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99833. return t1 + (" {" + B.JSArray_methods.join$1(this.children, " ") + "}");
  99834. }
  99835. };
  99836. A.ContentRule0.prototype = {
  99837. accept$1$1(visitor) {
  99838. return visitor.visitContentRule$1(0, this);
  99839. },
  99840. accept$1(visitor) {
  99841. return this.accept$1$1(visitor, type$.dynamic);
  99842. },
  99843. toString$0(_) {
  99844. var t1 = this.$arguments;
  99845. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99846. },
  99847. get$span(receiver) {
  99848. return this.span;
  99849. }
  99850. };
  99851. A._disallowedFunctionNames_closure0.prototype = {
  99852. call$1($function) {
  99853. return $function.name;
  99854. },
  99855. $signature: 433
  99856. };
  99857. A.CssParser0.prototype = {
  99858. get$plainCss() {
  99859. return true;
  99860. },
  99861. silentComment$0() {
  99862. var t1, t2, _this = this;
  99863. if (_this._stylesheet0$_inExpression)
  99864. return false;
  99865. t1 = _this.scanner;
  99866. t2 = t1._string_scanner$_position;
  99867. _this.super$Parser$silentComment0();
  99868. _this.error$2(0, string$.Silent, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99869. },
  99870. atRule$2$root(child, root) {
  99871. var $name, _0_0, result, _this = this,
  99872. t1 = _this.scanner,
  99873. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99874. t1.expectChar$1(64);
  99875. $name = _this.interpolatedIdentifier$0();
  99876. _this.whitespace$1$consumeNewlines(true);
  99877. _0_0 = $name.get$asPlain();
  99878. $label0$0: {
  99879. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  99880. _this._css$_forbiddenAtRule$1(start);
  99881. if ("import" === _0_0) {
  99882. t1 = _this._css$_cssImportRule$1(start);
  99883. break $label0$0;
  99884. }
  99885. if ("function" === _0_0) {
  99886. _this.whitespace$1$consumeNewlines(true);
  99887. if (!t1.matches$1("--")) {
  99888. _this.almostAnyValue$0();
  99889. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  99890. result = null;
  99891. } else
  99892. result = _this.unknownAtRule$2(start, $name);
  99893. t1 = result;
  99894. break $label0$0;
  99895. }
  99896. if ("media" === _0_0) {
  99897. t1 = _this.mediaRule$1(start);
  99898. break $label0$0;
  99899. }
  99900. if ("-moz-document" === _0_0) {
  99901. t1 = _this.mozDocumentRule$2(start, $name);
  99902. break $label0$0;
  99903. }
  99904. if ("supports" === _0_0) {
  99905. t1 = _this.supportsRule$1(start);
  99906. break $label0$0;
  99907. }
  99908. t1 = _this.unknownAtRule$2(start, $name);
  99909. break $label0$0;
  99910. }
  99911. return t1;
  99912. },
  99913. _css$_forbiddenAtRule$1(start) {
  99914. this.almostAnyValue$0();
  99915. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.spanFrom$1(start));
  99916. },
  99917. _css$_cssImportRule$1(start) {
  99918. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  99919. t1 = _this.scanner,
  99920. t2 = t1._string_scanner$_position,
  99921. _1_0 = t1.peekChar$0();
  99922. $label1$1: {
  99923. if (117 === _1_0 || 85 === _1_0) {
  99924. _0_0 = _this.dynamicUrl$0();
  99925. $label0$0: {
  99926. if (_0_0 instanceof A.StringExpression0) {
  99927. t3 = _0_0.text;
  99928. break $label0$0;
  99929. }
  99930. string = _null;
  99931. t3 = false;
  99932. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99933. $name = _0_0.name;
  99934. _0_3 = _0_0.$arguments;
  99935. _0_4 = _0_3.positional;
  99936. t4 = _0_4;
  99937. if (t4.length === 1) {
  99938. _0_8 = _0_4[0];
  99939. t4 = _0_8;
  99940. if (t4 instanceof A.StringExpression0) {
  99941. type$.StringExpression_2._as(_0_8);
  99942. t4 = _0_3.named;
  99943. if (t4.get$isEmpty(t4))
  99944. if (_0_3.rest == null)
  99945. t3 = _0_3.keywordRest == null;
  99946. string = _0_8;
  99947. }
  99948. }
  99949. } else
  99950. $name = _null;
  99951. if (t3) {
  99952. t3 = new A.StringBuffer("");
  99953. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99954. t4.addInterpolation$1($name);
  99955. t5 = A.Primitives_stringFromCharCode(40);
  99956. t3._contents += t5;
  99957. t4.addInterpolation$1(string.asInterpolation$0());
  99958. t5 = A.Primitives_stringFromCharCode(41);
  99959. t3._contents += t5;
  99960. t4 = t4.interpolation$1(_0_0.span);
  99961. t3 = t4;
  99962. break $label0$0;
  99963. }
  99964. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99965. }
  99966. break $label1$1;
  99967. }
  99968. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99969. break $label1$1;
  99970. }
  99971. _this.whitespace$1$consumeNewlines(true);
  99972. modifiers = _this.tryImportModifiers$0();
  99973. _this.expectStatementSeparator$1("@import rule");
  99974. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, _this.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99975. t1 = _this.spanFrom$1(start);
  99976. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99977. },
  99978. parentheses$0() {
  99979. var expression, _this = this,
  99980. t1 = _this.scanner,
  99981. t2 = t1._string_scanner$_position;
  99982. t1.expectChar$1(40);
  99983. _this.whitespace$1$consumeNewlines(true);
  99984. expression = _this.expressionUntilComma$0();
  99985. t1.expectChar$1(41);
  99986. return new A.ParenthesizedExpression0(expression, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99987. },
  99988. identifierLike$0() {
  99989. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99990. t1 = _this.scanner,
  99991. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99992. identifier = _this.interpolatedIdentifier$0(),
  99993. plain = identifier.get$asPlain(),
  99994. lower = plain.toLowerCase(),
  99995. _0_0 = _this.trySpecialFunction$2(lower, start);
  99996. if (_0_0 != null)
  99997. return _0_0;
  99998. t2 = t1._string_scanner$_position;
  99999. if (t1.scanChar$1(46))
  100000. return _this.namespacedExpression$2(plain, start);
  100001. if (!t1.scanChar$1(40))
  100002. return new A.StringExpression0(identifier, false);
  100003. allowEmptySecondArg = lower === "var";
  100004. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  100005. if (!t1.scanChar$1(41)) {
  100006. do {
  100007. _this.whitespace$1$consumeNewlines(true);
  100008. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  100009. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  100010. t4 = t3.offset;
  100011. t4 = A._FileSpan$(t3.file, t4, t4);
  100012. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  100013. break;
  100014. }
  100015. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  100016. _this.whitespace$1$consumeNewlines(true);
  100017. } while (t1.scanChar$1(44));
  100018. t1.expectChar$1(41);
  100019. }
  100020. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  100021. _this.error$2(0, string$.This_f, _this.spanFrom$1(start));
  100022. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  100023. t2 = type$.Expression_2;
  100024. t3 = A.List_List$unmodifiable($arguments, t2);
  100025. t2 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t2);
  100026. t4 = _this.spanFrom$1(start);
  100027. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t3, t2, null, null, t1), t4);
  100028. },
  100029. namespacedExpression$2(namespace, start) {
  100030. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  100031. this.error$2(0, string$.Modulen, expression.get$span(expression));
  100032. }
  100033. };
  100034. A.DebugRule0.prototype = {
  100035. accept$1$1(visitor) {
  100036. return visitor.visitDebugRule$1(0, this);
  100037. },
  100038. accept$1(visitor) {
  100039. return this.accept$1$1(visitor, type$.dynamic);
  100040. },
  100041. toString$0(_) {
  100042. return "@debug " + this.expression.toString$0(0) + ";";
  100043. },
  100044. get$span(receiver) {
  100045. return this.span;
  100046. }
  100047. };
  100048. A.ModifiableCssDeclaration0.prototype = {
  100049. accept$1$1(visitor) {
  100050. return visitor.visitCssDeclaration$1(this);
  100051. },
  100052. accept$1(visitor) {
  100053. return this.accept$1$1(visitor, type$.dynamic);
  100054. },
  100055. toString$0(_) {
  100056. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  100057. },
  100058. get$span(receiver) {
  100059. return this.span;
  100060. }
  100061. };
  100062. A.Declaration0.prototype = {
  100063. accept$1$1(visitor) {
  100064. return visitor.visitDeclaration$1(0, this);
  100065. },
  100066. accept$1(visitor) {
  100067. return this.accept$1$1(visitor, type$.dynamic);
  100068. },
  100069. toString$0(_) {
  100070. var t2, _0_0, _this = this,
  100071. buffer = new A.StringBuffer(""),
  100072. t1 = _this.name.toString$0(0);
  100073. buffer._contents = t1;
  100074. t1 = buffer._contents = t1 + A.Primitives_stringFromCharCode(58);
  100075. t2 = _this.value;
  100076. if (t2 != null) {
  100077. if (_this.parsedAsSassScript)
  100078. t1 = buffer._contents = t1 + A.Primitives_stringFromCharCode(32);
  100079. buffer._contents = t1 + t2.toString$0(0);
  100080. }
  100081. _0_0 = _this.children;
  100082. if (_0_0 != null)
  100083. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  100084. else
  100085. return buffer.toString$0(0) + ";";
  100086. },
  100087. get$span(receiver) {
  100088. return this.span;
  100089. }
  100090. };
  100091. A.SupportsDeclaration0.prototype = {
  100092. get$isCustomProperty() {
  100093. var t1,
  100094. _0_0 = this.name;
  100095. $label0$0: {
  100096. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  100097. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  100098. break $label0$0;
  100099. }
  100100. t1 = false;
  100101. break $label0$0;
  100102. }
  100103. return t1;
  100104. },
  100105. toInterpolation$0() {
  100106. var visitor, _1_0, _null = null,
  100107. t1 = new A.StringBuffer(""),
  100108. t2 = type$.JSArray_Object,
  100109. t3 = type$.JSArray_nullable_FileSpan,
  100110. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  100111. t4 = this.span,
  100112. t5 = this.name,
  100113. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  100114. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  100115. t1._contents += t6;
  100116. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  100117. buffer.addInterpolation$1(t5.text);
  100118. else
  100119. buffer.add$2(0, t5, t5.get$span(t5));
  100120. t6 = this.value;
  100121. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  100122. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  100123. t1._contents += t5;
  100124. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  100125. t6.accept$1(visitor);
  100126. t3 = visitor.buffer;
  100127. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  100128. if (_1_0 != null)
  100129. buffer.addInterpolation$1(_1_0);
  100130. else
  100131. buffer.add$2(0, t6, t6.get$span(t6));
  100132. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  100133. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  100134. t1._contents += t2;
  100135. return buffer.interpolation$1(t4);
  100136. },
  100137. withSpan$1(span) {
  100138. return new A.SupportsDeclaration0(this.name, this.value, span);
  100139. },
  100140. toString$0(_) {
  100141. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  100142. },
  100143. $isAstNode0: 1,
  100144. $isSassNode: 1,
  100145. $isSupportsCondition: 1,
  100146. get$span(receiver) {
  100147. return this.span;
  100148. }
  100149. };
  100150. A.Deprecation0.prototype = {
  100151. _enumToString$0() {
  100152. return "Deprecation." + this._name;
  100153. },
  100154. get$deprecatedIn(_) {
  100155. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  100156. },
  100157. get$obsoleteIn(_) {
  100158. var t1 = this._deprecation$_obsoleteIn;
  100159. return t1 == null ? null : A.NullableExtension_andThen0(t1, A.version_Version___parse_tearOff$closure());
  100160. },
  100161. toString$0(_) {
  100162. return this.id;
  100163. }
  100164. };
  100165. A.Deprecation_fromId_closure0.prototype = {
  100166. call$1(deprecation) {
  100167. return deprecation.id === this.id;
  100168. },
  100169. $signature: 434
  100170. };
  100171. A.DeprecationProcessingLogger0.prototype = {
  100172. validate$0() {
  100173. var t1, t2, t3, t4, $self, t5, _this = this, _null = null;
  100174. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100175. t4 = t1._collection$_current;
  100176. if (t4 == null)
  100177. t4 = t3._as(t4);
  100178. $self = t4._deprecation$_obsoleteIn;
  100179. if ($self == null)
  100180. t5 = _null;
  100181. else
  100182. t5 = A.Version___parse_tearOff($self);
  100183. if (t5 instanceof A.Version) {
  100184. t4 = t4.toString$0(0);
  100185. _this.internalWarn$4$deprecation$span$trace(t4 + string$.x20deprex20ix2c, _null, _null, _null);
  100186. continue;
  100187. }
  100188. t5 = t2.contains$1(0, t4);
  100189. if (t5) {
  100190. t4 = t4.toString$0(0);
  100191. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  100192. continue;
  100193. }
  100194. }
  100195. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  100196. t4 = t1._collection$_current;
  100197. if (t4 == null)
  100198. t4 = t2._as(t4);
  100199. if (B.Deprecation_45o === t4) {
  100200. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  100201. continue;
  100202. }
  100203. $self = t4._deprecation$_obsoleteIn;
  100204. if ($self == null)
  100205. t5 = _null;
  100206. else
  100207. t5 = A.Version___parse_tearOff($self);
  100208. if (t5 instanceof A.Version) {
  100209. t4 = t4.toString$0(0);
  100210. _this.internalWarn$4$deprecation$span$trace(t4 + string$.x20deprex20ix2e, _null, _null, _null);
  100211. continue;
  100212. }
  100213. }
  100214. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100215. t3 = t1._collection$_current;
  100216. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  100217. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  100218. }
  100219. },
  100220. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  100221. if (deprecation != null)
  100222. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  100223. else
  100224. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  100225. },
  100226. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  100227. var _0_3_isSet, t1, span0, _0_3, t2, count, _this = this, _null = null;
  100228. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  100229. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  100230. $label0$0: {
  100231. _0_3_isSet = span != null;
  100232. t1 = false;
  100233. if (_0_3_isSet) {
  100234. t1 = trace != null;
  100235. span0 = span;
  100236. _0_3 = trace;
  100237. } else {
  100238. span0 = _null;
  100239. _0_3 = span0;
  100240. }
  100241. if (t1) {
  100242. if (_0_3_isSet)
  100243. trace = _0_3;
  100244. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  100245. break $label0$0;
  100246. }
  100247. t1 = false;
  100248. if (span != null)
  100249. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  100250. else
  100251. span = _null;
  100252. if (t1) {
  100253. t1 = A.SassException$0(message, span, _null);
  100254. break $label0$0;
  100255. }
  100256. t1 = A.SassScriptException$0(message, _null);
  100257. break $label0$0;
  100258. }
  100259. throw A.wrapException(t1);
  100260. }
  100261. if (_this.silenceDeprecations.contains$1(0, deprecation))
  100262. return;
  100263. if (_this.limitRepetition) {
  100264. t1 = _this._deprecation_processing$_warningCounts;
  100265. t2 = t1.$index(0, deprecation);
  100266. count = (t2 == null ? 0 : t2) + 1;
  100267. t1.$indexSet(0, deprecation, count);
  100268. if (count > 5)
  100269. return;
  100270. }
  100271. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  100272. },
  100273. debug$2(_, message, span) {
  100274. return this._deprecation_processing$_inner.debug$2(0, message, span);
  100275. },
  100276. summarize$1$js(js) {
  100277. var t1 = this._deprecation_processing$_warningCounts,
  100278. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  100279. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t1, t2), new A.DeprecationProcessingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  100280. if (total > 0) {
  100281. t1 = js ? "" : string$.x0aRun_i;
  100282. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  100283. }
  100284. }
  100285. };
  100286. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  100287. call$1(count) {
  100288. return count > 5;
  100289. },
  100290. $signature: 50
  100291. };
  100292. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  100293. call$1(count) {
  100294. return count - 5;
  100295. },
  100296. $signature: 155
  100297. };
  100298. A.Deprecation1.prototype = {};
  100299. A.deprecations_closure.prototype = {
  100300. call$0() {
  100301. var _0_8_isSet, _0_8, t1,
  100302. _0_0 = this.deprecation;
  100303. $label0$0: {
  100304. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  100305. if (_0_8_isSet) {
  100306. _0_8 = _0_0.get$obsoleteIn(0) == null;
  100307. t1 = _0_8;
  100308. } else {
  100309. _0_8 = null;
  100310. t1 = false;
  100311. }
  100312. if (t1) {
  100313. t1 = "user";
  100314. break $label0$0;
  100315. }
  100316. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  100317. t1 = "active";
  100318. break $label0$0;
  100319. }
  100320. t1 = "obsolete";
  100321. break $label0$0;
  100322. }
  100323. return t1;
  100324. },
  100325. $signature: 29
  100326. };
  100327. A.parseDeprecations_closure.prototype = {
  100328. call$0() {
  100329. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  100330. },
  100331. $call$body$parseDeprecations_closure() {
  100332. var $async$self = this;
  100333. return function() {
  100334. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  100335. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  100336. if ($async$errorCode === 1) {
  100337. $async$errorStack.push($async$result);
  100338. $async$goto = $async$handler;
  100339. }
  100340. for (;;)
  100341. switch ($async$goto) {
  100342. case 0:
  100343. // Function start
  100344. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  100345. case 2:
  100346. // for condition
  100347. if (!t1.moveNext$0()) {
  100348. // goto after for
  100349. $async$goto = 3;
  100350. break;
  100351. }
  100352. item = t1.get$current(t1);
  100353. t5 = typeof item == "string";
  100354. id = t5 ? item : null;
  100355. $async$goto = t5 ? 4 : 5;
  100356. break;
  100357. case 4:
  100358. // then
  100359. deprecation = A.Deprecation_fromId0(id);
  100360. $async$goto = deprecation == null ? 6 : 8;
  100361. break;
  100362. case 6:
  100363. // then
  100364. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  100365. // goto join
  100366. $async$goto = 7;
  100367. break;
  100368. case 8:
  100369. // else
  100370. $async$goto = 9;
  100371. return $async$iterator._async$_current = deprecation, 1;
  100372. case 9:
  100373. // after yield
  100374. case 7:
  100375. // join
  100376. // goto for condition
  100377. $async$goto = 2;
  100378. break;
  100379. case 5:
  100380. // join
  100381. t5 = t2._is(item);
  100382. id = t5 ? J.get$id$x(item) : null;
  100383. $async$goto = t5 ? 10 : 11;
  100384. break;
  100385. case 10:
  100386. // then
  100387. deprecation = A.Deprecation_fromId0(id);
  100388. $async$goto = deprecation == null ? 12 : 14;
  100389. break;
  100390. case 12:
  100391. // then
  100392. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  100393. // goto join
  100394. $async$goto = 13;
  100395. break;
  100396. case 14:
  100397. // else
  100398. $async$goto = 15;
  100399. return $async$iterator._async$_current = deprecation, 1;
  100400. case 15:
  100401. // after yield
  100402. case 13:
  100403. // join
  100404. // goto for condition
  100405. $async$goto = 2;
  100406. break;
  100407. case 11:
  100408. // join
  100409. if (item instanceof A.Version) {
  100410. t5 = t3;
  100411. version = item;
  100412. } else {
  100413. version = null;
  100414. t5 = false;
  100415. }
  100416. $async$goto = t5 ? 16 : 17;
  100417. break;
  100418. case 16:
  100419. // then
  100420. $async$goto = 18;
  100421. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  100422. case 18:
  100423. // after yield
  100424. case 17:
  100425. // join
  100426. // goto for condition
  100427. $async$goto = 2;
  100428. break;
  100429. case 3:
  100430. // after for
  100431. // implicit return
  100432. return 0;
  100433. case 1:
  100434. // rethrow
  100435. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  100436. }
  100437. };
  100438. };
  100439. },
  100440. $signature: 435
  100441. };
  100442. A.versionClass_closure.prototype = {
  100443. call$0() {
  100444. var t1 = type$.JSClass,
  100445. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  100446. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  100447. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  100448. return jsClass;
  100449. },
  100450. $signature: 15
  100451. };
  100452. A.versionClass__closure.prototype = {
  100453. call$4($self, major, minor, patch) {
  100454. return A.Version_Version(major, minor, patch, null);
  100455. },
  100456. "call*": "call$4",
  100457. $requiredArgCount: 4,
  100458. $signature: 436
  100459. };
  100460. A.versionClass__closure0.prototype = {
  100461. call$1(version) {
  100462. var v = A.Version_Version$parse(version);
  100463. if (v.preRelease.length !== 0 || v.build.length !== 0)
  100464. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  100465. return v;
  100466. },
  100467. $signature: 203
  100468. };
  100469. A.DisplayP3ColorSpace0.prototype = {
  100470. get$isBoundedInternal() {
  100471. return true;
  100472. },
  100473. toLinear$1(channel) {
  100474. return A.srgbAndDisplayP3ToLinear0(channel);
  100475. },
  100476. fromLinear$1(channel) {
  100477. return A.srgbAndDisplayP3FromLinear0(channel);
  100478. },
  100479. transformationMatrix$1(dest) {
  100480. var t1;
  100481. $label0$0: {
  100482. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  100483. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  100484. break $label0$0;
  100485. }
  100486. if (B.A98RgbColorSpace_lf20 === dest) {
  100487. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  100488. break $label0$0;
  100489. }
  100490. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  100491. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  100492. break $label0$0;
  100493. }
  100494. if (B.Rec2020ColorSpace_6oo0 === dest) {
  100495. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  100496. break $label0$0;
  100497. }
  100498. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  100499. t1 = $.$get$linearDisplayP3ToXyzD650();
  100500. break $label0$0;
  100501. }
  100502. if (B.XyzD50ColorSpace_2OB0 === dest) {
  100503. t1 = $.$get$linearDisplayP3ToXyzD500();
  100504. break $label0$0;
  100505. }
  100506. if (B.LmsColorSpace_Os30 === dest) {
  100507. t1 = $.$get$linearDisplayP3ToLms0();
  100508. break $label0$0;
  100509. }
  100510. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  100511. break $label0$0;
  100512. }
  100513. return t1;
  100514. }
  100515. };
  100516. A.DynamicImport0.prototype = {
  100517. toString$0(_) {
  100518. return A.StringExpression_quoteText0(this.urlString);
  100519. },
  100520. $isImport0: 1,
  100521. $isAstNode0: 1,
  100522. $isSassNode: 1,
  100523. get$span(receiver) {
  100524. return this.span;
  100525. }
  100526. };
  100527. A.EachRule0.prototype = {
  100528. accept$1$1(visitor) {
  100529. return visitor.visitEachRule$1(0, this);
  100530. },
  100531. accept$1(visitor) {
  100532. return this.accept$1$1(visitor, type$.dynamic);
  100533. },
  100534. toString$0(_) {
  100535. var t1 = this.variables;
  100536. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100537. },
  100538. get$span(receiver) {
  100539. return this.span;
  100540. }
  100541. };
  100542. A.EachRule_toString_closure0.prototype = {
  100543. call$1(variable) {
  100544. return "$" + variable;
  100545. },
  100546. $signature: 6
  100547. };
  100548. A.EmptyExtensionStore0.prototype = {
  100549. get$_extension_store$_extensions() {
  100550. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  100551. },
  100552. get$_extension_store$_sourceSpecificity() {
  100553. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  100554. },
  100555. get$isEmpty(_) {
  100556. return true;
  100557. },
  100558. get$simpleSelectors() {
  100559. return B.C_EmptyUnmodifiableSet0;
  100560. },
  100561. extensionsWhereTarget$1(callback) {
  100562. return B.List_empty19;
  100563. },
  100564. addSelector$2(selector, mediaContext) {
  100565. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  100566. },
  100567. addExtension$4(extender, target, extend, mediaContext) {
  100568. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  100569. },
  100570. addExtensions$1(extenders) {
  100571. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  100572. },
  100573. clone$0() {
  100574. return B.Record2_EmptyExtensionStore_Map_empty0;
  100575. },
  100576. $isExtensionStore0: 1
  100577. };
  100578. A.Environment0.prototype = {
  100579. closure$0() {
  100580. var t4, t5, t6, _this = this,
  100581. t1 = _this._environment0$_forwardedModules,
  100582. t2 = _this._environment0$_nestedForwardedModules,
  100583. t3 = _this._environment0$_variables;
  100584. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  100585. t4 = _this._environment0$_variableNodes;
  100586. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  100587. t5 = _this._environment0$_functions;
  100588. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  100589. t6 = _this._environment0$_mixins;
  100590. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  100591. return A.Environment$_0(_this._environment0$_modules, _this._environment0$_namespaceNodes, _this._environment0$_globalModules, _this._environment0$_importedModules, t1, t2, _this._environment0$_allModules, t3, t4, t5, t6, _this._environment0$_content, B.Set_empty1);
  100592. },
  100593. forwardModule$2(module, rule) {
  100594. var view, t1, t2, _this = this,
  100595. forwardedModules = _this._environment0$_forwardedModules;
  100596. if (forwardedModules == null)
  100597. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  100598. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  100599. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  100600. t2 = t1.__js_helper$_current;
  100601. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  100602. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  100603. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  100604. }
  100605. _this._environment0$_allModules.push(module);
  100606. forwardedModules.$indexSet(0, view, rule);
  100607. },
  100608. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  100609. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  100610. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  100611. larger = oldMembers;
  100612. smaller = newMembers;
  100613. } else {
  100614. larger = newMembers;
  100615. smaller = oldMembers;
  100616. }
  100617. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  100618. t4 = t2.get$current(t2);
  100619. $name = t4._0;
  100620. small = t4._1;
  100621. large = larger.$index(0, $name);
  100622. if (large == null)
  100623. continue;
  100624. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  100625. continue;
  100626. if (t3)
  100627. $name = "$" + $name;
  100628. t2 = this._environment0$_forwardedModules;
  100629. if (t2 == null)
  100630. span = null;
  100631. else {
  100632. t2 = t2.$index(0, oldModule);
  100633. span = t2 == null ? null : t2.get$span(t2);
  100634. }
  100635. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  100636. if (span != null)
  100637. t2.$indexSet(0, span, "original @forward");
  100638. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  100639. }
  100640. },
  100641. importForwards$1(module) {
  100642. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  100643. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  100644. if (forwarded == null)
  100645. return;
  100646. forwardedModules = _this._environment0$_forwardedModules;
  100647. if (forwardedModules != null) {
  100648. t1 = type$.Module_Callable_2;
  100649. t2 = type$.AstNode_2;
  100650. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  100651. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  100652. t4 = t1.get$current(t1);
  100653. module = t4._0;
  100654. node = t4._1;
  100655. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  100656. t3.$indexSet(0, module, node);
  100657. }
  100658. forwarded = t3;
  100659. } else
  100660. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  100661. t1 = type$.String;
  100662. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100663. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  100664. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  100665. t2.add$1(0, t4.get$current(t4));
  100666. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100667. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  100668. t5 = t4.__js_helper$_current;
  100669. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  100670. t3.add$1(0, t5.get$current(t5));
  100671. }
  100672. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100673. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  100674. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  100675. t1.add$1(0, t5.get$current(t5));
  100676. t4 = _this._environment0$_variables;
  100677. t5 = t4.length;
  100678. if (t5 === 1) {
  100679. for (t5 = _this._environment0$_importedModules, t6 = type$.Module_Callable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  100680. t11 = t8[_i];
  100681. module = t11._0;
  100682. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100683. if (shadowed != null) {
  100684. t5.remove$1(0, module);
  100685. t12 = shadowed.variables;
  100686. t13 = false;
  100687. if (t12.get$isEmpty(t12)) {
  100688. t12 = shadowed.functions;
  100689. if (t12.get$isEmpty(t12)) {
  100690. t12 = shadowed.mixins;
  100691. if (t12.get$isEmpty(t12)) {
  100692. t12 = shadowed._shadowed_view0$_inner;
  100693. t12 = t12.get$css(t12);
  100694. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  100695. } else
  100696. t12 = t13;
  100697. } else
  100698. t12 = t13;
  100699. } else
  100700. t12 = t13;
  100701. if (!t12)
  100702. t5.$indexSet(0, shadowed, t11._1);
  100703. }
  100704. }
  100705. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  100706. t8 = t6[_i];
  100707. module = t8._0;
  100708. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100709. if (shadowed != null) {
  100710. forwardedModules.remove$1(0, module);
  100711. t9 = shadowed.variables;
  100712. t11 = false;
  100713. if (t9.get$isEmpty(t9)) {
  100714. t9 = shadowed.functions;
  100715. if (t9.get$isEmpty(t9)) {
  100716. t9 = shadowed.mixins;
  100717. if (t9.get$isEmpty(t9)) {
  100718. t9 = shadowed._shadowed_view0$_inner;
  100719. t9 = t9.get$css(t9);
  100720. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  100721. } else
  100722. t9 = t11;
  100723. } else
  100724. t9 = t11;
  100725. } else
  100726. t9 = t11;
  100727. if (!t9)
  100728. forwardedModules.$indexSet(0, shadowed, t8._1);
  100729. }
  100730. }
  100731. t5.addAll$1(0, forwarded);
  100732. forwardedModules.addAll$1(0, forwarded);
  100733. } else {
  100734. t6 = _this._environment0$_nestedForwardedModules;
  100735. if (t6 == null) {
  100736. _length = t5 - 1;
  100737. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  100738. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  100739. _list[_i] = A._setArrayType([], t5);
  100740. _this._environment0$_nestedForwardedModules = _list;
  100741. t5 = _list;
  100742. } else
  100743. t5 = t6;
  100744. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  100745. }
  100746. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  100747. t8 = t2._collection$_current;
  100748. if (t8 == null)
  100749. t8 = t7._as(t8);
  100750. t5.remove$1(0, t8);
  100751. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  100752. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  100753. }
  100754. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  100755. t6 = t2._collection$_current;
  100756. if (t6 == null)
  100757. t6 = t5._as(t6);
  100758. t3.remove$1(0, t6);
  100759. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  100760. }
  100761. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100762. t5 = t1._collection$_current;
  100763. if (t5 == null)
  100764. t5 = t4._as(t5);
  100765. t2.remove$1(0, t5);
  100766. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  100767. }
  100768. },
  100769. getVariable$2$namespace($name, namespace) {
  100770. var t1, _0_0, _1_0, _this = this;
  100771. if (namespace != null)
  100772. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  100773. if (_this._environment0$_lastVariableName === $name) {
  100774. t1 = _this._environment0$_lastVariableIndex;
  100775. t1.toString;
  100776. t1 = _this._environment0$_variables[t1].$index(0, $name);
  100777. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100778. }
  100779. t1 = _this._environment0$_variableIndices;
  100780. _0_0 = t1.$index(0, $name);
  100781. if (_0_0 != null) {
  100782. _this._environment0$_lastVariableName = $name;
  100783. _this._environment0$_lastVariableIndex = _0_0;
  100784. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  100785. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100786. } else {
  100787. _1_0 = _this._environment0$_variableIndex$1($name);
  100788. if (_1_0 != null) {
  100789. _this._environment0$_lastVariableName = $name;
  100790. _this._environment0$_lastVariableIndex = _1_0;
  100791. t1.$indexSet(0, $name, _1_0);
  100792. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  100793. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100794. } else
  100795. return _this._environment0$_getVariableFromGlobalModule$1($name);
  100796. }
  100797. },
  100798. getVariable$1($name) {
  100799. return this.getVariable$2$namespace($name, null);
  100800. },
  100801. _environment0$_getVariableFromGlobalModule$1($name) {
  100802. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  100803. },
  100804. getVariableNode$2$namespace($name, namespace) {
  100805. var t1, _0_0, _1_0, _this = this;
  100806. if (namespace != null)
  100807. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  100808. if (_this._environment0$_lastVariableName === $name) {
  100809. t1 = _this._environment0$_lastVariableIndex;
  100810. t1.toString;
  100811. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  100812. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100813. }
  100814. t1 = _this._environment0$_variableIndices;
  100815. _0_0 = t1.$index(0, $name);
  100816. if (_0_0 != null) {
  100817. _this._environment0$_lastVariableName = $name;
  100818. _this._environment0$_lastVariableIndex = _0_0;
  100819. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  100820. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100821. } else {
  100822. _1_0 = _this._environment0$_variableIndex$1($name);
  100823. if (_1_0 != null) {
  100824. _this._environment0$_lastVariableName = $name;
  100825. _this._environment0$_lastVariableIndex = _1_0;
  100826. t1.$indexSet(0, $name, _1_0);
  100827. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  100828. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100829. } else
  100830. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  100831. }
  100832. },
  100833. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  100834. var t1, t2, _0_0;
  100835. for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  100836. t1 = t2._currentIterator;
  100837. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  100838. if (_0_0 != null)
  100839. return _0_0;
  100840. }
  100841. return null;
  100842. },
  100843. globalVariableExists$2$namespace($name, namespace) {
  100844. if (namespace != null)
  100845. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  100846. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  100847. return true;
  100848. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100849. },
  100850. globalVariableExists$1($name) {
  100851. return this.globalVariableExists$2$namespace($name, null);
  100852. },
  100853. _environment0$_variableIndex$1($name) {
  100854. var t1, i;
  100855. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100856. if (t1[i].containsKey$1($name))
  100857. return i;
  100858. return null;
  100859. },
  100860. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100861. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100862. if (namespace != null) {
  100863. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100864. return;
  100865. }
  100866. if (global || _this._environment0$_variables.length === 1) {
  100867. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100868. t1 = _this._environment0$_variables;
  100869. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100870. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100871. if (moduleWithName != null) {
  100872. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100873. return;
  100874. }
  100875. }
  100876. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  100877. B.JSArray_methods.get$first(_this._environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  100878. return;
  100879. }
  100880. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100881. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100882. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  100883. t3 = t2.__internal$_current;
  100884. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  100885. t5 = t3.__internal$_current;
  100886. if (t5 == null)
  100887. t5 = t4._as(t5);
  100888. if (t5.get$variables().containsKey$1($name)) {
  100889. t5.setVariable$3($name, value, nodeWithSpan);
  100890. return;
  100891. }
  100892. }
  100893. }
  100894. if (_this._environment0$_lastVariableName === $name) {
  100895. t1 = _this._environment0$_lastVariableIndex;
  100896. t1.toString;
  100897. index = t1;
  100898. } else
  100899. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100900. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100901. index = _this._environment0$_variables.length - 1;
  100902. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100903. }
  100904. _this._environment0$_lastVariableName = $name;
  100905. _this._environment0$_lastVariableIndex = index;
  100906. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100907. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100908. },
  100909. setVariable$4$global($name, value, nodeWithSpan, global) {
  100910. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100911. },
  100912. setLocalVariable$3($name, value, nodeWithSpan) {
  100913. var index, _this = this,
  100914. t1 = _this._environment0$_variables,
  100915. t2 = t1.length;
  100916. _this._environment0$_lastVariableName = $name;
  100917. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100918. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100919. t1[index].$indexSet(0, $name, value);
  100920. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100921. },
  100922. getFunction$2$namespace($name, namespace) {
  100923. var t1, _0_0, _1_0, _this = this;
  100924. if (namespace != null) {
  100925. t1 = _this._environment0$_getModule$1(namespace);
  100926. return t1.get$functions(t1).$index(0, $name);
  100927. }
  100928. t1 = _this._environment0$_functionIndices;
  100929. _0_0 = t1.$index(0, $name);
  100930. if (_0_0 != null) {
  100931. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100932. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100933. } else {
  100934. _1_0 = _this._environment0$_functionIndex$1($name);
  100935. if (_1_0 != null) {
  100936. t1.$indexSet(0, $name, _1_0);
  100937. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100938. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100939. } else
  100940. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100941. }
  100942. },
  100943. getFunction$1($name) {
  100944. return this.getFunction$2$namespace($name, null);
  100945. },
  100946. _environment0$_getFunctionFromGlobalModule$1($name) {
  100947. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100948. },
  100949. _environment0$_functionIndex$1($name) {
  100950. var t1, i;
  100951. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100952. if (t1[i].containsKey$1($name))
  100953. return i;
  100954. return null;
  100955. },
  100956. getMixin$2$namespace($name, namespace) {
  100957. var t1, _0_0, _1_0, _this = this;
  100958. if (namespace != null)
  100959. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100960. t1 = _this._environment0$_mixinIndices;
  100961. _0_0 = t1.$index(0, $name);
  100962. if (_0_0 != null) {
  100963. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100964. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100965. } else {
  100966. _1_0 = _this._environment0$_mixinIndex$1($name);
  100967. if (_1_0 != null) {
  100968. t1.$indexSet(0, $name, _1_0);
  100969. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100970. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100971. } else
  100972. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100973. }
  100974. },
  100975. _environment0$_getMixinFromGlobalModule$1($name) {
  100976. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100977. },
  100978. _environment0$_mixinIndex$1($name) {
  100979. var t1, i;
  100980. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100981. if (t1[i].containsKey$1($name))
  100982. return i;
  100983. return null;
  100984. },
  100985. withContent$2($content, callback) {
  100986. var oldContent = this._environment0$_content;
  100987. this._environment0$_content = $content;
  100988. callback.call$0();
  100989. this._environment0$_content = oldContent;
  100990. },
  100991. asMixin$1(callback) {
  100992. var oldInMixin = this._environment0$_inMixin;
  100993. this._environment0$_inMixin = true;
  100994. callback.call$0();
  100995. this._environment0$_inMixin = oldInMixin;
  100996. },
  100997. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100998. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100999. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  101000. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  101001. _this._environment0$_inSemiGlobalScope = semiGlobal;
  101002. if (!when)
  101003. try {
  101004. t1 = callback.call$0();
  101005. return t1;
  101006. } finally {
  101007. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  101008. }
  101009. t1 = _this._environment0$_variables;
  101010. t2 = type$.String;
  101011. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  101012. t3 = _this._environment0$_variableNodes;
  101013. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  101014. t4 = _this._environment0$_functions;
  101015. t5 = type$.Callable_2;
  101016. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  101017. t6 = _this._environment0$_mixins;
  101018. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  101019. t5 = _this._environment0$_nestedForwardedModules;
  101020. if (t5 != null)
  101021. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  101022. try {
  101023. t2 = callback.call$0();
  101024. return t2;
  101025. } finally {
  101026. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  101027. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  101028. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  101029. $name = t1.get$current(t1);
  101030. t2.remove$1(0, $name);
  101031. }
  101032. B.JSArray_methods.removeLast$0(t3);
  101033. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  101034. name0 = t1.get$current(t1);
  101035. t2.remove$1(0, name0);
  101036. }
  101037. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  101038. name1 = t1.get$current(t1);
  101039. t2.remove$1(0, name1);
  101040. }
  101041. t1 = _this._environment0$_nestedForwardedModules;
  101042. if (t1 != null)
  101043. t1.pop();
  101044. }
  101045. },
  101046. scope$1$1(callback) {
  101047. return this.scope$1$3$semiGlobal$when(callback, false, true);
  101048. },
  101049. scope$1$2$when(callback, when) {
  101050. return this.scope$1$3$semiGlobal$when(callback, false, when);
  101051. },
  101052. scope$1$2$semiGlobal(callback, semiGlobal) {
  101053. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  101054. },
  101055. toImplicitConfiguration$0() {
  101056. var t2, t3, t4, t5, t6, $name, value, i, values, nodes,
  101057. t1 = type$.String,
  101058. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  101059. for (t2 = this._environment0$_importedModules, t2 = new A.LinkedHashMapKeyIterator(t2, t2._modifications, t2._first), t3 = type$.Value_2; t2.moveNext$0();) {
  101060. t4 = t2.__js_helper$_current;
  101061. for (t5 = A.MapExtensions_get_pairs0(t4.get$variables(), t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  101062. t6 = t5.get$current(t5);
  101063. $name = t6._0;
  101064. value = t6._1;
  101065. t6 = t4.get$variableNodes().$index(0, $name);
  101066. t6.toString;
  101067. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  101068. }
  101069. }
  101070. for (t2 = this._environment0$_variables, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  101071. values = t2[i];
  101072. nodes = t4[i];
  101073. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  101074. t6 = t5.get$current(t5);
  101075. $name = t6._0;
  101076. value = t6._1;
  101077. t6 = nodes.$index(0, $name);
  101078. t6.toString;
  101079. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  101080. }
  101081. }
  101082. return new A.Configuration0(configuration, null);
  101083. },
  101084. toModule$3(css, preModuleComments, extensionStore) {
  101085. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  101086. },
  101087. toDummyModule$0() {
  101088. return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty18, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty10, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  101089. },
  101090. _environment0$_getModule$1(namespace) {
  101091. var _0_0 = this._environment0$_modules.$index(0, namespace);
  101092. if (_0_0 != null)
  101093. return _0_0;
  101094. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  101095. },
  101096. _environment0$_fromOneModule$1$3($name, type, callback) {
  101097. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  101098. _0_0 = this._environment0$_nestedForwardedModules;
  101099. if (_0_0 != null)
  101100. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  101101. t3 = t2.__internal$_current;
  101102. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  101103. t5 = t3.__internal$_current;
  101104. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  101105. if (_1_0 != null)
  101106. return _1_0;
  101107. }
  101108. }
  101109. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  101110. _2_0 = callback.call$1(t1.__js_helper$_current);
  101111. if (_2_0 != null)
  101112. return _2_0;
  101113. }
  101114. for (t1 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  101115. t4 = t2.__js_helper$_current;
  101116. valueInModule = callback.call$1(t4);
  101117. if (valueInModule == null)
  101118. continue;
  101119. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  101120. if (identityFromModule.$eq(0, identity))
  101121. continue;
  101122. if (value != null) {
  101123. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101124. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_Callable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  101125. t1 = t3.get$current(t3);
  101126. module = t1._0;
  101127. node = t1._1;
  101128. if (callback.call$1(module) != null)
  101129. t2.$indexSet(0, node.get$span(node), t4);
  101130. }
  101131. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  101132. }
  101133. identity = identityFromModule;
  101134. value = valueInModule;
  101135. }
  101136. return value;
  101137. },
  101138. _environment0$_fromOneModule$3($name, type, callback) {
  101139. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  101140. }
  101141. };
  101142. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  101143. call$1(module) {
  101144. return module.get$variables().$index(0, this.name);
  101145. },
  101146. $signature: 439
  101147. };
  101148. A.Environment_setVariable_closure2.prototype = {
  101149. call$0() {
  101150. var t1 = this.$this;
  101151. t1._environment0$_lastVariableName = this.name;
  101152. return t1._environment0$_lastVariableIndex = 0;
  101153. },
  101154. $signature: 10
  101155. };
  101156. A.Environment_setVariable_closure3.prototype = {
  101157. call$1(module) {
  101158. return module.get$variables().containsKey$1(this.name) ? module : null;
  101159. },
  101160. $signature: 440
  101161. };
  101162. A.Environment_setVariable_closure4.prototype = {
  101163. call$0() {
  101164. var t1 = this.$this,
  101165. t2 = t1._environment0$_variableIndex$1(this.name);
  101166. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  101167. },
  101168. $signature: 10
  101169. };
  101170. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  101171. call$1(module) {
  101172. return module.get$functions(module).$index(0, this.name);
  101173. },
  101174. $signature: 201
  101175. };
  101176. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  101177. call$1(module) {
  101178. return module.get$mixins().$index(0, this.name);
  101179. },
  101180. $signature: 201
  101181. };
  101182. A.Environment_toModule_closure0.prototype = {
  101183. call$1(modules) {
  101184. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  101185. },
  101186. $signature: 200
  101187. };
  101188. A.Environment_toDummyModule_closure0.prototype = {
  101189. call$1(modules) {
  101190. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  101191. },
  101192. $signature: 200
  101193. };
  101194. A._EnvironmentModule1.prototype = {
  101195. get$url(_) {
  101196. var t1 = this.css;
  101197. t1 = t1.get$span(t1);
  101198. return t1.get$sourceUrl(t1);
  101199. },
  101200. setVariable$3($name, value, nodeWithSpan) {
  101201. var t1, t2,
  101202. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  101203. if (_0_0 != null) {
  101204. _0_0.setVariable$3($name, value, nodeWithSpan);
  101205. return;
  101206. }
  101207. t1 = this._environment0$_environment;
  101208. t2 = t1._environment0$_variables;
  101209. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  101210. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  101211. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  101212. B.JSArray_methods.get$first(t1._environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  101213. return;
  101214. },
  101215. variableIdentity$1($name) {
  101216. var module = this._environment0$_modulesByVariable.$index(0, $name);
  101217. return module == null ? this : module.variableIdentity$1($name);
  101218. },
  101219. couldHaveBeenConfigured$1(variables) {
  101220. var t2, t3, _0_0, variable, module,
  101221. t1 = this._environment0$_environment._environment0$_configurableVariables;
  101222. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  101223. t1 = this._environment0$_modulesByVariable;
  101224. t2 = type$.Module_Callable_2;
  101225. if (variables.get$length(variables) < t1.get$length(t1)) {
  101226. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  101227. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  101228. _0_0 = t1.$index(0, t3.get$current(t3));
  101229. if (_0_0 != null)
  101230. t2.add$1(0, _0_0);
  101231. }
  101232. t1 = t2;
  101233. } else {
  101234. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  101235. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  101236. t2 = t1.get$current(t1);
  101237. variable = t2._0;
  101238. module = t2._1;
  101239. if (variables.contains$1(0, variable))
  101240. t3.add$1(0, module);
  101241. }
  101242. t1 = t3;
  101243. }
  101244. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure1(variables));
  101245. } else
  101246. t1 = true;
  101247. return t1;
  101248. },
  101249. cloneCss$0() {
  101250. var _0_0, _this = this;
  101251. if (!_this.transitivelyContainsCss)
  101252. return _this;
  101253. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  101254. return A._EnvironmentModule$_1(_this._environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  101255. },
  101256. toString$0(_) {
  101257. var t1 = this.css,
  101258. t2 = t1.get$span(t1);
  101259. if (t2.get$sourceUrl(t2) == null)
  101260. t1 = "<unknown url>";
  101261. else {
  101262. t1 = t1.get$span(t1);
  101263. t1 = t1.get$sourceUrl(t1);
  101264. t2 = $.$get$context();
  101265. t1.toString;
  101266. t1 = t2.prettyUri$1(t1);
  101267. }
  101268. return t1;
  101269. },
  101270. $isModule1: 1,
  101271. get$upstream() {
  101272. return this.upstream;
  101273. },
  101274. get$variables() {
  101275. return this.variables;
  101276. },
  101277. get$variableNodes() {
  101278. return this.variableNodes;
  101279. },
  101280. get$functions(receiver) {
  101281. return this.functions;
  101282. },
  101283. get$mixins() {
  101284. return this.mixins;
  101285. },
  101286. get$extensionStore() {
  101287. return this.extensionStore;
  101288. },
  101289. get$css(receiver) {
  101290. return this.css;
  101291. },
  101292. get$preModuleComments() {
  101293. return this.preModuleComments;
  101294. },
  101295. get$transitivelyContainsCss() {
  101296. return this.transitivelyContainsCss;
  101297. },
  101298. get$transitivelyContainsExtensions() {
  101299. return this.transitivelyContainsExtensions;
  101300. }
  101301. };
  101302. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  101303. call$1(module) {
  101304. return module.get$variables();
  101305. },
  101306. $signature: 443
  101307. };
  101308. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  101309. call$1(module) {
  101310. return module.get$variableNodes();
  101311. },
  101312. $signature: 444
  101313. };
  101314. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  101315. call$1(module) {
  101316. return module.get$functions(module);
  101317. },
  101318. $signature: 199
  101319. };
  101320. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  101321. call$1(module) {
  101322. return module.get$mixins();
  101323. },
  101324. $signature: 199
  101325. };
  101326. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  101327. call$1(module) {
  101328. return module.get$transitivelyContainsCss();
  101329. },
  101330. $signature: 106
  101331. };
  101332. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  101333. call$1(module) {
  101334. return module.get$transitivelyContainsExtensions();
  101335. },
  101336. $signature: 106
  101337. };
  101338. A._EnvironmentModule_couldHaveBeenConfigured_closure1.prototype = {
  101339. call$1(module) {
  101340. return module.couldHaveBeenConfigured$1(this.variables);
  101341. },
  101342. $signature: 106
  101343. };
  101344. A.ErrorRule0.prototype = {
  101345. accept$1$1(visitor) {
  101346. return visitor.visitErrorRule$1(0, this);
  101347. },
  101348. accept$1(visitor) {
  101349. return this.accept$1$1(visitor, type$.dynamic);
  101350. },
  101351. toString$0(_) {
  101352. return "@error " + this.expression.toString$0(0) + ";";
  101353. },
  101354. get$span(receiver) {
  101355. return this.span;
  101356. }
  101357. };
  101358. A._EvaluateVisitor1.prototype = {
  101359. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  101360. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  101361. _s20_ = "$name, $module: null",
  101362. _s9_ = "sass:meta",
  101363. _s7_ = "$module",
  101364. t1 = type$.JSArray_BuiltInCallable_2,
  101365. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure27(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure28(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure35(_this), _s9_)], t1),
  101366. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure36(_this), false, _s9_), A.BuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure37(_this), true, _s9_)], t1);
  101367. t1 = type$.BuiltInCallable_2;
  101368. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  101369. B.JSArray_methods.addAll$1(t2, metaFunctions);
  101370. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  101371. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_Callable_2);
  101372. t1.push(metaModule);
  101373. t2 = t1.length;
  101374. t3 = _this._evaluate0$_builtInModules;
  101375. _i = 0;
  101376. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  101377. module = t1[_i];
  101378. t3.$indexSet(0, module.url, module);
  101379. }
  101380. t1 = type$.JSArray_Callable_2;
  101381. t2 = A._setArrayType([], t1);
  101382. B.JSArray_methods.addAll$1(t2, functions);
  101383. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  101384. t1 = A._setArrayType([], t1);
  101385. for (_i = 0; _i < 11; ++_i)
  101386. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  101387. B.JSArray_methods.addAll$1(t2, t1);
  101388. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101389. $function = t2[_i];
  101390. t4 = $function.get$name($function);
  101391. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  101392. }
  101393. },
  101394. run$2(_, importer, node) {
  101395. var error, stackTrace, t1, exception;
  101396. try {
  101397. t1 = type$.nullable_Object;
  101398. t1 = A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  101399. return t1;
  101400. } catch (exception) {
  101401. t1 = A.unwrapException(exception);
  101402. if (t1 instanceof A.SassException0) {
  101403. error = t1;
  101404. stackTrace = A.getTraceFromException(exception);
  101405. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  101406. } else
  101407. throw exception;
  101408. }
  101409. },
  101410. _evaluate0$_assertInModule$1$2(value, $name) {
  101411. if (value != null)
  101412. return value;
  101413. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  101414. },
  101415. _evaluate0$_assertInModule$2(value, $name) {
  101416. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  101417. },
  101418. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  101419. var t2, _this = this,
  101420. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  101421. t1 = {};
  101422. t1.builtInModule = null;
  101423. if (_0_0 != null) {
  101424. t1.builtInModule = _0_0;
  101425. if (configuration instanceof A.ExplicitConfiguration0) {
  101426. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  101427. t2 = configuration.nodeWithSpan;
  101428. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  101429. }
  101430. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  101431. return;
  101432. }
  101433. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  101434. },
  101435. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  101436. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  101437. },
  101438. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  101439. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  101440. },
  101441. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  101442. var currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  101443. t1 = stylesheet.span,
  101444. url = t1.get$sourceUrl(t1);
  101445. t1 = configuration == null;
  101446. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  101447. t2 = _this._evaluate0$_modules;
  101448. _0_0 = t2.$index(0, url);
  101449. if (_0_0 != null) {
  101450. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  101451. t3 = t2._configuration0$__originalConfiguration;
  101452. t2 = t3 == null ? t2 : t3;
  101453. t3 = currentConfiguration._configuration0$__originalConfiguration;
  101454. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0 && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.MapKeySet_String))) {
  101455. if (namesInErrors) {
  101456. t2 = $.$get$context();
  101457. url.toString;
  101458. message = t2.prettyUri$1(url) + string$.x20was_a;
  101459. } else
  101460. message = string$.This_mw;
  101461. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  101462. existingSpan = t2 == null ? null : t2.get$span(t2);
  101463. if (t1) {
  101464. t1 = currentConfiguration.nodeWithSpan;
  101465. configurationSpan = t1.get$span(t1);
  101466. } else
  101467. configurationSpan = null;
  101468. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101469. if (existingSpan != null)
  101470. t1.$indexSet(0, existingSpan, "original load");
  101471. if (configurationSpan != null)
  101472. t1.$indexSet(0, configurationSpan, "configuration");
  101473. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  101474. }
  101475. return _0_0;
  101476. }
  101477. environment = A.Environment$0();
  101478. css = A._Cell$();
  101479. preModuleComments = A._Cell$();
  101480. extensionStore = A.ExtensionStore$0();
  101481. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  101482. t1 = css._readLocal$0();
  101483. t3 = preModuleComments._readLocal$0();
  101484. module = environment.toModule$3(t1, t3 == null ? B.Map_empty10 : t3, extensionStore);
  101485. if (url != null) {
  101486. t2.$indexSet(0, url, module);
  101487. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  101488. if (nodeWithSpan != null)
  101489. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  101490. }
  101491. return module;
  101492. },
  101493. _evaluate0$_execute$2(importer, stylesheet) {
  101494. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  101495. },
  101496. _evaluate0$_addOutOfOrderImports$0() {
  101497. var t1, t2, _this = this, _s5_ = "_root",
  101498. _s13_ = "_endOfImports",
  101499. _0_0 = _this._evaluate0$_outOfOrderImports;
  101500. $label0$0: {
  101501. if (_0_0 == null) {
  101502. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  101503. break $label0$0;
  101504. }
  101505. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  101506. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode_2);
  101507. B.JSArray_methods.addAll$1(t1, _0_0);
  101508. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  101509. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  101510. break $label0$0;
  101511. }
  101512. return t1;
  101513. },
  101514. _evaluate0$_combineCss$2$clone(root, clone) {
  101515. var selectors, _0_0, t1, imports, css, sorted, t2;
  101516. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  101517. selectors = root.get$extensionStore().get$simpleSelectors();
  101518. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  101519. if (_0_0 != null)
  101520. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  101521. return root.get$css(root);
  101522. }
  101523. t1 = type$.JSArray_CssNode_2;
  101524. imports = A._setArrayType([], t1);
  101525. css = A._setArrayType([], t1);
  101526. t1 = type$.Module_Callable_2;
  101527. sorted = A.ListQueue$(t1);
  101528. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  101529. if (root.get$transitivelyContainsExtensions())
  101530. this._evaluate0$_extendModules$1(sorted);
  101531. t1 = B.JSArray_methods.$add(imports, css);
  101532. t2 = root.get$css(root);
  101533. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  101534. },
  101535. _evaluate0$_combineCss$1(root) {
  101536. return this._evaluate0$_combineCss$2$clone(root, false);
  101537. },
  101538. _evaluate0$_extendModules$1(sortedModules) {
  101539. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  101540. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  101541. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  101542. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  101543. t3 = t1._collection$_current;
  101544. if (t3 == null)
  101545. t3 = t2._as(t3);
  101546. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  101547. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  101548. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  101549. t4 = t3.get$extensionStore().get$addExtensions();
  101550. if ($self != null)
  101551. t4.call$1($self);
  101552. t4 = t3.get$extensionStore();
  101553. if (t4.get$isEmpty(t4))
  101554. continue;
  101555. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  101556. upstream = t4[_i];
  101557. _0_0 = upstream.get$url(upstream);
  101558. if (_0_0 != null)
  101559. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  101560. }
  101561. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  101562. }
  101563. if (unsatisfiedExtensions._collection$_length !== 0)
  101564. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  101565. },
  101566. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  101567. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  101568. },
  101569. _evaluate0$_indexAfterImports$1(statements) {
  101570. var t1, lastImport, i, _0_0;
  101571. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  101572. $label0$0: {
  101573. _0_0 = t1.$index(statements, i);
  101574. if (_0_0 instanceof A.ModifiableCssImport0)
  101575. break $label0$0;
  101576. if (_0_0 instanceof A.ModifiableCssComment0)
  101577. continue;
  101578. break;
  101579. }
  101580. lastImport = i;
  101581. }
  101582. return lastImport + 1;
  101583. },
  101584. visitStylesheet$1(_, node) {
  101585. var t1, t2, warning, _i, $name, span;
  101586. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  101587. warning = t1.__internal$_current;
  101588. if (warning == null)
  101589. warning = t2._as(warning);
  101590. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  101591. }
  101592. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  101593. t1[_i].accept$1(this);
  101594. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  101595. t2 = t1.get$current(t1);
  101596. $name = t2._0;
  101597. span = t2._1;
  101598. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  101599. }
  101600. return null;
  101601. },
  101602. visitAtRootRule$1(_, node) {
  101603. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  101604. _s8_ = "__parent",
  101605. _0_0 = node.query,
  101606. query = _0_0 != null ? new A.AtRootQueryParser0(A.SpanScanner$(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _null), _null).parse$0(0) : B.AtRootQuery_bfj0,
  101607. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  101608. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  101609. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  101610. if (!query.excludes$1($parent))
  101611. included.push($parent);
  101612. _2_0 = $parent._node$_parent;
  101613. if (_2_0 == null)
  101614. throw A.wrapException(A.StateError$(string$.CssNod));
  101615. }
  101616. root = _this._evaluate0$_trimIncluded$1(included);
  101617. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  101618. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  101619. return _null;
  101620. }
  101621. if (included.length >= 1) {
  101622. first = included[0];
  101623. rest = B.JSArray_methods.sublist$1(included, 1);
  101624. innerCopy = first.copyWithoutChildren$0();
  101625. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  101626. copy = rest[_i].copyWithoutChildren$0();
  101627. copy.addChild$1(outerCopy);
  101628. }
  101629. root.addChild$1(outerCopy);
  101630. } else
  101631. innerCopy = root;
  101632. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  101633. return _null;
  101634. },
  101635. _evaluate0$_trimIncluded$1(nodes) {
  101636. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  101637. _s22_ = " to be an ancestor of ";
  101638. if (nodes.length === 0)
  101639. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101640. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  101641. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  101642. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  101643. _0_0 = $parent._node$_parent;
  101644. if (_0_0 == null)
  101645. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  101646. }
  101647. if (innermostContiguous == null)
  101648. innermostContiguous = i;
  101649. _1_0 = $parent._node$_parent;
  101650. if (_1_0 == null)
  101651. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  101652. }
  101653. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101654. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101655. innermostContiguous.toString;
  101656. root = nodes[innermostContiguous];
  101657. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  101658. return root;
  101659. },
  101660. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  101661. var _this = this,
  101662. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  101663. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  101664. if (t1 !== query.include)
  101665. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  101666. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  101667. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  101668. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  101669. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  101670. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  101671. },
  101672. visitContentBlock$1(_, node) {
  101673. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  101674. },
  101675. visitContentRule$1(_, node) {
  101676. var $content = this._evaluate0$_environment._environment0$_content;
  101677. if ($content == null)
  101678. return null;
  101679. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  101680. return null;
  101681. },
  101682. visitDebugRule$1(_, node) {
  101683. var value = node.expression.accept$1(this),
  101684. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  101685. this._evaluate0$_logger.debug$2(0, t1, node.span);
  101686. return null;
  101687. },
  101688. visitDeclaration$1(_, node) {
  101689. var t1, $name, _0_0, _1_0, value, t2, t3, _2_0, oldDeclarationName, _this = this, _null = null;
  101690. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  101691. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  101692. if (_this._evaluate0$_declarationName != null && !node.parsedAsSassScript) {
  101693. t1 = B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--") ? string$.Declarw : string$.Declarp;
  101694. throw A.wrapException(_this._evaluate0$_exception$2(t1, node.span));
  101695. }
  101696. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(node.name, true);
  101697. _0_0 = _this._evaluate0$_declarationName;
  101698. if (_0_0 != null)
  101699. $name = new A.CssValue0(_0_0 + "-" + $name.value, $name.span, type$.CssValue_String_2);
  101700. _1_0 = node.value;
  101701. if (_1_0 != null) {
  101702. value = _1_0.accept$1(_this);
  101703. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  101704. _this._evaluate0$_copyParentAfterSibling$0();
  101705. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  101706. t2 = _1_0.get$span(_1_0);
  101707. if (_this._evaluate0$_sourceMap) {
  101708. t3 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
  101709. t3 = t3 == null ? _null : J.get$span$z(t3);
  101710. } else
  101711. t3 = _null;
  101712. t1.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t2, type$.CssValue_Value_2), node.span, node.parsedAsSassScript, t3));
  101713. }
  101714. }
  101715. _2_0 = node.children;
  101716. t1 = {};
  101717. t1.children = null;
  101718. if (_2_0 != null) {
  101719. t1.children = _2_0;
  101720. oldDeclarationName = _this._evaluate0$_declarationName;
  101721. _this._evaluate0$_declarationName = $name.value;
  101722. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  101723. _this._evaluate0$_declarationName = oldDeclarationName;
  101724. }
  101725. return _null;
  101726. },
  101727. visitEachRule$1(_, node) {
  101728. var _this = this,
  101729. t1 = node.list,
  101730. list = t1.accept$1(_this),
  101731. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  101732. _0_0 = node.variables;
  101733. $label0$0: {
  101734. t1 = {};
  101735. t1.variable = null;
  101736. if (_0_0.length === 1) {
  101737. t1.variable = _0_0[0];
  101738. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  101739. break $label0$0;
  101740. }
  101741. t1 = {};
  101742. t1.variables = null;
  101743. t1.variables = _0_0;
  101744. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  101745. break $label0$0;
  101746. }
  101747. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  101748. },
  101749. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  101750. var i,
  101751. list = value.get$asList(),
  101752. t1 = variables.length,
  101753. minLength = Math.min(t1, list.length);
  101754. for (i = 0; i < minLength; ++i)
  101755. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  101756. for (i = minLength; i < t1; ++i)
  101757. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  101758. },
  101759. visitErrorRule$1(_, node) {
  101760. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  101761. },
  101762. visitExtendRule$1(_, node) {
  101763. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, simple, _this = this, _null = null,
  101764. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101765. if (styleRule == null || _this._evaluate0$_declarationName != null)
  101766. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  101767. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  101768. complex = t1[_i];
  101769. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101770. continue;
  101771. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101772. complex.accept$1(visitor);
  101773. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101774. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  101775. _this._evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_2PR);
  101776. }
  101777. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  101778. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(_0_0._0, true), false, _0_0._1, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  101779. complex = t1[_i];
  101780. compound = complex.get$singleCompound();
  101781. if (compound == null)
  101782. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  101783. t4 = compound.components;
  101784. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  101785. if (simple == null)
  101786. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  101787. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, _this._evaluate0$_mediaQueries);
  101788. }
  101789. return _null;
  101790. },
  101791. visitAtRule$1(_, node) {
  101792. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  101793. if (_this._evaluate0$_declarationName != null)
  101794. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  101795. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  101796. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  101797. children = node.children;
  101798. if (children == null) {
  101799. _this._evaluate0$_copyParentAfterSibling$0();
  101800. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  101801. return null;
  101802. }
  101803. wasInKeyframes = _this._evaluate0$_inKeyframes;
  101804. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  101805. if (A.unvendor0($name.value) === "keyframes")
  101806. _this._evaluate0$_inKeyframes = true;
  101807. else
  101808. _this._evaluate0$_inUnknownAtRule = true;
  101809. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
  101810. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  101811. _this._evaluate0$_inKeyframes = wasInKeyframes;
  101812. return null;
  101813. },
  101814. visitForRule$1(_, node) {
  101815. var _this = this, t1 = {},
  101816. t2 = node.from,
  101817. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  101818. t3 = node.to,
  101819. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  101820. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  101821. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  101822. direction = from > to ? -1 : 1;
  101823. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  101824. return null;
  101825. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  101826. },
  101827. visitForwardRule$1(_, node) {
  101828. var newConfiguration, t4, _i, variable, $name, _this = this,
  101829. _s8_ = "@forward",
  101830. oldConfiguration = _this._evaluate0$_configuration,
  101831. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  101832. t1 = node.configuration,
  101833. t2 = t1.length,
  101834. t3 = node.url;
  101835. if (t2 !== 0) {
  101836. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  101837. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  101838. t3 = type$.String;
  101839. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101840. for (_i = 0; _i < t2; ++_i) {
  101841. variable = t1[_i];
  101842. if (!variable.isGuarded)
  101843. t4.add$1(0, variable.name);
  101844. }
  101845. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  101846. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101847. for (_i = 0; _i < t2; ++_i)
  101848. t3.add$1(0, t1[_i].name);
  101849. for (t1 = newConfiguration._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101850. $name = t2[_i];
  101851. if (!t3.contains$1(0, $name))
  101852. if (!t1.get$isEmpty(t1))
  101853. t1.remove$1(0, $name);
  101854. }
  101855. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  101856. } else {
  101857. _this._evaluate0$_configuration = adjustedConfiguration;
  101858. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  101859. _this._evaluate0$_configuration = oldConfiguration;
  101860. }
  101861. return null;
  101862. },
  101863. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  101864. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  101865. t1 = configuration._configuration0$_values,
  101866. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101867. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101868. variable = t2[_i];
  101869. if (variable.isGuarded) {
  101870. t4 = variable.name;
  101871. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  101872. if (_0_0 != null) {
  101873. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  101874. oldValue = _0_0;
  101875. } else {
  101876. oldValue = _null;
  101877. t5 = false;
  101878. }
  101879. if (t5) {
  101880. newValues.$indexSet(0, t4, oldValue);
  101881. continue;
  101882. }
  101883. }
  101884. t4 = variable.expression;
  101885. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101886. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101887. }
  101888. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101889. return new A.ExplicitConfiguration0(node, newValues, _null);
  101890. else
  101891. return new A.Configuration0(newValues, _null);
  101892. },
  101893. _evaluate0$_registerCommentsForModule$1(module) {
  101894. var _this = this, _s5_ = "_root",
  101895. t1 = _this._evaluate0$__root;
  101896. if (t1 == null)
  101897. return;
  101898. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101899. return;
  101900. t1 = _this._evaluate0$_preModuleComments;
  101901. if (t1 == null)
  101902. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101903. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure1()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  101904. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101905. _this._evaluate0$__endOfImports = 0;
  101906. },
  101907. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101908. var t1, t2, t3, t4, _i, $name;
  101909. for (t1 = upstream._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101910. $name = t2[_i];
  101911. if (except.contains$1(0, $name))
  101912. continue;
  101913. if (!t4.containsKey$1($name))
  101914. if (!t1.get$isEmpty(t1))
  101915. t1.remove$1(0, $name);
  101916. }
  101917. },
  101918. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101919. var t1, _0_0;
  101920. if (!(configuration instanceof A.ExplicitConfiguration0))
  101921. return;
  101922. t1 = configuration._configuration0$_values;
  101923. if (t1.get$isEmpty(t1))
  101924. return;
  101925. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101926. _0_0 = t1.get$first(t1);
  101927. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  101928. throw A.wrapException(this._evaluate0$_exception$2(t1, _0_0._1.configurationSpan));
  101929. },
  101930. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101931. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101932. },
  101933. visitFunctionRule$1(_, node) {
  101934. var t1 = this._evaluate0$_environment,
  101935. t2 = t1.closure$0(),
  101936. t3 = this._evaluate0$_inDependency,
  101937. t4 = t1._environment0$_functions,
  101938. index = t4.length - 1,
  101939. t5 = node.name;
  101940. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101941. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101942. return null;
  101943. },
  101944. visitIfRule$1(_, node) {
  101945. var t1, t2, _i, clauseToCheck,
  101946. clause = node.lastClause;
  101947. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101948. clauseToCheck = t1[_i];
  101949. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101950. clause = clauseToCheck;
  101951. break;
  101952. }
  101953. }
  101954. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101955. },
  101956. visitImportRule$1(_, node) {
  101957. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101958. _s8_ = "__parent",
  101959. _s5_ = "_root",
  101960. _s13_ = "_endOfImports";
  101961. for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String_2, t4 = _this.get$_evaluate0$_interpolationToValue(), t5 = type$.StaticImport_2, t6 = type$.JSArray_ModifiableCssImport_2, _i = 0; _i < t2; ++_i) {
  101962. $import = t1[_i];
  101963. if ($import instanceof A.DynamicImport0)
  101964. _this._evaluate0$_visitDynamicImport$1($import);
  101965. else {
  101966. t5._as($import);
  101967. t7 = $import.url;
  101968. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101969. $self = $import.modifiers;
  101970. t8 = $self == null ? null : t4.call$1($self);
  101971. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101972. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_)) {
  101973. _this._evaluate0$_copyParentAfterSibling$0();
  101974. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101975. } else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
  101976. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101977. node._node$_parent = t7;
  101978. t7 = t7._node$_children;
  101979. node._node$_indexInParent = t7.length;
  101980. t7.push(node);
  101981. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101982. } else {
  101983. t7 = _this._evaluate0$_outOfOrderImports;
  101984. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101985. }
  101986. }
  101987. }
  101988. return null;
  101989. },
  101990. _evaluate0$_visitDynamicImport$1($import) {
  101991. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101992. },
  101993. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101994. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this,
  101995. _s11_ = "_stylesheet";
  101996. baseUrl = baseUrl;
  101997. try {
  101998. _this._evaluate0$_importSpan = span;
  101999. _0_0 = _this._evaluate0$_importCache;
  102000. importCache = null;
  102001. if (_0_0 != null) {
  102002. importCache = _0_0;
  102003. if (baseUrl == null) {
  102004. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span;
  102005. baseUrl = t1.get$sourceUrl(t1);
  102006. }
  102007. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  102008. importer = null;
  102009. canonicalUrl = null;
  102010. originalUrl = null;
  102011. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  102012. importer = _1_0._0;
  102013. canonicalUrl = _1_0._1;
  102014. originalUrl = _1_0._2;
  102015. if (canonicalUrl.get$scheme() === "")
  102016. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Vc9, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  102017. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  102018. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  102019. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  102020. stylesheet = null;
  102021. if (_2_0 != null) {
  102022. stylesheet = _2_0;
  102023. t1 = stylesheet;
  102024. t2 = importer;
  102025. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  102026. }
  102027. }
  102028. }
  102029. if (_this._nodeImporter != null) {
  102030. t1 = baseUrl;
  102031. if (t1 == null) {
  102032. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span;
  102033. t1 = t1.get$sourceUrl(t1);
  102034. }
  102035. _3_0 = _this._importLikeNode$3(url, t1, forImport);
  102036. result = null;
  102037. if (_3_0 != null) {
  102038. result = _3_0;
  102039. t1 = result._0.span;
  102040. t2 = _this._evaluate0$_loadedUrls;
  102041. A.NullableExtension_andThen0(t1.get$sourceUrl(t1), t2.get$add(t2));
  102042. t2 = result;
  102043. return t2;
  102044. }
  102045. }
  102046. t1 = B.JSString_methods.startsWith$1(url, "package:");
  102047. if (t1)
  102048. throw A.wrapException(string$.x22packa);
  102049. else
  102050. throw A.wrapException("Can't find stylesheet to import.");
  102051. } catch (exception) {
  102052. t1 = A.unwrapException(exception);
  102053. if (t1 instanceof A.SassException0)
  102054. throw exception;
  102055. else if (t1 instanceof A.ArgumentError) {
  102056. error = t1;
  102057. stackTrace = A.getTraceFromException(exception);
  102058. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  102059. } else {
  102060. error0 = t1;
  102061. stackTrace0 = A.getTraceFromException(exception);
  102062. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  102063. }
  102064. } finally {
  102065. _this._evaluate0$_importSpan = null;
  102066. }
  102067. },
  102068. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  102069. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  102070. },
  102071. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  102072. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  102073. },
  102074. _importLikeNode$3(originalUrl, previous, forImport) {
  102075. var isDependency, url,
  102076. t1 = this._nodeImporter,
  102077. result = t1.loadRelative$3(originalUrl, previous, forImport);
  102078. if (result != null)
  102079. isDependency = this._evaluate0$_inDependency;
  102080. else {
  102081. result = t1.load$3(0, originalUrl, previous, forImport);
  102082. if (result == null)
  102083. return null;
  102084. isDependency = true;
  102085. }
  102086. url = result._1;
  102087. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_0_scss0;
  102088. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, false, url), null, isDependency);
  102089. },
  102090. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  102091. var t1, _0_0, t2, _1_8, t3, _this = this, _null = null,
  102092. _s37_ = "Mixin doesn't accept a content block.",
  102093. _s10_ = "invocation";
  102094. $label0$0: {
  102095. if (mixin == null)
  102096. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  102097. t1 = mixin instanceof A.BuiltInCallable0;
  102098. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  102099. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  102100. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  102101. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), _null));
  102102. }
  102103. if (t1) {
  102104. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  102105. break $label0$0;
  102106. }
  102107. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  102108. t2 = false;
  102109. if (t1) {
  102110. _1_8 = mixin.declaration;
  102111. t3 = _1_8;
  102112. if (t3 instanceof A.MixinRule0)
  102113. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  102114. }
  102115. if (t2)
  102116. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), _null));
  102117. if (t1) {
  102118. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  102119. break $label0$0;
  102120. }
  102121. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  102122. }
  102123. },
  102124. visitIncludeRule$1(_, node) {
  102125. var _this = this,
  102126. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  102127. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  102128. throw A.wrapException(_this._evaluate0$_exception$2(string$.Sass__m, node.get$nameSpan()));
  102129. _this._evaluate0$_applyMixin$5(mixin, A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure6(_this)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure7(node)));
  102130. return null;
  102131. },
  102132. visitMixinRule$1(_, node) {
  102133. var t1 = this._evaluate0$_environment,
  102134. t2 = t1.closure$0(),
  102135. t3 = this._evaluate0$_inDependency,
  102136. t4 = t1._environment0$_mixins,
  102137. index = t4.length - 1,
  102138. t5 = node.name;
  102139. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  102140. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  102141. return null;
  102142. },
  102143. visitLoudComment$1(_, node) {
  102144. var t1, text, _this = this,
  102145. _s8_ = "__parent",
  102146. _s13_ = "_endOfImports";
  102147. if (_this._evaluate0$_inFunction)
  102148. return null;
  102149. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
  102150. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102151. t1 = node.text;
  102152. text = _this._evaluate0$_performInterpolation$1(t1);
  102153. if (!B.JSString_methods.endsWith$1(text, "*/"))
  102154. text += " */";
  102155. _this._evaluate0$_copyParentAfterSibling$0();
  102156. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  102157. return null;
  102158. },
  102159. visitMediaRule$1(_, node) {
  102160. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102161. if (_this._evaluate0$_declarationName != null)
  102162. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102163. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  102164. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  102165. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  102166. t1 = mergedQueries == null;
  102167. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102168. return null;
  102169. if (t1)
  102170. mergedSources = B.Set_empty6;
  102171. else {
  102172. t2 = _this._evaluate0$_mediaQuerySources;
  102173. t2.toString;
  102174. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102175. t3 = _this._evaluate0$_mediaQueries;
  102176. t3.toString;
  102177. t2.addAll$1(0, t3);
  102178. t2.addAll$1(0, queries);
  102179. mergedSources = t2;
  102180. }
  102181. t1 = t1 ? queries : mergedQueries;
  102182. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure6(_this, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure7(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null);
  102183. return null;
  102184. },
  102185. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  102186. var t1, t2, t3, t4, _0_0, t5, result,
  102187. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  102188. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  102189. t3 = t1.get$current(t1);
  102190. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  102191. _0_0 = t3.merge$1(t4.get$current(t4));
  102192. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  102193. continue;
  102194. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  102195. return null;
  102196. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  102197. result = t5 ? _0_0 : null;
  102198. if (t5)
  102199. queries.push(result.query);
  102200. }
  102201. }
  102202. return queries;
  102203. },
  102204. visitReturnRule$1(_, node) {
  102205. var t1 = node.expression;
  102206. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  102207. },
  102208. visitSilentComment$1(_, node) {
  102209. return null;
  102210. },
  102211. visitStyleRule$1(_, node) {
  102212. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  102213. _s8_ = "__parent",
  102214. _s11_ = "_stylesheet";
  102215. if (_this._evaluate0$_declarationName != null)
  102216. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102217. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102218. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102219. t1 = node.selector;
  102220. t1.toString;
  102221. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  102222. selectorText = _0_0._0;
  102223. selectorMap = _0_0._1;
  102224. if (_this._evaluate0$_inKeyframes) {
  102225. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(selectorText, _null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure7(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure8(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  102226. return _null;
  102227. }
  102228. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  102229. _1_0 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102230. $label0$0: {
  102231. if (_1_0 == null) {
  102232. t1 = true;
  102233. break $label0$0;
  102234. }
  102235. if (_1_0.fromPlainCss) {
  102236. t1 = false;
  102237. break $label0$0;
  102238. }
  102239. t1 = !(_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  102240. break $label0$0;
  102241. }
  102242. if (t1) {
  102243. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  102244. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102245. _2_0 = t2[_i].leadingCombinators;
  102246. if (_2_0.length >= 1) {
  102247. first = _2_0[0];
  102248. t4 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  102249. } else {
  102250. first = _null;
  102251. t4 = false;
  102252. }
  102253. if (t4)
  102254. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  102255. }
  102256. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  102257. t2 = t2 == null ? _null : t2.originalSelector;
  102258. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  102259. }
  102260. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, parsedSelector);
  102261. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102262. t2 = _this._evaluate0$_atRootExcludingStyleRule = false;
  102263. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  102264. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102265. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102266. _this._evaluate0$_warnForBogusCombinators$1(rule);
  102267. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  102268. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  102269. t1 = !t1.get$isEmpty(t1);
  102270. } else
  102271. t1 = t2;
  102272. if (t1) {
  102273. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  102274. t1.get$last(t1).isGroupEnd = true;
  102275. }
  102276. return _null;
  102277. },
  102278. _evaluate0$_warnForBogusCombinators$1(rule) {
  102279. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  102280. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  102281. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  102282. complex = t1[_i];
  102283. if (!complex.accept$1(B._IsBogusVisitor_true0))
  102284. continue;
  102285. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  102286. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  102287. complex.accept$1(visitor);
  102288. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_2PR);
  102289. } else if (complex.leadingCombinators.length !== 0) {
  102290. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  102291. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  102292. complex.accept$1(visitor);
  102293. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_2PR);
  102294. }
  102295. } else {
  102296. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  102297. complex.accept$1(visitor);
  102298. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  102299. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  102300. t8 = A.SpanExtensions_trimRight0(complex.span);
  102301. if (t5.get$length(0) === 0)
  102302. A.throwExpression(A.IterableElementError_noElement());
  102303. t9 = J.get$span$z(t5.$index(0, 0));
  102304. _this._evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure1()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_2PR);
  102305. }
  102306. }
  102307. },
  102308. visitSupportsRule$1(_, node) {
  102309. var t1, _this = this;
  102310. if (_this._evaluate0$_declarationName != null)
  102311. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102312. t1 = node.condition;
  102313. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(new A.CssValue0(_this._evaluate0$_visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure3(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
  102314. return null;
  102315. },
  102316. _evaluate0$_visitSupportsCondition$1(condition) {
  102317. var t1, _this = this;
  102318. $label0$0: {
  102319. if (condition instanceof A.SupportsOperation0) {
  102320. t1 = condition.operator;
  102321. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  102322. break $label0$0;
  102323. }
  102324. if (condition instanceof A.SupportsNegation0) {
  102325. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  102326. break $label0$0;
  102327. }
  102328. if (condition instanceof A.SupportsInterpolation0) {
  102329. t1 = condition.expression;
  102330. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  102331. break $label0$0;
  102332. }
  102333. t1 = {};
  102334. t1.declaration = null;
  102335. if (condition instanceof A.SupportsDeclaration0) {
  102336. t1.declaration = condition;
  102337. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  102338. break $label0$0;
  102339. }
  102340. if (condition instanceof A.SupportsFunction0) {
  102341. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  102342. break $label0$0;
  102343. }
  102344. if (condition instanceof A.SupportsAnything0) {
  102345. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  102346. break $label0$0;
  102347. }
  102348. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  102349. }
  102350. return t1;
  102351. },
  102352. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  102353. var t1,
  102354. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  102355. this._evaluate0$_inSupportsDeclaration = true;
  102356. try {
  102357. t1 = callback.call$0();
  102358. return t1;
  102359. } finally {
  102360. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102361. }
  102362. },
  102363. _evaluate0$_withSupportsDeclaration$1(callback) {
  102364. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  102365. },
  102366. _evaluate0$_parenthesize$2(condition, operator) {
  102367. var t1;
  102368. if (!(condition instanceof A.SupportsNegation0))
  102369. if (condition instanceof A.SupportsOperation0)
  102370. t1 = operator == null || operator !== condition.operator;
  102371. else
  102372. t1 = false;
  102373. else
  102374. t1 = true;
  102375. if (t1)
  102376. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  102377. return this._evaluate0$_visitSupportsCondition$1(condition);
  102378. },
  102379. _evaluate0$_parenthesize$1(condition) {
  102380. return this._evaluate0$_parenthesize$2(condition, null);
  102381. },
  102382. visitVariableDeclaration$1(_, node) {
  102383. var t1, t2, _0_0, value, _this = this, _null = null;
  102384. if (node.isGuarded) {
  102385. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  102386. t1 = node.name;
  102387. _this._evaluate0$_environment._environment0$_configurableVariables.add$1(0, t1);
  102388. t2 = _this._evaluate0$_configuration._configuration0$_values;
  102389. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  102390. t1 = {};
  102391. t1.override = null;
  102392. if (_0_0 != null) {
  102393. t1.override = _0_0;
  102394. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  102395. } else
  102396. t2 = false;
  102397. if (t2) {
  102398. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  102399. return _null;
  102400. }
  102401. }
  102402. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  102403. if (value != null && !value.$eq(0, B.C__SassNull0))
  102404. return _null;
  102405. }
  102406. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  102407. t1 = _this._evaluate0$_environment._environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
  102408. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_pwd);
  102409. }
  102410. t1 = node.expression;
  102411. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  102412. return _null;
  102413. },
  102414. visitUseRule$1(_, node) {
  102415. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  102416. t1 = node.configuration,
  102417. t2 = t1.length;
  102418. if (t2 !== 0) {
  102419. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  102420. for (_i = 0; _i < t2; ++_i) {
  102421. variable = t1[_i];
  102422. t3 = variable.expression;
  102423. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  102424. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  102425. }
  102426. configuration = new A.ExplicitConfiguration0(node, values, null);
  102427. } else
  102428. configuration = B.Configuration_Map_empty_null0;
  102429. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  102430. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  102431. return null;
  102432. },
  102433. visitWarnRule$1(_, node) {
  102434. var _this = this,
  102435. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  102436. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  102437. t2 = _this._evaluate0$_stackTrace$1(node.span);
  102438. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  102439. return null;
  102440. },
  102441. visitWhileRule$1(_, node) {
  102442. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  102443. },
  102444. visitBinaryOperationExpression$1(_, node) {
  102445. var t1, _this = this;
  102446. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  102447. t1 = node.operator;
  102448. t1 = t1 !== B.BinaryOperator_g6F0 && t1 !== B.BinaryOperator_ehp0;
  102449. } else
  102450. t1 = false;
  102451. if (t1)
  102452. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  102453. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  102454. },
  102455. _evaluate0$_slash$3(left, right, node) {
  102456. var left0, _1_2,
  102457. result = left.dividedBy$1(right),
  102458. _1_2_isSet = left instanceof A.SassNumber0,
  102459. right0 = null,
  102460. t1 = false;
  102461. if (_1_2_isSet) {
  102462. if (right instanceof A.SassNumber0) {
  102463. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  102464. right0 = right;
  102465. }
  102466. left0 = left;
  102467. _1_2 = right;
  102468. } else {
  102469. _1_2 = null;
  102470. left0 = null;
  102471. }
  102472. if (t1)
  102473. return type$.SassNumber_2._as(result).withSlash$2(left0, right0);
  102474. if (left instanceof A.SassNumber0)
  102475. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  102476. else
  102477. t1 = false;
  102478. if (t1) {
  102479. this._evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation1().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_v81);
  102480. return result;
  102481. }
  102482. return result;
  102483. },
  102484. _evaluate0$_operandAllowsSlash$1(node) {
  102485. var t1;
  102486. if (node instanceof A.FunctionExpression0)
  102487. if (node.namespace == null) {
  102488. t1 = node.name;
  102489. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  102490. } else
  102491. t1 = false;
  102492. else
  102493. t1 = true;
  102494. return t1;
  102495. },
  102496. visitValueExpression$1(_, node) {
  102497. return node.value;
  102498. },
  102499. visitVariableExpression$1(_, node) {
  102500. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  102501. if (result != null)
  102502. return result;
  102503. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  102504. },
  102505. visitUnaryOperationExpression$1(_, node) {
  102506. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  102507. },
  102508. visitBooleanExpression$1(_, node) {
  102509. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102510. },
  102511. visitIfExpression$1(_, node) {
  102512. var condition, t1, ifTrue, ifFalse, result, _this = this,
  102513. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  102514. positional = _0_0._0,
  102515. named = _0_0._1;
  102516. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  102517. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  102518. if (condition == null) {
  102519. t1 = named.$index(0, "condition");
  102520. t1.toString;
  102521. condition = t1;
  102522. }
  102523. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  102524. if (ifTrue == null) {
  102525. t1 = named.$index(0, "if-true");
  102526. t1.toString;
  102527. ifTrue = t1;
  102528. }
  102529. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  102530. if (ifFalse == null) {
  102531. t1 = named.$index(0, "if-false");
  102532. t1.toString;
  102533. ifFalse = t1;
  102534. }
  102535. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  102536. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  102537. },
  102538. visitNullExpression$1(_, node) {
  102539. return B.C__SassNull0;
  102540. },
  102541. visitNumberExpression$1(_, node) {
  102542. return A.SassNumber_SassNumber0(node.value, node.unit);
  102543. },
  102544. visitParenthesizedExpression$1(_, node) {
  102545. var _this = this;
  102546. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  102547. },
  102548. visitColorExpression$1(_, node) {
  102549. return node.value;
  102550. },
  102551. visitListExpression$1(_, node) {
  102552. var t1 = node.contents;
  102553. return A.SassList$0(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure1(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), node.separator, node.hasBrackets);
  102554. },
  102555. visitMapExpression$1(_, node) {
  102556. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  102557. t1 = type$.Value_2,
  102558. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  102559. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  102560. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102561. t4 = t2[_i];
  102562. key = t4._0;
  102563. keyValue = key.accept$1(this);
  102564. valueValue = t4._1.accept$1(this);
  102565. if (map.containsKey$1(keyValue)) {
  102566. t1 = keyNodes.$index(0, keyValue);
  102567. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  102568. t1 = key.get$span(key);
  102569. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  102570. if (oldValueSpan != null)
  102571. t2.$indexSet(0, oldValueSpan, "first key");
  102572. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  102573. }
  102574. map.$indexSet(0, keyValue, valueValue);
  102575. keyNodes.$indexSet(0, keyValue, key);
  102576. }
  102577. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  102578. },
  102579. visitFunctionExpression$1(_, node) {
  102580. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  102581. _s11_ = "_stylesheet",
  102582. t1 = {},
  102583. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  102584. t1.$function = $function;
  102585. if ($function == null || B.JSString_methods.startsWith$1(node.originalName, "--")) {
  102586. if (node.namespace != null)
  102587. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  102588. t2 = node.name;
  102589. _0_0 = t2.toLowerCase();
  102590. t3 = false;
  102591. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  102592. t3 = node.$arguments;
  102593. t4 = t3.named;
  102594. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  102595. $name = _0_0;
  102596. } else
  102597. $name = null;
  102598. if (t3)
  102599. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  102600. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0)
  102601. return _this._evaluate0$_visitCalculation$1(node);
  102602. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  102603. t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  102604. }
  102605. oldInFunction = _this._evaluate0$_inFunction;
  102606. _this._evaluate0$_inFunction = true;
  102607. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  102608. _this._evaluate0$_inFunction = oldInFunction;
  102609. return result;
  102610. },
  102611. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  102612. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  102613. t2 = node.$arguments,
  102614. t3 = t2.named;
  102615. if (t3.get$isNotEmpty(t3))
  102616. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  102617. else if (t2.rest != null)
  102618. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  102619. _this._evaluate0$_checkCalculationArguments$1(node);
  102620. t3 = A._setArrayType([], type$.JSArray_Object);
  102621. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  102622. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102623. $arguments = t3;
  102624. if (_this._evaluate0$_inSupportsDeclaration)
  102625. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  102626. oldCallableNode = _this._evaluate0$_callableNode;
  102627. _this._evaluate0$_callableNode = node;
  102628. try {
  102629. t1 = null;
  102630. t3 = node.name;
  102631. _0_0 = t3.toLowerCase();
  102632. $label0$0: {
  102633. if ("calc" === _0_0) {
  102634. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  102635. break $label0$0;
  102636. }
  102637. if ("sqrt" === _0_0) {
  102638. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  102639. break $label0$0;
  102640. }
  102641. if ("sin" === _0_0) {
  102642. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  102643. break $label0$0;
  102644. }
  102645. if ("cos" === _0_0) {
  102646. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  102647. break $label0$0;
  102648. }
  102649. if ("tan" === _0_0) {
  102650. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  102651. break $label0$0;
  102652. }
  102653. if ("asin" === _0_0) {
  102654. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  102655. break $label0$0;
  102656. }
  102657. if ("acos" === _0_0) {
  102658. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  102659. break $label0$0;
  102660. }
  102661. if ("atan" === _0_0) {
  102662. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  102663. break $label0$0;
  102664. }
  102665. if ("abs" === _0_0) {
  102666. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  102667. break $label0$0;
  102668. }
  102669. if ("exp" === _0_0) {
  102670. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  102671. break $label0$0;
  102672. }
  102673. if ("sign" === _0_0) {
  102674. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  102675. break $label0$0;
  102676. }
  102677. if ("min" === _0_0) {
  102678. t1 = A.SassCalculation_min0($arguments);
  102679. break $label0$0;
  102680. }
  102681. if ("max" === _0_0) {
  102682. t1 = A.SassCalculation_max0($arguments);
  102683. break $label0$0;
  102684. }
  102685. if ("hypot" === _0_0) {
  102686. t1 = A.SassCalculation_hypot0($arguments);
  102687. break $label0$0;
  102688. }
  102689. if ("pow" === _0_0) {
  102690. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102691. break $label0$0;
  102692. }
  102693. if ("atan2" === _0_0) {
  102694. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102695. break $label0$0;
  102696. }
  102697. if ("log" === _0_0) {
  102698. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102699. break $label0$0;
  102700. }
  102701. if ("mod" === _0_0) {
  102702. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102703. break $label0$0;
  102704. }
  102705. if ("rem" === _0_0) {
  102706. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102707. break $label0$0;
  102708. }
  102709. if ("round" === _0_0) {
  102710. t1 = A.SassCalculation_roundInternal0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure1(_this, node));
  102711. break $label0$0;
  102712. }
  102713. if ("clamp" === _0_0) {
  102714. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  102715. break $label0$0;
  102716. }
  102717. if ("calc-size" === _0_0) {
  102718. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102719. break $label0$0;
  102720. }
  102721. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  102722. t1 = A.throwExpression(t3);
  102723. }
  102724. t1 = t1;
  102725. return t1;
  102726. } catch (exception) {
  102727. t1 = A.unwrapException(exception);
  102728. if (t1 instanceof A.SassScriptException0) {
  102729. error = t1;
  102730. stackTrace = A.getTraceFromException(exception);
  102731. if (B.JSString_methods.contains$1(error.message, "compatible"))
  102732. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  102733. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  102734. } else
  102735. throw exception;
  102736. } finally {
  102737. _this._evaluate0$_callableNode = oldCallableNode;
  102738. }
  102739. },
  102740. _evaluate0$_visitCalculation$1(node) {
  102741. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  102742. },
  102743. _evaluate0$_checkCalculationArguments$1(node) {
  102744. var t1, _0_0,
  102745. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  102746. $label0$0: {
  102747. t1 = node.name;
  102748. _0_0 = t1.toLowerCase();
  102749. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  102750. check.call$1(1);
  102751. break $label0$0;
  102752. }
  102753. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  102754. check.call$0();
  102755. break $label0$0;
  102756. }
  102757. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  102758. check.call$1(2);
  102759. break $label0$0;
  102760. }
  102761. if ("round" === _0_0 || "clamp" === _0_0) {
  102762. check.call$1(3);
  102763. break $label0$0;
  102764. }
  102765. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  102766. }
  102767. },
  102768. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  102769. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  102770. for (i = 0; t1 = args.length, i < t1; ++i) {
  102771. _0_0 = args[i];
  102772. if (_0_0 instanceof A.SassNumber0) {
  102773. t1 = _0_0.get$hasComplexUnits();
  102774. arg = _0_0;
  102775. } else {
  102776. arg = null;
  102777. t1 = false;
  102778. }
  102779. if (t1) {
  102780. t1 = A.S(arg);
  102781. t2 = nodesWithSpans[i];
  102782. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  102783. }
  102784. }
  102785. for (i = 0; i < t1 - 1; ++i) {
  102786. number1 = args[i];
  102787. if (!(number1 instanceof A.SassNumber0))
  102788. continue;
  102789. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  102790. number2 = args[j];
  102791. if (!(number2 instanceof A.SassNumber0))
  102792. continue;
  102793. if (number1.hasPossiblyCompatibleUnits$1(number2))
  102794. continue;
  102795. t1 = number1.toString$0(0);
  102796. t2 = number2.toString$0(0);
  102797. t3 = nodesWithSpans[i];
  102798. t3 = t3.get$span(t3);
  102799. t4 = number1.toString$0(0);
  102800. t5 = nodesWithSpans[j];
  102801. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  102802. t6 = nodesWithSpans[i];
  102803. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  102804. }
  102805. }
  102806. },
  102807. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  102808. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  102809. t1 = node instanceof A.ParenthesizedExpression0,
  102810. inner = t1 ? node.expression : _null;
  102811. if (t1) {
  102812. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  102813. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  102814. }
  102815. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  102816. t1 = node.text;
  102817. t2 = t1.get$asPlain();
  102818. _0_0 = t2 == null ? _null : t2.toLowerCase();
  102819. $label0$0: {
  102820. if ("pi" === _0_0) {
  102821. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  102822. break $label0$0;
  102823. }
  102824. if ("e" === _0_0) {
  102825. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  102826. break $label0$0;
  102827. }
  102828. if ("infinity" === _0_0) {
  102829. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  102830. break $label0$0;
  102831. }
  102832. if ("-infinity" === _0_0) {
  102833. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  102834. break $label0$0;
  102835. }
  102836. if ("nan" === _0_0) {
  102837. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  102838. break $label0$0;
  102839. }
  102840. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  102841. break $label0$0;
  102842. }
  102843. return t1;
  102844. }
  102845. _box_0 = {};
  102846. _box_0.right = _box_0.left = _box_0.operator = null;
  102847. t1 = node instanceof A.BinaryOperationExpression0;
  102848. if (t1) {
  102849. _box_0.operator = node.operator;
  102850. _box_0.left = node.left;
  102851. _box_0.right = node.right;
  102852. }
  102853. if (t1) {
  102854. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  102855. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  102856. }
  102857. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  102858. _1_0 = node.accept$1(_this);
  102859. $label1$1: {
  102860. if (_1_0 instanceof A.SassNumber0) {
  102861. t1 = _1_0;
  102862. break $label1$1;
  102863. }
  102864. if (_1_0 instanceof A.SassCalculation0) {
  102865. t1 = _1_0;
  102866. break $label1$1;
  102867. }
  102868. if (_1_0 instanceof A.SassString0) {
  102869. t1 = !_1_0._string0$_hasQuotes;
  102870. result = _1_0;
  102871. } else {
  102872. result = _null;
  102873. t1 = false;
  102874. }
  102875. if (t1) {
  102876. t1 = result;
  102877. break $label1$1;
  102878. }
  102879. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  102880. }
  102881. return t1;
  102882. }
  102883. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_SrV0 === node.separator && node.contents.length >= 2) {
  102884. t1 = A._setArrayType([], type$.JSArray_Object);
  102885. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  102886. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102887. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  102888. for (i = 0; i < t1.length; ++i) {
  102889. t3 = t1[i];
  102890. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  102891. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  102892. }
  102893. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102894. }
  102895. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102896. },
  102897. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102898. var t2, t3, t4, textBetweenOperands, first, last,
  102899. t1 = node.operator;
  102900. if (t1 !== B.BinaryOperator_jCK0 && t1 !== B.BinaryOperator_tDf0)
  102901. return;
  102902. t1 = node.left;
  102903. t2 = t1.get$span(t1);
  102904. t2 = t2.get$file(t2);
  102905. t3 = node.right;
  102906. t4 = t3.get$span(t3);
  102907. if (t2 !== t4.get$file(t4))
  102908. return;
  102909. t2 = t1.get$span(t1);
  102910. t2 = t2.get$end(t2);
  102911. t4 = t3.get$span(t3);
  102912. if (t2.offset >= t4.get$start(t4).offset)
  102913. return;
  102914. t2 = t1.get$span(t1);
  102915. t2 = t2.get$file(t2);
  102916. t1 = t1.get$span(t1);
  102917. t1 = t1.get$end(t1);
  102918. t3 = t3.get$span(t3);
  102919. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102920. first = textBetweenOperands.charCodeAt(0);
  102921. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102922. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102923. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102924. else
  102925. t1 = true;
  102926. if (t1)
  102927. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102928. },
  102929. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102930. var t1;
  102931. $label0$0: {
  102932. if (B.BinaryOperator_jCK0 === operator) {
  102933. t1 = B.CalculationOperator_dpX0;
  102934. break $label0$0;
  102935. }
  102936. if (B.BinaryOperator_tDf0 === operator) {
  102937. t1 = B.CalculationOperator_KrC0;
  102938. break $label0$0;
  102939. }
  102940. if (B.BinaryOperator_wkM0 === operator) {
  102941. t1 = B.CalculationOperator_LPB0;
  102942. break $label0$0;
  102943. }
  102944. if (B.BinaryOperator_ehp0 === operator) {
  102945. t1 = B.CalculationOperator_wFL0;
  102946. break $label0$0;
  102947. }
  102948. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102949. }
  102950. return t1;
  102951. },
  102952. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102953. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102954. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102955. t2 = i - 1;
  102956. previous = elements[t2];
  102957. current = elements[i];
  102958. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102959. continue;
  102960. t1 = node.contents;
  102961. previousNode = t1[t2];
  102962. currentNode = t1[i];
  102963. if (currentNode instanceof A.UnaryOperationExpression0) {
  102964. _0_2 = currentNode.operator;
  102965. if (B.UnaryOperator_hCO0 !== _0_2)
  102966. t1 = B.UnaryOperator_n2K0 === _0_2;
  102967. else
  102968. t1 = true;
  102969. } else
  102970. t1 = false;
  102971. if (!t1)
  102972. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102973. else
  102974. t1 = true;
  102975. if (t1)
  102976. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102977. else
  102978. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102979. }
  102980. },
  102981. visitInterpolatedFunctionExpression$1(_, node) {
  102982. var result, _this = this,
  102983. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102984. oldInFunction = _this._evaluate0$_inFunction;
  102985. _this._evaluate0$_inFunction = true;
  102986. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102987. _this._evaluate0$_inFunction = oldInFunction;
  102988. return result;
  102989. },
  102990. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102991. var oldInDependency, result, _this = this,
  102992. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102993. $name = callable.declaration.name;
  102994. if ($name !== "@content")
  102995. $name += "()";
  102996. oldInDependency = _this._evaluate0$_inDependency;
  102997. _this._evaluate0$_inDependency = callable.inDependency;
  102998. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102999. _this._evaluate0$_inDependency = oldInDependency;
  103000. return result;
  103001. },
  103002. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  103003. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  103004. if (callable instanceof A.BuiltInCallable0)
  103005. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  103006. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  103007. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  103008. else if (callable instanceof A.PlainCssCallable0) {
  103009. t1 = $arguments.named;
  103010. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  103011. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  103012. buffer = new A.StringBuffer(callable.name + "(");
  103013. try {
  103014. first = true;
  103015. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  103016. argument = t1[_i];
  103017. if (first)
  103018. first = false;
  103019. else
  103020. buffer._contents += ", ";
  103021. t3 = buffer;
  103022. t4 = argument;
  103023. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  103024. t3._contents += t4;
  103025. }
  103026. restArg = $arguments.rest;
  103027. if (restArg != null) {
  103028. rest = restArg.accept$1(_this);
  103029. if (!first)
  103030. buffer._contents += ", ";
  103031. t1 = buffer;
  103032. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  103033. t1._contents += t2;
  103034. }
  103035. } catch (exception) {
  103036. t1 = A.unwrapException(exception);
  103037. if (type$.SassRuntimeException_2._is(t1)) {
  103038. error = t1;
  103039. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  103040. throw exception;
  103041. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  103042. } else
  103043. throw exception;
  103044. }
  103045. t1 = buffer;
  103046. t2 = A.Primitives_stringFromCharCode(41);
  103047. t1._contents += t2;
  103048. t2 = buffer._contents;
  103049. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  103050. } else
  103051. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  103052. },
  103053. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  103054. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  103055. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  103056. oldCallableNode = _this._evaluate0$_callableNode;
  103057. _this._evaluate0$_callableNode = nodeWithSpan;
  103058. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  103059. _box_0.callback = _box_0.overload = null;
  103060. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  103061. _box_0.overload = _0_0._0;
  103062. _box_0.callback = _0_0._1;
  103063. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  103064. parameters = _box_0.overload.parameters;
  103065. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  103066. parameter = parameters[i];
  103067. t2 = evaluated._values[2];
  103068. t3 = evaluated._values[0].remove$1(0, parameter.name);
  103069. if (t3 == null) {
  103070. t3 = parameter.defaultValue;
  103071. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  103072. }
  103073. t2.push(t3);
  103074. }
  103075. if (_box_0.overload.restParameter != null) {
  103076. if (evaluated._values[2].length > t1) {
  103077. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  103078. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  103079. } else
  103080. rest = B.List_empty21;
  103081. t1 = evaluated._values[0];
  103082. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_3_undecided0 ? B.ListSeparator_z0K0 : evaluated._values[4]);
  103083. evaluated._values[2].push(argumentList);
  103084. } else
  103085. argumentList = null;
  103086. result = null;
  103087. try {
  103088. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  103089. } catch (exception) {
  103090. t1 = A.unwrapException(exception);
  103091. if (t1 instanceof A.SassException0)
  103092. throw exception;
  103093. else {
  103094. error = t1;
  103095. stackTrace = A.getTraceFromException(exception);
  103096. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  103097. }
  103098. }
  103099. _this._evaluate0$_callableNode = oldCallableNode;
  103100. if (argumentList == null)
  103101. return result;
  103102. if (evaluated._values[0].__js_helper$_length === 0)
  103103. return result;
  103104. if (argumentList._argument_list$_wereKeywordsAccessed)
  103105. return result;
  103106. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("parameter", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence0(evaluated._values[0].get$keys(0).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure7(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  103107. },
  103108. _evaluate0$_evaluateArguments$1($arguments) {
  103109. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  103110. positional = A._setArrayType([], type$.JSArray_Value_2),
  103111. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  103112. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  103113. expression = t1[_i];
  103114. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  103115. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  103116. positionalNodes.push(nodeForSpan);
  103117. }
  103118. t1 = type$.String;
  103119. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  103120. t2 = type$.AstNode_2;
  103121. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  103122. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103123. t4 = t3.get$current(t3);
  103124. $name = t4._0;
  103125. value = t4._1;
  103126. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  103127. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  103128. namedNodes.$indexSet(0, $name, nodeForSpan);
  103129. }
  103130. restArgs = $arguments.rest;
  103131. if (restArgs == null)
  103132. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_3_undecided0]);
  103133. rest = restArgs.accept$1(_this);
  103134. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  103135. if (rest instanceof A.SassMap0) {
  103136. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  103137. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  103138. for (t4 = rest._map0$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString_2; t4.moveNext$0();)
  103139. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  103140. namedNodes.addAll$1(0, t3);
  103141. separator = B.ListSeparator_undecided_null_3_undecided0;
  103142. } else if (rest instanceof A.SassList0) {
  103143. t3 = rest._list1$_contents;
  103144. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure8(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
  103145. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  103146. separator = rest._list1$_separator;
  103147. if (rest instanceof A.SassArgumentList0) {
  103148. rest._argument_list$_wereKeywordsAccessed = true;
  103149. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  103150. }
  103151. } else {
  103152. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  103153. positionalNodes.push(restNodeForSpan);
  103154. separator = B.ListSeparator_undecided_null_3_undecided0;
  103155. }
  103156. keywordRestArgs = $arguments.keywordRest;
  103157. if (keywordRestArgs == null)
  103158. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  103159. keywordRest = keywordRestArgs.accept$1(_this);
  103160. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  103161. if (keywordRest instanceof A.SassMap0) {
  103162. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  103163. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  103164. for (t2 = keywordRest._map0$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString_2; t2.moveNext$0();)
  103165. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  103166. namedNodes.addAll$1(0, t1);
  103167. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  103168. } else
  103169. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  103170. },
  103171. _evaluate0$_evaluateMacroArguments$1(invocation) {
  103172. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  103173. t1 = invocation.$arguments,
  103174. restArgs_ = t1.rest;
  103175. if (restArgs_ == null)
  103176. return new A._Record_2(t1.positional, t1.named);
  103177. t2 = t1.positional;
  103178. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  103179. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  103180. rest = restArgs_.accept$1(_this);
  103181. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  103182. if (rest instanceof A.SassMap0)
  103183. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  103184. else if (rest instanceof A.SassList0) {
  103185. t2 = rest._list1$_contents;
  103186. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure8(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
  103187. if (rest instanceof A.SassArgumentList0) {
  103188. rest._argument_list$_wereKeywordsAccessed = true;
  103189. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  103190. }
  103191. } else
  103192. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  103193. keywordRestArgs_ = t1.keywordRest;
  103194. if (keywordRestArgs_ == null)
  103195. return new A._Record_2(positional, named);
  103196. keywordRest = keywordRestArgs_.accept$1(_this);
  103197. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  103198. if (keywordRest instanceof A.SassMap0) {
  103199. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  103200. return new A._Record_2(positional, named);
  103201. } else
  103202. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  103203. },
  103204. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  103205. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  103206. },
  103207. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  103208. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  103209. },
  103210. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  103211. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  103212. },
  103213. visitSelectorExpression$1(_, node) {
  103214. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  103215. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  103216. return t1 == null ? B.C__SassNull0 : t1;
  103217. },
  103218. visitStringExpression$1(_, node) {
  103219. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  103220. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  103221. _this._evaluate0$_inSupportsDeclaration = false;
  103222. t1 = A._setArrayType([], type$.JSArray_String);
  103223. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  103224. value = t2[_i];
  103225. $label0$0: {
  103226. if (typeof value == "string") {
  103227. t4 = value;
  103228. break $label0$0;
  103229. }
  103230. if (value instanceof A.Expression0) {
  103231. _0_0 = value.accept$1(_this);
  103232. $label1$1: {
  103233. if (_0_0 instanceof A.SassString0) {
  103234. text = _0_0._string0$_text;
  103235. t4 = text;
  103236. break $label1$1;
  103237. }
  103238. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  103239. break $label1$1;
  103240. }
  103241. break $label0$0;
  103242. }
  103243. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  103244. }
  103245. t1.push(t4);
  103246. }
  103247. t1 = B.JSArray_methods.join$0(t1);
  103248. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  103249. return new A.SassString0(t1, node.hasQuotes);
  103250. },
  103251. visitSupportsExpression$1(_, expression) {
  103252. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  103253. },
  103254. visitCssAtRule$1(node) {
  103255. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  103256. if (_this._evaluate0$_declarationName != null)
  103257. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  103258. if (node.isChildless) {
  103259. _this._evaluate0$_copyParentAfterSibling$0();
  103260. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  103261. return;
  103262. }
  103263. wasInKeyframes = _this._evaluate0$_inKeyframes;
  103264. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  103265. t1 = node.name;
  103266. if (A.unvendor0(t1.value) === "keyframes")
  103267. _this._evaluate0$_inKeyframes = true;
  103268. else
  103269. _this._evaluate0$_inUnknownAtRule = true;
  103270. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure4(), type$.ModifiableCssAtRule_2, type$.Null);
  103271. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103272. _this._evaluate0$_inKeyframes = wasInKeyframes;
  103273. },
  103274. visitCssComment$1(node) {
  103275. var _this = this,
  103276. _s8_ = "__parent",
  103277. _s13_ = "_endOfImports";
  103278. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
  103279. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  103280. _this._evaluate0$_copyParentAfterSibling$0();
  103281. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  103282. },
  103283. visitCssDeclaration$1(node) {
  103284. this._evaluate0$_copyParentAfterSibling$0();
  103285. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsSassScript, node.valueSpanForMap));
  103286. },
  103287. visitCssImport$1(node) {
  103288. var t1, _this = this,
  103289. _s8_ = "__parent",
  103290. _s5_ = "_root",
  103291. _s13_ = "_endOfImports",
  103292. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  103293. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_)) {
  103294. _this._evaluate0$_copyParentAfterSibling$0();
  103295. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  103296. } else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
  103297. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  103298. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  103299. } else {
  103300. t1 = _this._evaluate0$_outOfOrderImports;
  103301. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  103302. }
  103303. },
  103304. visitCssKeyframeBlock$1(node) {
  103305. this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure3(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure4(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  103306. },
  103307. visitCssMediaRule$1(node) {
  103308. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  103309. if (_this._evaluate0$_declarationName != null)
  103310. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  103311. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  103312. t1 = mergedQueries == null;
  103313. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  103314. return;
  103315. if (t1)
  103316. mergedSources = B.Set_empty6;
  103317. else {
  103318. t2 = _this._evaluate0$_mediaQuerySources;
  103319. t2.toString;
  103320. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  103321. t3 = _this._evaluate0$_mediaQueries;
  103322. t3.toString;
  103323. t2.addAll$1(0, t3);
  103324. t2.addAll$1(0, node.queries);
  103325. mergedSources = t2;
  103326. }
  103327. t1 = t1 ? node.queries : mergedQueries;
  103328. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure6(_this, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure7(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null);
  103329. },
  103330. visitCssStyleRule$1(node) {
  103331. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  103332. _s8_ = "__parent";
  103333. if (_this._evaluate0$_declarationName != null)
  103334. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  103335. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  103336. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  103337. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  103338. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  103339. _0_0 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  103340. $label0$0: {
  103341. if (_0_0 == null) {
  103342. t1 = true;
  103343. break $label0$0;
  103344. }
  103345. if (_0_0.fromPlainCss) {
  103346. t1 = false;
  103347. break $label0$0;
  103348. }
  103349. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  103350. break $label0$0;
  103351. }
  103352. t2 = node._style_rule0$_selector._box0$_inner;
  103353. if (t1) {
  103354. t2 = t2.value;
  103355. t3 = styleRule == null ? _null : styleRule.originalSelector;
  103356. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  103357. } else
  103358. originalSelector = t2.value;
  103359. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  103360. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  103361. _this._evaluate0$_atRootExcludingStyleRule = false;
  103362. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  103363. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  103364. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103365. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  103366. t2 = J.getInterceptor$asx(t1);
  103367. _1_1 = t2.get$length(t1);
  103368. if (_1_1 >= 1) {
  103369. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  103370. t1 = styleRule == null;
  103371. } else {
  103372. lastChild = _null;
  103373. t1 = false;
  103374. }
  103375. if (t1)
  103376. lastChild.isGroupEnd = true;
  103377. },
  103378. visitCssStylesheet$1(node) {
  103379. var t1;
  103380. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  103381. t1.get$current(t1).accept$1(this);
  103382. },
  103383. visitCssSupportsRule$1(node) {
  103384. var _this = this;
  103385. if (_this._evaluate0$_declarationName != null)
  103386. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  103387. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
  103388. },
  103389. _evaluate0$_handleReturn$1$2(list, callback) {
  103390. var t1, _i, _0_0;
  103391. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  103392. _0_0 = callback.call$1(list[_i]);
  103393. if (_0_0 != null)
  103394. return _0_0;
  103395. }
  103396. return null;
  103397. },
  103398. _evaluate0$_handleReturn$2(list, callback) {
  103399. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  103400. },
  103401. _evaluate0$_withEnvironment$1$2(environment, callback) {
  103402. var result,
  103403. oldEnvironment = this._evaluate0$_environment;
  103404. this._evaluate0$_environment = environment;
  103405. result = callback.call$0();
  103406. this._evaluate0$_environment = oldEnvironment;
  103407. return result;
  103408. },
  103409. _evaluate0$_withEnvironment$2(environment, callback) {
  103410. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  103411. },
  103412. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  103413. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  103414. t1 = trim ? A.trimAscii0(result, true) : result;
  103415. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  103416. },
  103417. _evaluate0$_interpolationToValue$1(interpolation) {
  103418. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  103419. },
  103420. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  103421. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  103422. },
  103423. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  103424. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  103425. },
  103426. _evaluate0$_performInterpolation$1(interpolation) {
  103427. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  103428. },
  103429. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  103430. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  103431. map = _0_0._1;
  103432. map.toString;
  103433. return new A._Record_2(_0_0._0, map);
  103434. },
  103435. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  103436. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this,
  103437. targetOffsets = sourceMap ? A._setArrayType([], type$.JSArray_int) : null,
  103438. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  103439. _this._evaluate0$_inSupportsDeclaration = false;
  103440. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetOffsets == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  103441. value = t1[_i];
  103442. if (!first)
  103443. if (!t4)
  103444. targetOffsets.push(t7.length);
  103445. if (typeof value == "string") {
  103446. t7 += value;
  103447. continue;
  103448. }
  103449. t3._as(value);
  103450. result = value.accept$1(_this);
  103451. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  103452. result0 = A.List_List$from([""], false, t6);
  103453. result0.$flags = 3;
  103454. t8 = $.$get$namesByColor0();
  103455. _this._evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_jCK0, new A.StringExpression0(new A.Interpolation0(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  103456. }
  103457. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  103458. }
  103459. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  103460. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetOffsets, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  103461. },
  103462. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  103463. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  103464. },
  103465. _evaluate0$_serialize$2(value, nodeWithSpan) {
  103466. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  103467. },
  103468. _evaluate0$_expressionNode$1(expression) {
  103469. var t1;
  103470. if (expression instanceof A.VariableExpression0) {
  103471. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  103472. return t1 == null ? expression : t1;
  103473. } else
  103474. return expression;
  103475. },
  103476. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  103477. var oldParent, result, _this = this;
  103478. _this._evaluate0$_addChild$2$through(node, through);
  103479. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  103480. _this._evaluate0$__parent = node;
  103481. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  103482. _this._evaluate0$__parent = oldParent;
  103483. return result;
  103484. },
  103485. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  103486. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  103487. },
  103488. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  103489. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  103490. },
  103491. _evaluate0$_copyParentAfterSibling$0() {
  103492. var t1, grandparent, newParent, _this = this,
  103493. _s8_ = "__parent",
  103494. _0_0 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent;
  103495. if (_0_0 != null) {
  103496. t1 = _0_0.children;
  103497. t1 = t1.get$last(t1) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  103498. grandparent = _0_0;
  103499. } else {
  103500. grandparent = null;
  103501. t1 = false;
  103502. }
  103503. if (t1) {
  103504. newParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).copyWithoutChildren$0();
  103505. grandparent.addChild$1(newParent);
  103506. _this._evaluate0$__parent = newParent;
  103507. }
  103508. },
  103509. _evaluate0$_addChild$2$through(node, through) {
  103510. var _0_0, grandparent, t1,
  103511. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  103512. if (through != null) {
  103513. for (; through.call$1($parent); $parent = _0_0) {
  103514. _0_0 = $parent._node$_parent;
  103515. if (_0_0 == null)
  103516. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  103517. }
  103518. if ($parent.get$hasFollowingSibling()) {
  103519. grandparent = $parent._node$_parent;
  103520. t1 = grandparent.children;
  103521. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  103522. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  103523. else {
  103524. $parent = $parent.copyWithoutChildren$0();
  103525. grandparent.addChild$1($parent);
  103526. }
  103527. }
  103528. }
  103529. $parent.addChild$1(node);
  103530. },
  103531. _evaluate0$_addChild$1(node) {
  103532. return this._evaluate0$_addChild$2$through(node, null);
  103533. },
  103534. _evaluate0$_withStyleRule$1$2(rule, callback) {
  103535. var result,
  103536. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  103537. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  103538. result = callback.call$0();
  103539. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  103540. return result;
  103541. },
  103542. _evaluate0$_withStyleRule$2(rule, callback) {
  103543. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  103544. },
  103545. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  103546. var result, _this = this,
  103547. oldMediaQueries = _this._evaluate0$_mediaQueries,
  103548. oldSources = _this._evaluate0$_mediaQuerySources;
  103549. _this._evaluate0$_mediaQueries = queries;
  103550. _this._evaluate0$_mediaQuerySources = sources;
  103551. result = callback.call$0();
  103552. _this._evaluate0$_mediaQueries = oldMediaQueries;
  103553. _this._evaluate0$_mediaQuerySources = oldSources;
  103554. return result;
  103555. },
  103556. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  103557. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  103558. },
  103559. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  103560. var oldMember, result, _this = this,
  103561. t1 = _this._evaluate0$_stack;
  103562. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  103563. oldMember = _this._evaluate0$_member;
  103564. _this._evaluate0$_member = member;
  103565. result = callback.call$0();
  103566. _this._evaluate0$_member = oldMember;
  103567. t1.pop();
  103568. return result;
  103569. },
  103570. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  103571. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  103572. },
  103573. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  103574. var t1;
  103575. if (value instanceof A.SassNumber0)
  103576. t1 = value.asSlash != null;
  103577. else
  103578. t1 = false;
  103579. if (t1)
  103580. this._evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_v81);
  103581. return value.withoutSlash$0();
  103582. },
  103583. _evaluate0$_stackFrame$2(member, span) {
  103584. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  103585. },
  103586. _evaluate0$_stackTrace$1(span) {
  103587. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  103588. t1 = A._setArrayType([], type$.JSArray_Frame);
  103589. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  103590. t4 = t2[_i];
  103591. nodeWithSpan = t4._1;
  103592. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  103593. }
  103594. if (span != null)
  103595. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  103596. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  103597. },
  103598. _evaluate0$_stackTrace$0() {
  103599. return this._evaluate0$_stackTrace$1(null);
  103600. },
  103601. _evaluate0$_warn$3(message, span, deprecation) {
  103602. var trace, t1, _this = this;
  103603. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  103604. return;
  103605. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  103606. return;
  103607. trace = _this._evaluate0$_stackTrace$1(span);
  103608. t1 = _this._evaluate0$_logger;
  103609. if (deprecation == null)
  103610. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  103611. else
  103612. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  103613. },
  103614. _evaluate0$_warn$2(message, span) {
  103615. return this._evaluate0$_warn$3(message, span, null);
  103616. },
  103617. _evaluate0$_exception$2(message, span) {
  103618. var t1, t2;
  103619. if (span == null) {
  103620. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  103621. t1 = t1.get$span(t1);
  103622. } else
  103623. t1 = span;
  103624. t2 = this._evaluate0$_stackTrace$1(span);
  103625. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  103626. },
  103627. _evaluate0$_exception$1(message) {
  103628. return this._evaluate0$_exception$2(message, null);
  103629. },
  103630. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  103631. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  103632. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  103633. },
  103634. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  103635. var error, stackTrace, t1, exception;
  103636. try {
  103637. t1 = callback.call$0();
  103638. return t1;
  103639. } catch (exception) {
  103640. t1 = A.unwrapException(exception);
  103641. if (t1 instanceof A.SassScriptException0) {
  103642. error = t1;
  103643. stackTrace = A.getTraceFromException(exception);
  103644. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  103645. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  103646. } else
  103647. throw exception;
  103648. }
  103649. },
  103650. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  103651. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  103652. },
  103653. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  103654. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  103655. },
  103656. _evaluate0$_addExceptionTrace$1$1(callback) {
  103657. var error, stackTrace, t1, exception, t2;
  103658. try {
  103659. t1 = callback.call$0();
  103660. return t1;
  103661. } catch (exception) {
  103662. t1 = A.unwrapException(exception);
  103663. if (type$.SassRuntimeException_2._is(t1))
  103664. throw exception;
  103665. else if (t1 instanceof A.SassException0) {
  103666. error = t1;
  103667. stackTrace = A.getTraceFromException(exception);
  103668. t1 = error;
  103669. t2 = J.getInterceptor$z(t1);
  103670. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  103671. } else
  103672. throw exception;
  103673. }
  103674. },
  103675. _evaluate0$_addExceptionTrace$1(callback) {
  103676. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  103677. },
  103678. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  103679. var error, stackTrace, t1, exception, t2, t3;
  103680. try {
  103681. t1 = callback.call$0();
  103682. return t1;
  103683. } catch (exception) {
  103684. t1 = A.unwrapException(exception);
  103685. if (type$.SassRuntimeException_2._is(t1)) {
  103686. error = t1;
  103687. stackTrace = A.getTraceFromException(exception);
  103688. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  103689. throw exception;
  103690. t1 = error._span_exception$_message;
  103691. t2 = nodeWithSpan.get$span(nodeWithSpan);
  103692. t3 = this._evaluate0$_stackTrace$0();
  103693. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  103694. } else
  103695. throw exception;
  103696. }
  103697. },
  103698. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  103699. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  103700. },
  103701. _evaluate0$_getErrorMessage$1(error) {
  103702. var t1, exception;
  103703. if (type$.Error._is(error))
  103704. return error.toString$0(0);
  103705. try {
  103706. t1 = A._asString(J.get$message$x(error));
  103707. return t1;
  103708. } catch (exception) {
  103709. t1 = J.toString$0$(error);
  103710. return t1;
  103711. }
  103712. },
  103713. $isExpressionVisitor: 1,
  103714. $isStatementVisitor: 1
  103715. };
  103716. A._EvaluateVisitor_closure25.prototype = {
  103717. call$1($arguments) {
  103718. var module, t2,
  103719. t1 = J.getInterceptor$asx($arguments),
  103720. variable = t1.$index($arguments, 0).assertString$1("name");
  103721. t1 = t1.$index($arguments, 1).get$realNull();
  103722. module = t1 == null ? null : t1.assertString$1("module");
  103723. t1 = this.$this._evaluate0$_environment;
  103724. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103725. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103726. },
  103727. $signature: 11
  103728. };
  103729. A._EvaluateVisitor_closure26.prototype = {
  103730. call$1($arguments) {
  103731. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  103732. t1 = this.$this._evaluate0$_environment;
  103733. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103734. },
  103735. $signature: 11
  103736. };
  103737. A._EvaluateVisitor_closure27.prototype = {
  103738. call$1($arguments) {
  103739. var module, t2, t3, t4,
  103740. t1 = J.getInterceptor$asx($arguments),
  103741. variable = t1.$index($arguments, 0).assertString$1("name");
  103742. t1 = t1.$index($arguments, 1).get$realNull();
  103743. module = t1 == null ? null : t1.assertString$1("module");
  103744. t1 = this.$this;
  103745. t2 = t1._evaluate0$_environment;
  103746. t3 = variable._string0$_text;
  103747. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  103748. return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103749. },
  103750. $signature: 11
  103751. };
  103752. A._EvaluateVisitor_closure28.prototype = {
  103753. call$1($arguments) {
  103754. var module, t2,
  103755. t1 = J.getInterceptor$asx($arguments),
  103756. variable = t1.$index($arguments, 0).assertString$1("name");
  103757. t1 = t1.$index($arguments, 1).get$realNull();
  103758. module = t1 == null ? null : t1.assertString$1("module");
  103759. t1 = this.$this._evaluate0$_environment;
  103760. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103761. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103762. },
  103763. $signature: 11
  103764. };
  103765. A._EvaluateVisitor_closure29.prototype = {
  103766. call$1($arguments) {
  103767. var t1 = this.$this._evaluate0$_environment;
  103768. if (!t1._environment0$_inMixin)
  103769. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  103770. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103771. },
  103772. $signature: 11
  103773. };
  103774. A._EvaluateVisitor_closure30.prototype = {
  103775. call$1($arguments) {
  103776. var t2, t3, t4,
  103777. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103778. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  103779. if (module == null)
  103780. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  103781. t1 = type$.Value_2;
  103782. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103783. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103784. t4 = t3.get$current(t3);
  103785. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  103786. }
  103787. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103788. },
  103789. $signature: 34
  103790. };
  103791. A._EvaluateVisitor_closure31.prototype = {
  103792. call$1($arguments) {
  103793. var t3, t4, t5,
  103794. t1 = this.$this,
  103795. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103796. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103797. if (module == null)
  103798. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103799. t2 = type$.Value_2;
  103800. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103801. for (t4 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t4 = t4.get$iterator(t4), t1 = t1._evaluate0$_compileContext; t4.moveNext$0();) {
  103802. t5 = t4.get$current(t4);
  103803. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  103804. }
  103805. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103806. },
  103807. $signature: 34
  103808. };
  103809. A._EvaluateVisitor_closure32.prototype = {
  103810. call$1($arguments) {
  103811. var t3, t4, t5,
  103812. t1 = this.$this,
  103813. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103814. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103815. if (module == null)
  103816. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103817. t2 = type$.Value_2;
  103818. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103819. for (t4 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t4 = t4.get$iterator(t4), t1 = t1._evaluate0$_compileContext; t4.moveNext$0();) {
  103820. t5 = t4.get$current(t4);
  103821. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  103822. }
  103823. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103824. },
  103825. $signature: 34
  103826. };
  103827. A._EvaluateVisitor_closure33.prototype = {
  103828. call$1($arguments) {
  103829. var module, t2, callable,
  103830. t1 = J.getInterceptor$asx($arguments),
  103831. $name = t1.$index($arguments, 0).assertString$1("name"),
  103832. css = t1.$index($arguments, 1).get$isTruthy();
  103833. t1 = t1.$index($arguments, 2).get$realNull();
  103834. module = t1 == null ? null : t1.assertString$1("module");
  103835. if (css) {
  103836. if (module != null)
  103837. throw A.wrapException(string$.x24css_a);
  103838. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._evaluate0$_compileContext);
  103839. }
  103840. t1 = this.$this;
  103841. t2 = t1._evaluate0$_callableNode;
  103842. t2.toString;
  103843. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  103844. if (callable == null)
  103845. throw A.wrapException("Function not found: " + $name.toString$0(0));
  103846. return new A.SassFunction0(callable, t1._evaluate0$_compileContext);
  103847. },
  103848. $signature: 256
  103849. };
  103850. A._EvaluateVisitor__closure10.prototype = {
  103851. call$0() {
  103852. var local,
  103853. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103854. t1 = this.module,
  103855. namespace = t1 == null ? null : t1._string0$_text;
  103856. t1 = this.$this;
  103857. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  103858. if (local != null || namespace != null)
  103859. return local;
  103860. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  103861. },
  103862. $signature: 87
  103863. };
  103864. A._EvaluateVisitor_closure34.prototype = {
  103865. call$1($arguments) {
  103866. var module, t2, callable,
  103867. t1 = J.getInterceptor$asx($arguments),
  103868. $name = t1.$index($arguments, 0).assertString$1("name");
  103869. t1 = t1.$index($arguments, 1).get$realNull();
  103870. module = t1 == null ? null : t1.assertString$1("module");
  103871. t1 = this.$this;
  103872. t2 = t1._evaluate0$_callableNode;
  103873. t2.toString;
  103874. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  103875. if (callable == null)
  103876. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  103877. return new A.SassMixin0(callable, t1._evaluate0$_compileContext);
  103878. },
  103879. $signature: 248
  103880. };
  103881. A._EvaluateVisitor__closure9.prototype = {
  103882. call$0() {
  103883. var t1 = this.$this._evaluate0$_environment,
  103884. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103885. t3 = this.module;
  103886. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  103887. },
  103888. $signature: 87
  103889. };
  103890. A._EvaluateVisitor_closure35.prototype = {
  103891. call$1($arguments) {
  103892. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  103893. t1 = J.getInterceptor$asx($arguments),
  103894. $function = t1.$index($arguments, 0),
  103895. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103896. t1 = this.$this;
  103897. t2 = t1._evaluate0$_callableNode;
  103898. t2.toString;
  103899. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  103900. t4 = type$.String;
  103901. t5 = type$.Expression_2;
  103902. t6 = t2.get$span(t2);
  103903. t7 = t2.get$span(t2);
  103904. args._argument_list$_wereKeywordsAccessed = true;
  103905. t8 = args._argument_list$_keywords;
  103906. if (t8.get$isEmpty(t8))
  103907. t2 = null;
  103908. else {
  103909. t9 = type$.Value_2;
  103910. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  103911. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  103912. t11 = t8.get$current(t8);
  103913. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  103914. }
  103915. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  103916. }
  103917. invocation = new A.ArgumentList0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  103918. if ($function instanceof A.SassString0) {
  103919. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_LIY);
  103920. callableNode = t1._evaluate0$_callableNode;
  103921. t2 = $function._string0$_text;
  103922. t3 = callableNode.get$span(callableNode);
  103923. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103924. }
  103925. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103926. if (type$.Callable_2._is(callable)) {
  103927. t2 = t1._evaluate0$_callableNode;
  103928. t2.toString;
  103929. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103930. } else
  103931. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103932. },
  103933. $signature: 3
  103934. };
  103935. A._EvaluateVisitor_closure36.prototype = {
  103936. call$1($arguments) {
  103937. var withMap, t2, t3, values, span, configuration,
  103938. t1 = J.getInterceptor$asx($arguments),
  103939. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103940. t1 = t1.$index($arguments, 1).get$realNull();
  103941. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103942. t1 = this.$this;
  103943. t2 = t1._evaluate0$_callableNode;
  103944. t2.toString;
  103945. if (withMap != null) {
  103946. t3 = {};
  103947. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103948. span = t2.get$span(t2);
  103949. t3.privateDeprecation = false;
  103950. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(t3, values, span, t2));
  103951. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103952. } else
  103953. configuration = B.Configuration_Map_empty_null0;
  103954. t3 = t2.get$span(t2);
  103955. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103956. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103957. },
  103958. $signature: 198
  103959. };
  103960. A._EvaluateVisitor__closure7.prototype = {
  103961. call$2(variable, value) {
  103962. var _this = this,
  103963. t1 = variable.assertString$1("with key"),
  103964. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103965. t1 = _this.values;
  103966. if (t1.containsKey$1($name))
  103967. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103968. else if (B.JSString_methods.startsWith$1($name, "-") && !_this._box_0.privateDeprecation) {
  103969. _this._box_0.privateDeprecation = true;
  103970. A.warnForDeprecation0("Configuring private variables (such as $" + $name + string$.x29x20is_dT, B.Deprecation_lkJ);
  103971. }
  103972. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, _this.span, _this.callableNode));
  103973. },
  103974. $signature: 97
  103975. };
  103976. A._EvaluateVisitor__closure8.prototype = {
  103977. call$2(module, _) {
  103978. var t1 = this.$this;
  103979. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103980. },
  103981. $signature: 111
  103982. };
  103983. A._EvaluateVisitor_closure37.prototype = {
  103984. call$1($arguments) {
  103985. var callableNode, t2, t3, t4, t5, callable, $content,
  103986. t1 = J.getInterceptor$asx($arguments),
  103987. mixin = t1.$index($arguments, 0),
  103988. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103989. t1 = this.$this;
  103990. callableNode = t1._evaluate0$_callableNode;
  103991. t2 = callableNode.get$span(callableNode);
  103992. t3 = callableNode.get$span(callableNode);
  103993. t4 = type$.Expression_2;
  103994. t5 = A.List_List$unmodifiable(B.List_empty22, t4);
  103995. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103996. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103997. $content = t1._evaluate0$_environment._environment0$_content;
  103998. if (type$.Callable_2._is(callable))
  103999. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  104000. else
  104001. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  104002. },
  104003. $signature: 198
  104004. };
  104005. A._EvaluateVisitor_run_closure1.prototype = {
  104006. call$0() {
  104007. var module, _this = this,
  104008. t1 = _this.node,
  104009. t2 = t1.span,
  104010. _0_0 = t2.get$sourceUrl(t2),
  104011. url = null;
  104012. if (_0_0 != null) {
  104013. url = _0_0;
  104014. t2 = _this.$this;
  104015. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  104016. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  104017. t2._evaluate0$_loadedUrls.add$1(0, url);
  104018. }
  104019. t2 = _this.$this;
  104020. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  104021. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  104022. },
  104023. $signature: 451
  104024. };
  104025. A._EvaluateVisitor_run__closure1.prototype = {
  104026. call$0() {
  104027. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  104028. },
  104029. $signature: 452
  104030. };
  104031. A._EvaluateVisitor__loadModule_closure3.prototype = {
  104032. call$0() {
  104033. return this.callback.call$2(this._box_0.builtInModule, false);
  104034. },
  104035. $signature: 0
  104036. };
  104037. A._EvaluateVisitor__loadModule_closure4.prototype = {
  104038. call$0() {
  104039. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  104040. t2 = _this.$this,
  104041. t3 = _this.nodeWithSpan,
  104042. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  104043. stylesheet = _1_0._0;
  104044. importer = _1_0._1;
  104045. t4 = stylesheet.span;
  104046. canonicalUrl = t4.get$sourceUrl(t4);
  104047. if (canonicalUrl != null) {
  104048. t4 = t2._evaluate0$_activeModules;
  104049. if (t4.containsKey$1(canonicalUrl)) {
  104050. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  104051. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  104052. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  104053. } else
  104054. t4.$indexSet(0, canonicalUrl, t3);
  104055. }
  104056. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  104057. oldInDependency = t2._evaluate0$_inDependency;
  104058. t2._evaluate0$_inDependency = _1_0._2;
  104059. t1.module = null;
  104060. try {
  104061. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  104062. } finally {
  104063. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  104064. t2._evaluate0$_inDependency = oldInDependency;
  104065. }
  104066. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  104067. },
  104068. $signature: 1
  104069. };
  104070. A._EvaluateVisitor__loadModule__closure3.prototype = {
  104071. call$1(previousLoad) {
  104072. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  104073. },
  104074. $signature: 98
  104075. };
  104076. A._EvaluateVisitor__loadModule__closure4.prototype = {
  104077. call$0() {
  104078. return this.callback.call$2(this._box_1.module, this.firstLoad);
  104079. },
  104080. $signature: 0
  104081. };
  104082. A._EvaluateVisitor__execute_closure1.prototype = {
  104083. call$0() {
  104084. var t3, t4, t5, t6, _this = this,
  104085. t1 = _this.$this,
  104086. oldImporter = t1._evaluate0$_importer,
  104087. oldStylesheet = t1._evaluate0$__stylesheet,
  104088. oldRoot = t1._evaluate0$__root,
  104089. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  104090. oldParent = t1._evaluate0$__parent,
  104091. oldEndOfImports = t1._evaluate0$__endOfImports,
  104092. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  104093. oldExtensionStore = t1._evaluate0$__extensionStore,
  104094. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  104095. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  104096. oldMediaQueries = t1._evaluate0$_mediaQueries,
  104097. oldDeclarationName = t1._evaluate0$_declarationName,
  104098. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  104099. oldInKeyframes = t1._evaluate0$_inKeyframes,
  104100. oldConfiguration = t1._evaluate0$_configuration;
  104101. t1._evaluate0$_importer = _this.importer;
  104102. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  104103. t4 = t3.span;
  104104. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  104105. t1._evaluate0$__endOfImports = 0;
  104106. t1._evaluate0$_outOfOrderImports = null;
  104107. t1._evaluate0$__extensionStore = _this.extensionStore;
  104108. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  104109. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  104110. t6 = _this.configuration;
  104111. if (t6 != null)
  104112. t1._evaluate0$_configuration = t6;
  104113. t1.visitStylesheet$1(0, t3);
  104114. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  104115. _this.css.__late_helper$_value = t3;
  104116. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  104117. t1._evaluate0$_importer = oldImporter;
  104118. t1._evaluate0$__stylesheet = oldStylesheet;
  104119. t1._evaluate0$__root = oldRoot;
  104120. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  104121. t1._evaluate0$__parent = oldParent;
  104122. t1._evaluate0$__endOfImports = oldEndOfImports;
  104123. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  104124. t1._evaluate0$__extensionStore = oldExtensionStore;
  104125. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  104126. t1._evaluate0$_mediaQueries = oldMediaQueries;
  104127. t1._evaluate0$_declarationName = oldDeclarationName;
  104128. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  104129. t1._evaluate0$_atRootExcludingStyleRule = t2;
  104130. t1._evaluate0$_inKeyframes = oldInKeyframes;
  104131. t1._evaluate0$_configuration = oldConfiguration;
  104132. },
  104133. $signature: 1
  104134. };
  104135. A._EvaluateVisitor__combineCss_closure3.prototype = {
  104136. call$1(module) {
  104137. return module.get$transitivelyContainsCss();
  104138. },
  104139. $signature: 106
  104140. };
  104141. A._EvaluateVisitor__combineCss_closure4.prototype = {
  104142. call$1(target) {
  104143. return !this.selectors.contains$1(0, target);
  104144. },
  104145. $signature: 14
  104146. };
  104147. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  104148. call$1(module) {
  104149. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  104150. if (!_this.seen.add$1(0, module))
  104151. return;
  104152. if (_this.clone)
  104153. module = module.cloneCss$0();
  104154. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  104155. upstream = t1[_i];
  104156. if (upstream.get$transitivelyContainsCss()) {
  104157. _1_0 = module.get$preModuleComments().$index(0, upstream);
  104158. if (_1_0 != null)
  104159. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  104160. _this.call$1(upstream);
  104161. }
  104162. }
  104163. _this.sorted.addFirst$1(module);
  104164. t1 = module.get$css(module);
  104165. statements = t1.get$children(t1);
  104166. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  104167. t1 = J.getInterceptor$ax(statements);
  104168. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  104169. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  104170. },
  104171. $signature: 680
  104172. };
  104173. A._EvaluateVisitor__extendModules_closure3.prototype = {
  104174. call$1(target) {
  104175. return !this.originalSelectors.contains$1(0, target);
  104176. },
  104177. $signature: 14
  104178. };
  104179. A._EvaluateVisitor__extendModules_closure4.prototype = {
  104180. call$0() {
  104181. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  104182. },
  104183. $signature: 246
  104184. };
  104185. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  104186. call$0() {
  104187. var t1, t2, t3, _i;
  104188. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104189. t1[_i].accept$1(t3);
  104190. },
  104191. $signature: 1
  104192. };
  104193. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  104194. call$0() {
  104195. var t1, t2, t3, _i;
  104196. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104197. t1[_i].accept$1(t3);
  104198. },
  104199. $signature: 0
  104200. };
  104201. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  104202. call$1(callback) {
  104203. var t1 = this.$this,
  104204. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  104205. t1._evaluate0$__parent = this.newParent;
  104206. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  104207. t1._evaluate0$__parent = oldParent;
  104208. },
  104209. $signature: 37
  104210. };
  104211. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  104212. call$1(callback) {
  104213. var t1 = this.$this,
  104214. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  104215. t1._evaluate0$_atRootExcludingStyleRule = true;
  104216. this.innerScope.call$1(callback);
  104217. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  104218. },
  104219. $signature: 37
  104220. };
  104221. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  104222. call$1(callback) {
  104223. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  104224. },
  104225. $signature: 37
  104226. };
  104227. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  104228. call$0() {
  104229. return this.innerScope.call$1(this.callback);
  104230. },
  104231. $signature: 1
  104232. };
  104233. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  104234. call$1(callback) {
  104235. var t1 = this.$this,
  104236. wasInKeyframes = t1._evaluate0$_inKeyframes;
  104237. t1._evaluate0$_inKeyframes = false;
  104238. this.innerScope.call$1(callback);
  104239. t1._evaluate0$_inKeyframes = wasInKeyframes;
  104240. },
  104241. $signature: 37
  104242. };
  104243. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  104244. call$1($parent) {
  104245. return $parent instanceof A.ModifiableCssAtRule0;
  104246. },
  104247. $signature: 245
  104248. };
  104249. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  104250. call$1(callback) {
  104251. var t1 = this.$this,
  104252. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  104253. t1._evaluate0$_inUnknownAtRule = false;
  104254. this.innerScope.call$1(callback);
  104255. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  104256. },
  104257. $signature: 37
  104258. };
  104259. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  104260. call$0() {
  104261. var t1, t2, t3, _i;
  104262. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104263. t1[_i].accept$1(t3);
  104264. return null;
  104265. },
  104266. $signature: 1
  104267. };
  104268. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  104269. call$0() {
  104270. var t1, t2, t3, _i;
  104271. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104272. t1[_i].accept$1(t3);
  104273. },
  104274. $signature: 1
  104275. };
  104276. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  104277. call$1(value) {
  104278. var t1 = this.$this,
  104279. t2 = this.nodeWithSpan;
  104280. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  104281. },
  104282. $signature: 64
  104283. };
  104284. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  104285. call$1(value) {
  104286. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  104287. },
  104288. $signature: 64
  104289. };
  104290. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  104291. call$0() {
  104292. var _this = this,
  104293. t1 = _this.$this;
  104294. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  104295. },
  104296. $signature: 43
  104297. };
  104298. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  104299. call$1(element) {
  104300. var t1;
  104301. this.setVariables.call$1(element);
  104302. t1 = this.$this;
  104303. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  104304. },
  104305. $signature: 196
  104306. };
  104307. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  104308. call$1(child) {
  104309. return child.accept$1(this.$this);
  104310. },
  104311. $signature: 113
  104312. };
  104313. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  104314. call$1(value) {
  104315. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  104316. },
  104317. $signature: 456
  104318. };
  104319. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  104320. call$0() {
  104321. var t2, t3, _i, _this = this,
  104322. t1 = _this.$this,
  104323. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104324. if (styleRule == null || t1._evaluate0$_inKeyframes || _this.name.value === "font-face")
  104325. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104326. t2[_i].accept$1(t1);
  104327. else
  104328. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, _this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  104329. },
  104330. $signature: 1
  104331. };
  104332. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  104333. call$0() {
  104334. var t1, t2, t3, _i;
  104335. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104336. t1[_i].accept$1(t3);
  104337. },
  104338. $signature: 1
  104339. };
  104340. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  104341. call$1(node) {
  104342. return node instanceof A.ModifiableCssStyleRule0;
  104343. },
  104344. $signature: 7
  104345. };
  104346. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  104347. call$0() {
  104348. return this.node.from.accept$1(this.$this).assertNumber$0();
  104349. },
  104350. $signature: 194
  104351. };
  104352. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  104353. call$0() {
  104354. return this.node.to.accept$1(this.$this).assertNumber$0();
  104355. },
  104356. $signature: 194
  104357. };
  104358. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  104359. call$0() {
  104360. return this.fromNumber.assertInt$0();
  104361. },
  104362. $signature: 10
  104363. };
  104364. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  104365. call$0() {
  104366. var t1 = this.fromNumber;
  104367. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  104368. },
  104369. $signature: 10
  104370. };
  104371. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  104372. call$0() {
  104373. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  104374. t1 = _this.$this,
  104375. t2 = _this.node,
  104376. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  104377. for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
  104378. t7 = t1._evaluate0$_environment;
  104379. t8 = t6.get$numeratorUnits(t6);
  104380. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  104381. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  104382. if (_0_0 != null)
  104383. return _0_0;
  104384. }
  104385. return null;
  104386. },
  104387. $signature: 43
  104388. };
  104389. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  104390. call$1(child) {
  104391. return child.accept$1(this.$this);
  104392. },
  104393. $signature: 113
  104394. };
  104395. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  104396. call$2(module, firstLoad) {
  104397. if (firstLoad)
  104398. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104399. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  104400. },
  104401. $signature: 111
  104402. };
  104403. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  104404. call$2(module, firstLoad) {
  104405. if (firstLoad)
  104406. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104407. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  104408. },
  104409. $signature: 111
  104410. };
  104411. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  104412. call$0() {
  104413. return A._setArrayType([], type$.JSArray_CssComment_2);
  104414. },
  104415. $signature: 141
  104416. };
  104417. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  104418. call$1(clause) {
  104419. var t1 = this.$this;
  104420. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  104421. },
  104422. $signature: 458
  104423. };
  104424. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  104425. call$0() {
  104426. var t1 = this.$this;
  104427. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  104428. },
  104429. $signature: 43
  104430. };
  104431. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  104432. call$1(child) {
  104433. return child.accept$1(this.$this);
  104434. },
  104435. $signature: 113
  104436. };
  104437. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  104438. call$0() {
  104439. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  104440. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  104441. t1 = this.$this;
  104442. t2 = this.$import;
  104443. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  104444. stylesheet = _box_0.stylesheet = _0_0._0;
  104445. importer = _0_0._1;
  104446. _box_0.importer = importer;
  104447. isDependency = _0_0._2;
  104448. _box_0.isDependency = isDependency;
  104449. t3 = stylesheet.span;
  104450. url = t3.get$sourceUrl(t3);
  104451. if (url != null) {
  104452. t3 = t1._evaluate0$_activeModules;
  104453. if (t3.containsKey$1(url)) {
  104454. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  104455. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  104456. }
  104457. t3.$indexSet(0, url, t2);
  104458. }
  104459. t2 = stylesheet._stylesheet1$_uses;
  104460. t3 = type$.UnmodifiableListView_UseRule_2;
  104461. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  104462. oldImporter = t1._evaluate0$_importer;
  104463. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  104464. oldInDependency = t1._evaluate0$_inDependency;
  104465. t1._evaluate0$_importer = importer;
  104466. t1._evaluate0$__stylesheet = stylesheet;
  104467. t1._evaluate0$_inDependency = isDependency;
  104468. t1.visitStylesheet$1(0, stylesheet);
  104469. t1._evaluate0$_importer = oldImporter;
  104470. t1._evaluate0$__stylesheet = oldStylesheet;
  104471. t1._evaluate0$_inDependency = oldInDependency;
  104472. t1._evaluate0$_activeModules.remove$1(0, url);
  104473. return;
  104474. }
  104475. t2 = new A.UnmodifiableListView(t2, t3);
  104476. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  104477. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  104478. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  104479. } else
  104480. loadsUserDefinedModules = true;
  104481. children = A._Cell$();
  104482. t2 = t1._evaluate0$_environment;
  104483. t3 = type$.String;
  104484. t4 = type$.Module_Callable_2;
  104485. t5 = type$.AstNode_2;
  104486. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  104487. t7 = t2._environment0$_variables;
  104488. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  104489. t8 = t2._environment0$_variableNodes;
  104490. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  104491. t9 = t2._environment0$_functions;
  104492. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  104493. t10 = t2._environment0$_mixins;
  104494. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  104495. environment = A.Environment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._environment0$_content, t2._environment0$_configurableVariables);
  104496. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  104497. module = environment.toDummyModule$0();
  104498. t1._evaluate0$_environment.importForwards$1(module);
  104499. if (loadsUserDefinedModules) {
  104500. if (module.transitivelyContainsCss)
  104501. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  104502. visitor = new A._ImportedCssVisitor1(t1);
  104503. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  104504. t2.get$current(t2).accept$1(visitor);
  104505. }
  104506. t1._evaluate0$_activeModules.remove$1(0, url);
  104507. },
  104508. $signature: 0
  104509. };
  104510. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  104511. call$1(previousLoad) {
  104512. return this.$this._evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  104513. },
  104514. $signature: 98
  104515. };
  104516. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  104517. call$1(rule) {
  104518. return rule.url.get$scheme() !== "sass";
  104519. },
  104520. $signature: 240
  104521. };
  104522. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  104523. call$1(rule) {
  104524. return rule.url.get$scheme() !== "sass";
  104525. },
  104526. $signature: 239
  104527. };
  104528. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  104529. call$0() {
  104530. var t3, t4, _this = this,
  104531. t1 = _this.$this,
  104532. oldImporter = t1._evaluate0$_importer,
  104533. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  104534. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  104535. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  104536. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  104537. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  104538. oldConfiguration = t1._evaluate0$_configuration,
  104539. oldInDependency = t1._evaluate0$_inDependency,
  104540. t2 = _this._box_0;
  104541. t1._evaluate0$_importer = t2.importer;
  104542. t3 = t2.stylesheet;
  104543. t1._evaluate0$__stylesheet = t3;
  104544. t4 = _this.loadsUserDefinedModules;
  104545. if (t4) {
  104546. t3 = A.ModifiableCssStylesheet$0(t3.span);
  104547. t1._evaluate0$__root = t3;
  104548. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  104549. t1._evaluate0$__endOfImports = 0;
  104550. t1._evaluate0$_outOfOrderImports = null;
  104551. }
  104552. t1._evaluate0$_inDependency = t2.isDependency;
  104553. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  104554. if (!t3.get$isEmpty(t3))
  104555. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  104556. t1.visitStylesheet$1(0, t2.stylesheet);
  104557. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  104558. _this.children.__late_helper$_value = t2;
  104559. t1._evaluate0$_importer = oldImporter;
  104560. t1._evaluate0$__stylesheet = oldStylesheet;
  104561. if (t4) {
  104562. t1._evaluate0$__root = oldRoot;
  104563. t1._evaluate0$__parent = oldParent;
  104564. t1._evaluate0$__endOfImports = oldEndOfImports;
  104565. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  104566. }
  104567. t1._evaluate0$_configuration = oldConfiguration;
  104568. t1._evaluate0$_inDependency = oldInDependency;
  104569. },
  104570. $signature: 1
  104571. };
  104572. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  104573. call$0() {
  104574. var _this = this,
  104575. t1 = _this.$this;
  104576. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  104577. },
  104578. $signature: 0
  104579. };
  104580. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  104581. call$0() {
  104582. var _this = this;
  104583. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  104584. },
  104585. $signature: 0
  104586. };
  104587. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  104588. call$0() {
  104589. var _this = this,
  104590. t1 = _this.$this;
  104591. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  104592. },
  104593. $signature: 1
  104594. };
  104595. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  104596. call$0() {
  104597. var t1 = this.$this;
  104598. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  104599. },
  104600. $signature: 0
  104601. };
  104602. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  104603. call$0() {
  104604. var t1, t2, t3, t4, _i;
  104605. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  104606. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  104607. },
  104608. $signature: 0
  104609. };
  104610. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  104611. call$0() {
  104612. return this.statement.accept$1(this.$this);
  104613. },
  104614. $signature: 43
  104615. };
  104616. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  104617. call$0() {
  104618. var t1 = this.node;
  104619. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  104620. },
  104621. $signature: 87
  104622. };
  104623. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  104624. call$1($content) {
  104625. var t1 = this.$this;
  104626. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  104627. },
  104628. $signature: 459
  104629. };
  104630. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  104631. call$0() {
  104632. return this.node.get$spanWithoutContent();
  104633. },
  104634. $signature: 22
  104635. };
  104636. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  104637. call$1(mediaQueries) {
  104638. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  104639. },
  104640. $signature: 104
  104641. };
  104642. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  104643. call$0() {
  104644. var _this = this,
  104645. t1 = _this.$this,
  104646. t2 = _this.mergedQueries;
  104647. if (t2 == null)
  104648. t2 = _this.queries;
  104649. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  104650. },
  104651. $signature: 1
  104652. };
  104653. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  104654. call$0() {
  104655. var t2, t3, _i,
  104656. t1 = this.$this,
  104657. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104658. if (_0_0 != null)
  104659. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  104660. else
  104661. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104662. t2[_i].accept$1(t1);
  104663. },
  104664. $signature: 1
  104665. };
  104666. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  104667. call$0() {
  104668. var t1, t2, t3, _i;
  104669. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104670. t1[_i].accept$1(t3);
  104671. },
  104672. $signature: 1
  104673. };
  104674. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  104675. call$1(node) {
  104676. var t1;
  104677. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104678. t1 = this.mergedSources;
  104679. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104680. } else
  104681. t1 = true;
  104682. return t1;
  104683. },
  104684. $signature: 7
  104685. };
  104686. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  104687. call$0() {
  104688. var t1, t2, t3, _i;
  104689. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104690. t1[_i].accept$1(t3);
  104691. },
  104692. $signature: 1
  104693. };
  104694. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  104695. call$1(node) {
  104696. return node instanceof A.ModifiableCssStyleRule0;
  104697. },
  104698. $signature: 7
  104699. };
  104700. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  104701. call$0() {
  104702. var t1 = this.$this;
  104703. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  104704. },
  104705. $signature: 1
  104706. };
  104707. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  104708. call$0() {
  104709. var t1, t2, t3, _i;
  104710. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104711. t1[_i].accept$1(t3);
  104712. },
  104713. $signature: 1
  104714. };
  104715. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  104716. call$1(node) {
  104717. return node instanceof A.ModifiableCssStyleRule0;
  104718. },
  104719. $signature: 7
  104720. };
  104721. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  104722. call$1(child) {
  104723. return child instanceof A.ModifiableCssComment0;
  104724. },
  104725. $signature: 7
  104726. };
  104727. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  104728. call$0() {
  104729. var t2, t3, _i,
  104730. t1 = this.$this,
  104731. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104732. if (_0_0 != null)
  104733. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  104734. else
  104735. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104736. t2[_i].accept$1(t1);
  104737. },
  104738. $signature: 1
  104739. };
  104740. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  104741. call$0() {
  104742. var t1, t2, t3, _i;
  104743. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104744. t1[_i].accept$1(t3);
  104745. },
  104746. $signature: 1
  104747. };
  104748. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  104749. call$1(node) {
  104750. return node instanceof A.ModifiableCssStyleRule0;
  104751. },
  104752. $signature: 7
  104753. };
  104754. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  104755. call$0() {
  104756. var t4,
  104757. t1 = this.$this,
  104758. t2 = this._box_0,
  104759. t3 = t2.declaration.name;
  104760. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  104761. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  104762. t2 = t2.declaration.value;
  104763. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  104764. },
  104765. $signature: 29
  104766. };
  104767. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  104768. call$0() {
  104769. var t1 = this.$this._evaluate0$_environment,
  104770. t2 = this._box_0.override;
  104771. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  104772. },
  104773. $signature: 1
  104774. };
  104775. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  104776. call$0() {
  104777. var t1 = this.node;
  104778. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104779. },
  104780. $signature: 43
  104781. };
  104782. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  104783. call$0() {
  104784. var t1 = this.$this,
  104785. t2 = this.node;
  104786. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  104787. },
  104788. $signature: 1
  104789. };
  104790. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  104791. call$2(module, firstLoad) {
  104792. var t1, t2, t3, _0_0, t4, t5, span;
  104793. if (firstLoad)
  104794. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104795. t1 = this.$this._evaluate0$_environment;
  104796. t2 = this.node;
  104797. t3 = t2.namespace;
  104798. if (t3 == null) {
  104799. t1._environment0$_globalModules.$indexSet(0, module, t2);
  104800. t1._environment0$_allModules.push(module);
  104801. t1 = B.JSArray_methods.get$first(t1._environment0$_variables);
  104802. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  104803. if (_0_0 != null)
  104804. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  104805. } else {
  104806. t4 = t1._environment0$_modules;
  104807. if (t4.containsKey$1(t3)) {
  104808. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  104809. span = t5 == null ? null : t5.span;
  104810. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  104811. if (span != null)
  104812. t5.$indexSet(0, span, "original @use");
  104813. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  104814. }
  104815. t4.$indexSet(0, t3, module);
  104816. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  104817. t1._environment0$_allModules.push(module);
  104818. }
  104819. },
  104820. $signature: 111
  104821. };
  104822. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  104823. call$0() {
  104824. return this.node.expression.accept$1(this.$this);
  104825. },
  104826. $signature: 48
  104827. };
  104828. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  104829. call$0() {
  104830. var t1, t2, t3, _0_0;
  104831. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  104832. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  104833. if (_0_0 != null)
  104834. return _0_0;
  104835. }
  104836. return null;
  104837. },
  104838. $signature: 43
  104839. };
  104840. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  104841. call$1(child) {
  104842. return child.accept$1(this.$this);
  104843. },
  104844. $signature: 113
  104845. };
  104846. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  104847. call$0() {
  104848. var t1 = this.node,
  104849. t2 = this.$this,
  104850. left = t1.left.accept$1(t2);
  104851. switch (t1.operator.index) {
  104852. case 0:
  104853. t1 = t1.right.accept$1(t2);
  104854. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  104855. break;
  104856. case 1:
  104857. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  104858. break;
  104859. case 2:
  104860. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  104861. break;
  104862. case 3:
  104863. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104864. break;
  104865. case 4:
  104866. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104867. break;
  104868. case 5:
  104869. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  104870. break;
  104871. case 6:
  104872. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  104873. break;
  104874. case 7:
  104875. t1 = left.lessThan$1(t1.right.accept$1(t2));
  104876. break;
  104877. case 8:
  104878. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  104879. break;
  104880. case 9:
  104881. t1 = left.plus$1(t1.right.accept$1(t2));
  104882. break;
  104883. case 10:
  104884. t1 = left.minus$1(t1.right.accept$1(t2));
  104885. break;
  104886. case 11:
  104887. t1 = left.times$1(t1.right.accept$1(t2));
  104888. break;
  104889. case 12:
  104890. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  104891. break;
  104892. case 13:
  104893. t1 = left.modulo$1(t1.right.accept$1(t2));
  104894. break;
  104895. default:
  104896. t1 = null;
  104897. }
  104898. return t1;
  104899. },
  104900. $signature: 48
  104901. };
  104902. A._EvaluateVisitor__slash_recommendation1.prototype = {
  104903. call$1(expression) {
  104904. var t1;
  104905. $label0$0: {
  104906. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_ehp0 === expression.operator) {
  104907. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  104908. break $label0$0;
  104909. }
  104910. if (expression instanceof A.ParenthesizedExpression0) {
  104911. t1 = expression.expression.toString$0(0);
  104912. break $label0$0;
  104913. }
  104914. t1 = expression.toString$0(0);
  104915. break $label0$0;
  104916. }
  104917. return t1;
  104918. },
  104919. $signature: 119
  104920. };
  104921. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  104922. call$0() {
  104923. var t1 = this.node;
  104924. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104925. },
  104926. $signature: 43
  104927. };
  104928. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104929. call$0() {
  104930. var t1, _this = this;
  104931. switch (_this.node.operator.index) {
  104932. case 0:
  104933. t1 = _this.operand.unaryPlus$0();
  104934. break;
  104935. case 1:
  104936. t1 = _this.operand.unaryMinus$0();
  104937. break;
  104938. case 2:
  104939. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104940. break;
  104941. case 3:
  104942. t1 = _this.operand.unaryNot$0();
  104943. break;
  104944. default:
  104945. t1 = null;
  104946. }
  104947. return t1;
  104948. },
  104949. $signature: 48
  104950. };
  104951. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104952. call$1(expression) {
  104953. return expression.accept$1(this.$this);
  104954. },
  104955. $signature: 460
  104956. };
  104957. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104958. call$0() {
  104959. var t1 = this.node;
  104960. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104961. },
  104962. $signature: 87
  104963. };
  104964. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104965. call$1(argument) {
  104966. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104967. },
  104968. $signature: 118
  104969. };
  104970. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104971. call$0() {
  104972. var t1 = this.node;
  104973. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104974. },
  104975. $signature: 48
  104976. };
  104977. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104978. call$2(message, deprecation) {
  104979. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104980. },
  104981. call$1(message) {
  104982. return this.call$2(message, null);
  104983. },
  104984. $signature: 110
  104985. };
  104986. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104987. call$1(maxArgs) {
  104988. var t1 = this.node,
  104989. t2 = t1.$arguments.positional.length;
  104990. if (t2 === 0)
  104991. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104992. else if (maxArgs != null && t2 > maxArgs)
  104993. throw A.wrapException(this.$this._evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  104994. },
  104995. call$0() {
  104996. return this.call$1(null);
  104997. },
  104998. $signature: 99
  104999. };
  105000. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  105001. call$0() {
  105002. var _this = this,
  105003. t1 = _this.$this,
  105004. t2 = _this._box_0,
  105005. t3 = _this.node,
  105006. t4 = _this.inLegacySassFunction;
  105007. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), t4, !t1._evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure1(t1, t3));
  105008. },
  105009. $signature: 80
  105010. };
  105011. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  105012. call$2(message, deprecation) {
  105013. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  105014. },
  105015. call$1(message) {
  105016. return this.call$2(message, null);
  105017. },
  105018. $signature: 110
  105019. };
  105020. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  105021. call$0() {
  105022. var t1 = this.node;
  105023. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  105024. },
  105025. $signature: 48
  105026. };
  105027. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  105028. call$0() {
  105029. var _this = this,
  105030. t1 = _this.$this,
  105031. t2 = _this.callable;
  105032. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  105033. },
  105034. $signature() {
  105035. return this.V._eval$1("0()");
  105036. }
  105037. };
  105038. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  105039. call$0() {
  105040. var _this = this,
  105041. t1 = _this.$this,
  105042. t2 = _this.V;
  105043. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  105044. },
  105045. $signature() {
  105046. return this.V._eval$1("0()");
  105047. }
  105048. };
  105049. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  105050. call$0() {
  105051. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  105052. t1 = _this.$this,
  105053. t2 = _this.evaluated._values,
  105054. t3 = _this.callable.declaration.parameters,
  105055. t4 = _this.nodeWithSpan;
  105056. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  105057. parameters = t3.parameters;
  105058. t5 = parameters.length;
  105059. minLength = Math.min(t2[2].length, t5);
  105060. for (i = 0; i < minLength; ++i)
  105061. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  105062. for (i = t2[2].length; i < t5; ++i) {
  105063. parameter = parameters[i];
  105064. t6 = parameter.name;
  105065. value = t2[0].remove$1(0, t6);
  105066. if (value == null) {
  105067. t7 = parameter.defaultValue;
  105068. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  105069. }
  105070. t7 = t1._evaluate0$_environment;
  105071. t8 = t2[1].$index(0, t6);
  105072. if (t8 == null) {
  105073. t8 = parameter.defaultValue;
  105074. t8.toString;
  105075. t8 = t1._evaluate0$_expressionNode$1(t8);
  105076. }
  105077. t7.setLocalVariable$3(t6, value, t8);
  105078. }
  105079. restParameter = t3.restParameter;
  105080. if (restParameter != null) {
  105081. t6 = t2[2];
  105082. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty21;
  105083. t5 = t2[0];
  105084. t6 = t2[4];
  105085. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_3_undecided0 ? B.ListSeparator_z0K0 : t6);
  105086. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  105087. } else
  105088. argumentList = null;
  105089. result = _this.run.call$0();
  105090. if (argumentList == null)
  105091. return result;
  105092. t5 = t2[0].__js_helper$_length;
  105093. if (t5 === 0)
  105094. return result;
  105095. if (argumentList._argument_list$_wereKeywordsAccessed)
  105096. return result;
  105097. parameterWord = A.pluralize0("parameter", t5, null);
  105098. t2 = t2[0];
  105099. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  105100. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  105101. },
  105102. $signature() {
  105103. return this.V._eval$1("0()");
  105104. }
  105105. };
  105106. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  105107. call$1($name) {
  105108. return "$" + $name;
  105109. },
  105110. $signature: 6
  105111. };
  105112. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  105113. call$0() {
  105114. var t1, t2, t3, t4, _i, $returnValue;
  105115. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  105116. $returnValue = t2[_i].accept$1(t4);
  105117. if ($returnValue instanceof A.Value0)
  105118. return $returnValue;
  105119. }
  105120. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  105121. },
  105122. $signature: 48
  105123. };
  105124. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  105125. call$0() {
  105126. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  105127. },
  105128. $signature: 0
  105129. };
  105130. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  105131. call$0() {
  105132. return this._box_0.callback.call$1(this.evaluated._values[2]);
  105133. },
  105134. $signature: 48
  105135. };
  105136. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  105137. call$1($name) {
  105138. return "$" + $name;
  105139. },
  105140. $signature: 6
  105141. };
  105142. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  105143. call$1(value) {
  105144. return value;
  105145. },
  105146. $signature: 44
  105147. };
  105148. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  105149. call$1(value) {
  105150. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  105151. },
  105152. $signature: 44
  105153. };
  105154. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  105155. call$2(key, value) {
  105156. var _this = this,
  105157. t1 = _this.restNodeForSpan;
  105158. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  105159. _this.namedNodes.$indexSet(0, key, t1);
  105160. },
  105161. $signature: 112
  105162. };
  105163. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  105164. call$1(value) {
  105165. return value;
  105166. },
  105167. $signature: 44
  105168. };
  105169. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  105170. call$1(value) {
  105171. var t1 = this.restArgs;
  105172. return new A.ValueExpression0(value, t1.get$span(t1));
  105173. },
  105174. $signature: 58
  105175. };
  105176. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  105177. call$1(value) {
  105178. var t1 = this.restArgs;
  105179. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  105180. },
  105181. $signature: 58
  105182. };
  105183. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  105184. call$2(key, value) {
  105185. var _this = this,
  105186. t1 = _this.restArgs;
  105187. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  105188. },
  105189. $signature: 112
  105190. };
  105191. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  105192. call$1(value) {
  105193. var t1 = this.keywordRestArgs;
  105194. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  105195. },
  105196. $signature: 58
  105197. };
  105198. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  105199. call$2(key, value) {
  105200. var t2, _this = this,
  105201. t1 = _this.$this;
  105202. if (key instanceof A.SassString0)
  105203. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  105204. else {
  105205. t2 = _this.nodeWithSpan;
  105206. throw A.wrapException(t1._evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  105207. }
  105208. },
  105209. $signature: 97
  105210. };
  105211. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  105212. call$0() {
  105213. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  105214. },
  105215. $signature: 0
  105216. };
  105217. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  105218. call$0() {
  105219. var t1, t2, t3, t4;
  105220. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105221. t4 = t1.__internal$_current;
  105222. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  105223. }
  105224. },
  105225. $signature: 1
  105226. };
  105227. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  105228. call$1(node) {
  105229. return node instanceof A.ModifiableCssStyleRule0;
  105230. },
  105231. $signature: 7
  105232. };
  105233. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  105234. call$0() {
  105235. var t1, t2, t3, t4;
  105236. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105237. t4 = t1.__internal$_current;
  105238. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  105239. }
  105240. },
  105241. $signature: 1
  105242. };
  105243. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  105244. call$1(node) {
  105245. return node instanceof A.ModifiableCssStyleRule0;
  105246. },
  105247. $signature: 7
  105248. };
  105249. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  105250. call$1(mediaQueries) {
  105251. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  105252. },
  105253. $signature: 104
  105254. };
  105255. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  105256. call$0() {
  105257. var _this = this,
  105258. t1 = _this.$this,
  105259. t2 = _this.mergedQueries;
  105260. if (t2 == null)
  105261. t2 = _this.node.queries;
  105262. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  105263. },
  105264. $signature: 1
  105265. };
  105266. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  105267. call$0() {
  105268. var t2, t3, t4,
  105269. t1 = this.$this,
  105270. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  105271. if (_0_0 != null)
  105272. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  105273. else
  105274. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  105275. t4 = t2.__internal$_current;
  105276. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  105277. }
  105278. },
  105279. $signature: 1
  105280. };
  105281. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  105282. call$0() {
  105283. var t1, t2, t3, t4;
  105284. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105285. t4 = t1.__internal$_current;
  105286. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  105287. }
  105288. },
  105289. $signature: 1
  105290. };
  105291. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  105292. call$1(node) {
  105293. var t1;
  105294. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  105295. t1 = this.mergedSources;
  105296. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  105297. } else
  105298. t1 = true;
  105299. return t1;
  105300. },
  105301. $signature: 7
  105302. };
  105303. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  105304. call$0() {
  105305. var t1 = this.$this;
  105306. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  105307. },
  105308. $signature: 1
  105309. };
  105310. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  105311. call$0() {
  105312. var t1, t2, t3, t4;
  105313. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105314. t4 = t1.__internal$_current;
  105315. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  105316. }
  105317. },
  105318. $signature: 1
  105319. };
  105320. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  105321. call$1(node) {
  105322. return node instanceof A.ModifiableCssStyleRule0;
  105323. },
  105324. $signature: 7
  105325. };
  105326. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  105327. call$0() {
  105328. var t2, t3, t4,
  105329. t1 = this.$this,
  105330. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  105331. if (_0_0 != null)
  105332. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  105333. else
  105334. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  105335. t4 = t2.__internal$_current;
  105336. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  105337. }
  105338. },
  105339. $signature: 1
  105340. };
  105341. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  105342. call$0() {
  105343. var t1, t2, t3, t4;
  105344. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105345. t4 = t1.__internal$_current;
  105346. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  105347. }
  105348. },
  105349. $signature: 1
  105350. };
  105351. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  105352. call$1(node) {
  105353. return node instanceof A.ModifiableCssStyleRule0;
  105354. },
  105355. $signature: 7
  105356. };
  105357. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  105358. call$1(targetOffsets) {
  105359. return A.InterpolationMap$0(this.interpolation, targetOffsets);
  105360. },
  105361. $signature: 232
  105362. };
  105363. A._EvaluateVisitor__serialize_closure1.prototype = {
  105364. call$0() {
  105365. return A.serializeValue0(this.value, false, this.quote);
  105366. },
  105367. $signature: 29
  105368. };
  105369. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  105370. call$0() {
  105371. var t1 = this.expression;
  105372. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  105373. },
  105374. $signature: 230
  105375. };
  105376. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  105377. call$1(number) {
  105378. var before, after, t1,
  105379. _1_0 = number.asSlash;
  105380. $label0$0: {
  105381. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  105382. before = _1_0._0;
  105383. after = _1_0._1;
  105384. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  105385. break $label0$0;
  105386. }
  105387. t1 = A.serializeValue0(number, true, true);
  105388. break $label0$0;
  105389. }
  105390. return t1;
  105391. },
  105392. $signature: 229
  105393. };
  105394. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  105395. call$1(url) {
  105396. var t1 = this.$this._evaluate0$_importCache;
  105397. t1 = t1 == null ? null : t1.humanize$1(url);
  105398. return t1 == null ? url : t1;
  105399. },
  105400. $signature: 47
  105401. };
  105402. A._ImportedCssVisitor1.prototype = {
  105403. visitCssAtRule$1(node) {
  105404. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  105405. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  105406. },
  105407. visitCssComment$1(node) {
  105408. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  105409. },
  105410. visitCssDeclaration$1(node) {
  105411. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  105412. },
  105413. visitCssImport$1(node) {
  105414. var t2,
  105415. _s13_ = "_endOfImports",
  105416. t1 = this._evaluate0$_visitor;
  105417. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  105418. t1._evaluate0$_addChild$1(node);
  105419. else if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root").children._collection$_source)) {
  105420. t1._evaluate0$_addChild$1(node);
  105421. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  105422. } else {
  105423. t2 = t1._evaluate0$_outOfOrderImports;
  105424. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  105425. }
  105426. },
  105427. visitCssKeyframeBlock$1(node) {
  105428. },
  105429. visitCssMediaRule$1(node) {
  105430. var t1 = this._evaluate0$_visitor,
  105431. mediaQueries = t1._evaluate0$_mediaQueries;
  105432. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  105433. },
  105434. visitCssStyleRule$1(node) {
  105435. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  105436. },
  105437. visitCssStylesheet$1(node) {
  105438. var t1, t2, t3;
  105439. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105440. t3 = t1.__internal$_current;
  105441. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  105442. }
  105443. },
  105444. visitCssSupportsRule$1(node) {
  105445. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  105446. }
  105447. };
  105448. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  105449. call$1(node) {
  105450. return node instanceof A.ModifiableCssStyleRule0;
  105451. },
  105452. $signature: 7
  105453. };
  105454. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  105455. call$1(node) {
  105456. var t1;
  105457. if (!(node instanceof A.ModifiableCssStyleRule0))
  105458. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  105459. else
  105460. t1 = true;
  105461. return t1;
  105462. },
  105463. $signature: 7
  105464. };
  105465. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  105466. call$1(node) {
  105467. return node instanceof A.ModifiableCssStyleRule0;
  105468. },
  105469. $signature: 7
  105470. };
  105471. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  105472. call$1(node) {
  105473. return node instanceof A.ModifiableCssStyleRule0;
  105474. },
  105475. $signature: 7
  105476. };
  105477. A._EvaluationContext1.prototype = {
  105478. get$currentCallableSpan() {
  105479. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  105480. if (_0_0 != null)
  105481. return _0_0.get$span(_0_0);
  105482. throw A.wrapException(A.StateError$(string$.No_Sasc));
  105483. },
  105484. warn$2(_, message, deprecation) {
  105485. var t1 = this._evaluate0$_visitor,
  105486. t2 = t1._evaluate0$_importSpan;
  105487. if (t2 == null) {
  105488. t2 = t1._evaluate0$_callableNode;
  105489. t2 = t2 == null ? null : t2.get$span(t2);
  105490. }
  105491. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  105492. },
  105493. $isEvaluationContext0: 1
  105494. };
  105495. A.EveryCssVisitor0.prototype = {
  105496. visitCssAtRule$1(node) {
  105497. var t1 = node.children;
  105498. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  105499. },
  105500. visitCssComment$1(node) {
  105501. return false;
  105502. },
  105503. visitCssDeclaration$1(node) {
  105504. return false;
  105505. },
  105506. visitCssImport$1(node) {
  105507. return false;
  105508. },
  105509. visitCssKeyframeBlock$1(node) {
  105510. var t1 = node.children;
  105511. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  105512. },
  105513. visitCssMediaRule$1(node) {
  105514. var t1 = node.children;
  105515. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  105516. },
  105517. visitCssStyleRule$1(node) {
  105518. var t1 = node.children;
  105519. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  105520. },
  105521. visitCssStylesheet$1(node) {
  105522. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  105523. },
  105524. visitCssSupportsRule$1(node) {
  105525. var t1 = node.children;
  105526. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  105527. }
  105528. };
  105529. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  105530. call$1(child) {
  105531. return child.accept$1(this.$this);
  105532. },
  105533. $signature: 7
  105534. };
  105535. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  105536. call$1(child) {
  105537. return child.accept$1(this.$this);
  105538. },
  105539. $signature: 7
  105540. };
  105541. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  105542. call$1(child) {
  105543. return child.accept$1(this.$this);
  105544. },
  105545. $signature: 7
  105546. };
  105547. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  105548. call$1(child) {
  105549. return child.accept$1(this.$this);
  105550. },
  105551. $signature: 7
  105552. };
  105553. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  105554. call$1(child) {
  105555. return child.accept$1(this.$this);
  105556. },
  105557. $signature: 7
  105558. };
  105559. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  105560. call$1(child) {
  105561. return child.accept$1(this.$this);
  105562. },
  105563. $signature: 7
  105564. };
  105565. A._NodeException.prototype = {};
  105566. A.exceptionClass_closure.prototype = {
  105567. call$0() {
  105568. var jsClass = type$.JSClass._as(new self.Function("", " return class Exception extends Error {\n constructor(dartException, message) {\n super(message);\n\n // Define this as non-enumerable so that it doesn't show up when the\n // exception hits the top level.\n Object.defineProperty(this, '_dartException', {\n value: dartException,\n enumerable: false\n });\n }\n\n toString() {\n return this.message;\n }\n }\n ").call$0());
  105569. A.defineGetter(jsClass, "name", null, "sass.Exception");
  105570. A.LinkedHashMap_LinkedHashMap$_literal(["sassMessage", new A.exceptionClass__closure(), "sassStack", new A.exceptionClass__closure0(), "span", new A.exceptionClass__closure1()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  105571. return jsClass;
  105572. },
  105573. $signature: 15
  105574. };
  105575. A.exceptionClass__closure.prototype = {
  105576. call$1(exception) {
  105577. return J.get$_dartException$x(exception)._span_exception$_message;
  105578. },
  105579. $signature: 193
  105580. };
  105581. A.exceptionClass__closure0.prototype = {
  105582. call$1(exception) {
  105583. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  105584. },
  105585. $signature: 193
  105586. };
  105587. A.exceptionClass__closure1.prototype = {
  105588. call$1(exception) {
  105589. var t1 = J.get$_dartException$x(exception),
  105590. t2 = J.getInterceptor$z(t1);
  105591. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  105592. },
  105593. $signature: 462
  105594. };
  105595. A.SassException0.prototype = {
  105596. get$trace(_) {
  105597. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  105598. },
  105599. get$span(_) {
  105600. return A.SourceSpanException.prototype.get$span.call(this, 0);
  105601. },
  105602. withAdditionalSpan$2(span, label) {
  105603. return A.MultiSpanSassException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  105604. },
  105605. withTrace$1(trace) {
  105606. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105607. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  105608. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  105609. },
  105610. withLoadedUrls$1(loadedUrls) {
  105611. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105612. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105613. return new A.SassException0(t2, this._span_exception$_message, t1);
  105614. },
  105615. toString$1$color(_, color) {
  105616. var t2, _i, frame, _this = this,
  105617. buffer = new A.StringBuffer(""),
  105618. t1 = "Error: " + _this._span_exception$_message + "\n";
  105619. buffer._contents = t1;
  105620. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  105621. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105622. frame = t1[_i];
  105623. if (frame.length === 0)
  105624. continue;
  105625. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  105626. }
  105627. t1 = buffer._contents;
  105628. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105629. },
  105630. toString$0(_) {
  105631. return this.toString$1$color(0, null);
  105632. }
  105633. };
  105634. A.MultiSpanSassException0.prototype = {
  105635. withAdditionalSpan$2(span, label) {
  105636. var _this = this,
  105637. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105638. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105639. t2.$indexSet(0, span, label);
  105640. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  105641. },
  105642. withTrace$1(trace) {
  105643. var _this = this;
  105644. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  105645. },
  105646. withLoadedUrls$1(loadedUrls) {
  105647. var _this = this;
  105648. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  105649. },
  105650. toString$1$color(_, color) {
  105651. var t1, t2, _i, frame, _this = this,
  105652. useColor = color === true,
  105653. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  105654. A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  105655. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105656. frame = t1[_i];
  105657. if (frame.length === 0)
  105658. continue;
  105659. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  105660. }
  105661. t1 = buffer._contents;
  105662. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105663. },
  105664. toString$0(_) {
  105665. return this.toString$1$color(0, null);
  105666. },
  105667. get$primaryLabel() {
  105668. return this.primaryLabel;
  105669. },
  105670. get$secondarySpans() {
  105671. return this.secondarySpans;
  105672. }
  105673. };
  105674. A.SassRuntimeException0.prototype = {
  105675. withAdditionalSpan$2(span, label) {
  105676. var _this = this;
  105677. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  105678. },
  105679. withLoadedUrls$1(loadedUrls) {
  105680. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105681. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105682. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  105683. },
  105684. get$trace(receiver) {
  105685. return this.trace;
  105686. }
  105687. };
  105688. A.MultiSpanSassRuntimeException0.prototype = {
  105689. withAdditionalSpan$2(span, label) {
  105690. var _this = this,
  105691. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105692. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105693. t2.$indexSet(0, span, label);
  105694. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  105695. },
  105696. withLoadedUrls$1(loadedUrls) {
  105697. var _this = this;
  105698. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  105699. },
  105700. $isSassRuntimeException0: 1,
  105701. get$trace(receiver) {
  105702. return this.trace;
  105703. }
  105704. };
  105705. A.SassFormatException0.prototype = {
  105706. get$source() {
  105707. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105708. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105709. },
  105710. withAdditionalSpan$2(span, label) {
  105711. return A.MultiSpanSassFormatException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  105712. },
  105713. withLoadedUrls$1(loadedUrls) {
  105714. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105715. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105716. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  105717. },
  105718. $isFormatException: 1,
  105719. $isSourceSpanFormatException: 1
  105720. };
  105721. A.MultiSpanSassFormatException0.prototype = {
  105722. get$source() {
  105723. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105724. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105725. },
  105726. withAdditionalSpan$2(span, label) {
  105727. var _this = this,
  105728. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105729. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105730. t2.$indexSet(0, span, label);
  105731. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  105732. },
  105733. withLoadedUrls$1(loadedUrls) {
  105734. var _this = this;
  105735. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  105736. },
  105737. $isFormatException: 1,
  105738. $isSourceSpanFormatException: 1,
  105739. $isMultiSourceSpanFormatException: 1,
  105740. $isSassFormatException0: 1
  105741. };
  105742. A.SassScriptException0.prototype = {
  105743. withSpan$1(span) {
  105744. return new A.SassException0(B.Set_empty, this.message, span);
  105745. },
  105746. toString$0(_) {
  105747. return this.message + string$.x0a_BUG_;
  105748. },
  105749. get$message(receiver) {
  105750. return this.message;
  105751. }
  105752. };
  105753. A.MultiSpanSassScriptException0.prototype = {
  105754. withSpan$1(span) {
  105755. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  105756. }
  105757. };
  105758. A.Exports.prototype = {};
  105759. A.LoggerNamespace.prototype = {};
  105760. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  105761. A.JSExpressionVisitor.prototype = {
  105762. visitBinaryOperationExpression$1(_, node) {
  105763. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  105764. },
  105765. visitBooleanExpression$1(_, node) {
  105766. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  105767. },
  105768. visitColorExpression$1(_, node) {
  105769. return J.visitColorExpression$1$x(this._expression$_inner, node);
  105770. },
  105771. visitInterpolatedFunctionExpression$1(_, node) {
  105772. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  105773. },
  105774. visitFunctionExpression$1(_, node) {
  105775. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  105776. },
  105777. visitIfExpression$1(_, node) {
  105778. return J.visitIfExpression$1$x(this._expression$_inner, node);
  105779. },
  105780. visitListExpression$1(_, node) {
  105781. return J.visitListExpression$1$x(this._expression$_inner, node);
  105782. },
  105783. visitMapExpression$1(_, node) {
  105784. return J.visitMapExpression$1$x(this._expression$_inner, node);
  105785. },
  105786. visitNullExpression$1(_, node) {
  105787. return J.visitNullExpression$1$x(this._expression$_inner, node);
  105788. },
  105789. visitNumberExpression$1(_, node) {
  105790. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  105791. },
  105792. visitParenthesizedExpression$1(_, node) {
  105793. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  105794. },
  105795. visitSelectorExpression$1(_, node) {
  105796. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  105797. },
  105798. visitStringExpression$1(_, node) {
  105799. return J.visitStringExpression$1$x(this._expression$_inner, node);
  105800. },
  105801. visitSupportsExpression$1(_, node) {
  105802. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  105803. },
  105804. visitUnaryOperationExpression$1(_, node) {
  105805. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  105806. },
  105807. visitValueExpression$1(_, node) {
  105808. return J.visitValueExpression$1$x(this._expression$_inner, node);
  105809. },
  105810. visitVariableExpression$1(_, node) {
  105811. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  105812. },
  105813. $isExpressionVisitor: 1
  105814. };
  105815. A.JSExpressionVisitorObject.prototype = {};
  105816. A._MakeExpressionCalculationSafe0.prototype = {
  105817. visitBinaryOperationExpression$1(_, node) {
  105818. var t1, t2, t3, t4;
  105819. if (node.operator === B.BinaryOperator_bgA0) {
  105820. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  105821. t2 = node.get$span(0);
  105822. t3 = type$.Expression_2;
  105823. t1 = A.List_List$unmodifiable(t1, t3);
  105824. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  105825. t4 = node.get$span(0);
  105826. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  105827. } else
  105828. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  105829. return t1;
  105830. },
  105831. visitInterpolatedFunctionExpression$1(_, node) {
  105832. return node;
  105833. },
  105834. visitUnaryOperationExpression$1(_, node) {
  105835. var t1,
  105836. _0_0 = node.operator;
  105837. $label0$0: {
  105838. if (B.UnaryOperator_n2K0 === _0_0) {
  105839. t1 = node.operand;
  105840. break $label0$0;
  105841. }
  105842. if (B.UnaryOperator_hCO0 === _0_0) {
  105843. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_wkM0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  105844. break $label0$0;
  105845. }
  105846. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  105847. break $label0$0;
  105848. }
  105849. return t1;
  105850. },
  105851. $isExpressionVisitor: 1
  105852. };
  105853. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  105854. A.ExtendRule0.prototype = {
  105855. accept$1$1(visitor) {
  105856. return visitor.visitExtendRule$1(0, this);
  105857. },
  105858. accept$1(visitor) {
  105859. return this.accept$1$1(visitor, type$.dynamic);
  105860. },
  105861. toString$0(_) {
  105862. var t1 = this.selector.toString$0(0),
  105863. t2 = this.isOptional ? " !optional" : "";
  105864. return "@extend " + t1 + t2 + ";";
  105865. },
  105866. get$span(receiver) {
  105867. return this.span;
  105868. }
  105869. };
  105870. A.Extension0.prototype = {
  105871. toString$0(_) {
  105872. var t1 = this.extender.toString$0(0),
  105873. t2 = this.target.toString$0(0),
  105874. t3 = this.isOptional ? " !optional" : "";
  105875. return t1 + " {@extend " + t2 + t3 + "}";
  105876. }
  105877. };
  105878. A.Extender0.prototype = {
  105879. assertCompatibleMediaContext$1(mediaContext) {
  105880. var expectedMediaContext,
  105881. extension = this._extension$_extension;
  105882. if (extension == null)
  105883. return;
  105884. expectedMediaContext = extension.mediaContext;
  105885. if (expectedMediaContext == null)
  105886. return;
  105887. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  105888. return;
  105889. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  105890. },
  105891. toString$0(_) {
  105892. return A.serializeSelector0(this.selector, true);
  105893. }
  105894. };
  105895. A.ExtensionStore0.prototype = {
  105896. get$isEmpty(_) {
  105897. return this._extension_store$_extensions.__js_helper$_length === 0;
  105898. },
  105899. get$simpleSelectors() {
  105900. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  105901. },
  105902. extensionsWhereTarget$1(callback) {
  105903. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  105904. },
  105905. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  105906. var $async$self = this;
  105907. return function() {
  105908. var callback = $async$callback;
  105909. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  105910. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  105911. if ($async$errorCode === 1) {
  105912. $async$errorStack.push($async$result);
  105913. $async$goto = $async$handler;
  105914. }
  105915. for (;;)
  105916. switch ($async$goto) {
  105917. case 0:
  105918. // Function start
  105919. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  105920. case 2:
  105921. // for condition
  105922. if (!t1.moveNext$0()) {
  105923. // goto after for
  105924. $async$goto = 3;
  105925. break;
  105926. }
  105927. t2 = t1.get$current(t1);
  105928. simple = t2._0;
  105929. sources = t2._1;
  105930. if (!callback.call$1(simple)) {
  105931. // goto for condition
  105932. $async$goto = 2;
  105933. break;
  105934. }
  105935. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105936. case 4:
  105937. // for condition
  105938. if (!t2.moveNext$0()) {
  105939. // goto after for
  105940. $async$goto = 5;
  105941. break;
  105942. }
  105943. t3 = t2.get$current(t2);
  105944. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105945. break;
  105946. case 6:
  105947. // then
  105948. t3 = t3.unmerge$0();
  105949. $async$goto = 9;
  105950. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105951. case 9:
  105952. // after yield
  105953. // goto join
  105954. $async$goto = 7;
  105955. break;
  105956. case 8:
  105957. // else
  105958. $async$goto = !t3.isOptional ? 10 : 11;
  105959. break;
  105960. case 10:
  105961. // then
  105962. $async$goto = 12;
  105963. return $async$iterator._async$_current = t3, 1;
  105964. case 12:
  105965. // after yield
  105966. case 11:
  105967. // join
  105968. case 7:
  105969. // join
  105970. // goto for condition
  105971. $async$goto = 4;
  105972. break;
  105973. case 5:
  105974. // after for
  105975. // goto for condition
  105976. $async$goto = 2;
  105977. break;
  105978. case 3:
  105979. // after for
  105980. // implicit return
  105981. return 0;
  105982. case 1:
  105983. // rethrow
  105984. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105985. }
  105986. };
  105987. };
  105988. },
  105989. addSelector$2(selector, mediaContext) {
  105990. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105991. selector = selector;
  105992. originalSelector = selector;
  105993. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105994. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105995. t1 = _this._extension_store$_extensions;
  105996. if (t1.__js_helper$_length !== 0)
  105997. try {
  105998. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105999. } catch (exception) {
  106000. t1 = A.unwrapException(exception);
  106001. if (t1 instanceof A.SassException0) {
  106002. error = t1;
  106003. stackTrace = A.getTraceFromException(exception);
  106004. t1 = error;
  106005. t2 = J.getInterceptor$z(t1);
  106006. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  106007. t2 = error._span_exception$_message;
  106008. t3 = error;
  106009. t4 = J.getInterceptor$z(t3);
  106010. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  106011. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  106012. } else
  106013. throw exception;
  106014. }
  106015. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  106016. if (mediaContext != null)
  106017. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  106018. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  106019. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  106020. },
  106021. _extension_store$_registerSelector$2(list, selector) {
  106022. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  106023. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  106024. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  106025. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  106026. simple = t7[_i1];
  106027. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  106028. _0_2_isSet = simple instanceof A.PseudoSelector0;
  106029. _0_2 = null;
  106030. if (_0_2_isSet) {
  106031. _0_2 = simple.selector;
  106032. t9 = _0_2;
  106033. t9 = t9 != null;
  106034. } else
  106035. t9 = false;
  106036. if (t9) {
  106037. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  106038. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  106039. }
  106040. }
  106041. },
  106042. addExtension$4(extender, target, extend, mediaContext) {
  106043. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  106044. selectors = _this._extension_store$_selectors.$index(0, target),
  106045. t1 = _this._extension_store$_extensionsByExtender,
  106046. existingExtensions = t1.$index(0, target),
  106047. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  106048. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector_2, t10 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
  106049. complex = t2[_i];
  106050. if (complex.accept$1(B.C__IsUselessVisitor0))
  106051. continue;
  106052. complex.get$specificity();
  106053. t11 = new A.Extender0(complex, false);
  106054. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  106055. _0_0 = sources.$index(0, complex);
  106056. if (_0_0 != null) {
  106057. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  106058. continue;
  106059. }
  106060. sources.$indexSet(0, complex, extension);
  106061. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  106062. t12 = t11._async$_current;
  106063. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  106064. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  106065. }
  106066. if (!t4 || t8) {
  106067. if (newExtensions == null)
  106068. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  106069. newExtensions.$indexSet(0, complex, extension);
  106070. }
  106071. }
  106072. if (newExtensions == null)
  106073. return;
  106074. t1 = type$.SimpleSelector_2;
  106075. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  106076. if (t8) {
  106077. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  106078. if (additionalExtensions != null)
  106079. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  106080. }
  106081. if (!t4)
  106082. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  106083. },
  106084. _extension_store$_simpleSelectors$1(complex) {
  106085. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  106086. },
  106087. _simpleSelectors$body$ExtensionStore0($async$complex) {
  106088. var $async$self = this;
  106089. return function() {
  106090. var complex = $async$complex;
  106091. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  106092. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  106093. if ($async$errorCode === 1) {
  106094. $async$errorStack.push($async$result);
  106095. $async$goto = $async$handler;
  106096. }
  106097. for (;;)
  106098. switch ($async$goto) {
  106099. case 0:
  106100. // Function start
  106101. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  106102. case 2:
  106103. // for condition
  106104. if (!(_i < t2)) {
  106105. // goto after for
  106106. $async$goto = 4;
  106107. break;
  106108. }
  106109. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  106110. case 5:
  106111. // for condition
  106112. if (!(_i0 < t5)) {
  106113. // goto after for
  106114. $async$goto = 7;
  106115. break;
  106116. }
  106117. simple = t4[_i0];
  106118. $async$goto = 8;
  106119. return $async$iterator._async$_current = simple, 1;
  106120. case 8:
  106121. // after yield
  106122. _0_2_isSet = simple instanceof A.PseudoSelector0;
  106123. _0_2 = null;
  106124. if (_0_2_isSet) {
  106125. _0_2 = simple.selector;
  106126. t6 = _0_2;
  106127. t6 = t6 != null;
  106128. } else
  106129. t6 = false;
  106130. $async$goto = t6 ? 9 : 10;
  106131. break;
  106132. case 9:
  106133. // then
  106134. selector = _0_2_isSet ? _0_2 : simple.selector;
  106135. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  106136. case 11:
  106137. // for condition
  106138. if (!(_i1 < t7)) {
  106139. // goto after for
  106140. $async$goto = 13;
  106141. break;
  106142. }
  106143. $async$goto = 14;
  106144. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  106145. case 14:
  106146. // after yield
  106147. case 12:
  106148. // for update
  106149. ++_i1;
  106150. // goto for condition
  106151. $async$goto = 11;
  106152. break;
  106153. case 13:
  106154. // after for
  106155. case 10:
  106156. // join
  106157. case 6:
  106158. // for update
  106159. ++_i0;
  106160. // goto for condition
  106161. $async$goto = 5;
  106162. break;
  106163. case 7:
  106164. // after for
  106165. case 3:
  106166. // for update
  106167. ++_i;
  106168. // goto for condition
  106169. $async$goto = 2;
  106170. break;
  106171. case 4:
  106172. // after for
  106173. // implicit return
  106174. return 0;
  106175. case 1:
  106176. // rethrow
  106177. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  106178. }
  106179. };
  106180. };
  106181. },
  106182. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  106183. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, _i0, _i1;
  106184. for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extension_store$_extensionsByExtender, t4 = type$.SimpleSelector_2, t5 = type$.Map_ComplexSelector_Extension_2, t6 = this._extension_store$_extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  106185. extension = t1[_i];
  106186. t7 = t6.$index(0, extension.target);
  106187. t7.toString;
  106188. selectors = null;
  106189. try {
  106190. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  106191. if (selectors == null)
  106192. continue;
  106193. } catch (exception) {
  106194. t8 = A.unwrapException(exception);
  106195. if (t8 instanceof A.SassException0) {
  106196. error = t8;
  106197. stackTrace = A.getTraceFromException(exception);
  106198. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  106199. } else
  106200. throw exception;
  106201. }
  106202. t8 = J.get$first$ax(selectors);
  106203. t9 = extension.extender.selector;
  106204. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  106205. t8 = selectors;
  106206. t9 = A._arrayInstanceType(t8);
  106207. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  106208. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  106209. selectors = selectors0;
  106210. }
  106211. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  106212. t9 = t8.get$current(t8);
  106213. t10 = extension;
  106214. t11 = t10.target;
  106215. t12 = t10.span;
  106216. t13 = t10.mediaContext;
  106217. t10 = t10.isOptional;
  106218. t9.get$specificity();
  106219. t14 = new A.Extender0(t9, false);
  106220. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  106221. _0_0 = t7.$index(0, t9);
  106222. if (_0_0 != null)
  106223. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  106224. else {
  106225. t7.$indexSet(0, t9, withExtender);
  106226. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  106227. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  106228. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  106229. if (newExtensions.containsKey$1(extension.target)) {
  106230. if (additionalExtensions == null)
  106231. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  106232. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  106233. }
  106234. }
  106235. }
  106236. }
  106237. return additionalExtensions;
  106238. },
  106239. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  106240. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  106241. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  106242. selector = t1.get$current(t1);
  106243. oldValue = selector.value;
  106244. try {
  106245. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  106246. } catch (exception) {
  106247. t3 = A.unwrapException(exception);
  106248. if (t3 instanceof A.SassException0) {
  106249. error = t3;
  106250. stackTrace = A.getTraceFromException(exception);
  106251. t3 = selector.value.span.message$1(0, "");
  106252. t4 = error._span_exception$_message;
  106253. t5 = error;
  106254. t6 = J.getInterceptor$z(t5);
  106255. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  106256. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  106257. } else
  106258. throw exception;
  106259. }
  106260. if (oldValue === selector.value)
  106261. continue;
  106262. this._extension_store$_registerSelector$2(selector.value, selector);
  106263. }
  106264. },
  106265. addExtensions$1(extensionStores) {
  106266. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, t16, extender, extension, _this = this, _null = null;
  106267. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector_2, t3 = type$.Map_ComplexSelector_Extension_2, t4 = _this._extension_store$_extensions, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = _this._extension_store$_selectors, t8 = _this._extension_store$_extensionsByExtender, t9 = type$.JSArray_Extension_2, t10 = type$.ModifiableBox_SelectorList_2, t11 = _this._extension_store$_sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  106268. t12 = t1.get$current(t1);
  106269. if (t12.get$isEmpty(t12))
  106270. continue;
  106271. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  106272. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  106273. t13 = t12.get$current(t12);
  106274. target = t13._0;
  106275. newSources = t13._1;
  106276. if (target instanceof A.PlaceholderSelector0) {
  106277. first = target.name.charCodeAt(0);
  106278. t13 = first === 45 || first === 95;
  106279. } else
  106280. t13 = false;
  106281. if (t13)
  106282. continue;
  106283. extensionsForTarget = t8.$index(0, target);
  106284. t13 = extensionsForTarget == null;
  106285. if (!t13) {
  106286. if (extensionsToExtend == null) {
  106287. extensionsToExtend = A._setArrayType([], t9);
  106288. t14 = extensionsToExtend;
  106289. } else
  106290. t14 = extensionsToExtend;
  106291. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  106292. }
  106293. selectorsForTarget = t7.$index(0, target);
  106294. t14 = selectorsForTarget != null;
  106295. if (t14) {
  106296. if (selectorsToExtend == null) {
  106297. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  106298. t15 = selectorsToExtend;
  106299. } else
  106300. t15 = selectorsToExtend;
  106301. t15.addAll$1(0, selectorsForTarget);
  106302. }
  106303. _2_0 = t4.$index(0, target);
  106304. if (_2_0 != null)
  106305. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  106306. t16 = t15.get$current(t15);
  106307. extender = t16._0;
  106308. extension = t16._1;
  106309. if (_2_0.containsKey$1(extender)) {
  106310. t16 = _2_0.$index(0, extender);
  106311. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  106312. _2_0.$indexSet(0, extender, extension);
  106313. } else
  106314. _2_0.$indexSet(0, extender, extension);
  106315. if (!t13 || t14) {
  106316. if (newExtensions == null) {
  106317. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106318. t16 = newExtensions;
  106319. } else
  106320. t16 = newExtensions;
  106321. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  106322. }
  106323. }
  106324. else {
  106325. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  106326. t15.addAll$1(0, newSources);
  106327. t4.$indexSet(0, target, t15);
  106328. if (!t13 || t14) {
  106329. if (newExtensions == null) {
  106330. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106331. t13 = newExtensions;
  106332. } else
  106333. t13 = newExtensions;
  106334. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  106335. t14.addAll$1(0, newSources);
  106336. t13.$indexSet(0, target, t14);
  106337. }
  106338. }
  106339. }
  106340. }
  106341. if (newExtensions != null) {
  106342. if (extensionsToExtend != null)
  106343. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  106344. if (selectorsToExtend != null)
  106345. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  106346. }
  106347. },
  106348. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  106349. var t1, t2, t3, extended, i, complex, result, t4;
  106350. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  106351. complex = t1[i];
  106352. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  106353. if (result == null) {
  106354. if (extended != null)
  106355. extended.push(complex);
  106356. } else {
  106357. if (extended == null)
  106358. if (i === 0)
  106359. extended = A._setArrayType([], t3);
  106360. else {
  106361. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  106362. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  106363. }
  106364. B.JSArray_methods.addAll$1(extended, result);
  106365. }
  106366. }
  106367. if (extended == null)
  106368. return list;
  106369. t1 = this._extension_store$_originals;
  106370. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  106371. },
  106372. _extension_store$_extendList$2(list, extensions) {
  106373. return this._extension_store$_extendList$3(list, extensions, null);
  106374. },
  106375. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  106376. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  106377. t1 = complex.leadingCombinators,
  106378. t2 = t1.length;
  106379. if (t2 > 1)
  106380. return null;
  106381. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  106382. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector_2, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector_2, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent_2, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  106383. component = t3[i];
  106384. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  106385. if (extended == null) {
  106386. if (extendedNotExpanded != null)
  106387. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty15, A._setArrayType([component], t10), t8, t6)], t9));
  106388. } else if (extendedNotExpanded != null)
  106389. extendedNotExpanded.push(extended);
  106390. else if (i !== 0) {
  106391. t11 = A._arrayInstanceType(t3);
  106392. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  106393. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  106394. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  106395. } else if (t2)
  106396. extendedNotExpanded = A._setArrayType([extended], t5);
  106397. else {
  106398. t11 = A._setArrayType([], t9);
  106399. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  106400. t13 = t12.get$current(t12);
  106401. t14 = t13.leadingCombinators;
  106402. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  106403. t14 = t13.components;
  106404. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  106405. }
  106406. }
  106407. extendedNotExpanded = A._setArrayType([t11], t5);
  106408. }
  106409. }
  106410. if (extendedNotExpanded == null)
  106411. return null;
  106412. _box_0.first = true;
  106413. t1 = type$.ComplexSelector_2;
  106414. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  106415. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  106416. return t1;
  106417. },
  106418. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  106419. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  106420. t1 = _this._extension_store$_mode,
  106421. targetsUsed = t1 === B.ExtendMode_normal_0_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  106422. t2 = component.selector,
  106423. simples = t2.components;
  106424. for (t3 = simples.length, t4 = type$.JSArray_List_Extender_2, t5 = type$.JSArray_Extender_2, t6 = type$.CssValue_Combinator_2, t7 = type$.JSArray_ComplexSelectorComponent_2, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector_2, options = _null, i = 0; i < t3; ++i) {
  106425. simple = simples[i];
  106426. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  106427. if (extended == null) {
  106428. if (options != null)
  106429. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  106430. } else {
  106431. if (options == null) {
  106432. options = A._setArrayType([], t4);
  106433. if (i !== 0) {
  106434. t12 = new A.SubListIterable(simples, 0, i, t8);
  106435. t12.SubListIterable$3(simples, 0, i, t9);
  106436. result = A.List_List$from(t12, false, t11);
  106437. result.$flags = 3;
  106438. t12 = result;
  106439. compound = new A.CompoundSelector0(t12, t10);
  106440. if (t12.length === 0)
  106441. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  106442. result = A.List_List$from(B.List_empty15, false, t6);
  106443. result.$flags = 3;
  106444. t12 = A.ComplexSelector$0(B.List_empty15, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  106445. _this._extension_store$_sourceSpecificityFor$1(compound);
  106446. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  106447. }
  106448. }
  106449. B.JSArray_methods.addAll$1(options, extended);
  106450. }
  106451. }
  106452. if (options == null)
  106453. return _null;
  106454. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  106455. return _null;
  106456. if (options.length === 1) {
  106457. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  106458. t4 = t1.get$current(t1);
  106459. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  106460. complex = t4.selector.withAdditionalCombinators$1(t2);
  106461. if (complex.accept$1(B.C__IsUselessVisitor0))
  106462. continue;
  106463. if (result == null)
  106464. result = A._setArrayType([], t3);
  106465. result.push(complex);
  106466. }
  106467. return result;
  106468. }
  106469. extenderPaths = A.paths0(options, type$.Extender_2);
  106470. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106471. t1 = t1 === B.ExtendMode_replace_1_replace0;
  106472. t4 = !t1;
  106473. if (t4)
  106474. t3.push(A.ComplexSelector$0(B.List_empty15, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  106475. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  106476. t5 = t2.$ti;
  106477. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  106478. t6 = component.combinators;
  106479. t5 = t5._eval$1("ListIterable.E");
  106480. while (t2.moveNext$0()) {
  106481. t1 = t2.__internal$_current;
  106482. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  106483. if (extended == null)
  106484. continue;
  106485. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  106486. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  106487. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  106488. t3.push(withCombinators);
  106489. }
  106490. }
  106491. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  106492. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  106493. },
  106494. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  106495. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  106496. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  106497. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  106498. t4 = t2.get$current(t2);
  106499. if (t4.isOriginal) {
  106500. if (originals == null)
  106501. originals = A._setArrayType([], t3);
  106502. t4 = t4.selector;
  106503. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  106504. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  106505. } else {
  106506. t4 = t4.selector;
  106507. if (t4.accept$1(B.C__IsUselessVisitor0))
  106508. return _null;
  106509. else
  106510. toUnify._queue_list$_add$1(t4);
  106511. }
  106512. }
  106513. if (originals != null)
  106514. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty15, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty15, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  106515. complexes = A.unifyComplex0(toUnify, span);
  106516. if (complexes == null)
  106517. return _null;
  106518. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  106519. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  106520. return complexes;
  106521. },
  106522. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  106523. var t2, _1_0,
  106524. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  106525. if (simple instanceof A.PseudoSelector0)
  106526. t2 = simple.selector != null;
  106527. else
  106528. t2 = false;
  106529. if (t2) {
  106530. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  106531. if (_1_0 != null)
  106532. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  106533. }
  106534. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  106535. },
  106536. _extension_store$_extenderForSimple$1(simple) {
  106537. var t1 = simple.span;
  106538. t1 = A.ComplexSelector$0(B.List_empty15, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty15, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  106539. this._extension_store$_sourceSpecificity.$index(0, simple);
  106540. return new A.Extender0(t1, true);
  106541. },
  106542. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  106543. var extended, complexes, t1, result,
  106544. selector = pseudo.selector;
  106545. if (selector == null)
  106546. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  106547. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  106548. if (extended === selector)
  106549. return null;
  106550. complexes = extended.components;
  106551. t1 = pseudo.normalizedName === "not";
  106552. if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure4()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure5()))
  106553. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  106554. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  106555. if (t1 && selector.components.length === 1) {
  106556. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  106557. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  106558. return result.length === 0 ? null : result;
  106559. } else
  106560. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  106561. },
  106562. _extension_store$_trim$2(selectors, isOriginal) {
  106563. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  106564. if (selectors.length > 100)
  106565. return selectors;
  106566. result = A.QueueList$(null, type$.ComplexSelector_2);
  106567. $label0$0:
  106568. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  106569. _box_0 = {};
  106570. complex1 = selectors[i];
  106571. if (isOriginal.call$1(complex1)) {
  106572. for (j = 0; j < numOriginals; ++j)
  106573. if (result.$index(0, j).$eq(0, complex1)) {
  106574. A.rotateSlice0(result, 0, j + 1);
  106575. continue $label0$0;
  106576. }
  106577. ++numOriginals;
  106578. result.addFirst$1(complex1);
  106579. continue $label0$0;
  106580. }
  106581. _box_0.maxSpecificity = 0;
  106582. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  106583. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  106584. _box_0.maxSpecificity = maxSpecificity;
  106585. }
  106586. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  106587. continue $label0$0;
  106588. t3 = new A.SubListIterable(selectors, 0, i, t1);
  106589. t3.SubListIterable$3(selectors, 0, i, t2);
  106590. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  106591. continue $label0$0;
  106592. result.addFirst$1(complex1);
  106593. }
  106594. return result;
  106595. },
  106596. _extension_store$_sourceSpecificityFor$1(compound) {
  106597. var t1, t2, t3, specificity, _i, t4;
  106598. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  106599. t4 = t3.$index(0, t1[_i]);
  106600. if (t4 == null)
  106601. t4 = 0;
  106602. specificity = Math.max(specificity, t4);
  106603. }
  106604. return specificity;
  106605. },
  106606. clone$0() {
  106607. var t3, t4, _this = this,
  106608. t1 = type$.SimpleSelector_2,
  106609. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  106610. t2 = type$.ModifiableBox_SelectorList_2,
  106611. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
  106612. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  106613. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), oldToNewSelectors, newMediaContexts));
  106614. t2 = type$.Extension_2;
  106615. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  106616. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  106617. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  106618. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  106619. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  106620. t4.addAll$1(0, _this._extension_store$_originals);
  106621. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_0_normal0), oldToNewSelectors);
  106622. },
  106623. get$_extension_store$_extensions() {
  106624. return this._extension_store$_extensions;
  106625. },
  106626. get$_extension_store$_sourceSpecificity() {
  106627. return this._extension_store$_sourceSpecificity;
  106628. }
  106629. };
  106630. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  106631. call$1(extension) {
  106632. return !extension.isOptional;
  106633. },
  106634. $signature: 463
  106635. };
  106636. A.ExtensionStore__registerSelector_closure0.prototype = {
  106637. call$0() {
  106638. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  106639. },
  106640. $signature: 464
  106641. };
  106642. A.ExtensionStore_addExtension_closure2.prototype = {
  106643. call$0() {
  106644. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106645. },
  106646. $signature: 131
  106647. };
  106648. A.ExtensionStore_addExtension_closure3.prototype = {
  106649. call$0() {
  106650. return A._setArrayType([], type$.JSArray_Extension_2);
  106651. },
  106652. $signature: 192
  106653. };
  106654. A.ExtensionStore_addExtension_closure4.prototype = {
  106655. call$0() {
  106656. return this.complex.get$specificity();
  106657. },
  106658. $signature: 10
  106659. };
  106660. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  106661. call$0() {
  106662. return A._setArrayType([], type$.JSArray_Extension_2);
  106663. },
  106664. $signature: 192
  106665. };
  106666. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  106667. call$0() {
  106668. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106669. },
  106670. $signature: 131
  106671. };
  106672. A.ExtensionStore_addExtensions_closure0.prototype = {
  106673. call$0() {
  106674. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106675. },
  106676. $signature: 131
  106677. };
  106678. A.ExtensionStore__extendComplex_closure0.prototype = {
  106679. call$1(path) {
  106680. var t1 = this.complex;
  106681. return J.map$1$1$ax(A.weave0(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, t1), type$.ComplexSelector_2);
  106682. },
  106683. $signature: 467
  106684. };
  106685. A.ExtensionStore__extendComplex__closure0.prototype = {
  106686. call$1(outputComplex) {
  106687. var _this = this,
  106688. t1 = _this._box_0;
  106689. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  106690. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  106691. t1.first = false;
  106692. return outputComplex;
  106693. },
  106694. $signature: 63
  106695. };
  106696. A.ExtensionStore__extendCompound_closure2.prototype = {
  106697. call$1(extender) {
  106698. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  106699. },
  106700. $signature: 469
  106701. };
  106702. A.ExtensionStore__extendCompound_closure3.prototype = {
  106703. call$1(_) {
  106704. return false;
  106705. },
  106706. $signature: 21
  106707. };
  106708. A.ExtensionStore__extendCompound_closure4.prototype = {
  106709. call$1(complex) {
  106710. return complex.$eq(0, this.original);
  106711. },
  106712. $signature: 21
  106713. };
  106714. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  106715. call$1(simple) {
  106716. var t1, t2,
  106717. extensionsForSimple = this.extensions.$index(0, simple);
  106718. if (extensionsForSimple == null)
  106719. return null;
  106720. t1 = this.targetsUsed;
  106721. if (t1 != null)
  106722. t1.add$1(0, simple);
  106723. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  106724. t2 = this.$this;
  106725. if (t2._extension_store$_mode !== B.ExtendMode_replace_1_replace0)
  106726. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  106727. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  106728. t1.push(t2.get$current(t2).extender);
  106729. return t1;
  106730. },
  106731. $signature: 470
  106732. };
  106733. A.ExtensionStore__extendSimple_closure1.prototype = {
  106734. call$1(pseudo) {
  106735. var t1 = this.withoutPseudo.call$1(pseudo);
  106736. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  106737. },
  106738. $signature: 471
  106739. };
  106740. A.ExtensionStore__extendSimple_closure2.prototype = {
  106741. call$1(result) {
  106742. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  106743. },
  106744. $signature: 472
  106745. };
  106746. A.ExtensionStore__extendPseudo_closure4.prototype = {
  106747. call$1(complex) {
  106748. return complex.components.length > 1;
  106749. },
  106750. $signature: 21
  106751. };
  106752. A.ExtensionStore__extendPseudo_closure5.prototype = {
  106753. call$1(complex) {
  106754. return complex.components.length === 1;
  106755. },
  106756. $signature: 21
  106757. };
  106758. A.ExtensionStore__extendPseudo_closure6.prototype = {
  106759. call$1(complex) {
  106760. return complex.components.length <= 1;
  106761. },
  106762. $signature: 21
  106763. };
  106764. A.ExtensionStore__extendPseudo_closure7.prototype = {
  106765. call$1(complex) {
  106766. var innerPseudo, innerSelector,
  106767. t1 = complex.get$singleCompound();
  106768. if (t1 == null)
  106769. innerPseudo = null;
  106770. else {
  106771. t1 = t1.components;
  106772. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  106773. }
  106774. if (!(innerPseudo instanceof A.PseudoSelector0))
  106775. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106776. innerSelector = innerPseudo.selector;
  106777. if (innerSelector == null)
  106778. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106779. t1 = this.pseudo;
  106780. switch (t1.normalizedName) {
  106781. case "not":
  106782. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  106783. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106784. return innerSelector.components;
  106785. case "is":
  106786. case "matches":
  106787. case "where":
  106788. case "any":
  106789. case "current":
  106790. case "nth-child":
  106791. case "nth-last-child":
  106792. if (innerPseudo.name !== t1.name)
  106793. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106794. if (innerPseudo.argument != t1.argument)
  106795. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106796. return innerSelector.components;
  106797. case "has":
  106798. case "host":
  106799. case "host-context":
  106800. case "slotted":
  106801. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106802. default:
  106803. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106804. }
  106805. },
  106806. $signature: 473
  106807. };
  106808. A.ExtensionStore__extendPseudo_closure8.prototype = {
  106809. call$1(complex) {
  106810. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  106811. },
  106812. $signature: 474
  106813. };
  106814. A.ExtensionStore__trim_closure1.prototype = {
  106815. call$1(complex2) {
  106816. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106817. },
  106818. $signature: 21
  106819. };
  106820. A.ExtensionStore__trim_closure2.prototype = {
  106821. call$1(complex2) {
  106822. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106823. },
  106824. $signature: 21
  106825. };
  106826. A.ExtensionStore_clone_closure0.prototype = {
  106827. call$2(simple, selectors) {
  106828. var t1, t2, t3, t4, t5, t6, newSelector, _0_0, _this = this,
  106829. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  106830. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  106831. for (t1 = selectors.get$iterator(selectors), t2 = _this.newBoxes, t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t1.moveNext$0();) {
  106832. t6 = t1.get$current(t1);
  106833. newSelector = t2.putIfAbsent$2(t6, new A.ExtensionStore_clone__closure0(t6));
  106834. newSelectorSet.add$1(0, newSelector);
  106835. t3.$indexSet(0, t6.value, new A.Box0(newSelector, newSelector.$ti._eval$1("Box0<1>")));
  106836. _0_0 = t4.$index(0, t6);
  106837. if (_0_0 != null)
  106838. t5.$indexSet(0, newSelector, _0_0);
  106839. }
  106840. },
  106841. $signature: 475
  106842. };
  106843. A.ExtensionStore_clone__closure0.prototype = {
  106844. call$0() {
  106845. return new A.ModifiableBox0(this.selector.value, type$.ModifiableBox_SelectorList_2);
  106846. },
  106847. $signature: 476
  106848. };
  106849. A.FiberClass.prototype = {};
  106850. A.Fiber.prototype = {};
  106851. A.JSToDartFileImporter.prototype = {
  106852. canonicalize$1(_, url) {
  106853. var result, t1, resultUrl;
  106854. if (url.get$scheme() === "file")
  106855. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  106856. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  106857. if (result == null)
  106858. return null;
  106859. t1 = self.Promise;
  106860. if (result instanceof t1)
  106861. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  106862. else {
  106863. t1 = self.URL;
  106864. if (!(result instanceof t1))
  106865. A.jsThrow(new self.Error(string$.The_fie));
  106866. }
  106867. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  106868. if (resultUrl.get$scheme() !== "file")
  106869. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  106870. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  106871. },
  106872. load$1(_, url) {
  106873. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  106874. },
  106875. isNonCanonicalScheme$1(scheme) {
  106876. return scheme !== "file";
  106877. }
  106878. };
  106879. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  106880. call$0() {
  106881. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  106882. },
  106883. $signature: 35
  106884. };
  106885. A.FilesystemImporter0.prototype = {
  106886. canonicalize$1(_, url) {
  106887. var resolved;
  106888. if (url.get$scheme() === "file")
  106889. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  106890. else if (url.get$scheme() !== "")
  106891. return null;
  106892. else {
  106893. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  106894. if (resolved != null && this._filesystem$_loadPathDeprecated)
  106895. A.warnForDeprecation0(string$.Using_t, B.Deprecation_LUk);
  106896. }
  106897. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  106898. },
  106899. load$1(_, url) {
  106900. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  106901. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  106902. },
  106903. toString$0(_) {
  106904. return this._filesystem$_loadPath;
  106905. }
  106906. };
  106907. A.FilesystemImporter_canonicalize_closure0.prototype = {
  106908. call$1(resolved) {
  106909. var t2, t0, _null = null,
  106910. t1 = A.isNodeJs() ? self.process : _null;
  106911. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  106912. t1 = A.isNodeJs() ? self.process : _null;
  106913. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  106914. } else
  106915. t1 = true;
  106916. if (t1) {
  106917. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  106918. t2 = $.$get$context();
  106919. t1 = A._realCasePath0(t2.normalize$1(t1));
  106920. } else {
  106921. t1 = $.$get$context();
  106922. t2 = t1.canonicalize$1(0, resolved);
  106923. t0 = t2;
  106924. t2 = t1;
  106925. t1 = t0;
  106926. }
  106927. return t2.toUri$1(t1);
  106928. },
  106929. $signature: 127
  106930. };
  106931. A.ForRule0.prototype = {
  106932. accept$1$1(visitor) {
  106933. return visitor.visitForRule$1(0, this);
  106934. },
  106935. accept$1(visitor) {
  106936. return this.accept$1$1(visitor, type$.dynamic);
  106937. },
  106938. toString$0(_) {
  106939. var _this = this,
  106940. t1 = _this.from.toString$0(0),
  106941. t2 = _this.isExclusive ? "to" : "through";
  106942. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + B.JSArray_methods.join$1(_this.children, " ") + "}";
  106943. },
  106944. get$span(receiver) {
  106945. return this.span;
  106946. }
  106947. };
  106948. A.ForwardRule0.prototype = {
  106949. accept$1$1(visitor) {
  106950. return visitor.visitForwardRule$1(0, this);
  106951. },
  106952. accept$1(visitor) {
  106953. return this.accept$1$1(visitor, type$.dynamic);
  106954. },
  106955. toString$0(_) {
  106956. var t2, prefix, _this = this,
  106957. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106958. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106959. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106960. if (shownMixinsAndFunctions != null) {
  106961. t2 = _this.shownVariables;
  106962. t2.toString;
  106963. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106964. t1 = t2;
  106965. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106966. t2 = _this.hiddenVariables;
  106967. t2.toString;
  106968. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106969. t1 = t2;
  106970. }
  106971. prefix = _this.prefix;
  106972. if (prefix != null)
  106973. t1 += " as " + prefix + "*";
  106974. t2 = _this.configuration;
  106975. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106976. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106977. },
  106978. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106979. var t2,
  106980. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  106981. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106982. t1.push("$" + t2.get$current(0));
  106983. return B.JSArray_methods.join$1(t1, ", ");
  106984. },
  106985. get$span(receiver) {
  106986. return this.span;
  106987. }
  106988. };
  106989. A.ForwardedModuleView0.prototype = {
  106990. get$url(_) {
  106991. var t1 = this._forwarded_view0$_inner;
  106992. return t1.get$url(t1);
  106993. },
  106994. get$upstream() {
  106995. return this._forwarded_view0$_inner.get$upstream();
  106996. },
  106997. get$extensionStore() {
  106998. return this._forwarded_view0$_inner.get$extensionStore();
  106999. },
  107000. get$css(_) {
  107001. var t1 = this._forwarded_view0$_inner;
  107002. return t1.get$css(t1);
  107003. },
  107004. get$preModuleComments() {
  107005. return this._forwarded_view0$_inner.get$preModuleComments();
  107006. },
  107007. get$transitivelyContainsCss() {
  107008. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  107009. },
  107010. get$transitivelyContainsExtensions() {
  107011. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  107012. },
  107013. setVariable$3($name, value, nodeWithSpan) {
  107014. var t2, _1_0, _2_0,
  107015. _s19_ = "Undefined variable.",
  107016. t1 = this._forwarded_view0$_rule,
  107017. _0_0 = t1.shownVariables;
  107018. if (_0_0 != null)
  107019. t2 = !_0_0._base.contains$1(0, $name);
  107020. else
  107021. t2 = false;
  107022. if (t2)
  107023. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  107024. else {
  107025. _1_0 = t1.hiddenVariables;
  107026. if (_1_0 != null)
  107027. t2 = _1_0._base.contains$1(0, $name);
  107028. else
  107029. t2 = false;
  107030. if (t2)
  107031. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  107032. }
  107033. _2_0 = t1.prefix;
  107034. if (_2_0 != null) {
  107035. if (!B.JSString_methods.startsWith$1($name, _2_0))
  107036. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  107037. $name = B.JSString_methods.substring$1($name, _2_0.length);
  107038. }
  107039. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  107040. },
  107041. variableIdentity$1($name) {
  107042. var _0_0 = this._forwarded_view0$_rule.prefix;
  107043. if (_0_0 != null)
  107044. $name = B.JSString_methods.substring$1($name, _0_0.length);
  107045. return this._forwarded_view0$_inner.variableIdentity$1($name);
  107046. },
  107047. couldHaveBeenConfigured$1(variables) {
  107048. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  107049. t1 = _this._forwarded_view0$_rule,
  107050. t2 = t1.prefix,
  107051. t3 = t2 == null,
  107052. t4 = false;
  107053. if (t3)
  107054. if (t1.shownVariables == null) {
  107055. t4 = t1.hiddenVariables;
  107056. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  107057. t4 = t4 !== false;
  107058. }
  107059. if (t4)
  107060. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables);
  107061. if (!t3) {
  107062. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  107063. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  107064. t6 = t4.get$current(t4);
  107065. if (B.JSString_methods.startsWith$1(t6, t2))
  107066. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  107067. }
  107068. variables = t3;
  107069. }
  107070. _1_0 = t1.shownVariables;
  107071. if (_1_0 != null)
  107072. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  107073. else {
  107074. _2_0 = t1.hiddenVariables;
  107075. if (_2_0 != null) {
  107076. t1 = _2_0._base.get$isNotEmpty(0);
  107077. blocklist = _2_0;
  107078. } else {
  107079. blocklist = null;
  107080. t1 = false;
  107081. }
  107082. t2 = _this._forwarded_view0$_inner;
  107083. if (t1)
  107084. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  107085. else
  107086. return t2.couldHaveBeenConfigured$1(variables);
  107087. }
  107088. },
  107089. $eq(_, other) {
  107090. if (other == null)
  107091. return false;
  107092. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  107093. },
  107094. get$hashCode(_) {
  107095. var t1 = this._forwarded_view0$_inner;
  107096. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  107097. },
  107098. cloneCss$0() {
  107099. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  107100. },
  107101. toString$0(_) {
  107102. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  107103. },
  107104. $isModule1: 1,
  107105. get$variables() {
  107106. return this.variables;
  107107. },
  107108. get$variableNodes() {
  107109. return this.variableNodes;
  107110. },
  107111. get$functions(receiver) {
  107112. return this.functions;
  107113. },
  107114. get$mixins() {
  107115. return this.mixins;
  107116. }
  107117. };
  107118. A.FunctionExpression0.prototype = {
  107119. accept$1$1(visitor) {
  107120. return visitor.visitFunctionExpression$1(0, this);
  107121. },
  107122. accept$1(visitor) {
  107123. return this.accept$1$1(visitor, type$.dynamic);
  107124. },
  107125. toString$0(_) {
  107126. var t1 = this.namespace;
  107127. t1 = t1 != null ? t1 + "." : "";
  107128. t1 += this.originalName + this.$arguments.toString$0(0);
  107129. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107130. },
  107131. get$span(receiver) {
  107132. return this.span;
  107133. }
  107134. };
  107135. A.JSFunction0.prototype = {};
  107136. A.SupportsFunction0.prototype = {
  107137. toInterpolation$0() {
  107138. var t4, t5,
  107139. t1 = new A.StringBuffer(""),
  107140. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  107141. t3 = this.name;
  107142. t2.addInterpolation$1(t3);
  107143. t4 = this.$arguments;
  107144. t5 = t4.span;
  107145. t3 = A.SpanExtensions_between(t3.span, t5);
  107146. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  107147. t1._contents += t3;
  107148. t2.addInterpolation$1(t4);
  107149. t4 = this.span;
  107150. t5 = A.SpanExtensions_after(t4, t5);
  107151. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  107152. t1._contents += t5;
  107153. return t2.interpolation$1(t4);
  107154. },
  107155. withSpan$1(span) {
  107156. return new A.SupportsFunction0(this.name, this.$arguments, span);
  107157. },
  107158. toString$0(_) {
  107159. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  107160. },
  107161. $isAstNode0: 1,
  107162. $isSassNode: 1,
  107163. $isSupportsCondition: 1,
  107164. get$span(receiver) {
  107165. return this.span;
  107166. }
  107167. };
  107168. A.functionClass_closure.prototype = {
  107169. call$0() {
  107170. var t1 = type$.JSClass,
  107171. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  107172. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null), null).constructor), jsClass);
  107173. return jsClass;
  107174. },
  107175. $signature: 15
  107176. };
  107177. A.functionClass__closure.prototype = {
  107178. call$3($self, signature, callback) {
  107179. var paren = B.JSString_methods.indexOf$1(signature, "(");
  107180. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  107181. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  107182. return new A.SassFunction0(A.BuiltInCallable$function0(B.JSString_methods.substring$2(signature, 0, paren), B.JSString_methods.substring$2(signature, paren + 1, signature.length - 1), callback, null), null);
  107183. },
  107184. "call*": "call$3",
  107185. $requiredArgCount: 3,
  107186. $signature: 477
  107187. };
  107188. A.functionClass__closure0.prototype = {
  107189. call$1(_) {
  107190. return B.C__SassNull0;
  107191. },
  107192. $signature: 3
  107193. };
  107194. A.SassFunction0.prototype = {
  107195. accept$1$1(visitor) {
  107196. var t1, t2;
  107197. if (!visitor._serialize0$_inspect)
  107198. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  107199. t1 = visitor._serialize0$_buffer;
  107200. t1.write$1(0, "get-function(");
  107201. t2 = this.callable;
  107202. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  107203. t1.writeCharCode$1(41);
  107204. return null;
  107205. },
  107206. accept$1(visitor) {
  107207. return this.accept$1$1(visitor, type$.dynamic);
  107208. },
  107209. assertFunction$1($name) {
  107210. return this;
  107211. },
  107212. assertCompileContext$1(compileContext) {
  107213. var t1 = this._function0$_compileContext;
  107214. if (t1 != null)
  107215. t1 = t1 !== compileContext;
  107216. else
  107217. t1 = false;
  107218. if (t1)
  107219. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  107220. return this;
  107221. },
  107222. $eq(_, other) {
  107223. if (other == null)
  107224. return false;
  107225. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  107226. },
  107227. get$hashCode(_) {
  107228. var t1 = this.callable;
  107229. return t1.get$hashCode(t1);
  107230. }
  107231. };
  107232. A.FunctionRule0.prototype = {
  107233. accept$1$1(visitor) {
  107234. return visitor.visitFunctionRule$1(0, this);
  107235. },
  107236. accept$1(visitor) {
  107237. return this.accept$1$1(visitor, type$.dynamic);
  107238. },
  107239. toString$0(_) {
  107240. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107241. }
  107242. };
  107243. A.unifyComplex_closure0.prototype = {
  107244. call$1(complex) {
  107245. return complex.lineBreak;
  107246. },
  107247. $signature: 21
  107248. };
  107249. A._weaveParents_closure3.prototype = {
  107250. call$2(group1, group2) {
  107251. var t1, unified;
  107252. if (B.C_ListEquality.equals$2(0, group1, group2))
  107253. return group1;
  107254. if (A._complexIsParentSuperselector0(group1, group2))
  107255. return group2;
  107256. if (A._complexIsParentSuperselector0(group2, group1))
  107257. return group1;
  107258. if (!A._mustUnify0(group1, group2))
  107259. return null;
  107260. t1 = this.span;
  107261. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty15, group1, t1, false), A.ComplexSelector$0(B.List_empty15, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  107262. if (unified == null)
  107263. t1 = null;
  107264. else {
  107265. t1 = A.IterableExtension_get_singleOrNull(unified);
  107266. t1 = t1 == null ? null : t1.components;
  107267. }
  107268. return t1;
  107269. },
  107270. $signature: 478
  107271. };
  107272. A._weaveParents_closure4.prototype = {
  107273. call$1(sequence) {
  107274. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  107275. },
  107276. $signature: 191
  107277. };
  107278. A._weaveParents_closure5.prototype = {
  107279. call$1(sequence) {
  107280. return sequence.get$length(0) === 0;
  107281. },
  107282. $signature: 191
  107283. };
  107284. A._weaveParents_closure6.prototype = {
  107285. call$1(choice) {
  107286. return J.get$isNotEmpty$asx(choice);
  107287. },
  107288. $signature: 480
  107289. };
  107290. A._mustUnify_closure0.prototype = {
  107291. call$1(component) {
  107292. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  107293. },
  107294. $signature: 53
  107295. };
  107296. A._mustUnify__closure0.prototype = {
  107297. call$1(simple) {
  107298. var t1;
  107299. if (!(simple instanceof A.IDSelector0))
  107300. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  107301. else
  107302. t1 = true;
  107303. return t1 && this.uniqueSelectors.contains$1(0, simple);
  107304. },
  107305. $signature: 14
  107306. };
  107307. A.paths_closure0.prototype = {
  107308. call$2(paths, choice) {
  107309. var t1 = this.T;
  107310. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  107311. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  107312. return t1;
  107313. },
  107314. $signature() {
  107315. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  107316. }
  107317. };
  107318. A.paths__closure0.prototype = {
  107319. call$1(option) {
  107320. var t1 = this.T;
  107321. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  107322. },
  107323. $signature() {
  107324. return this.T._eval$1("Iterable<List<0>>(0)");
  107325. }
  107326. };
  107327. A.paths___closure0.prototype = {
  107328. call$1(path) {
  107329. var t1 = A.List_List$_of(path, this.T);
  107330. t1.push(this.option);
  107331. return t1;
  107332. },
  107333. $signature() {
  107334. return this.T._eval$1("List<0>(List<0>)");
  107335. }
  107336. };
  107337. A.listIsSuperselector_closure0.prototype = {
  107338. call$1(complex1) {
  107339. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  107340. },
  107341. $signature: 21
  107342. };
  107343. A.listIsSuperselector__closure0.prototype = {
  107344. call$1(complex2) {
  107345. return complex2.isSuperselector$1(this.complex1);
  107346. },
  107347. $signature: 21
  107348. };
  107349. A.complexIsSuperselector_closure1.prototype = {
  107350. call$1($parent) {
  107351. return $parent.combinators.length > 1;
  107352. },
  107353. $signature: 53
  107354. };
  107355. A.complexIsSuperselector_closure2.prototype = {
  107356. call$1(component) {
  107357. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  107358. },
  107359. $signature: 53
  107360. };
  107361. A._compatibleWithPreviousCombinator_closure0.prototype = {
  107362. call$1(component) {
  107363. var t1 = component.combinators,
  107364. t2 = A.IterableExtension_get_firstOrNull(t1);
  107365. if ((t2 == null ? null : t2.value) !== B.Combinator_98W0) {
  107366. t1 = A.IterableExtension_get_firstOrNull(t1);
  107367. t1 = (t1 == null ? null : t1.value) === B.Combinator_sHB0;
  107368. } else
  107369. t1 = true;
  107370. return t1;
  107371. },
  107372. $signature: 53
  107373. };
  107374. A.compoundIsSuperselector_closure0.prototype = {
  107375. call$1(simple1) {
  107376. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  107377. },
  107378. $signature: 14
  107379. };
  107380. A._selectorPseudoIsSuperselector_closure6.prototype = {
  107381. call$1(selector2) {
  107382. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  107383. },
  107384. $signature: 69
  107385. };
  107386. A._selectorPseudoIsSuperselector_closure7.prototype = {
  107387. call$1(complex1) {
  107388. var t1, t2;
  107389. if (complex1.leadingCombinators.length === 0) {
  107390. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  107391. t2 = this.parents;
  107392. if (t2 != null)
  107393. B.JSArray_methods.addAll$1(t1, t2);
  107394. t2 = this.compound2;
  107395. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty15, type$.CssValue_Combinator_2), t2.span));
  107396. t1 = A.complexIsSuperselector0(complex1.components, t1);
  107397. } else
  107398. t1 = false;
  107399. return t1;
  107400. },
  107401. $signature: 21
  107402. };
  107403. A._selectorPseudoIsSuperselector_closure8.prototype = {
  107404. call$1(selector2) {
  107405. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  107406. },
  107407. $signature: 69
  107408. };
  107409. A._selectorPseudoIsSuperselector_closure9.prototype = {
  107410. call$1(selector2) {
  107411. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  107412. },
  107413. $signature: 69
  107414. };
  107415. A._selectorPseudoIsSuperselector_closure10.prototype = {
  107416. call$1(complex) {
  107417. if (complex.accept$1(B._IsBogusVisitor_true0))
  107418. return false;
  107419. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  107420. },
  107421. $signature: 21
  107422. };
  107423. A._selectorPseudoIsSuperselector__closure0.prototype = {
  107424. call$1(simple2) {
  107425. var t1, selector2, _0_4, _this = this;
  107426. $label0$1: {
  107427. if (simple2 instanceof A.TypeSelector0) {
  107428. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  107429. break $label0$1;
  107430. }
  107431. if (simple2 instanceof A.IDSelector0) {
  107432. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  107433. break $label0$1;
  107434. }
  107435. selector2 = null;
  107436. t1 = false;
  107437. if (simple2 instanceof A.PseudoSelector0) {
  107438. _0_4 = simple2.selector;
  107439. if (_0_4 != null) {
  107440. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  107441. t1 = simple2.name === _this.pseudo1.name;
  107442. }
  107443. }
  107444. if (t1) {
  107445. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  107446. break $label0$1;
  107447. }
  107448. t1 = false;
  107449. break $label0$1;
  107450. }
  107451. return t1;
  107452. },
  107453. $signature: 14
  107454. };
  107455. A._selectorPseudoIsSuperselector___closure1.prototype = {
  107456. call$1(simple1) {
  107457. var t1;
  107458. if (simple1 instanceof A.TypeSelector0) {
  107459. t1 = this.simple2.name.$eq(0, simple1.name);
  107460. t1 = !t1;
  107461. } else
  107462. t1 = false;
  107463. return t1;
  107464. },
  107465. $signature: 14
  107466. };
  107467. A._selectorPseudoIsSuperselector___closure2.prototype = {
  107468. call$1(simple1) {
  107469. var t1;
  107470. if (simple1 instanceof A.IDSelector0)
  107471. t1 = this.simple2.name !== simple1.name;
  107472. else
  107473. t1 = false;
  107474. return t1;
  107475. },
  107476. $signature: 14
  107477. };
  107478. A._selectorPseudoIsSuperselector_closure11.prototype = {
  107479. call$1(selector2) {
  107480. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  107481. return t1;
  107482. },
  107483. $signature: 69
  107484. };
  107485. A._selectorPseudoIsSuperselector_closure12.prototype = {
  107486. call$1(pseudo2) {
  107487. var t1, selector2;
  107488. if (!(pseudo2 instanceof A.PseudoSelector0))
  107489. return false;
  107490. t1 = this.pseudo1;
  107491. if (pseudo2.name !== t1.name)
  107492. return false;
  107493. if (pseudo2.argument != t1.argument)
  107494. return false;
  107495. selector2 = pseudo2.selector;
  107496. if (selector2 == null)
  107497. return false;
  107498. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  107499. },
  107500. $signature: 14
  107501. };
  107502. A._selectorPseudoArgs_closure1.prototype = {
  107503. call$1(pseudo) {
  107504. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  107505. },
  107506. $signature: 482
  107507. };
  107508. A._selectorPseudoArgs_closure2.prototype = {
  107509. call$1(pseudo) {
  107510. return pseudo.selector;
  107511. },
  107512. $signature: 483
  107513. };
  107514. A.globalFunctions_closure0.prototype = {
  107515. call$1($arguments) {
  107516. var t1 = J.getInterceptor$asx($arguments);
  107517. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  107518. },
  107519. $signature: 3
  107520. };
  107521. A.GamutMapMethod0.prototype = {
  107522. toString$0(_) {
  107523. return this.name;
  107524. }
  107525. };
  107526. A.HslColorSpace0.prototype = {
  107527. get$isBoundedInternal() {
  107528. return true;
  107529. },
  107530. get$isLegacyInternal() {
  107531. return true;
  107532. },
  107533. get$isPolarInternal() {
  107534. return true;
  107535. },
  107536. convert$5(dest, hue, saturation, lightness, alpha) {
  107537. var t1 = hue == null,
  107538. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  107539. t2 = saturation == null,
  107540. scaledSaturation = (t2 ? 0 : saturation) / 100,
  107541. t3 = lightness == null,
  107542. scaledLightness = (t3 ? 0 : lightness) / 100,
  107543. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  107544. m1 = scaledLightness * 2 - m2;
  107545. return B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, A.hueToRgb0(m1, m2, scaledHue + 0.3333333333333333), A.hueToRgb0(m1, m2, scaledHue), A.hueToRgb0(m1, m2, scaledHue - 0.3333333333333333), alpha, t2, t1, t3);
  107546. }
  107547. };
  107548. A.HwbColorSpace0.prototype = {
  107549. get$isBoundedInternal() {
  107550. return true;
  107551. },
  107552. get$isLegacyInternal() {
  107553. return true;
  107554. },
  107555. get$isPolarInternal() {
  107556. return true;
  107557. },
  107558. convert$5(dest, hue, whiteness, blackness, alpha) {
  107559. var t3, t1 = {},
  107560. t2 = hue == null,
  107561. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  107562. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  107563. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  107564. sum = scaledWhiteness + scaledBlackness;
  107565. if (sum > 1) {
  107566. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  107567. scaledBlackness /= sum;
  107568. } else
  107569. t3 = scaledWhiteness;
  107570. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  107571. return B.SrgbColorSpace_thf0.convert$6$missingHue(dest, t3.call$1(scaledHue + 0.3333333333333333), t3.call$1(scaledHue), t3.call$1(scaledHue - 0.3333333333333333), alpha, t2);
  107572. }
  107573. };
  107574. A.HwbColorSpace_convert_toRgb0.prototype = {
  107575. call$1(hue) {
  107576. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  107577. },
  107578. $signature: 16
  107579. };
  107580. A.InterpolatedIDSelector.prototype = {
  107581. get$span(_) {
  107582. var t1 = this.name.span;
  107583. return t1.get$file(t1).span$2(0, t1.get$start(t1).offset - 1, t1.get$end(t1).offset);
  107584. },
  107585. accept$1$1(visitor) {
  107586. return J.visitIDSelector$1$x(visitor._simple_selector$_inner, this);
  107587. },
  107588. accept$1(visitor) {
  107589. return this.accept$1$1(visitor, type$.dynamic);
  107590. },
  107591. toString$0(_) {
  107592. return "#" + this.name.toString$0(0);
  107593. }
  107594. };
  107595. A.IDSelector0.prototype = {
  107596. get$specificity() {
  107597. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  107598. },
  107599. accept$1$1(visitor) {
  107600. return visitor.visitIDSelector$1(0, this);
  107601. },
  107602. accept$1(visitor) {
  107603. return this.accept$1$1(visitor, type$.dynamic);
  107604. },
  107605. addSuffix$1(suffix) {
  107606. return new A.IDSelector0(this.name + suffix, this.span);
  107607. },
  107608. unify$1(compound) {
  107609. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  107610. return null;
  107611. return this.super$SimpleSelector$unify0(compound);
  107612. },
  107613. $eq(_, other) {
  107614. if (other == null)
  107615. return false;
  107616. return other instanceof A.IDSelector0 && other.name === this.name;
  107617. },
  107618. get$hashCode(_) {
  107619. return B.JSString_methods.get$hashCode(this.name);
  107620. }
  107621. };
  107622. A.IDSelector_unify_closure0.prototype = {
  107623. call$1(simple) {
  107624. var t1;
  107625. if (simple instanceof A.IDSelector0)
  107626. t1 = this.$this.name !== simple.name;
  107627. else
  107628. t1 = false;
  107629. return t1;
  107630. },
  107631. $signature: 14
  107632. };
  107633. A.IfExpression0.prototype = {
  107634. accept$1$1(visitor) {
  107635. return visitor.visitIfExpression$1(0, this);
  107636. },
  107637. accept$1(visitor) {
  107638. return this.accept$1$1(visitor, type$.dynamic);
  107639. },
  107640. toString$0(_) {
  107641. return "if" + this.$arguments.toString$0(0);
  107642. },
  107643. get$span(receiver) {
  107644. return this.span;
  107645. }
  107646. };
  107647. A.IfRule0.prototype = {
  107648. accept$1$1(visitor) {
  107649. return visitor.visitIfRule$1(0, this);
  107650. },
  107651. accept$1(visitor) {
  107652. return this.accept$1$1(visitor, type$.dynamic);
  107653. },
  107654. toString$0(_) {
  107655. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  107656. lastClause = this.lastClause;
  107657. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  107658. },
  107659. get$span(receiver) {
  107660. return this.span;
  107661. }
  107662. };
  107663. A.IfRule_toString_closure0.prototype = {
  107664. call$2(index, clause) {
  107665. var t1 = index === 0 ? "if" : "else if";
  107666. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  107667. },
  107668. $signature: 484
  107669. };
  107670. A.IfRuleClause0.prototype = {};
  107671. A.IfRuleClause$__closure0.prototype = {
  107672. call$1(child) {
  107673. var t1;
  107674. $label0$0: {
  107675. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  107676. t1 = true;
  107677. break $label0$0;
  107678. }
  107679. if (child instanceof A.ImportRule0) {
  107680. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  107681. break $label0$0;
  107682. }
  107683. t1 = false;
  107684. break $label0$0;
  107685. }
  107686. return t1;
  107687. },
  107688. $signature: 266
  107689. };
  107690. A.IfRuleClause$___closure0.prototype = {
  107691. call$1($import) {
  107692. return $import instanceof A.DynamicImport0;
  107693. },
  107694. $signature: 258
  107695. };
  107696. A.IfClause0.prototype = {
  107697. toString$0(_) {
  107698. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107699. }
  107700. };
  107701. A.ElseClause0.prototype = {
  107702. toString$0(_) {
  107703. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107704. }
  107705. };
  107706. A.ImmutableList0.prototype = {};
  107707. A.ImmutableMap0.prototype = {};
  107708. A.immutableMapToDartMap_closure.prototype = {
  107709. call$3(value, key, _) {
  107710. this.dartMap.$indexSet(0, key, value);
  107711. },
  107712. "call*": "call$3",
  107713. $requiredArgCount: 3,
  107714. $signature: 487
  107715. };
  107716. A.NodeImporter.prototype = {
  107717. loadRelative$3(url, previous, forImport) {
  107718. var t1, t2, _null = null;
  107719. if ($.$get$url().style.rootLength$1(url) > 0) {
  107720. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  107721. return _null;
  107722. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  107723. }
  107724. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  107725. return _null;
  107726. t1 = $.$get$context();
  107727. previous.toString;
  107728. t2 = t1.style;
  107729. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  107730. },
  107731. load$3(_, url, previous, forImport) {
  107732. var t1, t2, _i, _0_0, _this = this,
  107733. previousString = _this._previousToString$1(previous);
  107734. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107735. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  107736. if (_0_0 != null)
  107737. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  107738. }
  107739. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107740. },
  107741. loadAsync$3(url, previous, forImport) {
  107742. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  107743. },
  107744. loadAsync$body$NodeImporter(url, previous, forImport) {
  107745. var $async$goto = 0,
  107746. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  107747. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  107748. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107749. if ($async$errorCode === 1)
  107750. return A._asyncRethrow($async$result, $async$completer);
  107751. for (;;)
  107752. switch ($async$goto) {
  107753. case 0:
  107754. // Function start
  107755. previousString = $async$self._previousToString$1(previous);
  107756. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  107757. case 3:
  107758. // for condition
  107759. if (!(_i < t2)) {
  107760. // goto after for
  107761. $async$goto = 5;
  107762. break;
  107763. }
  107764. $async$goto = 6;
  107765. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  107766. case 6:
  107767. // returning from await.
  107768. _0_0 = $async$result;
  107769. if (_0_0 != null) {
  107770. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  107771. // goto return
  107772. $async$goto = 1;
  107773. break;
  107774. }
  107775. case 4:
  107776. // for update
  107777. ++_i;
  107778. // goto for condition
  107779. $async$goto = 3;
  107780. break;
  107781. case 5:
  107782. // after for
  107783. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107784. // goto return
  107785. $async$goto = 1;
  107786. break;
  107787. case 1:
  107788. // return
  107789. return A._asyncReturn($async$returnValue, $async$completer);
  107790. }
  107791. });
  107792. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  107793. },
  107794. _previousToString$1(previous) {
  107795. var t1;
  107796. $label0$0: {
  107797. if (previous == null) {
  107798. t1 = "stdin";
  107799. break $label0$0;
  107800. }
  107801. if ("file" === previous.get$scheme()) {
  107802. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  107803. break $label0$0;
  107804. }
  107805. t1 = previous.toString$0(0);
  107806. break $label0$0;
  107807. }
  107808. return t1;
  107809. },
  107810. _resolveLoadPathFromUrl$2(url, forImport) {
  107811. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  107812. },
  107813. _resolveLoadPath$2(path, forImport) {
  107814. var t1, t2, _i, t3, _1_0, _null = null,
  107815. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107816. if (_0_0 != null)
  107817. return _0_0;
  107818. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107819. t3 = A.join(t1[_i], path, _null);
  107820. _1_0 = this._tryPath$2($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107821. if (_1_0 != null)
  107822. return _1_0;
  107823. }
  107824. return _null;
  107825. },
  107826. _tryPath$2(path, forImport) {
  107827. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  107828. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  107829. },
  107830. _handleImportResult$4(url, previous, value, forImport) {
  107831. var t1, file, contents, t2, resolved;
  107832. if (value instanceof self.Error)
  107833. throw A.wrapException(value);
  107834. if (!type$.NodeImporterResult._is(value))
  107835. return null;
  107836. t1 = J.getInterceptor$x(value);
  107837. file = t1.get$file(value);
  107838. contents = t1.get$contents(value);
  107839. t1 = contents == null;
  107840. t2 = !t1;
  107841. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  107842. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  107843. if (file == null)
  107844. return new A._Record_2(t1 ? "" : contents, url);
  107845. else if (t2)
  107846. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  107847. else {
  107848. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  107849. if (resolved == null)
  107850. resolved = this._resolveLoadPath$2(file, forImport);
  107851. if (resolved != null)
  107852. return resolved;
  107853. throw A.wrapException("Can't find stylesheet to import.");
  107854. }
  107855. },
  107856. _callImporterAsync$4(importer, url, previousString, forImport) {
  107857. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  107858. },
  107859. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  107860. var $async$goto = 0,
  107861. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  107862. $async$returnValue, $async$self = this, t1, result;
  107863. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107864. if ($async$errorCode === 1)
  107865. return A._asyncRethrow($async$result, $async$completer);
  107866. for (;;)
  107867. switch ($async$goto) {
  107868. case 0:
  107869. // Function start
  107870. t1 = new A._Future($.Zone__current, type$._Future_Object);
  107871. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  107872. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  107873. break;
  107874. case 3:
  107875. // then
  107876. $async$goto = 5;
  107877. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  107878. case 5:
  107879. // returning from await.
  107880. $async$returnValue = $async$result;
  107881. // goto return
  107882. $async$goto = 1;
  107883. break;
  107884. case 4:
  107885. // join
  107886. $async$returnValue = result;
  107887. // goto return
  107888. $async$goto = 1;
  107889. break;
  107890. case 1:
  107891. // return
  107892. return A._asyncReturn($async$returnValue, $async$completer);
  107893. }
  107894. });
  107895. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  107896. },
  107897. _renderContext$1(fromImport) {
  107898. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  107899. J.set$context$x(J.get$options$x(context), context);
  107900. return context;
  107901. }
  107902. };
  107903. A.NodeImporter_load_closure.prototype = {
  107904. call$0() {
  107905. var _this = this;
  107906. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  107907. },
  107908. $signature: 35
  107909. };
  107910. A.NodeImporter__tryPath_closure.prototype = {
  107911. call$0() {
  107912. return A.resolveImportPath0(this.path);
  107913. },
  107914. $signature: 45
  107915. };
  107916. A.NodeImporter__tryPath_closure0.prototype = {
  107917. call$1(resolved) {
  107918. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  107919. },
  107920. $signature: 488
  107921. };
  107922. A.NodeImporter__callImporterAsync_closure.prototype = {
  107923. call$0() {
  107924. var _this = this;
  107925. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString, A.allowInterop(_this.completer.get$complete())], type$.JSArray_Object));
  107926. },
  107927. $signature: 35
  107928. };
  107929. A.ModifiableCssImport0.prototype = {
  107930. accept$1$1(visitor) {
  107931. return visitor.visitCssImport$1(this);
  107932. },
  107933. accept$1(visitor) {
  107934. return this.accept$1$1(visitor, type$.dynamic);
  107935. },
  107936. get$span(receiver) {
  107937. return this.span;
  107938. }
  107939. };
  107940. A.ImportCache0.prototype = {
  107941. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  107942. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  107943. if (A.isBrowser())
  107944. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  107945. else
  107946. t1 = false;
  107947. if (t1)
  107948. throw A.wrapException(string$.Custom);
  107949. if (baseImporter != null && url.get$scheme() === "") {
  107950. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  107951. if (resolvedUrl == null)
  107952. resolvedUrl = url;
  107953. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  107954. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  107955. if (relativeResult != null)
  107956. return relativeResult;
  107957. }
  107958. key = new A._Record_2_forImport(url, forImport);
  107959. t1 = _this._import_cache$_canonicalizeCache;
  107960. if (t1.containsKey$1(key))
  107961. return t1.$index(0, key);
  107962. for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
  107963. importer = t2[i];
  107964. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  107965. if (t4.containsKey$1(perImporterKey)) {
  107966. t7 = t4.$index(0, perImporterKey);
  107967. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  107968. } else
  107969. _1_0 = _null;
  107970. _1_2_isSet = t3._is(_1_0);
  107971. result = _null;
  107972. if (_1_2_isSet) {
  107973. _1_2 = _1_0._0;
  107974. t7 = _1_2 != null;
  107975. if (t7) {
  107976. t6._as(_1_2);
  107977. result = _1_2;
  107978. }
  107979. } else {
  107980. _1_2 = _null;
  107981. t7 = false;
  107982. }
  107983. if (t7)
  107984. return result;
  107985. if (_1_2_isSet)
  107986. t7 = _1_2 == null;
  107987. else
  107988. t7 = false;
  107989. if (t7)
  107990. continue;
  107991. $label0$1: {
  107992. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107993. _2_1 = _2_0._0;
  107994. _2_5_isSet = _2_1 != null;
  107995. _2_5 = _null;
  107996. _2_3 = _null;
  107997. t7 = false;
  107998. if (_2_5_isSet) {
  107999. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  108000. _2_3 = _2_0._1;
  108001. t7 = _2_3;
  108002. _2_5 = t7;
  108003. t7 = t7 && cacheable;
  108004. } else
  108005. result = _null;
  108006. if (t7) {
  108007. t1.$indexSet(0, key, result);
  108008. return result;
  108009. }
  108010. if (_2_5_isSet) {
  108011. t7 = _2_5;
  108012. _2_3_isSet = _2_5_isSet;
  108013. } else {
  108014. _2_3 = _2_0._1;
  108015. t7 = _2_3;
  108016. _2_3_isSet = true;
  108017. }
  108018. t7 = t7 && !cacheable;
  108019. if (t7) {
  108020. t4.$indexSet(0, perImporterKey, _2_1);
  108021. if (_2_1 != null)
  108022. return _2_1;
  108023. break $label0$1;
  108024. }
  108025. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  108026. if (t7) {
  108027. if (cacheable) {
  108028. for (j = 0; j < i; ++j)
  108029. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  108030. cacheable = false;
  108031. }
  108032. if (_2_1 != null)
  108033. return _2_1;
  108034. }
  108035. }
  108036. }
  108037. if (cacheable)
  108038. t1.$indexSet(0, key, _null);
  108039. return _null;
  108040. },
  108041. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  108042. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  108043. if (baseUrl != null)
  108044. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  108045. else
  108046. passContainingUrl = false;
  108047. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  108048. t1 = type$.nullable_Object;
  108049. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  108050. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  108051. if (result == null)
  108052. return new A._Record_2(null, cacheable);
  108053. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  108054. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  108055. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  108056. },
  108057. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  108058. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  108059. },
  108060. humanize$1(canonicalUrl) {
  108061. var t1 = this._import_cache$_canonicalizeCache,
  108062. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  108063. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.ImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure5()), new A.ImportCache_humanize_closure6(canonicalUrl));
  108064. return t2 == null ? canonicalUrl : t2;
  108065. },
  108066. sourceMapUrl$1(_, canonicalUrl) {
  108067. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  108068. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  108069. return t1 == null ? canonicalUrl : t1;
  108070. }
  108071. };
  108072. A.ImportCache_canonicalize_closure0.prototype = {
  108073. call$0() {
  108074. var _this = this,
  108075. t1 = _this.$this,
  108076. t2 = _this.baseUrl,
  108077. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  108078. if (t2 != null)
  108079. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  108080. return _0_0._0;
  108081. },
  108082. $signature: 489
  108083. };
  108084. A.ImportCache__canonicalize_closure0.prototype = {
  108085. call$0() {
  108086. return this.importer.canonicalize$1(0, this.url);
  108087. },
  108088. $signature: 143
  108089. };
  108090. A.ImportCache_importCanonical_closure0.prototype = {
  108091. call$0() {
  108092. var t3, _this = this,
  108093. t1 = Date.now(),
  108094. t2 = _this.canonicalUrl,
  108095. result = _this.importer.load$1(0, t2);
  108096. if (result == null)
  108097. return null;
  108098. t3 = _this.$this;
  108099. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  108100. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  108101. t3 = result.contents;
  108102. t1 = result.syntax;
  108103. t2 = _this.originalUrl.resolveUri$1(t2);
  108104. return A.Stylesheet_Stylesheet$parse0(t3, t1, false, t2);
  108105. },
  108106. $signature: 490
  108107. };
  108108. A.ImportCache_humanize_closure3.prototype = {
  108109. call$1(result) {
  108110. return result._1.$eq(0, this.canonicalUrl);
  108111. },
  108112. $signature: 491
  108113. };
  108114. A.ImportCache_humanize_closure4.prototype = {
  108115. call$1(result) {
  108116. return result._2;
  108117. },
  108118. $signature: 492
  108119. };
  108120. A.ImportCache_humanize_closure5.prototype = {
  108121. call$1(url) {
  108122. return url.get$path(url).length;
  108123. },
  108124. $signature: 88
  108125. };
  108126. A.ImportCache_humanize_closure6.prototype = {
  108127. call$1(url) {
  108128. var t1 = $.$get$url(),
  108129. t2 = this.canonicalUrl;
  108130. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  108131. },
  108132. $signature: 47
  108133. };
  108134. A.ImportRule0.prototype = {
  108135. accept$1$1(visitor) {
  108136. return visitor.visitImportRule$1(0, this);
  108137. },
  108138. accept$1(visitor) {
  108139. return this.accept$1$1(visitor, type$.dynamic);
  108140. },
  108141. toString$0(_) {
  108142. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  108143. },
  108144. get$span(receiver) {
  108145. return this.span;
  108146. }
  108147. };
  108148. A.JSImporter.prototype = {};
  108149. A.JSImporterResult.prototype = {};
  108150. A.Importer0.prototype = {
  108151. isNonCanonicalScheme$1(scheme) {
  108152. return false;
  108153. }
  108154. };
  108155. A.NodeImporterResult0.prototype = {};
  108156. A.IncludeRule0.prototype = {
  108157. get$spanWithoutContent() {
  108158. var t2,
  108159. t1 = this.span;
  108160. if (!(this.content == null)) {
  108161. t2 = this.$arguments.span;
  108162. t2 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t1.get$file(t1).span$2(0, t1.get$start(t1).offset, t2.get$end(t2).offset)));
  108163. t1 = t2;
  108164. }
  108165. return t1;
  108166. },
  108167. get$nameSpan() {
  108168. var startSpan, scanner, _null = null,
  108169. t1 = this.span;
  108170. if (B.JSString_methods.startsWith$1(t1.get$text(), "+"))
  108171. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  108172. else {
  108173. scanner = A.StringScanner$(t1.get$text(), _null, _null);
  108174. scanner.expectChar$1(64);
  108175. A._scanIdentifier0(scanner);
  108176. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  108177. }
  108178. if (this.namespace != null) {
  108179. scanner = A.StringScanner$(startSpan.get$text(), _null, _null);
  108180. A._scanIdentifier0(scanner);
  108181. startSpan = A.FileSpanExtension_subspan(A.FileSpanExtension_subspan(startSpan, scanner._string_scanner$_position, _null), 1, _null);
  108182. }
  108183. return A.SpanExtensions_initialIdentifier0(startSpan);
  108184. },
  108185. accept$1$1(visitor) {
  108186. return visitor.visitIncludeRule$1(0, this);
  108187. },
  108188. accept$1(visitor) {
  108189. return this.accept$1$1(visitor, type$.dynamic);
  108190. },
  108191. toString$0(_) {
  108192. var t2, _this = this,
  108193. t1 = _this.namespace;
  108194. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  108195. t1 += _this.name;
  108196. t2 = _this.$arguments;
  108197. if (!t2.get$isEmpty(0))
  108198. t1 += "(" + t2.toString$0(0) + ")";
  108199. t2 = _this.content;
  108200. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  108201. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108202. },
  108203. get$span(receiver) {
  108204. return this.span;
  108205. }
  108206. };
  108207. A.InterpolatedFunctionExpression0.prototype = {
  108208. accept$1$1(visitor) {
  108209. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  108210. },
  108211. accept$1(visitor) {
  108212. return this.accept$1$1(visitor, type$.dynamic);
  108213. },
  108214. toString$0(_) {
  108215. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  108216. },
  108217. get$span(receiver) {
  108218. return this.span;
  108219. }
  108220. };
  108221. A.InterpolatedSelector.prototype = {$isAstNode0: 1, $isSassNode: 1};
  108222. A.Interpolation0.prototype = {
  108223. get$asPlain() {
  108224. var _0_1, t1, _0_6_isSet, _0_6, first,
  108225. _0_0 = this.contents;
  108226. $label0$0: {
  108227. _0_1 = _0_0.length;
  108228. if (_0_1 <= 0) {
  108229. t1 = "";
  108230. break $label0$0;
  108231. }
  108232. _0_6_isSet = _0_1 === 1;
  108233. if (_0_6_isSet) {
  108234. _0_6 = _0_0[0];
  108235. t1 = typeof _0_6 == "string";
  108236. } else {
  108237. _0_6 = null;
  108238. t1 = false;
  108239. }
  108240. if (t1) {
  108241. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  108242. t1 = first;
  108243. break $label0$0;
  108244. }
  108245. t1 = null;
  108246. break $label0$0;
  108247. }
  108248. return t1;
  108249. },
  108250. get$initialPlain() {
  108251. var _0_4_isSet, _0_4, t1, first,
  108252. _0_0 = this.contents;
  108253. $label0$0: {
  108254. _0_4_isSet = _0_0.length >= 1;
  108255. if (_0_4_isSet) {
  108256. _0_4 = _0_0[0];
  108257. t1 = typeof _0_4 == "string";
  108258. } else {
  108259. _0_4 = null;
  108260. t1 = false;
  108261. }
  108262. if (t1) {
  108263. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  108264. t1 = first;
  108265. break $label0$0;
  108266. }
  108267. t1 = "";
  108268. break $label0$0;
  108269. }
  108270. return t1;
  108271. },
  108272. spanForElement$1(index) {
  108273. var t1, t2, t3, t4, t5, _this = this;
  108274. $label0$0: {
  108275. if (typeof _this.contents[index] == "string") {
  108276. t1 = _this.span;
  108277. t2 = t1.get$file(t1);
  108278. if (index === 0)
  108279. t3 = t1.get$start(t1);
  108280. else {
  108281. t3 = _this.spans[index - 1];
  108282. t3 = t3.get$end(t3);
  108283. }
  108284. t4 = index + 1;
  108285. t5 = _this.spans;
  108286. if (t4 === t5.length)
  108287. t1 = t1.get$end(t1);
  108288. else {
  108289. t1 = t5[t4];
  108290. t1 = t1.get$start(t1);
  108291. }
  108292. t1 = t2.span$2(0, t3.offset, t1.offset);
  108293. break $label0$0;
  108294. }
  108295. t1 = _this.spans[index];
  108296. t1.toString;
  108297. break $label0$0;
  108298. }
  108299. return t1;
  108300. },
  108301. Interpolation$30(contents, spans, span) {
  108302. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  108303. _s8_ = "contents";
  108304. if (spans.length !== J.get$length$asx(contents))
  108305. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  108306. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  108307. t5 = t1[i];
  108308. isString = typeof t5 == "string";
  108309. if (!isString && !(t5 instanceof A.Expression0))
  108310. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  108311. else if (isString) {
  108312. if (i !== 0 && typeof t1[i - 1] == "string")
  108313. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  108314. else if (i < t3 && t4[i] != null)
  108315. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  108316. } else if (i >= t3 || t4[i] == null)
  108317. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  108318. }
  108319. },
  108320. toString$0(_) {
  108321. var t1 = this.contents;
  108322. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  108323. },
  108324. $isAstNode0: 1,
  108325. $isSassNode: 1,
  108326. get$span(receiver) {
  108327. return this.span;
  108328. }
  108329. };
  108330. A.Interpolation_toString_closure0.prototype = {
  108331. call$1(value) {
  108332. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  108333. },
  108334. $signature: 132
  108335. };
  108336. A.SupportsInterpolation0.prototype = {
  108337. toInterpolation$0() {
  108338. var t1 = this.span;
  108339. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  108340. },
  108341. withSpan$1(span) {
  108342. return new A.SupportsInterpolation0(this.expression, span);
  108343. },
  108344. toString$0(_) {
  108345. return "#{" + this.expression.toString$0(0) + "}";
  108346. },
  108347. $isAstNode0: 1,
  108348. $isSassNode: 1,
  108349. $isSupportsCondition: 1,
  108350. get$span(receiver) {
  108351. return this.span;
  108352. }
  108353. };
  108354. A.InterpolationBuffer0.prototype = {
  108355. writeCharCode$1(character) {
  108356. var t1 = this._interpolation_buffer0$_text,
  108357. t2 = A.Primitives_stringFromCharCode(character);
  108358. t1._contents += t2;
  108359. return null;
  108360. },
  108361. add$2(_, expression, span) {
  108362. this._interpolation_buffer0$_flushText$0();
  108363. this._interpolation_buffer0$_contents.push(expression);
  108364. this._interpolation_buffer0$_spans.push(span);
  108365. },
  108366. addInterpolation$1(interpolation) {
  108367. var spansToAdd, _0_4_isSet, _0_4, first, rest, t2, t3, _this = this,
  108368. toAdd = interpolation.contents,
  108369. t1 = toAdd.length;
  108370. if (t1 === 0)
  108371. return;
  108372. spansToAdd = interpolation.spans;
  108373. _0_4_isSet = t1 >= 1;
  108374. if (_0_4_isSet) {
  108375. _0_4 = toAdd[0];
  108376. t1 = typeof _0_4 == "string";
  108377. } else {
  108378. _0_4 = null;
  108379. t1 = false;
  108380. }
  108381. if (t1) {
  108382. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  108383. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  108384. t1 = _this._interpolation_buffer0$_text;
  108385. t1._contents += first;
  108386. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  108387. toAdd = rest;
  108388. }
  108389. _this._interpolation_buffer0$_flushText$0();
  108390. t1 = _this._interpolation_buffer0$_contents;
  108391. B.JSArray_methods.addAll$1(t1, toAdd);
  108392. t2 = _this._interpolation_buffer0$_spans;
  108393. B.JSArray_methods.addAll$1(t2, spansToAdd);
  108394. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  108395. t3 = _this._interpolation_buffer0$_text;
  108396. t1 = A.S(t1.pop());
  108397. t3._contents += t1;
  108398. t2.pop();
  108399. }
  108400. },
  108401. _interpolation_buffer0$_flushText$0() {
  108402. var t1 = this._interpolation_buffer0$_text,
  108403. t2 = t1._contents;
  108404. if (t2.length === 0)
  108405. return;
  108406. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  108407. this._interpolation_buffer0$_spans.push(null);
  108408. t1._contents = "";
  108409. },
  108410. interpolation$1(span) {
  108411. var t1 = A.List_List$_of(this._interpolation_buffer0$_contents, type$.Object),
  108412. t2 = this._interpolation_buffer0$_text,
  108413. t3 = t2._contents;
  108414. if (t3.length !== 0)
  108415. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  108416. t3 = A.List_List$_of(this._interpolation_buffer0$_spans, type$.nullable_FileSpan);
  108417. if (t2._contents.length !== 0)
  108418. t3.push(null);
  108419. return A.Interpolation$0(t1, t3, span);
  108420. },
  108421. toString$0(_) {
  108422. var t1, t2, _i, t3, element;
  108423. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  108424. element = t1[_i];
  108425. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  108426. }
  108427. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  108428. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108429. }
  108430. };
  108431. A.InterpolationMap0.prototype = {
  108432. mapException$1(error) {
  108433. var source, startIndex, endIndex, t3, t4, _this = this,
  108434. target = error.get$span(error),
  108435. t1 = _this._interpolation_map$_interpolation,
  108436. t2 = t1.contents;
  108437. if (t2.length === 0) {
  108438. if (_this._interpolation_map$_isMapped$1(target))
  108439. return error;
  108440. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  108441. }
  108442. source = _this.mapSpan$1(target);
  108443. if (source === target)
  108444. return error;
  108445. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  108446. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  108447. t1 = error._span_exception$_message;
  108448. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  108449. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  108450. else {
  108451. t2 = type$.SourceSpan;
  108452. t3 = type$.String;
  108453. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  108454. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  108455. }
  108456. },
  108457. mapSpan$1(target) {
  108458. var _0_1, _0_2, t1, _0_2_isSet, t2, start, _0_20, end, _this = this, _null = null;
  108459. if (_this._interpolation_map$_isMapped$1(target))
  108460. return target;
  108461. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target));
  108462. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  108463. $label0$0: {
  108464. t1 = type$.FileSpan;
  108465. _0_2_isSet = t1._is(_0_1);
  108466. t2 = false;
  108467. if (_0_2_isSet) {
  108468. t2 = t1._is(_0_2);
  108469. start = _0_1;
  108470. _0_20 = _0_2;
  108471. } else {
  108472. start = _null;
  108473. _0_20 = start;
  108474. }
  108475. if (t2) {
  108476. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  108477. break $label0$0;
  108478. }
  108479. t2 = false;
  108480. if (t1._is(_0_1)) {
  108481. if (_0_2_isSet)
  108482. t2 = _0_20;
  108483. else {
  108484. t2 = _0_2;
  108485. _0_20 = t2;
  108486. _0_2_isSet = true;
  108487. }
  108488. t2 = t2 instanceof A.FileLocation;
  108489. start = _0_1;
  108490. } else
  108491. start = _null;
  108492. if (t2) {
  108493. t1 = _0_2_isSet ? _0_20 : _0_2;
  108494. type$.FileLocation._as(t1);
  108495. t2 = _this._interpolation_map$_interpolation.span;
  108496. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  108497. break $label0$0;
  108498. }
  108499. t2 = false;
  108500. if (_0_1 instanceof A.FileLocation) {
  108501. if (_0_2_isSet)
  108502. t2 = _0_20;
  108503. else {
  108504. t2 = _0_2;
  108505. _0_20 = t2;
  108506. _0_2_isSet = true;
  108507. }
  108508. t2 = t1._is(t2);
  108509. start = _0_1;
  108510. } else
  108511. start = _null;
  108512. if (t2) {
  108513. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  108514. t1 = _this._interpolation_map$_interpolation.span;
  108515. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  108516. break $label0$0;
  108517. }
  108518. t1 = false;
  108519. if (_0_1 instanceof A.FileLocation) {
  108520. if (_0_2_isSet)
  108521. t1 = _0_20;
  108522. else {
  108523. t1 = _0_2;
  108524. _0_20 = t1;
  108525. _0_2_isSet = true;
  108526. }
  108527. t1 = t1 instanceof A.FileLocation;
  108528. start = _0_1;
  108529. } else
  108530. start = _null;
  108531. if (t1) {
  108532. t1 = _0_2_isSet ? _0_20 : _0_2;
  108533. type$.FileLocation._as(t1);
  108534. t2 = _this._interpolation_map$_interpolation.span;
  108535. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  108536. break $label0$0;
  108537. }
  108538. t1 = A.throwExpression("[BUG] Unreachable");
  108539. }
  108540. return t1;
  108541. },
  108542. _interpolation_map$_isMapped$1(span) {
  108543. var file, t1;
  108544. $label0$0: {
  108545. file = span.get$file(span);
  108546. t1 = this._interpolation_map$_interpolation.span;
  108547. t1 = t1.get$file(t1);
  108548. break $label0$0;
  108549. }
  108550. return file === t1;
  108551. },
  108552. _interpolation_map$_mapLocation$1(target) {
  108553. var index, _0_0, t3, previousLocation, _this = this,
  108554. t1 = _this._interpolation_map$_interpolation,
  108555. t2 = t1.contents;
  108556. if (t2.length === 0)
  108557. return t1.span;
  108558. index = _this._interpolation_map$_indexInContents$1(target);
  108559. _0_0 = t2[index];
  108560. if (_0_0 instanceof A.Expression0)
  108561. return _0_0.get$span(_0_0);
  108562. t3 = index === 0;
  108563. t1 = t1.span;
  108564. if (t3)
  108565. previousLocation = t1.get$start(t1);
  108566. else {
  108567. t1 = t1.get$file(t1);
  108568. t2 = type$.Expression_2._as(t2[index - 1]);
  108569. t2 = t2.get$span(t2);
  108570. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  108571. }
  108572. t1 = t3 ? 0 : _this._interpolation_map$_targetOffsets[index - 1];
  108573. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  108574. },
  108575. _interpolation_map$_indexInContents$1(target) {
  108576. var t1, t2, t3, i;
  108577. for (t1 = this._interpolation_map$_targetOffsets, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  108578. if (t3 < t1[i])
  108579. return i;
  108580. return this._interpolation_map$_interpolation.contents.length - 1;
  108581. },
  108582. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  108583. var i0, prev, char,
  108584. source = start.file._decodedChars,
  108585. i = start.offset - 1;
  108586. while (i >= 0) {
  108587. i0 = i - 1;
  108588. prev = source[i];
  108589. if (prev === 123) {
  108590. if (source[i0] === 35) {
  108591. i = i0;
  108592. break;
  108593. }
  108594. i = i0;
  108595. } else if (prev === 47) {
  108596. i = i0 - 1;
  108597. if (source[i0] === 42)
  108598. for (;;) {
  108599. i0 = i - 1;
  108600. if (source[i] !== 42) {
  108601. i = i0;
  108602. continue;
  108603. }
  108604. i = i0;
  108605. do {
  108606. i0 = i - 1;
  108607. char = source[i];
  108608. if (char === 42) {
  108609. i = i0;
  108610. continue;
  108611. } else
  108612. break;
  108613. } while (true);
  108614. if (char === 47) {
  108615. i = i0;
  108616. break;
  108617. }
  108618. i = i0;
  108619. }
  108620. } else
  108621. i = i0;
  108622. }
  108623. return i;
  108624. },
  108625. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  108626. var t1, i0, next, second, t2, char,
  108627. source = end.file._decodedChars,
  108628. i = end.offset;
  108629. for (t1 = source.length; i < t1;) {
  108630. i0 = i + 1;
  108631. next = source[i];
  108632. if (next === 125) {
  108633. i = i0;
  108634. break;
  108635. }
  108636. if (next === 47) {
  108637. i = i0 + 1;
  108638. second = source[i0];
  108639. if (second === 47) {
  108640. for (;;) {
  108641. i0 = i + 1;
  108642. t2 = source[i];
  108643. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  108644. break;
  108645. i = i0;
  108646. }
  108647. i = i0;
  108648. } else if (second === 42)
  108649. for (;;) {
  108650. i0 = i + 1;
  108651. if (source[i] !== 42) {
  108652. i = i0;
  108653. continue;
  108654. }
  108655. i = i0;
  108656. do {
  108657. i0 = i + 1;
  108658. char = source[i];
  108659. if (char === 42) {
  108660. i = i0;
  108661. continue;
  108662. } else
  108663. break;
  108664. } while (true);
  108665. if (char === 47) {
  108666. i = i0;
  108667. break;
  108668. }
  108669. i = i0;
  108670. }
  108671. } else
  108672. i = i0;
  108673. }
  108674. return i;
  108675. }
  108676. };
  108677. A.InterpolationMap_mapException_closure0.prototype = {
  108678. call$1($content) {
  108679. return $content instanceof A.Expression0;
  108680. },
  108681. $signature: 74
  108682. };
  108683. A.InterpolationMethod0.prototype = {
  108684. toString$0(_) {
  108685. var t1 = this.hue;
  108686. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  108687. return this.space.name + t1;
  108688. }
  108689. };
  108690. A.HueInterpolationMethod0.prototype = {
  108691. _enumToString$0() {
  108692. return "HueInterpolationMethod." + this._name;
  108693. }
  108694. };
  108695. A._realCasePath_helper0.prototype = {
  108696. call$2(path, realPath) {
  108697. var dirname = $.$get$context().dirname$1(path);
  108698. if (dirname === path)
  108699. return path;
  108700. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(path, realPath, this, dirname));
  108701. },
  108702. call$1(path) {
  108703. return this.call$2(path, null);
  108704. },
  108705. $signature: 149
  108706. };
  108707. A._realCasePath_helper_closure0.prototype = {
  108708. call$0() {
  108709. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  108710. t2 = _this.path;
  108711. if (!A.linkExists0(t2)) {
  108712. realPathNonNull = null;
  108713. try {
  108714. realPathNonNull0 = _this.realPath;
  108715. realPathNonNull = realPathNonNull0 == null ? A.realpath0(t2) : realPathNonNull0;
  108716. } catch (exception) {
  108717. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108718. return t2;
  108719. else
  108720. throw exception;
  108721. }
  108722. t1 = realPathNonNull;
  108723. t2 = $.$get$context();
  108724. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  108725. }
  108726. realDirname = _this.helper.call$1(_this.dirname);
  108727. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  108728. try {
  108729. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  108730. t1 = null;
  108731. _0_0 = matches;
  108732. $label0$0: {
  108733. match = null;
  108734. if (J.get$length$asx(_0_0) === 1) {
  108735. match = J.$index$asx(_0_0, 0);
  108736. t1 = match;
  108737. break $label0$0;
  108738. }
  108739. t1 = A.join(realDirname, basename, null);
  108740. break $label0$0;
  108741. }
  108742. t1 = t1;
  108743. return t1;
  108744. } catch (exception) {
  108745. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108746. return t2;
  108747. else
  108748. throw exception;
  108749. }
  108750. },
  108751. $signature: 29
  108752. };
  108753. A._realCasePath_helper__closure0.prototype = {
  108754. call$1(realPath) {
  108755. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  108756. },
  108757. $signature: 5
  108758. };
  108759. A.IsCalculationSafeVisitor0.prototype = {
  108760. visitBinaryOperationExpression$1(_, node) {
  108761. return B.Set_xkEMv0.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  108762. },
  108763. visitBooleanExpression$1(_, node) {
  108764. return false;
  108765. },
  108766. visitColorExpression$1(_, node) {
  108767. return false;
  108768. },
  108769. visitFunctionExpression$1(_, node) {
  108770. return true;
  108771. },
  108772. visitInterpolatedFunctionExpression$1(_, node) {
  108773. return true;
  108774. },
  108775. visitIfExpression$1(_, node) {
  108776. return true;
  108777. },
  108778. visitListExpression$1(_, node) {
  108779. var t1 = false;
  108780. if (node.separator === B.ListSeparator_SrV0)
  108781. if (!node.hasBrackets) {
  108782. t1 = node.contents;
  108783. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  108784. }
  108785. return t1;
  108786. },
  108787. visitMapExpression$1(_, node) {
  108788. return false;
  108789. },
  108790. visitNullExpression$1(_, node) {
  108791. return false;
  108792. },
  108793. visitNumberExpression$1(_, node) {
  108794. return true;
  108795. },
  108796. visitParenthesizedExpression$1(_, node) {
  108797. return node.expression.accept$1(this);
  108798. },
  108799. visitSelectorExpression$1(_, node) {
  108800. return false;
  108801. },
  108802. visitStringExpression$1(_, node) {
  108803. var text, t1, t2;
  108804. if (node.hasQuotes)
  108805. return false;
  108806. text = node.text.get$initialPlain();
  108807. t1 = false;
  108808. if (!B.JSString_methods.startsWith$1(text, "!"))
  108809. if (!B.JSString_methods.startsWith$1(text, "#")) {
  108810. t2 = text.length;
  108811. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  108812. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  108813. }
  108814. return t1;
  108815. },
  108816. visitSupportsExpression$1(_, node) {
  108817. return false;
  108818. },
  108819. visitUnaryOperationExpression$1(_, node) {
  108820. return false;
  108821. },
  108822. visitValueExpression$1(_, node) {
  108823. return false;
  108824. },
  108825. visitVariableExpression$1(_, node) {
  108826. return true;
  108827. },
  108828. $isExpressionVisitor: 1
  108829. };
  108830. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  108831. call$1(expression) {
  108832. return expression.accept$1(this.$this);
  108833. },
  108834. $signature: 118
  108835. };
  108836. A.FileSystemException0.prototype = {
  108837. toString$0(_) {
  108838. var t1 = $.$get$context();
  108839. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  108840. },
  108841. get$message(receiver) {
  108842. return this.message;
  108843. }
  108844. };
  108845. A._readFile_closure0.prototype = {
  108846. call$0() {
  108847. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  108848. },
  108849. $signature: 65
  108850. };
  108851. A.fileExists_closure0.prototype = {
  108852. call$0() {
  108853. var error, systemError, exception,
  108854. t1 = this.path;
  108855. if (!J.existsSync$1$x(A.fs(), t1))
  108856. return false;
  108857. try {
  108858. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  108859. return t1;
  108860. } catch (exception) {
  108861. error = A.unwrapException(exception);
  108862. systemError = type$.JsSystemError._as(error);
  108863. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108864. return false;
  108865. throw exception;
  108866. }
  108867. },
  108868. $signature: 19
  108869. };
  108870. A.dirExists_closure0.prototype = {
  108871. call$0() {
  108872. var error, systemError, exception,
  108873. t1 = this.path;
  108874. if (!J.existsSync$1$x(A.fs(), t1))
  108875. return false;
  108876. try {
  108877. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  108878. return t1;
  108879. } catch (exception) {
  108880. error = A.unwrapException(exception);
  108881. systemError = type$.JsSystemError._as(error);
  108882. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108883. return false;
  108884. throw exception;
  108885. }
  108886. },
  108887. $signature: 19
  108888. };
  108889. A.linkExists_closure0.prototype = {
  108890. call$0() {
  108891. var error, systemError, t1, exception;
  108892. try {
  108893. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  108894. return t1;
  108895. } catch (exception) {
  108896. error = A.unwrapException(exception);
  108897. systemError = type$.JsSystemError._as(error);
  108898. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108899. return false;
  108900. throw exception;
  108901. }
  108902. },
  108903. $signature: 19
  108904. };
  108905. A.listDir_closure0.prototype = {
  108906. call$0() {
  108907. var t1 = this.path;
  108908. if (!this.recursive)
  108909. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).super$Iterable$where(0, new A.listDir__closure2());
  108910. else
  108911. return new A.listDir_closure_list0().call$1(t1);
  108912. },
  108913. $signature: 150
  108914. };
  108915. A.listDir__closure1.prototype = {
  108916. call$1(child) {
  108917. return A.join(this.path, A._asString(child), null);
  108918. },
  108919. $signature: 134
  108920. };
  108921. A.listDir__closure2.prototype = {
  108922. call$1(child) {
  108923. return !A.dirExists0(child);
  108924. },
  108925. $signature: 5
  108926. };
  108927. A.listDir_closure_list0.prototype = {
  108928. call$1($parent) {
  108929. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  108930. },
  108931. $signature: 151
  108932. };
  108933. A.listDir__list_closure0.prototype = {
  108934. call$1(child) {
  108935. var path = A.join(this.parent, A._asString(child), null);
  108936. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  108937. },
  108938. $signature: 152
  108939. };
  108940. A.realpath_closure0.prototype = {
  108941. call$0() {
  108942. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  108943. },
  108944. $signature: 29
  108945. };
  108946. A.main_closure.prototype = {
  108947. call$2(_, __) {
  108948. },
  108949. $signature: 493
  108950. };
  108951. A.main_closure0.prototype = {
  108952. call$2(_, __) {
  108953. },
  108954. $signature: 494
  108955. };
  108956. A.JSToDartLogger.prototype = {
  108957. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  108958. var t2, t3, t4,
  108959. t1 = this._node,
  108960. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  108961. if (_0_0 != null) {
  108962. t1 = span == null ? self.undefined : span;
  108963. t2 = J.toString$0$(trace);
  108964. t3 = deprecation == null;
  108965. t4 = $.$get$deprecations();
  108966. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  108967. } else
  108968. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  108969. },
  108970. debug$2(_, message, span) {
  108971. var t1 = this._node,
  108972. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  108973. if (_0_0 != null)
  108974. _0_0.call$2(message, {span: span});
  108975. else
  108976. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  108977. },
  108978. _withAscii$1$1(callback) {
  108979. var t1,
  108980. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  108981. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108982. try {
  108983. t1 = callback.call$0();
  108984. return t1;
  108985. } finally {
  108986. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108987. }
  108988. },
  108989. _withAscii$1(callback) {
  108990. return this._withAscii$1$1(callback, type$.dynamic);
  108991. }
  108992. };
  108993. A.JSToDartLogger_internalWarn_closure.prototype = {
  108994. call$0() {
  108995. var _this = this;
  108996. $label0$0: {
  108997. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  108998. break $label0$0;
  108999. }
  109000. },
  109001. $signature: 1
  109002. };
  109003. A.JSToDartLogger_debug_closure.prototype = {
  109004. call$0() {
  109005. return this.$this._fallback.debug$2(0, this.message, this.span);
  109006. },
  109007. $signature: 0
  109008. };
  109009. A.ModifiableCssKeyframeBlock0.prototype = {
  109010. accept$1$1(visitor) {
  109011. return visitor.visitCssKeyframeBlock$1(this);
  109012. },
  109013. accept$1(visitor) {
  109014. return this.accept$1$1(visitor, type$.dynamic);
  109015. },
  109016. equalsIgnoringChildren$1(other) {
  109017. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  109018. },
  109019. copyWithoutChildren$0() {
  109020. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  109021. },
  109022. get$span(receiver) {
  109023. return this.span;
  109024. }
  109025. };
  109026. A.KeyframeSelectorParser0.prototype = {
  109027. parse$0(_) {
  109028. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  109029. },
  109030. _keyframe_selector$_percentage$0() {
  109031. var $self, _0_0,
  109032. t1 = this.scanner,
  109033. t2 = t1.scanChar$1(43) ? A.Primitives_stringFromCharCode(43) : "",
  109034. second = t1.peekChar$0();
  109035. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  109036. t1.error$1(0, "Expected number.");
  109037. for (;;) {
  109038. $self = t1.peekChar$0();
  109039. if (!($self != null && $self >= 48 && $self <= 57))
  109040. break;
  109041. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  109042. }
  109043. if (t1.peekChar$0() === 46) {
  109044. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  109045. for (;;) {
  109046. $self = t1.peekChar$0();
  109047. if (!($self != null && $self >= 48 && $self <= 57))
  109048. break;
  109049. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  109050. }
  109051. }
  109052. if (this.scanIdentChar$1(101)) {
  109053. t2 += A.Primitives_stringFromCharCode(101);
  109054. _0_0 = t1.peekChar$0();
  109055. if (43 === _0_0 || 45 === _0_0)
  109056. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  109057. $self = t1.peekChar$0();
  109058. if (!($self != null && $self >= 48 && $self <= 57))
  109059. t1.error$1(0, "Expected digit.");
  109060. do {
  109061. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  109062. $self = t1.peekChar$0();
  109063. } while ($self != null && $self >= 48 && $self <= 57);
  109064. }
  109065. t1.expectChar$1(37);
  109066. t2 += A.Primitives_stringFromCharCode(37);
  109067. return t2.charCodeAt(0) == 0 ? t2 : t2;
  109068. }
  109069. };
  109070. A.KeyframeSelectorParser_parse_closure0.prototype = {
  109071. call$0() {
  109072. var selectors = A._setArrayType([], type$.JSArray_String),
  109073. t1 = this.$this,
  109074. t2 = t1.scanner;
  109075. do {
  109076. t1.whitespace$1$consumeNewlines(true);
  109077. if (t1.lookingAtIdentifier$0())
  109078. if (t1.scanIdentifier$1("from"))
  109079. selectors.push("from");
  109080. else {
  109081. t1.expectIdentifier$2$name("to", '"to" or "from"');
  109082. selectors.push("to");
  109083. }
  109084. else
  109085. selectors.push(t1._keyframe_selector$_percentage$0());
  109086. t1.whitespace$1$consumeNewlines(true);
  109087. } while (t2.scanChar$1(44));
  109088. t2.expectDone$0();
  109089. return selectors;
  109090. },
  109091. $signature: 138
  109092. };
  109093. A.LabColorSpace0.prototype = {
  109094. get$isBoundedInternal() {
  109095. return false;
  109096. },
  109097. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  109098. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  109099. switch (dest) {
  109100. case B.LabColorSpace_2nT0:
  109101. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  109102. t1 = a == null || powerlessAB ? null : a;
  109103. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  109104. case B.LchColorSpace_Bpv0:
  109105. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  109106. default:
  109107. missingLightness = lightness == null;
  109108. if (missingLightness)
  109109. lightness = 0;
  109110. f1 = (lightness + 16) / 116;
  109111. t1 = a == null;
  109112. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  109113. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  109114. t4 = b == null;
  109115. return B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, t2 * 0.9642956764295677, t3, this._lab$_convertFToXorZ$1(f1 - (t4 ? 0 : b) / 200) * 0.8251046025104602, alpha, t1, t4, missingChroma, missingHue, missingLightness);
  109116. }
  109117. },
  109118. convert$5(dest, lightness, a, b, alpha) {
  109119. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  109120. },
  109121. _lab$_convertFToXorZ$1(component) {
  109122. var cubed = Math.pow(component, 3) + 0;
  109123. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  109124. }
  109125. };
  109126. A.LazyFileSpan0.prototype = {
  109127. get$span(_) {
  109128. var t1 = this._lazy_file_span0$_span;
  109129. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  109130. },
  109131. compareTo$1(_, other) {
  109132. return this.get$span(0).compareTo$1(0, other);
  109133. },
  109134. get$context(_) {
  109135. var t1 = this.get$span(0);
  109136. return t1.get$context(t1);
  109137. },
  109138. get$end(_) {
  109139. var t1 = this.get$span(0);
  109140. return t1.get$end(t1);
  109141. },
  109142. expand$1(_, other) {
  109143. return this.get$span(0).expand$1(0, other);
  109144. },
  109145. get$file(_) {
  109146. var t1 = this.get$span(0);
  109147. return t1.get$file(t1);
  109148. },
  109149. highlight$1$color(color) {
  109150. return this.get$span(0).highlight$1$color(color);
  109151. },
  109152. get$length(_) {
  109153. var t1 = this.get$span(0);
  109154. return t1.get$length(t1);
  109155. },
  109156. message$2$color(_, message, color) {
  109157. return this.get$span(0).message$2$color(0, message, color);
  109158. },
  109159. message$1(_, message) {
  109160. return this.message$2$color(0, message, null);
  109161. },
  109162. get$sourceUrl(_) {
  109163. var t1 = this.get$span(0);
  109164. return t1.get$sourceUrl(t1);
  109165. },
  109166. get$start(_) {
  109167. var t1 = this.get$span(0);
  109168. return t1.get$start(t1);
  109169. },
  109170. get$text() {
  109171. return this.get$span(0).get$text();
  109172. },
  109173. $isComparable: 1,
  109174. $isFileSpan: 1,
  109175. $isSourceSpan: 1,
  109176. $isSourceSpanWithContext: 1
  109177. };
  109178. A.LchColorSpace0.prototype = {
  109179. get$isBoundedInternal() {
  109180. return false;
  109181. },
  109182. get$isPolarInternal() {
  109183. return true;
  109184. },
  109185. convert$5(dest, lightness, chroma, hue, alpha) {
  109186. var t1 = hue == null,
  109187. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  109188. t2 = chroma == null,
  109189. t3 = t2 ? 0 : chroma,
  109190. t4 = Math.cos(hueRadians),
  109191. t5 = t2 ? 0 : chroma;
  109192. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  109193. }
  109194. };
  109195. A.render_closure.prototype = {
  109196. call$0() {
  109197. var error, exception;
  109198. try {
  109199. this.callback.call$2(null, A.renderSync(this.options));
  109200. } catch (exception) {
  109201. error = A.unwrapException(exception);
  109202. this.callback.call$2(error, null);
  109203. }
  109204. return null;
  109205. },
  109206. $signature: 1
  109207. };
  109208. A.render_closure0.prototype = {
  109209. call$1(result) {
  109210. this.callback.call$2(null, result);
  109211. },
  109212. $signature: 495
  109213. };
  109214. A.render_closure1.prototype = {
  109215. call$2(error, stackTrace) {
  109216. var t2, t3, _null = null,
  109217. t1 = this.callback;
  109218. if (error instanceof A.SassException0)
  109219. t1.call$2(A._wrapException(error, stackTrace), _null);
  109220. else {
  109221. t2 = J.toString$0$(error);
  109222. t3 = A.getTrace0(error);
  109223. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  109224. }
  109225. },
  109226. $signature: 56
  109227. };
  109228. A._parseFunctions_closure.prototype = {
  109229. call$2(signature, callback) {
  109230. var _0_0, _this = this,
  109231. t1 = _this.options,
  109232. context = {options: A._contextOptions(t1, _this.start)};
  109233. J.set$context$x(J.get$options$x(context), context);
  109234. _0_0 = J.get$fiber$x(t1);
  109235. t1 = {};
  109236. t1.fiber = null;
  109237. if (_0_0 != null) {
  109238. t1.fiber = _0_0;
  109239. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  109240. } else {
  109241. t1 = _this.result;
  109242. if (!_this.asynch)
  109243. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  109244. else
  109245. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  109246. }
  109247. },
  109248. $signature: 126
  109249. };
  109250. A._parseFunctions__closure.prototype = {
  109251. call$1($arguments) {
  109252. var result,
  109253. t1 = this._box_0,
  109254. currentFiber = J.get$current$x(t1.fiber),
  109255. t2 = type$.Object;
  109256. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  109257. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  109258. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  109259. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  109260. },
  109261. $signature: 3
  109262. };
  109263. A._parseFunctions___closure2.prototype = {
  109264. call$1(result) {
  109265. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  109266. },
  109267. call$0() {
  109268. return this.call$1(null);
  109269. },
  109270. "call*": "call$1",
  109271. $requiredArgCount: 0,
  109272. $defaultValues() {
  109273. return [null];
  109274. },
  109275. $signature: 90
  109276. };
  109277. A._parseFunctions____closure.prototype = {
  109278. call$0() {
  109279. return J.run$1$x(this.currentFiber, this.result);
  109280. },
  109281. $signature: 0
  109282. };
  109283. A._parseFunctions___closure3.prototype = {
  109284. call$0() {
  109285. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  109286. },
  109287. $signature: 35
  109288. };
  109289. A._parseFunctions___closure4.prototype = {
  109290. call$0() {
  109291. return J.yield$0$x(this._box_0.fiber);
  109292. },
  109293. $signature: 80
  109294. };
  109295. A._parseFunctions__closure0.prototype = {
  109296. call$1($arguments) {
  109297. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  109298. },
  109299. $signature: 3
  109300. };
  109301. A._parseFunctions___closure1.prototype = {
  109302. call$0() {
  109303. var t1 = type$.JSFunction._as(this.callback),
  109304. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  109305. t2 = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  109306. return J.apply$2$x(t1, this.context, t2);
  109307. },
  109308. $signature: 35
  109309. };
  109310. A._parseFunctions__closure1.prototype = {
  109311. call$1($arguments) {
  109312. return this.$call$body$_parseFunctions__closure($arguments);
  109313. },
  109314. $call$body$_parseFunctions__closure($arguments) {
  109315. var $async$goto = 0,
  109316. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  109317. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  109318. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  109319. if ($async$errorCode === 1)
  109320. return A._asyncRethrow($async$result, $async$completer);
  109321. for (;;)
  109322. switch ($async$goto) {
  109323. case 0:
  109324. // Function start
  109325. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  109326. t2 = type$.Object;
  109327. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  109328. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  109329. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  109330. $async$temp1 = A;
  109331. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  109332. break;
  109333. case 3:
  109334. // then
  109335. $async$goto = 6;
  109336. return A._asyncAwait(t1, $async$call$1);
  109337. case 6:
  109338. // returning from await.
  109339. // goto join
  109340. $async$goto = 4;
  109341. break;
  109342. case 5:
  109343. // else
  109344. $async$result = result;
  109345. case 4:
  109346. // join
  109347. $async$returnValue = $async$temp1.unwrapValue($async$result);
  109348. // goto return
  109349. $async$goto = 1;
  109350. break;
  109351. case 1:
  109352. // return
  109353. return A._asyncReturn($async$returnValue, $async$completer);
  109354. }
  109355. });
  109356. return A._asyncStartSync($async$call$1, $async$completer);
  109357. },
  109358. $signature: 92
  109359. };
  109360. A._parseFunctions___closure.prototype = {
  109361. call$1(result) {
  109362. return this.completer.complete$1(result);
  109363. },
  109364. call$0() {
  109365. return this.call$1(null);
  109366. },
  109367. "call*": "call$1",
  109368. $requiredArgCount: 0,
  109369. $defaultValues() {
  109370. return [null];
  109371. },
  109372. $signature: 262
  109373. };
  109374. A._parseFunctions___closure0.prototype = {
  109375. call$0() {
  109376. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  109377. },
  109378. $signature: 35
  109379. };
  109380. A._parseImporter_closure.prototype = {
  109381. call$1(importer) {
  109382. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  109383. },
  109384. $signature: 496
  109385. };
  109386. A._parseImporter__closure.prototype = {
  109387. call$4(thisArg, url, previous, _) {
  109388. var t1 = this._box_0,
  109389. result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1.fiber)))], type$.JSArray_Object));
  109390. if (A._asBool($.$get$_isUndefined().call$1(result)))
  109391. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  109392. return result;
  109393. },
  109394. call$3(thisArg, url, previous) {
  109395. return this.call$4(thisArg, url, previous, null);
  109396. },
  109397. "call*": "call$4",
  109398. $requiredArgCount: 3,
  109399. $defaultValues() {
  109400. return [null];
  109401. },
  109402. $signature: 497
  109403. };
  109404. A._parseImporter___closure.prototype = {
  109405. call$1(result) {
  109406. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  109407. },
  109408. $signature: 498
  109409. };
  109410. A._parseImporter____closure.prototype = {
  109411. call$0() {
  109412. return J.run$1$x(this.currentFiber, this.result);
  109413. },
  109414. $signature: 0
  109415. };
  109416. A._parseImporter___closure0.prototype = {
  109417. call$0() {
  109418. return J.yield$0$x(this._box_0.fiber);
  109419. },
  109420. $signature: 80
  109421. };
  109422. A.LimitedMapView0.prototype = {
  109423. get$keys(_) {
  109424. return this._limited_map_view0$_keys;
  109425. },
  109426. get$length(_) {
  109427. return this._limited_map_view0$_keys._collection$_length;
  109428. },
  109429. get$isEmpty(_) {
  109430. return this._limited_map_view0$_keys._collection$_length === 0;
  109431. },
  109432. get$isNotEmpty(_) {
  109433. return this._limited_map_view0$_keys._collection$_length !== 0;
  109434. },
  109435. $index(_, key) {
  109436. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  109437. },
  109438. containsKey$1(key) {
  109439. return this._limited_map_view0$_keys.contains$1(0, key);
  109440. },
  109441. remove$1(_, key) {
  109442. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  109443. }
  109444. };
  109445. A.ListExpression0.prototype = {
  109446. accept$1$1(visitor) {
  109447. return visitor.visitListExpression$1(0, this);
  109448. },
  109449. accept$1(visitor) {
  109450. return this.accept$1$1(visitor, type$.dynamic);
  109451. },
  109452. toString$0(_) {
  109453. var t2, t3, t4, t5, _this = this,
  109454. t1 = _this.hasBrackets;
  109455. if (t1)
  109456. t2 = A.Primitives_stringFromCharCode(91);
  109457. else {
  109458. t2 = _this.contents.length;
  109459. if (t2 !== 0)
  109460. t2 = t2 === 1 && _this.separator === B.ListSeparator_z0K0;
  109461. else
  109462. t2 = true;
  109463. t2 = t2 ? A.Primitives_stringFromCharCode(40) : "";
  109464. }
  109465. t3 = _this.contents;
  109466. t4 = _this.separator === B.ListSeparator_z0K0;
  109467. t5 = t4 ? ", " : " ";
  109468. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  109469. if (t1)
  109470. t1 = t5 + A.Primitives_stringFromCharCode(93);
  109471. else {
  109472. t1 = t3.length;
  109473. if (t1 === 0)
  109474. t1 = t5 + A.Primitives_stringFromCharCode(41);
  109475. else
  109476. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  109477. }
  109478. return t1.charCodeAt(0) == 0 ? t1 : t1;
  109479. },
  109480. _list3$_elementNeedsParens$1(expression) {
  109481. var childSeparator, t1, _0_13;
  109482. $label0$0: {
  109483. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  109484. childSeparator = expression.separator;
  109485. t1 = this.separator === B.ListSeparator_z0K0 ? childSeparator === B.ListSeparator_z0K0 : childSeparator !== B.ListSeparator_undecided_null_3_undecided0;
  109486. break $label0$0;
  109487. }
  109488. if (expression instanceof A.UnaryOperationExpression0) {
  109489. _0_13 = expression.operator;
  109490. if (B.UnaryOperator_n2K0 !== _0_13)
  109491. t1 = B.UnaryOperator_hCO0 === _0_13;
  109492. else
  109493. t1 = true;
  109494. } else
  109495. t1 = false;
  109496. if (t1) {
  109497. t1 = this.separator === B.ListSeparator_SrV0;
  109498. break $label0$0;
  109499. }
  109500. t1 = false;
  109501. break $label0$0;
  109502. }
  109503. return t1;
  109504. },
  109505. get$span(receiver) {
  109506. return this.span;
  109507. }
  109508. };
  109509. A.ListExpression_toString_closure0.prototype = {
  109510. call$1(element) {
  109511. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  109512. },
  109513. $signature: 119
  109514. };
  109515. A._length_closure2.prototype = {
  109516. call$1($arguments) {
  109517. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  109518. },
  109519. $signature: 24
  109520. };
  109521. A._nth_closure0.prototype = {
  109522. call$1($arguments) {
  109523. var t1 = J.getInterceptor$asx($arguments),
  109524. list = t1.$index($arguments, 0),
  109525. index = t1.$index($arguments, 1);
  109526. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  109527. },
  109528. $signature: 3
  109529. };
  109530. A._setNth_closure0.prototype = {
  109531. call$1($arguments) {
  109532. var newList,
  109533. t1 = J.getInterceptor$asx($arguments),
  109534. list = t1.$index($arguments, 0),
  109535. index = t1.$index($arguments, 1),
  109536. value = t1.$index($arguments, 2);
  109537. t1 = list.get$asList();
  109538. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  109539. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  109540. return list.withListContents$1(newList);
  109541. },
  109542. $signature: 27
  109543. };
  109544. A._join_closure0.prototype = {
  109545. call$1($arguments) {
  109546. var _0_1, _0_4, _0_3, t2, _0_40, _0_4_isSet, separator, bracketed, _null = null,
  109547. t1 = J.getInterceptor$asx($arguments),
  109548. list1 = t1.$index($arguments, 0),
  109549. list2 = t1.$index($arguments, 1),
  109550. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  109551. bracketedParam = t1.$index($arguments, 3),
  109552. _1_0 = separatorParam._string0$_text;
  109553. $label1$1: {
  109554. if ("auto" === _1_0) {
  109555. _0_1 = list1.get$separator(list1);
  109556. _0_4 = list2.get$separator(list2);
  109557. $label0$0: {
  109558. t1 = _null;
  109559. _0_3 = B.ListSeparator_undecided_null_3_undecided0 === _0_1;
  109560. t2 = _0_3;
  109561. if (t2) {
  109562. t2 = B.ListSeparator_undecided_null_3_undecided0 === _0_4;
  109563. _0_40 = _0_4;
  109564. _0_4_isSet = true;
  109565. } else {
  109566. _0_40 = _null;
  109567. _0_4_isSet = false;
  109568. t2 = false;
  109569. }
  109570. if (t2) {
  109571. t1 = B.ListSeparator_SrV0;
  109572. break $label0$0;
  109573. }
  109574. if (_0_3) {
  109575. separator = _0_4_isSet ? _0_40 : _0_4;
  109576. t2 = true;
  109577. } else {
  109578. separator = t1;
  109579. t2 = false;
  109580. }
  109581. if (!t2)
  109582. separator = _0_1;
  109583. t1 = separator;
  109584. break $label0$0;
  109585. }
  109586. break $label1$1;
  109587. }
  109588. if ("space" === _1_0) {
  109589. t1 = B.ListSeparator_SrV0;
  109590. break $label1$1;
  109591. }
  109592. if ("comma" === _1_0) {
  109593. t1 = B.ListSeparator_z0K0;
  109594. break $label1$1;
  109595. }
  109596. if ("slash" === _1_0) {
  109597. t1 = B.ListSeparator_Lul0;
  109598. break $label1$1;
  109599. }
  109600. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  109601. }
  109602. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  109603. t2 = A.List_List$_of(list1.get$asList(), type$.Value_2);
  109604. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  109605. return A.SassList$0(t2, t1, bracketed);
  109606. },
  109607. $signature: 27
  109608. };
  109609. A._append_closure2.prototype = {
  109610. call$1($arguments) {
  109611. var t2,
  109612. t1 = J.getInterceptor$asx($arguments),
  109613. list = t1.$index($arguments, 0),
  109614. value = t1.$index($arguments, 1),
  109615. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  109616. $label0$0: {
  109617. if ("auto" === _0_0) {
  109618. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_3_undecided0 ? B.ListSeparator_SrV0 : list.get$separator(list);
  109619. break $label0$0;
  109620. }
  109621. if ("space" === _0_0) {
  109622. t1 = B.ListSeparator_SrV0;
  109623. break $label0$0;
  109624. }
  109625. if ("comma" === _0_0) {
  109626. t1 = B.ListSeparator_z0K0;
  109627. break $label0$0;
  109628. }
  109629. if ("slash" === _0_0) {
  109630. t1 = B.ListSeparator_Lul0;
  109631. break $label0$0;
  109632. }
  109633. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  109634. }
  109635. t2 = A.List_List$_of(list.get$asList(), type$.Value_2);
  109636. t2.push(value);
  109637. return list.withListContents$2$separator(t2, t1);
  109638. },
  109639. $signature: 27
  109640. };
  109641. A._zip_closure0.prototype = {
  109642. call$1($arguments) {
  109643. var results, result, _box_0 = {},
  109644. t1 = J.$index$asx($arguments, 0).get$asList(),
  109645. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  109646. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), t2._eval$1("ListIterable.E"));
  109647. if (lists.length === 0)
  109648. return B.SassList_oH00;
  109649. _box_0.i = 0;
  109650. results = A._setArrayType([], type$.JSArray_SassList_2);
  109651. for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value0>"), t2 = type$.Value_2; B.JSArray_methods.every$1(lists, new A._zip__closure3(_box_0));) {
  109652. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  109653. result.$flags = 3;
  109654. results.push(new A.SassList0(result, B.ListSeparator_SrV0, false));
  109655. ++_box_0.i;
  109656. }
  109657. return A.SassList$0(results, B.ListSeparator_z0K0, false);
  109658. },
  109659. $signature: 27
  109660. };
  109661. A._zip__closure2.prototype = {
  109662. call$1(list) {
  109663. return list.get$asList();
  109664. },
  109665. $signature: 500
  109666. };
  109667. A._zip__closure3.prototype = {
  109668. call$1(list) {
  109669. return this._box_0.i !== J.get$length$asx(list);
  109670. },
  109671. $signature: 501
  109672. };
  109673. A._zip__closure4.prototype = {
  109674. call$1(list) {
  109675. return J.$index$asx(list, this._box_0.i);
  109676. },
  109677. $signature: 3
  109678. };
  109679. A._index_closure2.prototype = {
  109680. call$1($arguments) {
  109681. var t1 = J.getInterceptor$asx($arguments),
  109682. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  109683. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  109684. },
  109685. $signature: 3
  109686. };
  109687. A._separator_closure0.prototype = {
  109688. call$1($arguments) {
  109689. var t1 = J.$index$asx($arguments, 0),
  109690. _0_0 = t1.get$separator(t1);
  109691. $label0$0: {
  109692. if (B.ListSeparator_z0K0 === _0_0) {
  109693. t1 = new A.SassString0("comma", false);
  109694. break $label0$0;
  109695. }
  109696. if (B.ListSeparator_Lul0 === _0_0) {
  109697. t1 = new A.SassString0("slash", false);
  109698. break $label0$0;
  109699. }
  109700. t1 = new A.SassString0("space", false);
  109701. break $label0$0;
  109702. }
  109703. return t1;
  109704. },
  109705. $signature: 17
  109706. };
  109707. A._isBracketed_closure0.prototype = {
  109708. call$1($arguments) {
  109709. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109710. },
  109711. $signature: 11
  109712. };
  109713. A._slash_closure0.prototype = {
  109714. call$1($arguments) {
  109715. var list = J.$index$asx($arguments, 0).get$asList();
  109716. if (list.length < 2)
  109717. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  109718. return A.SassList$0(list, B.ListSeparator_Lul0, false);
  109719. },
  109720. $signature: 27
  109721. };
  109722. A.InterpolatedSelectorList.prototype = {
  109723. get$span(_) {
  109724. var t1 = this.components;
  109725. return t1.length === 1 ? B.JSArray_methods.get$first(t1).span : B.JSArray_methods.get$first(t1).span.expand$1(0, B.JSArray_methods.get$last(t1).span);
  109726. },
  109727. accept$1$1(visitor) {
  109728. return visitor.visitSelectorList$1(this);
  109729. },
  109730. accept$1(visitor) {
  109731. return this.accept$1$1(visitor, type$.dynamic);
  109732. },
  109733. toString$0(_) {
  109734. return B.JSArray_methods.join$1(this.components, ", ");
  109735. }
  109736. };
  109737. A.SelectorList0.prototype = {
  109738. get$asSassList() {
  109739. var t1 = this.components;
  109740. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_z0K0, false);
  109741. },
  109742. accept$1$1(visitor) {
  109743. return visitor.visitSelectorList$1(this);
  109744. },
  109745. accept$1(visitor) {
  109746. return this.accept$1$1(visitor, type$.dynamic);
  109747. },
  109748. unify$1(other) {
  109749. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  109750. t1 = type$.JSArray_ComplexSelector_2,
  109751. t2 = A._setArrayType([], t1);
  109752. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  109753. complex1 = t3[_i];
  109754. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  109755. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  109756. if (t8 != null)
  109757. B.JSArray_methods.addAll$1(t2, t8);
  109758. }
  109759. }
  109760. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  109761. },
  109762. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  109763. var parentSelector, t1, _this = this;
  109764. if ($parent == null) {
  109765. if (preserveParentSelectors)
  109766. return _this;
  109767. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  109768. if (parentSelector == null)
  109769. return _this;
  109770. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  109771. }
  109772. t1 = _this.components;
  109773. return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure0(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2), _this.span);
  109774. },
  109775. nestWithin$1($parent) {
  109776. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  109777. },
  109778. nestWithin$2$implicitParent($parent, implicitParent) {
  109779. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  109780. },
  109781. _list2$_nestWithinCompound$2(component, $parent) {
  109782. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  109783. t1 = component.selector,
  109784. simples = t1.components,
  109785. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  109786. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  109787. return null;
  109788. if (containsSelectorPseudo) {
  109789. t2 = simples;
  109790. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  109791. } else
  109792. resolvedSimples0 = simples;
  109793. resolvedSimples = resolvedSimples0;
  109794. parentSelector = J.get$first$ax(simples);
  109795. try {
  109796. if (!(parentSelector instanceof A.ParentSelector0)) {
  109797. t2 = component.span;
  109798. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty15, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2), t2, false)], type$.JSArray_ComplexSelector_2);
  109799. return t2;
  109800. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  109801. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  109802. return t1.components;
  109803. }
  109804. } catch (exception) {
  109805. t1 = A.unwrapException(exception);
  109806. if (t1 instanceof A.SassException0) {
  109807. error = t1;
  109808. stackTrace = A.getTraceFromException(exception);
  109809. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  109810. } else
  109811. throw exception;
  109812. }
  109813. t1 = $parent.components;
  109814. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109815. },
  109816. isSuperselector$1(other) {
  109817. return A.listIsSuperselector0(this.components, other.components);
  109818. },
  109819. withAdditionalCombinators$1(combinators) {
  109820. var t1;
  109821. if (combinators.length === 0)
  109822. t1 = this;
  109823. else {
  109824. t1 = this.components;
  109825. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  109826. }
  109827. return t1;
  109828. },
  109829. get$hashCode(_) {
  109830. return B.C_ListEquality0.hash$1(this.components);
  109831. },
  109832. $eq(_, other) {
  109833. if (other == null)
  109834. return false;
  109835. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  109836. }
  109837. };
  109838. A.SelectorList_asSassList_closure0.prototype = {
  109839. call$1(complex) {
  109840. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  109841. t1 = type$.JSArray_Value_2,
  109842. t2 = A._setArrayType([], t1);
  109843. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  109844. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  109845. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  109846. component = t3[_i];
  109847. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  109848. component.selector.accept$1(visitor);
  109849. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  109850. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  109851. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  109852. B.JSArray_methods.addAll$1(t2, t5);
  109853. }
  109854. return A.SassList$0(t2, B.ListSeparator_SrV0, false);
  109855. },
  109856. $signature: 502
  109857. };
  109858. A.SelectorList_nestWithin_closure0.prototype = {
  109859. call$1(complex) {
  109860. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, t16, _this = this;
  109861. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  109862. if (!_this.implicitParent)
  109863. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  109864. t1 = _this.parent.components;
  109865. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109866. }
  109867. t1 = type$.JSArray_ComplexSelector_2;
  109868. newComplexes = A._setArrayType([], t1);
  109869. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector_2, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent_2, t11 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < t3; ++_i) {
  109870. component = t2[_i];
  109871. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  109872. if (resolved == null)
  109873. if (newComplexes.length === 0)
  109874. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  109875. else
  109876. for (i = 0; i < newComplexes.length; ++i) {
  109877. t12 = newComplexes[i];
  109878. t13 = A.List_List$_of(t12.components, t10);
  109879. t13.push(component);
  109880. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  109881. }
  109882. else if (newComplexes.length === 0)
  109883. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  109884. else {
  109885. t12 = A._setArrayType([], t1);
  109886. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  109887. newComplex = newComplexes[_i0];
  109888. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  109889. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  109890. }
  109891. newComplexes = t12;
  109892. }
  109893. }
  109894. return newComplexes;
  109895. },
  109896. $signature: 503
  109897. };
  109898. A.SelectorList_nestWithin__closure1.prototype = {
  109899. call$1(parentComplex) {
  109900. var t1 = this.complex;
  109901. return parentComplex.concatenate$2(t1, t1.span);
  109902. },
  109903. $signature: 63
  109904. };
  109905. A.SelectorList_nestWithin__closure2.prototype = {
  109906. call$1(resolvedComplex) {
  109907. var t1 = resolvedComplex.leadingCombinators,
  109908. t2 = this.complex,
  109909. t3 = t2.leadingCombinators;
  109910. if (t1.length === 0)
  109911. t1 = t3;
  109912. else {
  109913. t3 = A.List_List$_of(t3, type$.CssValue_Combinator_2);
  109914. B.JSArray_methods.addAll$1(t3, t1);
  109915. t1 = t3;
  109916. }
  109917. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  109918. },
  109919. $signature: 63
  109920. };
  109921. A.SelectorList__nestWithinCompound_closure2.prototype = {
  109922. call$1(simple) {
  109923. var selector;
  109924. if (!(simple instanceof A.PseudoSelector0))
  109925. return false;
  109926. selector = simple.selector;
  109927. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109928. },
  109929. $signature: 14
  109930. };
  109931. A.SelectorList__nestWithinCompound_closure3.prototype = {
  109932. call$1(simple) {
  109933. var selector, t1, _0_2;
  109934. $label0$0: {
  109935. selector = null;
  109936. t1 = false;
  109937. if (simple instanceof A.PseudoSelector0) {
  109938. _0_2 = simple.selector;
  109939. if (_0_2 != null) {
  109940. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  109941. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109942. }
  109943. }
  109944. if (t1) {
  109945. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  109946. break $label0$0;
  109947. }
  109948. t1 = simple;
  109949. break $label0$0;
  109950. }
  109951. return t1;
  109952. },
  109953. $signature: 504
  109954. };
  109955. A.SelectorList__nestWithinCompound_closure4.prototype = {
  109956. call$1(complex) {
  109957. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  109958. try {
  109959. t4 = complex.components;
  109960. lastComponent = B.JSArray_methods.get$last(t4);
  109961. if (lastComponent.combinators.length !== 0) {
  109962. t1 = A.MultiSpanSassException$0('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight0(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  109963. throw A.wrapException(t1);
  109964. }
  109965. suffix = _this.parentSelector.suffix;
  109966. lastSimples = lastComponent.selector.components;
  109967. t5 = type$.SimpleSelector_2;
  109968. if (suffix == null) {
  109969. t2 = A.List_List$_of(lastSimples, t5);
  109970. t1 = t2;
  109971. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  109972. t1 = t1;
  109973. } else {
  109974. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(lastSimples), t5);
  109975. t2 = t1;
  109976. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  109977. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  109978. t1 = t2;
  109979. }
  109980. t2 = _this.component;
  109981. last = A.CompoundSelector$0(t1, t2.selector.span);
  109982. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t4), type$.ComplexSelectorComponent_2);
  109983. t3 = t1;
  109984. t1 = t2.span;
  109985. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t1));
  109986. t1 = A.ComplexSelector$0(complex.leadingCombinators, t3, t1, complex.lineBreak);
  109987. return t1;
  109988. } catch (exception) {
  109989. t1 = A.unwrapException(exception);
  109990. if (t1 instanceof A.SassException0) {
  109991. error = t1;
  109992. stackTrace = A.getTraceFromException(exception);
  109993. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  109994. } else
  109995. throw exception;
  109996. }
  109997. },
  109998. $signature: 63
  109999. };
  110000. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  110001. call$1(complex) {
  110002. return complex.withAdditionalCombinators$1(this.combinators);
  110003. },
  110004. $signature: 63
  110005. };
  110006. A._ParentSelectorVisitor0.prototype = {
  110007. visitParentSelector$1(_, selector) {
  110008. return selector;
  110009. }
  110010. };
  110011. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  110012. A.listClass_closure.prototype = {
  110013. call$0() {
  110014. var t1 = type$.JSClass,
  110015. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  110016. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  110017. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_9ua.constructor), jsClass);
  110018. return jsClass;
  110019. },
  110020. $signature: 15
  110021. };
  110022. A.listClass__closure.prototype = {
  110023. call$3($self, contentsOrOptions, options) {
  110024. var contents, t1, t2;
  110025. if (self.immutable.isList(contentsOrOptions))
  110026. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  110027. else if (type$.List_dynamic._is(contentsOrOptions))
  110028. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  110029. else {
  110030. contents = A._setArrayType([], type$.JSArray_Value_2);
  110031. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  110032. options = contentsOrOptions;
  110033. }
  110034. t1 = options == null;
  110035. if (!t1) {
  110036. t2 = J.get$separator$x(options);
  110037. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  110038. } else
  110039. t2 = true;
  110040. t2 = t2 ? B.ListSeparator_z0K0 : A.jsToDartSeparator(J.get$separator$x(options));
  110041. t1 = t1 ? null : J.get$brackets$x(options);
  110042. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  110043. },
  110044. call$1($self) {
  110045. return this.call$3($self, null, null);
  110046. },
  110047. call$2($self, contentsOrOptions) {
  110048. return this.call$3($self, contentsOrOptions, null);
  110049. },
  110050. "call*": "call$3",
  110051. $requiredArgCount: 1,
  110052. $defaultValues() {
  110053. return [null, null];
  110054. },
  110055. $signature: 505
  110056. };
  110057. A.listClass__closure0.prototype = {
  110058. call$2($self, indexFloat) {
  110059. var index = B.JSNumber_methods.floor$0(indexFloat);
  110060. if (index < 0)
  110061. index = $self.get$asList().length + index;
  110062. if (index < 0 || index >= $self.get$asList().length)
  110063. return self.undefined;
  110064. return $self.get$asList()[index];
  110065. },
  110066. $signature: 255
  110067. };
  110068. A._ConstructorOptions.prototype = {};
  110069. A._NodeSassList.prototype = {};
  110070. A.legacyListClass_closure.prototype = {
  110071. call$4(thisArg, $length, commaSeparator, dartValue) {
  110072. var t1;
  110073. if (dartValue == null) {
  110074. $length.toString;
  110075. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  110076. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_z0K0 : B.ListSeparator_SrV0, false);
  110077. } else
  110078. t1 = dartValue;
  110079. J.set$dartValue$x(thisArg, t1);
  110080. },
  110081. call$2(thisArg, $length) {
  110082. return this.call$4(thisArg, $length, null, null);
  110083. },
  110084. call$3(thisArg, $length, commaSeparator) {
  110085. return this.call$4(thisArg, $length, commaSeparator, null);
  110086. },
  110087. "call*": "call$4",
  110088. $requiredArgCount: 2,
  110089. $defaultValues() {
  110090. return [null, null];
  110091. },
  110092. $signature: 507
  110093. };
  110094. A.legacyListClass__closure.prototype = {
  110095. call$1(_) {
  110096. return B.C__SassNull0;
  110097. },
  110098. $signature: 254
  110099. };
  110100. A.legacyListClass_closure0.prototype = {
  110101. call$2(thisArg, index) {
  110102. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  110103. },
  110104. $signature: 509
  110105. };
  110106. A.legacyListClass_closure1.prototype = {
  110107. call$3(thisArg, index, value) {
  110108. var t1 = J.getInterceptor$x(thisArg),
  110109. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  110110. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  110111. mutable[index] = A.unwrapValue(value);
  110112. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  110113. },
  110114. "call*": "call$3",
  110115. $requiredArgCount: 3,
  110116. $signature: 510
  110117. };
  110118. A.legacyListClass_closure2.prototype = {
  110119. call$1(thisArg) {
  110120. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_z0K0;
  110121. },
  110122. $signature: 511
  110123. };
  110124. A.legacyListClass_closure3.prototype = {
  110125. call$2(thisArg, isComma) {
  110126. var t1 = J.getInterceptor$x(thisArg),
  110127. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  110128. t3 = isComma ? B.ListSeparator_z0K0 : B.ListSeparator_SrV0;
  110129. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  110130. },
  110131. $signature: 512
  110132. };
  110133. A.legacyListClass_closure4.prototype = {
  110134. call$1(thisArg) {
  110135. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  110136. },
  110137. $signature: 513
  110138. };
  110139. A.SassList0.prototype = {
  110140. get$separator(_) {
  110141. return this._list1$_separator;
  110142. },
  110143. get$hasBrackets() {
  110144. return this._list1$_hasBrackets;
  110145. },
  110146. get$isBlank() {
  110147. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  110148. },
  110149. get$asList() {
  110150. return this._list1$_contents;
  110151. },
  110152. get$lengthAsList() {
  110153. return this._list1$_contents.length;
  110154. },
  110155. SassList$3$brackets0(contents, _separator, brackets) {
  110156. if (this._list1$_separator === B.ListSeparator_undecided_null_3_undecided0 && this._list1$_contents.length > 1)
  110157. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  110158. },
  110159. toString$0(_) {
  110160. var t2, _this = this,
  110161. t1 = true;
  110162. if (!_this._list1$_hasBrackets) {
  110163. t2 = _this._list1$_contents.length;
  110164. if (t2 !== 0)
  110165. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_z0K0;
  110166. }
  110167. if (t1)
  110168. return _this.super$Value$toString0(0);
  110169. return "(" + _this.super$Value$toString0(0) + ")";
  110170. },
  110171. accept$1$1(visitor) {
  110172. return visitor.visitList$1(this);
  110173. },
  110174. accept$1(visitor) {
  110175. return this.accept$1$1(visitor, type$.dynamic);
  110176. },
  110177. assertMap$1($name) {
  110178. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  110179. },
  110180. tryMap$0() {
  110181. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  110182. },
  110183. $eq(_, other) {
  110184. var t1, _this = this;
  110185. if (other == null)
  110186. return false;
  110187. if (!(other instanceof A.SassList0 && other._list1$_separator === _this._list1$_separator && other._list1$_hasBrackets === _this._list1$_hasBrackets && B.C_ListEquality.equals$2(0, other._list1$_contents, _this._list1$_contents)))
  110188. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  110189. else
  110190. t1 = true;
  110191. return t1;
  110192. },
  110193. get$hashCode(_) {
  110194. return B.C_ListEquality0.hash$1(this._list1$_contents);
  110195. }
  110196. };
  110197. A.SassList_isBlank_closure0.prototype = {
  110198. call$1(element) {
  110199. return element.get$isBlank();
  110200. },
  110201. $signature: 52
  110202. };
  110203. A.ListSeparator0.prototype = {
  110204. _enumToString$0() {
  110205. return "ListSeparator." + this._name;
  110206. },
  110207. toString$0(_) {
  110208. return this._list1$_name;
  110209. }
  110210. };
  110211. A.LmsColorSpace0.prototype = {
  110212. get$isBoundedInternal() {
  110213. return false;
  110214. },
  110215. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  110216. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  110217. switch (dest) {
  110218. case B.OklabColorSpace_5400:
  110219. t1 = long == null ? 0 : long;
  110220. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110221. t1 = medium == null ? 0 : medium;
  110222. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110223. t1 = short == null ? 0 : short;
  110224. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110225. t1 = $.$get$lmsToOklab0();
  110226. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  110227. t2 = missingLightness ? _null : lightness;
  110228. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  110229. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  110230. case B.OklchColorSpace_9Gj0:
  110231. t1 = long == null ? 0 : long;
  110232. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110233. t1 = medium == null ? 0 : medium;
  110234. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110235. t1 = short == null ? 0 : short;
  110236. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  110237. if (missingLightness)
  110238. t1 = _null;
  110239. else {
  110240. t1 = $.$get$lmsToOklab0();
  110241. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  110242. }
  110243. t2 = $.$get$lmsToOklab0();
  110244. return A.labToLch0(dest, t1, t2[3] * longScaled + t2[4] * mediumScaled + t2[5] * shortScaled, t2[6] * longScaled + t2[7] * mediumScaled + t2[8] * shortScaled, alpha, missingChroma, missingHue);
  110245. default:
  110246. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  110247. }
  110248. },
  110249. convert$5(dest, long, medium, short, alpha) {
  110250. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  110251. },
  110252. toLinear$1(channel) {
  110253. return channel;
  110254. },
  110255. fromLinear$1(channel) {
  110256. return channel;
  110257. },
  110258. transformationMatrix$1(dest) {
  110259. var t1;
  110260. $label0$0: {
  110261. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  110262. t1 = $.$get$lmsToLinearSrgb0();
  110263. break $label0$0;
  110264. }
  110265. if (B.A98RgbColorSpace_lf20 === dest) {
  110266. t1 = $.$get$lmsToLinearA98Rgb0();
  110267. break $label0$0;
  110268. }
  110269. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  110270. t1 = $.$get$lmsToLinearProphotoRgb0();
  110271. break $label0$0;
  110272. }
  110273. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  110274. t1 = $.$get$lmsToLinearDisplayP30();
  110275. break $label0$0;
  110276. }
  110277. if (B.Rec2020ColorSpace_6oo0 === dest) {
  110278. t1 = $.$get$lmsToLinearRec20200();
  110279. break $label0$0;
  110280. }
  110281. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  110282. t1 = $.$get$lmsToXyzD650();
  110283. break $label0$0;
  110284. }
  110285. if (B.XyzD50ColorSpace_2OB0 === dest) {
  110286. t1 = $.$get$lmsToXyzD500();
  110287. break $label0$0;
  110288. }
  110289. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  110290. break $label0$0;
  110291. }
  110292. return t1;
  110293. }
  110294. };
  110295. A.LocalMindeGamutMap0.prototype = {
  110296. map$1(_, color) {
  110297. var clipped, max, min, minInGamut, chroma, current, e,
  110298. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  110299. lightness = originOklch.channel0OrNull,
  110300. hue = originOklch.channel2OrNull,
  110301. alpha = originOklch.alphaOrNull,
  110302. t1 = lightness == null,
  110303. t2 = t1 ? 0 : lightness;
  110304. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  110305. t1 = color._color0$_space;
  110306. t2 = color.alphaOrNull;
  110307. return t1.get$isLegacyInternal() ? A.SassColor_SassColor$rgbInternal0(255, 255, 255, t2, null).toSpace$1(t1) : A.SassColor_SassColor$forSpaceInternal0(t1, 1, 1, 1, t2);
  110308. } else {
  110309. t1 = t1 ? 0 : lightness;
  110310. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  110311. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  110312. }
  110313. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  110314. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  110315. return clipped;
  110316. max = originOklch.channel1OrNull;
  110317. if (max == null)
  110318. max = 0;
  110319. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  110320. chroma = (min + max) / 2;
  110321. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  110322. if (minInGamut && current.get$isInGamut()) {
  110323. min = chroma;
  110324. continue;
  110325. }
  110326. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  110327. e = this._local_minde$_deltaEOK$2(clipped, current);
  110328. if (e < 0.02) {
  110329. if (0.02 - e < 0.0001)
  110330. return clipped;
  110331. min = chroma;
  110332. minInGamut = false;
  110333. } else
  110334. max = chroma;
  110335. }
  110336. return clipped;
  110337. },
  110338. _local_minde$_deltaEOK$2(color1, color2) {
  110339. var t2, t3, t4,
  110340. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  110341. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  110342. t1 = lab1.channel0OrNull;
  110343. if (t1 == null)
  110344. t1 = 0;
  110345. t2 = lab2.channel0OrNull;
  110346. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  110347. t2 = lab1.channel1OrNull;
  110348. if (t2 == null)
  110349. t2 = 0;
  110350. t3 = lab2.channel1OrNull;
  110351. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  110352. t3 = lab1.channel2OrNull;
  110353. if (t3 == null)
  110354. t3 = 0;
  110355. t4 = lab2.channel2OrNull;
  110356. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  110357. }
  110358. };
  110359. A.JSLogger.prototype = {};
  110360. A.WarnOptions.prototype = {};
  110361. A.DebugOptions.prototype = {};
  110362. A.LoggerWithDeprecationType0.prototype = {};
  110363. A.LoudComment0.prototype = {
  110364. get$span(_) {
  110365. return this.text.span;
  110366. },
  110367. accept$1$1(visitor) {
  110368. return visitor.visitLoudComment$1(0, this);
  110369. },
  110370. accept$1(visitor) {
  110371. return this.accept$1$1(visitor, type$.dynamic);
  110372. },
  110373. toString$0(_) {
  110374. return this.text.toString$0(0);
  110375. }
  110376. };
  110377. A.MapExpression0.prototype = {
  110378. accept$1$1(visitor) {
  110379. return visitor.visitMapExpression$1(0, this);
  110380. },
  110381. accept$1(visitor) {
  110382. return this.accept$1$1(visitor, type$.dynamic);
  110383. },
  110384. toString$0(_) {
  110385. var t2, t3, _i, t4,
  110386. t1 = A._setArrayType([], type$.JSArray_String);
  110387. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  110388. t4 = t2[_i];
  110389. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  110390. }
  110391. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  110392. },
  110393. get$span(receiver) {
  110394. return this.span;
  110395. }
  110396. };
  110397. A._get_closure0.prototype = {
  110398. call$1($arguments) {
  110399. var value,
  110400. t1 = J.getInterceptor$asx($arguments),
  110401. map = t1.$index($arguments, 0).assertMap$1("map"),
  110402. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110403. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110404. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  110405. value = map._map0$_contents.$index(0, t1.get$current(t1));
  110406. if (!(value instanceof A.SassMap0))
  110407. return B.C__SassNull0;
  110408. }
  110409. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  110410. return t1 == null ? B.C__SassNull0 : t1;
  110411. },
  110412. $signature: 3
  110413. };
  110414. A._set_closure1.prototype = {
  110415. call$1($arguments) {
  110416. var t1 = J.getInterceptor$asx($arguments);
  110417. return A._modify0(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2), new A._set__closure2($arguments), true);
  110418. },
  110419. $signature: 3
  110420. };
  110421. A._set__closure2.prototype = {
  110422. call$1(_) {
  110423. return J.$index$asx(this.$arguments, 2);
  110424. },
  110425. $signature: 44
  110426. };
  110427. A._set_closure2.prototype = {
  110428. call$1($arguments) {
  110429. var keys, t2, t3,
  110430. t1 = J.getInterceptor$asx($arguments),
  110431. map = t1.$index($arguments, 0).assertMap$1("map"),
  110432. _0_0 = t1.$index($arguments, 1).get$asList(),
  110433. _0_1 = _0_0.length;
  110434. if (_0_1 <= 0)
  110435. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  110436. if (_0_1 === 1)
  110437. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  110438. t1 = {};
  110439. keys = t1.value = null;
  110440. t2 = _0_1 >= 1;
  110441. if (t2) {
  110442. t3 = _0_1 - 1;
  110443. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  110444. t1.value = _0_0[t3];
  110445. }
  110446. if (t2)
  110447. return A._modify0(map, keys, new A._set__closure1(t1), true);
  110448. throw A.wrapException("[BUG] Unreachable code");
  110449. },
  110450. $signature: 3
  110451. };
  110452. A._set__closure1.prototype = {
  110453. call$1(_) {
  110454. return this._box_0.value;
  110455. },
  110456. $signature: 44
  110457. };
  110458. A._merge_closure1.prototype = {
  110459. call$1($arguments) {
  110460. var t2,
  110461. t1 = J.getInterceptor$asx($arguments),
  110462. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  110463. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  110464. t1 = type$.Value_2;
  110465. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  110466. t2.addAll$1(0, map2._map0$_contents);
  110467. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110468. },
  110469. $signature: 34
  110470. };
  110471. A._merge_closure2.prototype = {
  110472. call$1($arguments) {
  110473. var last, t2, keys, _null = null,
  110474. t1 = J.getInterceptor$asx($arguments),
  110475. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  110476. _0_0 = t1.$index($arguments, 1).get$asList(),
  110477. _0_1 = _0_0.length;
  110478. if (_0_1 <= 0)
  110479. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  110480. if (_0_1 === 1)
  110481. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  110482. t1 = _0_1 >= 1;
  110483. last = _null;
  110484. if (t1) {
  110485. t2 = _0_1 - 1;
  110486. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  110487. last = _0_0[t2];
  110488. } else
  110489. keys = _null;
  110490. if (t1)
  110491. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  110492. throw A.wrapException("[BUG] Unreachable code");
  110493. },
  110494. $signature: 3
  110495. };
  110496. A._merge__closure0.prototype = {
  110497. call$1(oldValue) {
  110498. var t1, t2,
  110499. nestedMap = oldValue.tryMap$0();
  110500. if (nestedMap == null)
  110501. return this.map2;
  110502. t1 = type$.Value_2;
  110503. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  110504. t2.addAll$1(0, this.map2._map0$_contents);
  110505. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110506. },
  110507. $signature: 514
  110508. };
  110509. A._deepMerge_closure0.prototype = {
  110510. call$1($arguments) {
  110511. var t1 = J.getInterceptor$asx($arguments);
  110512. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  110513. },
  110514. $signature: 34
  110515. };
  110516. A._deepRemove_closure0.prototype = {
  110517. call$1($arguments) {
  110518. var t1 = J.getInterceptor$asx($arguments),
  110519. map = t1.$index($arguments, 0).assertMap$1("map"),
  110520. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110521. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110522. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  110523. },
  110524. $signature: 3
  110525. };
  110526. A._deepRemove__closure0.prototype = {
  110527. call$1(value) {
  110528. var t1, nestedMap, t2,
  110529. _0_0 = value.tryMap$0();
  110530. if (_0_0 != null) {
  110531. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  110532. nestedMap = _0_0;
  110533. } else {
  110534. nestedMap = null;
  110535. t1 = false;
  110536. }
  110537. if (t1) {
  110538. t1 = type$.Value_2;
  110539. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  110540. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  110541. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110542. }
  110543. return value;
  110544. },
  110545. $signature: 44
  110546. };
  110547. A._remove_closure1.prototype = {
  110548. call$1($arguments) {
  110549. return J.$index$asx($arguments, 0).assertMap$1("map");
  110550. },
  110551. $signature: 34
  110552. };
  110553. A._remove_closure2.prototype = {
  110554. call$1($arguments) {
  110555. var mutableMap, t3, _i,
  110556. t1 = J.getInterceptor$asx($arguments),
  110557. map = t1.$index($arguments, 0).assertMap$1("map"),
  110558. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110559. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110560. t1 = type$.Value_2;
  110561. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  110562. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  110563. mutableMap.remove$1(0, t2[_i]);
  110564. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110565. },
  110566. $signature: 34
  110567. };
  110568. A._keys_closure0.prototype = {
  110569. call$1($arguments) {
  110570. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  110571. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_z0K0, false);
  110572. },
  110573. $signature: 27
  110574. };
  110575. A._values_closure0.prototype = {
  110576. call$1($arguments) {
  110577. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  110578. return A.SassList$0(t1.get$values(t1), B.ListSeparator_z0K0, false);
  110579. },
  110580. $signature: 27
  110581. };
  110582. A._hasKey_closure0.prototype = {
  110583. call$1($arguments) {
  110584. var value,
  110585. t1 = J.getInterceptor$asx($arguments),
  110586. map = t1.$index($arguments, 0).assertMap$1("map"),
  110587. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110588. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110589. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  110590. value = map._map0$_contents.$index(0, t1.get$current(t1));
  110591. if (!(value instanceof A.SassMap0))
  110592. return B.SassBoolean_false0;
  110593. }
  110594. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110595. },
  110596. $signature: 11
  110597. };
  110598. A._modify_modifyNestedMap0.prototype = {
  110599. call$1(map) {
  110600. var nestedMap, _this = this,
  110601. t1 = type$.Value_2,
  110602. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  110603. t2 = _this.keyIterator,
  110604. key = t2.get$current(t2);
  110605. if (!t2.moveNext$0()) {
  110606. t2 = mutableMap.$index(0, key);
  110607. if (t2 == null)
  110608. t2 = B.C__SassNull0;
  110609. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  110610. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110611. }
  110612. t2 = mutableMap.$index(0, key);
  110613. nestedMap = t2 == null ? null : t2.tryMap$0();
  110614. t2 = nestedMap == null;
  110615. if (t2 && !_this.addNesting)
  110616. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110617. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  110618. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110619. },
  110620. $signature: 515
  110621. };
  110622. A.MapExtensions_get_pairs_closure0.prototype = {
  110623. call$1(e) {
  110624. return new A._Record_2(e.key, e.value);
  110625. },
  110626. $signature() {
  110627. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  110628. }
  110629. };
  110630. A.mapClass_closure.prototype = {
  110631. call$0() {
  110632. var t1 = type$.JSClass,
  110633. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  110634. t2 = J.getInterceptor$x(jsClass);
  110635. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  110636. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  110637. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  110638. return jsClass;
  110639. },
  110640. $signature: 15
  110641. };
  110642. A.mapClass__closure.prototype = {
  110643. call$2($self, contents) {
  110644. var t1;
  110645. if (contents == null)
  110646. t1 = B.SassMap_Map_empty0;
  110647. else {
  110648. t1 = type$.Value_2;
  110649. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  110650. }
  110651. return t1;
  110652. },
  110653. call$1($self) {
  110654. return this.call$2($self, null);
  110655. },
  110656. "call*": "call$2",
  110657. $requiredArgCount: 1,
  110658. $defaultValues() {
  110659. return [null];
  110660. },
  110661. $signature: 516
  110662. };
  110663. A.mapClass__closure0.prototype = {
  110664. call$1($self) {
  110665. return A.dartMapToImmutableMap($self._map0$_contents);
  110666. },
  110667. $signature: 517
  110668. };
  110669. A.mapClass__closure1.prototype = {
  110670. call$2($self, indexOrKey) {
  110671. var index, t1, _0_0;
  110672. if (typeof indexOrKey == "number") {
  110673. index = B.JSNumber_methods.floor$0(indexOrKey);
  110674. if (index < 0) {
  110675. t1 = $self._map0$_contents;
  110676. index = t1.get$length(t1) + index;
  110677. }
  110678. if (index >= 0) {
  110679. t1 = $self._map0$_contents;
  110680. t1 = index >= t1.get$length(t1);
  110681. } else
  110682. t1 = true;
  110683. if (t1)
  110684. return self.undefined;
  110685. t1 = type$.Value_2;
  110686. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  110687. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_SrV0, false);
  110688. } else {
  110689. t1 = $self._map0$_contents.$index(0, indexOrKey);
  110690. return t1 == null ? self.undefined : t1;
  110691. }
  110692. },
  110693. $signature: 518
  110694. };
  110695. A._NodeSassMap.prototype = {};
  110696. A.legacyMapClass_closure.prototype = {
  110697. call$3(thisArg, $length, dartValue) {
  110698. var t1, t2, t3, map;
  110699. if (dartValue == null) {
  110700. $length.toString;
  110701. t1 = type$.Value_2;
  110702. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  110703. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  110704. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  110705. A.MapBase__fillMapWithIterables(map, t2, t3);
  110706. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  110707. } else
  110708. t1 = dartValue;
  110709. J.set$dartValue$x(thisArg, t1);
  110710. },
  110711. call$2(thisArg, $length) {
  110712. return this.call$3(thisArg, $length, null);
  110713. },
  110714. "call*": "call$3",
  110715. $requiredArgCount: 2,
  110716. $defaultValues() {
  110717. return [null];
  110718. },
  110719. $signature: 519
  110720. };
  110721. A.legacyMapClass__closure.prototype = {
  110722. call$1(i) {
  110723. return A.SassNumber_SassNumber0(i, null);
  110724. },
  110725. $signature: 520
  110726. };
  110727. A.legacyMapClass__closure0.prototype = {
  110728. call$1(_) {
  110729. return B.C__SassNull0;
  110730. },
  110731. $signature: 254
  110732. };
  110733. A.legacyMapClass_closure0.prototype = {
  110734. call$2(thisArg, index) {
  110735. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110736. t1 = t1.get$keys(t1);
  110737. return A.wrapValue(t1.elementAt$1(t1, index));
  110738. },
  110739. $signature: 253
  110740. };
  110741. A.legacyMapClass_closure1.prototype = {
  110742. call$2(thisArg, index) {
  110743. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110744. t1 = t1.get$values(t1);
  110745. return A.wrapValue(t1.elementAt$1(t1, index));
  110746. },
  110747. $signature: 253
  110748. };
  110749. A.legacyMapClass_closure2.prototype = {
  110750. call$1(thisArg) {
  110751. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110752. return t1.get$length(t1);
  110753. },
  110754. $signature: 522
  110755. };
  110756. A.legacyMapClass_closure3.prototype = {
  110757. call$3(thisArg, index, key) {
  110758. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  110759. t1 = J.getInterceptor$x(thisArg),
  110760. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  110761. $length = oldMap.get$length(oldMap);
  110762. A.IndexError_check(index, $length, oldMap, null, "index");
  110763. newKey = A.unwrapValue(key);
  110764. t2 = type$.Value_2;
  110765. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  110766. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  110767. t4 = t3.get$current(t3);
  110768. oldKey = t4._0;
  110769. oldValue = t4._1;
  110770. if (i === index)
  110771. newMap.$indexSet(0, newKey, oldValue);
  110772. else {
  110773. if (newKey.$eq(0, oldKey))
  110774. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  110775. newMap.$indexSet(0, oldKey, oldValue);
  110776. }
  110777. ++i;
  110778. }
  110779. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  110780. },
  110781. "call*": "call$3",
  110782. $requiredArgCount: 3,
  110783. $signature: 252
  110784. };
  110785. A.legacyMapClass_closure4.prototype = {
  110786. call$3(thisArg, index, value) {
  110787. var key, t3,
  110788. t1 = J.getInterceptor$x(thisArg),
  110789. t2 = t1.get$dartValue(thisArg)._map0$_contents;
  110790. t2 = t2.get$keys(t2);
  110791. key = t2.elementAt$1(t2, index);
  110792. t2 = type$.Value_2;
  110793. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  110794. t3.$indexSet(0, key, A.unwrapValue(value));
  110795. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  110796. },
  110797. "call*": "call$3",
  110798. $requiredArgCount: 3,
  110799. $signature: 252
  110800. };
  110801. A.SassMap0.prototype = {
  110802. get$separator(_) {
  110803. var t1 = this._map0$_contents;
  110804. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_3_undecided0 : B.ListSeparator_z0K0;
  110805. },
  110806. get$asList() {
  110807. var t3, t4, t5, result,
  110808. t1 = type$.JSArray_Value_2,
  110809. t2 = A._setArrayType([], t1);
  110810. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  110811. t5 = t4.get$current(t4);
  110812. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  110813. result.$flags = 3;
  110814. t2.push(new A.SassList0(result, B.ListSeparator_SrV0, false));
  110815. }
  110816. return t2;
  110817. },
  110818. get$lengthAsList() {
  110819. var t1 = this._map0$_contents;
  110820. return t1.get$length(t1);
  110821. },
  110822. accept$1$1(visitor) {
  110823. return visitor.visitMap$1(this);
  110824. },
  110825. accept$1(visitor) {
  110826. return this.accept$1$1(visitor, type$.dynamic);
  110827. },
  110828. assertMap$1($name) {
  110829. return this;
  110830. },
  110831. tryMap$0() {
  110832. return this;
  110833. },
  110834. $eq(_, other) {
  110835. var t1;
  110836. if (other == null)
  110837. return false;
  110838. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  110839. t1 = this._map0$_contents;
  110840. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  110841. } else
  110842. t1 = true;
  110843. return t1;
  110844. },
  110845. get$hashCode(_) {
  110846. var t1 = this._map0$_contents;
  110847. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty21) : B.C_MapEquality.hash$1(t1);
  110848. }
  110849. };
  110850. A.global_closure43.prototype = {
  110851. call$1($arguments) {
  110852. var t1,
  110853. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110854. if (number.hasUnit$1("%"))
  110855. A.warnForDeprecation0(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_w3M);
  110856. else
  110857. A.warnForDeprecation0(string$.Globalm, B.Deprecation_SGB);
  110858. t1 = number.get$numeratorUnits(number);
  110859. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  110860. },
  110861. $signature: 24
  110862. };
  110863. A.module_closure26.prototype = {
  110864. call$1(value) {
  110865. return Math.abs(value);
  110866. },
  110867. $signature: 16
  110868. };
  110869. A._ceil_closure0.prototype = {
  110870. call$1(value) {
  110871. return B.JSNumber_methods.ceil$0(value);
  110872. },
  110873. $signature: 16
  110874. };
  110875. A._clamp_closure0.prototype = {
  110876. call$1($arguments) {
  110877. var t1 = J.getInterceptor$asx($arguments),
  110878. min = t1.$index($arguments, 0).assertNumber$1("min"),
  110879. number = t1.$index($arguments, 1).assertNumber$1("number"),
  110880. max = t1.$index($arguments, 2).assertNumber$1("max");
  110881. number.convertValueToMatch$3(min, "number", "min");
  110882. max.convertValueToMatch$3(min, "max", "min");
  110883. if (min.greaterThanOrEquals$1(max).value)
  110884. return min;
  110885. if (min.greaterThanOrEquals$1(number).value)
  110886. return min;
  110887. if (number.greaterThanOrEquals$1(max).value)
  110888. return max;
  110889. return number;
  110890. },
  110891. $signature: 24
  110892. };
  110893. A._floor_closure0.prototype = {
  110894. call$1(value) {
  110895. return B.JSNumber_methods.floor$0(value);
  110896. },
  110897. $signature: 16
  110898. };
  110899. A._max_closure0.prototype = {
  110900. call$1($arguments) {
  110901. var t1, t2, max, _i, number;
  110902. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  110903. number = t1[_i].assertNumber$0();
  110904. if (max == null || max.lessThan$1(number).value)
  110905. max = number;
  110906. }
  110907. if (max != null)
  110908. return max;
  110909. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110910. },
  110911. $signature: 24
  110912. };
  110913. A._min_closure0.prototype = {
  110914. call$1($arguments) {
  110915. var t1, t2, min, _i, number;
  110916. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  110917. number = t1[_i].assertNumber$0();
  110918. if (min == null || min.greaterThan$1(number).value)
  110919. min = number;
  110920. }
  110921. if (min != null)
  110922. return min;
  110923. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110924. },
  110925. $signature: 24
  110926. };
  110927. A._round_closure0.prototype = {
  110928. call$1(number) {
  110929. return B.JSNumber_methods.round$0(number);
  110930. },
  110931. $signature: 16
  110932. };
  110933. A._hypot_closure0.prototype = {
  110934. call$1($arguments) {
  110935. var subtotal, i, i0, t3,
  110936. t1 = J.$index$asx($arguments, 0).get$asList(),
  110937. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  110938. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), t2._eval$1("ListIterable.E"));
  110939. if (numbers.length === 0)
  110940. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110941. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  110942. i0 = i + 1;
  110943. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  110944. }
  110945. t1 = Math.sqrt(subtotal);
  110946. t2 = numbers[0];
  110947. t2 = t2.get$numeratorUnits(t2);
  110948. t3 = numbers[0];
  110949. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t3), t2);
  110950. },
  110951. $signature: 24
  110952. };
  110953. A._hypot__closure0.prototype = {
  110954. call$1(argument) {
  110955. return argument.assertNumber$0();
  110956. },
  110957. $signature: 524
  110958. };
  110959. A._log_closure0.prototype = {
  110960. call$1($arguments) {
  110961. var base,
  110962. _s18_ = " to have no units.",
  110963. _null = null,
  110964. t1 = J.getInterceptor$asx($arguments),
  110965. number = t1.$index($arguments, 0).assertNumber$1("number");
  110966. if (number.get$hasUnits())
  110967. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  110968. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  110969. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  110970. base = t1.$index($arguments, 1).assertNumber$1("base");
  110971. if (base.get$hasUnits())
  110972. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  110973. else
  110974. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  110975. },
  110976. $signature: 24
  110977. };
  110978. A._pow_closure0.prototype = {
  110979. call$1($arguments) {
  110980. var t1 = J.getInterceptor$asx($arguments);
  110981. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  110982. },
  110983. $signature: 24
  110984. };
  110985. A._atan2_closure0.prototype = {
  110986. call$1($arguments) {
  110987. var t1 = J.getInterceptor$asx($arguments),
  110988. y = t1.$index($arguments, 0).assertNumber$1("y");
  110989. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  110990. },
  110991. $signature: 24
  110992. };
  110993. A._compatible_closure0.prototype = {
  110994. call$1($arguments) {
  110995. var t1 = J.getInterceptor$asx($arguments);
  110996. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110997. },
  110998. $signature: 11
  110999. };
  111000. A._isUnitless_closure0.prototype = {
  111001. call$1($arguments) {
  111002. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111003. },
  111004. $signature: 11
  111005. };
  111006. A._unit_closure0.prototype = {
  111007. call$1($arguments) {
  111008. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  111009. },
  111010. $signature: 17
  111011. };
  111012. A._percentage_closure0.prototype = {
  111013. call$1($arguments) {
  111014. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  111015. number.assertNoUnits$1("number");
  111016. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  111017. },
  111018. $signature: 24
  111019. };
  111020. A._randomFunction_closure0.prototype = {
  111021. call$1($arguments) {
  111022. var limit, limitScalar,
  111023. t1 = J.getInterceptor$asx($arguments);
  111024. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  111025. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  111026. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  111027. if (limit.get$hasUnits())
  111028. A.warnForDeprecation0(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_PHd);
  111029. limitScalar = limit.assertInt$1("limit");
  111030. if (limitScalar < 1)
  111031. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  111032. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  111033. },
  111034. $signature: 24
  111035. };
  111036. A._div_closure0.prototype = {
  111037. call$1($arguments) {
  111038. var t1 = J.getInterceptor$asx($arguments),
  111039. number1 = t1.$index($arguments, 0),
  111040. number2 = t1.$index($arguments, 1);
  111041. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  111042. A.warn0(string$.math_d);
  111043. return number1.dividedBy$1(number2);
  111044. },
  111045. $signature: 3
  111046. };
  111047. A._singleArgumentMathFunc_closure0.prototype = {
  111048. call$1($arguments) {
  111049. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  111050. },
  111051. $signature: 24
  111052. };
  111053. A._numberFunction_closure0.prototype = {
  111054. call$1($arguments) {
  111055. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  111056. t1 = this.transform.call$1(number._number1$_value),
  111057. t2 = number.get$numeratorUnits(number);
  111058. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  111059. },
  111060. $signature: 24
  111061. };
  111062. A.CssMediaQuery0.prototype = {
  111063. merge$1(other) {
  111064. var t1, ourModifier, t2, t3, ourType, t4, theirModifier, t5, t6, theirType, t7, t8, negativeConditions, conditions, type, modifier, fewerConditions, fewerConditions0, moreConditions, _this = this, _null = null, _s3_ = "all";
  111065. if (!_this.conjunction || !other.conjunction)
  111066. return B._SingletonCssMediaQueryMergeResult_10;
  111067. t1 = _this.modifier;
  111068. ourModifier = t1 == null ? _null : t1.toLowerCase();
  111069. t2 = _this.type;
  111070. t3 = t2 == null;
  111071. ourType = t3 ? _null : t2.toLowerCase();
  111072. t4 = other.modifier;
  111073. theirModifier = t4 == null ? _null : t4.toLowerCase();
  111074. t5 = other.type;
  111075. t6 = t5 == null;
  111076. theirType = t6 ? _null : t5.toLowerCase();
  111077. t7 = ourType == null;
  111078. if (t7 && theirType == null) {
  111079. t1 = A.List_List$_of(_this.conditions, type$.String);
  111080. B.JSArray_methods.addAll$1(t1, other.conditions);
  111081. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  111082. }
  111083. t8 = ourModifier === "not";
  111084. if (t8 !== (theirModifier === "not")) {
  111085. if (ourType == theirType) {
  111086. negativeConditions = t8 ? _this.conditions : other.conditions;
  111087. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  111088. return B._SingletonCssMediaQueryMergeResult_00;
  111089. else
  111090. return B._SingletonCssMediaQueryMergeResult_10;
  111091. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  111092. return B._SingletonCssMediaQueryMergeResult_10;
  111093. if (t8) {
  111094. conditions = other.conditions;
  111095. type = theirType;
  111096. modifier = theirModifier;
  111097. } else {
  111098. conditions = _this.conditions;
  111099. type = ourType;
  111100. modifier = ourModifier;
  111101. }
  111102. } else if (t8) {
  111103. if (ourType != theirType)
  111104. return B._SingletonCssMediaQueryMergeResult_10;
  111105. fewerConditions = _this.conditions;
  111106. fewerConditions0 = other.conditions;
  111107. t3 = fewerConditions.length > fewerConditions0.length;
  111108. moreConditions = t3 ? fewerConditions : fewerConditions0;
  111109. if (t3)
  111110. fewerConditions = fewerConditions0;
  111111. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  111112. return B._SingletonCssMediaQueryMergeResult_10;
  111113. conditions = moreConditions;
  111114. type = ourType;
  111115. modifier = ourModifier;
  111116. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  111117. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  111118. t3 = A.List_List$_of(_this.conditions, type$.String);
  111119. B.JSArray_methods.addAll$1(t3, other.conditions);
  111120. conditions = t3;
  111121. modifier = theirModifier;
  111122. } else {
  111123. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  111124. t3 = A.List_List$_of(_this.conditions, type$.String);
  111125. B.JSArray_methods.addAll$1(t3, other.conditions);
  111126. conditions = t3;
  111127. modifier = ourModifier;
  111128. } else {
  111129. if (ourType != theirType)
  111130. return B._SingletonCssMediaQueryMergeResult_00;
  111131. else {
  111132. modifier = ourModifier == null ? theirModifier : ourModifier;
  111133. t3 = A.List_List$_of(_this.conditions, type$.String);
  111134. B.JSArray_methods.addAll$1(t3, other.conditions);
  111135. }
  111136. conditions = t3;
  111137. }
  111138. type = ourType;
  111139. }
  111140. t2 = type == ourType ? t2 : t5;
  111141. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  111142. },
  111143. $eq(_, other) {
  111144. if (other == null)
  111145. return false;
  111146. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  111147. },
  111148. get$hashCode(_) {
  111149. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  111150. },
  111151. toString$0(_) {
  111152. var t2, _this = this,
  111153. t1 = _this.modifier;
  111154. t1 = t1 != null ? t1 + " " : "";
  111155. t2 = _this.type;
  111156. if (t2 != null) {
  111157. t1 += t2;
  111158. if (_this.conditions.length !== 0)
  111159. t1 += " and ";
  111160. }
  111161. t2 = _this.conjunction ? " and " : " or ";
  111162. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  111163. return t2.charCodeAt(0) == 0 ? t2 : t2;
  111164. }
  111165. };
  111166. A._SingletonCssMediaQueryMergeResult0.prototype = {
  111167. _enumToString$0() {
  111168. return "_SingletonCssMediaQueryMergeResult." + this._name;
  111169. }
  111170. };
  111171. A.MediaQuerySuccessfulMergeResult0.prototype = {
  111172. toString$0(_) {
  111173. return this.query.toString$0(0);
  111174. }
  111175. };
  111176. A.MediaQueryParser0.prototype = {
  111177. parse$0(_) {
  111178. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  111179. },
  111180. _media_query$_mediaQuery$0() {
  111181. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  111182. if (_this.scanner.peekChar$0() === 40) {
  111183. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  111184. _this.whitespace$1$consumeNewlines(true);
  111185. if (_this.scanIdentifier$1(_s3_)) {
  111186. _this.expectWhitespace$0();
  111187. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  111188. conjunction = true;
  111189. } else {
  111190. t1 = _this.scanIdentifier$1("or");
  111191. if (t1) {
  111192. _this.expectWhitespace$0();
  111193. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  111194. }
  111195. conjunction = !t1;
  111196. }
  111197. return A.CssMediaQuery$condition0(conditions, conjunction);
  111198. }
  111199. identifier1 = _this.identifier$0();
  111200. if (A.equalsIgnoreCase0(identifier1, "not")) {
  111201. _this.expectWhitespace$0();
  111202. if (!_this.lookingAtIdentifier$0())
  111203. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  111204. }
  111205. _this.whitespace$1$consumeNewlines(true);
  111206. if (!_this.lookingAtIdentifier$0())
  111207. return A.CssMediaQuery$type0(identifier1, _null, _null);
  111208. identifier2 = _this.identifier$0();
  111209. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  111210. _this.expectWhitespace$0();
  111211. type = identifier1;
  111212. modifier = _null;
  111213. } else {
  111214. _this.whitespace$1$consumeNewlines(true);
  111215. if (_this.scanIdentifier$1(_s3_))
  111216. _this.expectWhitespace$0();
  111217. else
  111218. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  111219. type = identifier2;
  111220. modifier = identifier1;
  111221. }
  111222. if (_this.scanIdentifier$1("not")) {
  111223. _this.expectWhitespace$0();
  111224. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  111225. }
  111226. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  111227. },
  111228. _media_query$_mediaLogicSequence$1(operator) {
  111229. var t1, t2, _this = this,
  111230. result = A._setArrayType([], type$.JSArray_String);
  111231. for (t1 = _this.scanner;;) {
  111232. t1.expectChar$2$name(40, "media condition in parentheses");
  111233. t2 = _this.declarationValue$0();
  111234. t1.expectChar$1(41);
  111235. result.push("(" + t2 + ")");
  111236. _this.whitespace$1$consumeNewlines(true);
  111237. if (!_this.scanIdentifier$1(operator))
  111238. return result;
  111239. _this.expectWhitespace$0();
  111240. }
  111241. },
  111242. _media_query$_mediaInParens$0() {
  111243. var t2,
  111244. t1 = this.scanner;
  111245. t1.expectChar$2$name(40, "media condition in parentheses");
  111246. t2 = this.declarationValue$0();
  111247. t1.expectChar$1(41);
  111248. return "(" + t2 + ")";
  111249. }
  111250. };
  111251. A.MediaQueryParser_parse_closure0.prototype = {
  111252. call$0() {
  111253. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  111254. t1 = this.$this,
  111255. t2 = t1.scanner;
  111256. do {
  111257. t1.whitespace$1$consumeNewlines(true);
  111258. queries.push(t1._media_query$_mediaQuery$0());
  111259. t1.whitespace$1$consumeNewlines(true);
  111260. } while (t2.scanChar$1(44));
  111261. t2.expectDone$0();
  111262. return queries;
  111263. },
  111264. $signature: 525
  111265. };
  111266. A.ModifiableCssMediaRule0.prototype = {
  111267. accept$1$1(visitor) {
  111268. return visitor.visitCssMediaRule$1(this);
  111269. },
  111270. accept$1(visitor) {
  111271. return this.accept$1$1(visitor, type$.dynamic);
  111272. },
  111273. equalsIgnoringChildren$1(other) {
  111274. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  111275. },
  111276. copyWithoutChildren$0() {
  111277. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  111278. },
  111279. get$span(receiver) {
  111280. return this.span;
  111281. }
  111282. };
  111283. A.MediaRule0.prototype = {
  111284. accept$1$1(visitor) {
  111285. return visitor.visitMediaRule$1(0, this);
  111286. },
  111287. accept$1(visitor) {
  111288. return this.accept$1$1(visitor, type$.dynamic);
  111289. },
  111290. toString$0(_) {
  111291. return "@media " + this.query.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  111292. },
  111293. get$span(receiver) {
  111294. return this.span;
  111295. }
  111296. };
  111297. A.MergedExtension0.prototype = {
  111298. unmerge$0() {
  111299. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  111300. },
  111301. unmerge$body$MergedExtension0() {
  111302. var $async$self = this;
  111303. return function() {
  111304. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  111305. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  111306. if ($async$errorCode === 1) {
  111307. $async$errorStack.push($async$result);
  111308. $async$goto = $async$handler;
  111309. }
  111310. for (;;)
  111311. switch ($async$goto) {
  111312. case 0:
  111313. // Function start
  111314. left = $async$self.left;
  111315. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  111316. break;
  111317. case 2:
  111318. // then
  111319. $async$goto = 5;
  111320. return $async$iterator._yieldStar$1(left.unmerge$0());
  111321. case 5:
  111322. // after yield
  111323. // goto join
  111324. $async$goto = 3;
  111325. break;
  111326. case 4:
  111327. // else
  111328. $async$goto = 6;
  111329. return $async$iterator._async$_current = left, 1;
  111330. case 6:
  111331. // after yield
  111332. case 3:
  111333. // join
  111334. right = $async$self.right;
  111335. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  111336. break;
  111337. case 7:
  111338. // then
  111339. $async$goto = 10;
  111340. return $async$iterator._yieldStar$1(right.unmerge$0());
  111341. case 10:
  111342. // after yield
  111343. // goto join
  111344. $async$goto = 8;
  111345. break;
  111346. case 9:
  111347. // else
  111348. $async$goto = 11;
  111349. return $async$iterator._async$_current = right, 1;
  111350. case 11:
  111351. // after yield
  111352. case 8:
  111353. // join
  111354. // implicit return
  111355. return 0;
  111356. case 1:
  111357. // rethrow
  111358. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  111359. }
  111360. };
  111361. };
  111362. }
  111363. };
  111364. A.MergedMapView0.prototype = {
  111365. get$keys(_) {
  111366. var t1 = this._merged_map_view$_mapsByKey;
  111367. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  111368. },
  111369. get$length(_) {
  111370. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  111371. },
  111372. get$isEmpty(_) {
  111373. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  111374. },
  111375. get$isNotEmpty(_) {
  111376. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  111377. },
  111378. MergedMapView$10(maps, $K, $V) {
  111379. var t1, t2, _i, map, t3, t4;
  111380. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  111381. map = maps[_i];
  111382. if (map instanceof A.MergedMapView0)
  111383. for (t3 = map._merged_map_view$_mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  111384. t4 = t3.__js_helper$_current;
  111385. A.setAll0(t2, t4.get$keys(t4), t4);
  111386. }
  111387. else
  111388. A.setAll0(t2, map.get$keys(map), map);
  111389. }
  111390. },
  111391. $index(_, key) {
  111392. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  111393. return t1 == null ? null : t1.$index(0, key);
  111394. },
  111395. $indexSet(_, key, value) {
  111396. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  111397. if (_0_0 != null)
  111398. _0_0.$indexSet(0, key, value);
  111399. else
  111400. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  111401. },
  111402. remove$1(_, key) {
  111403. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  111404. },
  111405. containsKey$1(key) {
  111406. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  111407. }
  111408. };
  111409. A._shared_closure3.prototype = {
  111410. call$1($arguments) {
  111411. A.warnForDeprecation0(string$.The_fe, B.Deprecation_p2t);
  111412. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111413. },
  111414. $signature: 11
  111415. };
  111416. A._shared_closure4.prototype = {
  111417. call$1($arguments) {
  111418. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  111419. },
  111420. $signature: 17
  111421. };
  111422. A._shared_closure5.prototype = {
  111423. call$1($arguments) {
  111424. var t1 = J.getInterceptor$asx($arguments),
  111425. _0_0 = t1.$index($arguments, 0);
  111426. $label0$0: {
  111427. if (_0_0 instanceof A.SassArgumentList0) {
  111428. t1 = "arglist";
  111429. break $label0$0;
  111430. }
  111431. if (_0_0 instanceof A.SassBoolean0) {
  111432. t1 = "bool";
  111433. break $label0$0;
  111434. }
  111435. if (_0_0 instanceof A.SassColor0) {
  111436. t1 = "color";
  111437. break $label0$0;
  111438. }
  111439. if (_0_0 instanceof A.SassList0) {
  111440. t1 = "list";
  111441. break $label0$0;
  111442. }
  111443. if (_0_0 instanceof A.SassMap0) {
  111444. t1 = "map";
  111445. break $label0$0;
  111446. }
  111447. if (B.C__SassNull0 === _0_0) {
  111448. t1 = "null";
  111449. break $label0$0;
  111450. }
  111451. if (_0_0 instanceof A.SassNumber0) {
  111452. t1 = "number";
  111453. break $label0$0;
  111454. }
  111455. if (_0_0 instanceof A.SassFunction0) {
  111456. t1 = "function";
  111457. break $label0$0;
  111458. }
  111459. if (_0_0 instanceof A.SassMixin0) {
  111460. t1 = "mixin";
  111461. break $label0$0;
  111462. }
  111463. if (_0_0 instanceof A.SassCalculation0) {
  111464. t1 = "calculation";
  111465. break $label0$0;
  111466. }
  111467. if (_0_0 instanceof A.SassString0) {
  111468. t1 = "string";
  111469. break $label0$0;
  111470. }
  111471. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  111472. }
  111473. return new A.SassString0(t1, false);
  111474. },
  111475. $signature: 17
  111476. };
  111477. A._shared_closure6.prototype = {
  111478. call$1($arguments) {
  111479. var t2, t3, t4,
  111480. t1 = J.getInterceptor$asx($arguments),
  111481. _1_0 = t1.$index($arguments, 0);
  111482. if (_1_0 instanceof A.SassArgumentList0) {
  111483. _1_0._argument_list$_wereKeywordsAccessed = true;
  111484. t1 = type$.Value_2;
  111485. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  111486. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  111487. t4 = t3.get$current(t3);
  111488. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  111489. }
  111490. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  111491. } else
  111492. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  111493. },
  111494. $signature: 34
  111495. };
  111496. A.moduleFunctions_closure2.prototype = {
  111497. call$1($arguments) {
  111498. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  111499. },
  111500. $signature: 17
  111501. };
  111502. A.moduleFunctions_closure3.prototype = {
  111503. call$1($arguments) {
  111504. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  111505. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_z0K0, false);
  111506. },
  111507. $signature: 27
  111508. };
  111509. A.moduleFunctions__closure0.prototype = {
  111510. call$1(argument) {
  111511. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  111512. },
  111513. $signature: 526
  111514. };
  111515. A.moduleFunctions_closure4.prototype = {
  111516. call$1($arguments) {
  111517. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent, _null = null,
  111518. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  111519. _0_0 = mixin.callable;
  111520. $label0$0: {
  111521. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  111522. _0_2 = _null;
  111523. acceptsContent = _null;
  111524. if (_0_2_isSet) {
  111525. _0_2 = _0_0.get$acceptsContent();
  111526. acceptsContent = _0_2;
  111527. }
  111528. if (!_0_2_isSet) {
  111529. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  111530. if (_0_2_isSet)
  111531. acceptsContent = _0_0.acceptsContent;
  111532. t1 = _0_2_isSet;
  111533. } else
  111534. t1 = true;
  111535. if (t1) {
  111536. t1 = acceptsContent;
  111537. break $label0$0;
  111538. }
  111539. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  111540. _0_5 = _null;
  111541. if (_0_5_isSet) {
  111542. _0_5 = _0_0.declaration;
  111543. t1 = _0_5;
  111544. t1 = t1 instanceof A.MixinRule0;
  111545. } else
  111546. t1 = false;
  111547. if (t1) {
  111548. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  111549. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  111550. t1 = hasContent;
  111551. break $label0$0;
  111552. }
  111553. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  111554. }
  111555. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111556. },
  111557. $signature: 11
  111558. };
  111559. A.mixinClass_closure.prototype = {
  111560. call$0() {
  111561. var t1 = type$.JSClass,
  111562. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  111563. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null), null).constructor), jsClass);
  111564. return jsClass;
  111565. },
  111566. $signature: 15
  111567. };
  111568. A.mixinClass__closure.prototype = {
  111569. call$1($self) {
  111570. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  111571. },
  111572. $signature: 527
  111573. };
  111574. A.mixinClass__closure0.prototype = {
  111575. call$1(_) {
  111576. return B.C__SassNull0;
  111577. },
  111578. $signature: 3
  111579. };
  111580. A.SassMixin0.prototype = {
  111581. accept$1$1(visitor) {
  111582. var t1, t2;
  111583. if (!visitor._serialize0$_inspect)
  111584. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  111585. t1 = visitor._serialize0$_buffer;
  111586. t1.write$1(0, "get-mixin(");
  111587. t2 = this.callable;
  111588. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  111589. t1.writeCharCode$1(41);
  111590. return null;
  111591. },
  111592. accept$1(visitor) {
  111593. return this.accept$1$1(visitor, type$.dynamic);
  111594. },
  111595. assertMixin$1($name) {
  111596. return this;
  111597. },
  111598. assertCompileContext$1(compileContext) {
  111599. var t1 = this._mixin0$_compileContext;
  111600. if (t1 != null)
  111601. t1 = t1 !== compileContext;
  111602. else
  111603. t1 = false;
  111604. if (t1)
  111605. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  111606. return this;
  111607. },
  111608. $eq(_, other) {
  111609. if (other == null)
  111610. return false;
  111611. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  111612. },
  111613. get$hashCode(_) {
  111614. var t1 = this.callable;
  111615. return t1.get$hashCode(t1);
  111616. }
  111617. };
  111618. A.MixinRule0.prototype = {
  111619. get$hasContent() {
  111620. var result, _this = this,
  111621. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  111622. if (value === $) {
  111623. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  111624. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  111625. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  111626. value = result;
  111627. }
  111628. return value;
  111629. },
  111630. accept$1$1(visitor) {
  111631. return visitor.visitMixinRule$1(0, this);
  111632. },
  111633. accept$1(visitor) {
  111634. return this.accept$1$1(visitor, type$.dynamic);
  111635. },
  111636. toString$0(_) {
  111637. var t1 = "@mixin " + this.name,
  111638. t2 = this.parameters;
  111639. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  111640. t1 += "(" + t2.toString$0(0) + ")";
  111641. t1 += " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  111642. return t1.charCodeAt(0) == 0 ? t1 : t1;
  111643. }
  111644. };
  111645. A._HasContentVisitor0.prototype = {
  111646. visitContentRule$1(_, _0) {
  111647. return true;
  111648. },
  111649. $isStatementVisitor: 1
  111650. };
  111651. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  111652. A.ExtendMode0.prototype = {
  111653. _enumToString$0() {
  111654. return "ExtendMode." + this._name;
  111655. },
  111656. toString$0(_) {
  111657. return this.name;
  111658. }
  111659. };
  111660. A.JSModule0.prototype = {};
  111661. A.JSModuleRequire0.prototype = {};
  111662. A.MultiSpan0.prototype = {
  111663. get$start(_) {
  111664. var t1 = this._multi_span0$_primary;
  111665. return t1.get$start(t1);
  111666. },
  111667. get$end(_) {
  111668. var t1 = this._multi_span0$_primary;
  111669. return t1.get$end(t1);
  111670. },
  111671. get$text() {
  111672. return this._multi_span0$_primary.get$text();
  111673. },
  111674. get$context(_) {
  111675. var t1 = this._multi_span0$_primary;
  111676. return t1.get$context(t1);
  111677. },
  111678. get$file(_) {
  111679. var t1 = this._multi_span0$_primary;
  111680. return t1.get$file(t1);
  111681. },
  111682. get$length(_) {
  111683. var t1 = this._multi_span0$_primary;
  111684. return t1.get$length(t1);
  111685. },
  111686. get$sourceUrl(_) {
  111687. var t1 = this._multi_span0$_primary;
  111688. return t1.get$sourceUrl(t1);
  111689. },
  111690. compareTo$1(_, other) {
  111691. return this._multi_span0$_primary.compareTo$1(0, other);
  111692. },
  111693. toString$0(_) {
  111694. return this._multi_span0$_primary.toString$0(0);
  111695. },
  111696. expand$1(_, other) {
  111697. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  111698. },
  111699. highlight$1$color(color) {
  111700. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  111701. },
  111702. message$2$color(_, message, color) {
  111703. var t1 = J.$eq$(color, true) || typeof color == "string",
  111704. t2 = typeof color == "string" ? color : null;
  111705. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  111706. },
  111707. message$1(_, message) {
  111708. return this.message$2$color(0, message, null);
  111709. },
  111710. $isComparable: 1,
  111711. $isFileSpan: 1,
  111712. $isSourceSpan: 1,
  111713. $isSourceSpanWithContext: 1
  111714. };
  111715. A.SupportsNegation0.prototype = {
  111716. toInterpolation$0() {
  111717. var t1 = new A.StringBuffer(""),
  111718. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  111719. t3 = this.span,
  111720. t4 = this.condition,
  111721. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  111722. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  111723. t1._contents += t5;
  111724. t2.addInterpolation$1(t4.toInterpolation$0());
  111725. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  111726. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  111727. t1._contents += t4;
  111728. return t2.interpolation$1(t3);
  111729. },
  111730. withSpan$1(span) {
  111731. return new A.SupportsNegation0(this.condition, span);
  111732. },
  111733. toString$0(_) {
  111734. var t1 = this.condition;
  111735. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  111736. return "not (" + t1.toString$0(0) + ")";
  111737. else
  111738. return "not " + t1.toString$0(0);
  111739. },
  111740. $isAstNode0: 1,
  111741. $isSassNode: 1,
  111742. $isSupportsCondition: 1,
  111743. get$span(receiver) {
  111744. return this.span;
  111745. }
  111746. };
  111747. A.NoOpImporter0.prototype = {
  111748. canonicalize$1(_, url) {
  111749. return null;
  111750. },
  111751. load$1(_, url) {
  111752. return null;
  111753. },
  111754. toString$0(_) {
  111755. return "(unknown)";
  111756. }
  111757. };
  111758. A.NoSourceMapBuffer0.prototype = {
  111759. get$length(_) {
  111760. return this._no_source_map_buffer0$_buffer._contents.length;
  111761. },
  111762. forSpan$1$2(span, callback) {
  111763. return callback.call$0();
  111764. },
  111765. forSpan$2(span, callback) {
  111766. return this.forSpan$1$2(span, callback, type$.dynamic);
  111767. },
  111768. write$1(_, object) {
  111769. var t1 = this._no_source_map_buffer0$_buffer,
  111770. t2 = A.S(object);
  111771. t1._contents += t2;
  111772. return null;
  111773. },
  111774. writeCharCode$1(charCode) {
  111775. var t1 = this._no_source_map_buffer0$_buffer,
  111776. t2 = A.Primitives_stringFromCharCode(charCode);
  111777. t1._contents += t2;
  111778. return null;
  111779. },
  111780. toString$0(_) {
  111781. var t1 = this._no_source_map_buffer0$_buffer._contents;
  111782. return t1.charCodeAt(0) == 0 ? t1 : t1;
  111783. },
  111784. buildSourceMap$1$prefix(prefix) {
  111785. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  111786. }
  111787. };
  111788. A._FakeAstNode0.prototype = {
  111789. get$span(_) {
  111790. return this._node0$_callback.call$0();
  111791. },
  111792. $isAstNode0: 1
  111793. };
  111794. A.CssNode0.prototype = {
  111795. toString$0(_) {
  111796. var _null = null;
  111797. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  111798. },
  111799. $isAstNode0: 1
  111800. };
  111801. A.CssParentNode0.prototype = {};
  111802. A._IsInvisibleVisitor1.prototype = {
  111803. visitCssAtRule$1(rule) {
  111804. return false;
  111805. },
  111806. visitCssComment$1(comment) {
  111807. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  111808. },
  111809. visitCssStyleRule$1(rule) {
  111810. var t1 = rule._style_rule0$_selector._box0$_inner;
  111811. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  111812. }
  111813. };
  111814. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  111815. A.ModifiableCssNode0.prototype = {
  111816. get$hasFollowingSibling() {
  111817. var t2,
  111818. t1 = this._node$_parent;
  111819. if (t1 == null)
  111820. t1 = null;
  111821. else {
  111822. t1 = t1.children;
  111823. t2 = this._node$_indexInParent;
  111824. t2.toString;
  111825. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  111826. }
  111827. return t1 === true;
  111828. },
  111829. get$isGroupEnd() {
  111830. return this.isGroupEnd;
  111831. }
  111832. };
  111833. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  111834. call$1(sibling) {
  111835. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  111836. },
  111837. $signature: 528
  111838. };
  111839. A.ModifiableCssParentNode0.prototype = {
  111840. get$isChildless() {
  111841. return false;
  111842. },
  111843. addChild$1(child) {
  111844. var t1;
  111845. child._node$_parent = this;
  111846. t1 = this._node$_children;
  111847. child._node$_indexInParent = t1.length;
  111848. t1.push(child);
  111849. },
  111850. clearChildren$0() {
  111851. var t1, t2, _i, child;
  111852. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  111853. child = t1[_i];
  111854. child._node$_indexInParent = child._node$_parent = null;
  111855. }
  111856. B.JSArray_methods.clear$0(t1);
  111857. },
  111858. $isCssParentNode0: 1,
  111859. get$children(receiver) {
  111860. return this.children;
  111861. }
  111862. };
  111863. A.NodePackageImporter0.prototype = {
  111864. isNonCanonicalScheme$1(scheme) {
  111865. return scheme === "pkg";
  111866. },
  111867. canonicalize$1(_, url) {
  111868. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  111869. if (url.get$scheme() === "file")
  111870. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  111871. if (url.get$scheme() !== "pkg")
  111872. return _null;
  111873. if (url.get$hasAuthority())
  111874. throw A.wrapException(string$.A_pkg_h);
  111875. else {
  111876. t1 = $.$get$url();
  111877. t2 = t1.style;
  111878. if (t2.rootLength$1(url.get$path(url)) > 0)
  111879. throw A.wrapException("A pkg: URL's path must not begin with /.");
  111880. else if (url.get$path(url).length === 0)
  111881. throw A.wrapException("A pkg: URL must not have an empty path.");
  111882. else if (url.get$hasQuery() || url.get$hasFragment())
  111883. throw A.wrapException(string$.A_pkg_q);
  111884. }
  111885. t3 = A.canonicalizeContext0();
  111886. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111887. t3 = t3._canonicalize_context$_containingUrl;
  111888. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  111889. t3 = A.canonicalizeContext0();
  111890. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111891. t3 = t3._canonicalize_context$_containingUrl;
  111892. t3.toString;
  111893. t4 = $.$get$context();
  111894. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  111895. } else {
  111896. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  111897. t3 === $ && A.throwUnnamedLateFieldNI();
  111898. baseDirectory = t3;
  111899. }
  111900. packageName = null;
  111901. parts = t1.split$1(0, url.get$path(url));
  111902. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  111903. t4 = $.$get$context();
  111904. t5 = t4.style;
  111905. $name = t5.pathFromUri$1(A._parseUri(t3));
  111906. if (B.JSString_methods.startsWith$1($name, "@"))
  111907. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  111908. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  111909. packageName = $name;
  111910. t1 = true;
  111911. if (!J.startsWith$1$s(packageName, "."))
  111912. if (!J.contains$1$asx(packageName, "\\"))
  111913. if (!J.contains$1$asx(packageName, "%"))
  111914. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  111915. if (t1)
  111916. return _null;
  111917. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  111918. if (packageRoot == null)
  111919. return _null;
  111920. jsonPath = A.join(packageRoot, "package.json", _null);
  111921. jsonString = A.readFile0(jsonPath);
  111922. packageManifest = null;
  111923. try {
  111924. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  111925. } catch (exception) {
  111926. e = A.unwrapException(exception);
  111927. t1 = A.S(jsonPath);
  111928. t2 = A.S(packageName);
  111929. t3 = A.S(e);
  111930. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  111931. }
  111932. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  111933. if (_1_0 != null)
  111934. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  111935. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  111936. else {
  111937. t1 = subpath == null ? "root" : subpath;
  111938. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  111939. }
  111940. if (subpath == null) {
  111941. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  111942. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  111943. }
  111944. subpathInRoot = A.join(packageRoot, subpath, _null);
  111945. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  111946. },
  111947. load$1(_, url) {
  111948. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  111949. },
  111950. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  111951. var potentialPackage, t1;
  111952. for (;;) {
  111953. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  111954. if (A.dirExists0(potentialPackage))
  111955. return potentialPackage;
  111956. t1 = $.$get$context();
  111957. if (t1.split$1(0, baseDirectory).length === 1)
  111958. return null;
  111959. baseDirectory = t1.dirname$1(baseDirectory);
  111960. }
  111961. },
  111962. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  111963. var t1, sassValue, _1_0, styleValue, _null = null,
  111964. _0_0 = packageManifest.$index(0, "sass");
  111965. if (typeof _0_0 == "string") {
  111966. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111967. sassValue = _0_0;
  111968. } else {
  111969. sassValue = _null;
  111970. t1 = false;
  111971. }
  111972. if (t1)
  111973. return A.join(packageRoot, sassValue, _null);
  111974. else {
  111975. _1_0 = packageManifest.$index(0, "style");
  111976. if (typeof _1_0 == "string") {
  111977. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111978. styleValue = _1_0;
  111979. } else {
  111980. styleValue = _null;
  111981. t1 = false;
  111982. }
  111983. if (t1)
  111984. return A.join(packageRoot, styleValue, _null);
  111985. }
  111986. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  111987. },
  111988. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  111989. var _0_0, _1_0, _this = this,
  111990. exports = packageManifest.$index(0, "exports");
  111991. if (exports == null)
  111992. return null;
  111993. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  111994. if (_0_0 != null)
  111995. return _0_0;
  111996. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  111997. return null;
  111998. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  111999. if (_1_0 != null)
  112000. return _1_0;
  112001. return null;
  112002. },
  112003. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  112004. var t2, matches, _1_1, path,
  112005. t1 = false;
  112006. if (type$.Map_String_dynamic._is(exports)) {
  112007. t2 = exports.get$keys(exports);
  112008. if (t2.any$1(t2, new A.NodePackageImporter__nodePackageExportsResolve_closure3())) {
  112009. t1 = exports.get$keys(exports);
  112010. t1 = t1.any$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure4());
  112011. }
  112012. }
  112013. if (t1) {
  112014. t1 = exports.get$keys(exports);
  112015. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + t1.map$1$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  112016. }
  112017. t1 = type$.NonNullsIterable_String;
  112018. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure6(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), t1._eval$1("Iterable.E"));
  112019. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  112020. $label0$1: {
  112021. _1_1 = matches.length;
  112022. if (_1_1 === 1) {
  112023. path = matches[0];
  112024. t1 = path;
  112025. break $label0$1;
  112026. }
  112027. if (_1_1 <= 0) {
  112028. t1 = null;
  112029. break $label0$1;
  112030. }
  112031. t1 = subpath == null ? "root" : subpath;
  112032. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  112033. }
  112034. return t1;
  112035. },
  112036. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  112037. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  112038. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  112039. t2 = B.JSString_methods.contains$1(keyB, "*"),
  112040. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  112041. if (baseLengthA > baseLengthB)
  112042. return -1;
  112043. if (baseLengthB > baseLengthA)
  112044. return 1;
  112045. if (!t1)
  112046. return 1;
  112047. if (!t2)
  112048. return -1;
  112049. t1 = keyA.length;
  112050. t2 = keyB.length;
  112051. if (t1 > t2)
  112052. return -1;
  112053. if (t2 > t1)
  112054. return 1;
  112055. return 0;
  112056. },
  112057. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  112058. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  112059. t1 = typeof exports == "string";
  112060. if (t1) {
  112061. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  112062. string = exports;
  112063. } else {
  112064. string = _null;
  112065. t2 = false;
  112066. }
  112067. if (t2)
  112068. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  112069. if (t1) {
  112070. t2 = patternMatch != null;
  112071. string = exports;
  112072. } else {
  112073. string = _null;
  112074. t2 = false;
  112075. }
  112076. if (t2) {
  112077. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  112078. t2 = $.$get$context();
  112079. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  112080. return A.fileExists0(path) ? path : _null;
  112081. }
  112082. string = t1 ? exports : _null;
  112083. if (t1) {
  112084. t1 = $.$get$context();
  112085. string.toString;
  112086. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  112087. }
  112088. t1 = type$.Map_String_dynamic._is(exports);
  112089. map = t1 ? exports : _null;
  112090. if (t1) {
  112091. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  112092. t2 = t1.get$current(t1);
  112093. key = t2._0;
  112094. value = t2._1;
  112095. if (!B.Set_8229z.contains$1(0, key))
  112096. continue;
  112097. if (value == null)
  112098. continue;
  112099. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  112100. if (_1_0 != null)
  112101. return _1_0;
  112102. }
  112103. return _null;
  112104. }
  112105. t1 = type$.List_dynamic._is(exports);
  112106. if (t1 && J.get$length$asx(exports) <= 0)
  112107. return _null;
  112108. array = t1 ? exports : _null;
  112109. if (t1) {
  112110. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  112111. value = t1.get$current(t1);
  112112. if (value == null)
  112113. continue;
  112114. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  112115. if (_2_0 != null)
  112116. return _2_0;
  112117. }
  112118. return _null;
  112119. }
  112120. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  112121. },
  112122. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  112123. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  112124. },
  112125. _node_package$_getMainExport$1(exports) {
  112126. var t1, t2, t3, map, _0_4, t4, $export;
  112127. $label0$0: {
  112128. t1 = null;
  112129. if (typeof exports == "string") {
  112130. t1 = exports;
  112131. break $label0$0;
  112132. }
  112133. if (type$.List_String._is(exports)) {
  112134. t1 = exports;
  112135. break $label0$0;
  112136. }
  112137. t2 = type$.Map_String_dynamic._is(exports);
  112138. if (t2) {
  112139. t3 = exports.get$keys(exports);
  112140. t3 = !t3.any$1(t3, new A.NodePackageImporter__getMainExport_closure0());
  112141. map = exports;
  112142. } else {
  112143. map = t1;
  112144. t3 = false;
  112145. }
  112146. if (t3) {
  112147. t1 = map;
  112148. break $label0$0;
  112149. }
  112150. t3 = false;
  112151. if (t2) {
  112152. _0_4 = exports.$index(0, ".");
  112153. if (_0_4 == null)
  112154. t4 = exports.containsKey$1(".");
  112155. else
  112156. t4 = true;
  112157. if (t4)
  112158. t3 = _0_4 != null;
  112159. } else
  112160. _0_4 = null;
  112161. if (t3) {
  112162. $export = t2 ? _0_4 : exports.$index(0, ".");
  112163. t1 = $export;
  112164. break $label0$0;
  112165. }
  112166. break $label0$0;
  112167. }
  112168. return t1;
  112169. },
  112170. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  112171. var basename, dirname, t3, t4, _i, path,
  112172. t1 = type$.JSArray_String,
  112173. paths = A._setArrayType([], t1),
  112174. t2 = subpath == null;
  112175. if (t2 && addIndex)
  112176. subpath = "index";
  112177. else if (!t2 && addIndex)
  112178. subpath = A.join(subpath, "index", null);
  112179. if (subpath == null)
  112180. return A._setArrayType([null], type$.JSArray_nullable_String);
  112181. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  112182. paths.push(subpath);
  112183. else
  112184. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  112185. t1 = $.$get$context();
  112186. t2 = t1.style;
  112187. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  112188. dirname = t1.dirname$1(subpath);
  112189. if (B.JSString_methods.startsWith$1(basename, "_"))
  112190. return paths;
  112191. t1 = A.List_List$_of(paths, type$.nullable_String);
  112192. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  112193. path = paths[_i];
  112194. if (t4)
  112195. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  112196. else
  112197. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  112198. }
  112199. return t1;
  112200. },
  112201. _node_package$_exportsToCheck$1(subpath) {
  112202. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  112203. }
  112204. };
  112205. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  112206. call$1(key) {
  112207. return B.JSString_methods.startsWith$1(key, ".");
  112208. },
  112209. $signature: 5
  112210. };
  112211. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  112212. call$1(key) {
  112213. return !B.JSString_methods.startsWith$1(key, ".");
  112214. },
  112215. $signature: 5
  112216. };
  112217. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  112218. call$1(key) {
  112219. return '"' + key + '"';
  112220. },
  112221. $signature: 6
  112222. };
  112223. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  112224. call$1(variant) {
  112225. var t1, t2, matchKey, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  112226. if (variant == null) {
  112227. t1 = _this.$this;
  112228. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  112229. } else {
  112230. t1 = _this.exports;
  112231. if (type$.Map_String_dynamic._is(t1)) {
  112232. t2 = t1.get$keys(t1);
  112233. t2 = t2.every$1(t2, new A.NodePackageImporter__nodePackageExportsResolve__closure2());
  112234. } else
  112235. t2 = true;
  112236. if (t2)
  112237. return _null;
  112238. }
  112239. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  112240. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  112241. t1 = t1.$index(0, matchKey);
  112242. if (t1 == null)
  112243. t1 = A._asObject(t1);
  112244. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  112245. }
  112246. t2 = A._setArrayType([], type$.JSArray_String);
  112247. for (t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  112248. t4 = t3.get$current(t3);
  112249. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  112250. t2.push(t4);
  112251. }
  112252. t3 = _this.$this;
  112253. B.JSArray_methods.sort$1(t2, t3.get$_node_package$_compareExpansionKeys());
  112254. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  112255. expansionKey = t2[_i];
  112256. _0_0 = expansionKey.split("*");
  112257. t6 = _0_0.length === 2;
  112258. if (t6) {
  112259. patternBase = _0_0[0];
  112260. patternTrailer = _0_0[1];
  112261. } else {
  112262. patternTrailer = _null;
  112263. patternBase = patternTrailer;
  112264. }
  112265. if (!t6)
  112266. throw A.wrapException(A.StateError$("Pattern matching error"));
  112267. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  112268. continue;
  112269. if (matchKey === patternBase)
  112270. continue;
  112271. t6 = patternTrailer.length;
  112272. if (t6 !== 0)
  112273. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  112274. else
  112275. t7 = true;
  112276. if (t7) {
  112277. target = t1.$index(0, expansionKey);
  112278. if (target == null)
  112279. continue;
  112280. return t3._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  112281. }
  112282. }
  112283. return _null;
  112284. },
  112285. $signature: 145
  112286. };
  112287. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  112288. call$1(mainExport) {
  112289. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  112290. },
  112291. $signature: 146
  112292. };
  112293. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  112294. call$1(key) {
  112295. return !B.JSString_methods.startsWith$1(key, ".");
  112296. },
  112297. $signature: 5
  112298. };
  112299. A.NodePackageImporter__getMainExport_closure0.prototype = {
  112300. call$1(key) {
  112301. return B.JSString_methods.startsWith$1(key, ".");
  112302. },
  112303. $signature: 5
  112304. };
  112305. A.NullExpression0.prototype = {
  112306. accept$1$1(visitor) {
  112307. return visitor.visitNullExpression$1(0, this);
  112308. },
  112309. accept$1(visitor) {
  112310. return this.accept$1$1(visitor, type$.dynamic);
  112311. },
  112312. toString$0(_) {
  112313. return "null";
  112314. },
  112315. get$span(receiver) {
  112316. return this.span;
  112317. }
  112318. };
  112319. A.legacyNullClass_closure.prototype = {
  112320. call$0() {
  112321. var t1 = type$.JSClass,
  112322. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  112323. jsClass.NULL = B.C__SassNull0;
  112324. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  112325. return jsClass;
  112326. },
  112327. $signature: 15
  112328. };
  112329. A.legacyNullClass__closure.prototype = {
  112330. call$2(_, __) {
  112331. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  112332. },
  112333. call$1(_) {
  112334. return this.call$2(_, null);
  112335. },
  112336. "call*": "call$2",
  112337. $requiredArgCount: 1,
  112338. $defaultValues() {
  112339. return [null];
  112340. },
  112341. $signature: 223
  112342. };
  112343. A._SassNull0.prototype = {
  112344. get$isTruthy() {
  112345. return false;
  112346. },
  112347. get$isBlank() {
  112348. return true;
  112349. },
  112350. get$realNull() {
  112351. return null;
  112352. },
  112353. accept$1$1(visitor) {
  112354. if (visitor._serialize0$_inspect)
  112355. visitor._serialize0$_buffer.write$1(0, "null");
  112356. return null;
  112357. },
  112358. accept$1(visitor) {
  112359. return this.accept$1$1(visitor, type$.dynamic);
  112360. },
  112361. unaryNot$0() {
  112362. return B.SassBoolean_true0;
  112363. }
  112364. };
  112365. A.NumberExpression0.prototype = {
  112366. accept$1$1(visitor) {
  112367. return visitor.visitNumberExpression$1(0, this);
  112368. },
  112369. accept$1(visitor) {
  112370. return this.accept$1$1(visitor, type$.dynamic);
  112371. },
  112372. toString$0(_) {
  112373. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  112374. },
  112375. get$span(receiver) {
  112376. return this.span;
  112377. }
  112378. };
  112379. A.numberClass_closure.prototype = {
  112380. call$0() {
  112381. var t1 = type$.JSClass,
  112382. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  112383. t2 = type$.String,
  112384. t3 = type$.Function;
  112385. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.numberClass__closure0(), "isInt", new A.numberClass__closure1(), "asInt", new A.numberClass__closure2(), "numeratorUnits", new A.numberClass__closure3(), "denominatorUnits", new A.numberClass__closure4(), "hasUnits", new A.numberClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  112386. A.LinkedHashMap_LinkedHashMap$_literal(["assertInt", new A.numberClass__closure6(), "assertInRange", new A.numberClass__closure7(), "assertNoUnits", new A.numberClass__closure8(), "assertUnit", new A.numberClass__closure9(), "hasUnit", new A.numberClass__closure10(), "compatibleWithUnit", new A.numberClass__closure11(), "convert", new A.numberClass__closure12(), "convertToMatch", new A.numberClass__closure13(), "convertValue", new A.numberClass__closure14(), "convertValueToMatch", new A.numberClass__closure15(), "coerce", new A.numberClass__closure16(), "coerceToMatch", new A.numberClass__closure17(), "coerceValue", new A.numberClass__closure18(), "coerceValueToMatch", new A.numberClass__closure19()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  112387. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  112388. return jsClass;
  112389. },
  112390. $signature: 15
  112391. };
  112392. A.numberClass__closure.prototype = {
  112393. call$3($self, value, unitOrOptions) {
  112394. var t1, t2, _null = null;
  112395. if (typeof unitOrOptions == "string")
  112396. return A.SassNumber_SassNumber0(value, unitOrOptions);
  112397. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  112398. t1 = unitOrOptions == null;
  112399. if (t1)
  112400. t2 = _null;
  112401. else {
  112402. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  112403. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  112404. }
  112405. if (t1)
  112406. t1 = _null;
  112407. else {
  112408. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  112409. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  112410. }
  112411. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  112412. },
  112413. call$2($self, value) {
  112414. return this.call$3($self, value, null);
  112415. },
  112416. "call*": "call$3",
  112417. $requiredArgCount: 2,
  112418. $defaultValues() {
  112419. return [null];
  112420. },
  112421. $signature: 529
  112422. };
  112423. A.numberClass__closure0.prototype = {
  112424. call$1($self) {
  112425. return $self._number1$_value;
  112426. },
  112427. $signature: 102
  112428. };
  112429. A.numberClass__closure1.prototype = {
  112430. call$1($self) {
  112431. return A.fuzzyIsInt0($self._number1$_value);
  112432. },
  112433. $signature: 251
  112434. };
  112435. A.numberClass__closure2.prototype = {
  112436. call$1($self) {
  112437. return A.fuzzyAsInt0($self._number1$_value);
  112438. },
  112439. $signature: 531
  112440. };
  112441. A.numberClass__closure3.prototype = {
  112442. call$1($self) {
  112443. return new self.immutable.List($self.get$numeratorUnits($self));
  112444. },
  112445. $signature: 249
  112446. };
  112447. A.numberClass__closure4.prototype = {
  112448. call$1($self) {
  112449. return new self.immutable.List($self.get$denominatorUnits($self));
  112450. },
  112451. $signature: 249
  112452. };
  112453. A.numberClass__closure5.prototype = {
  112454. call$1($self) {
  112455. return $self.get$hasUnits();
  112456. },
  112457. $signature: 251
  112458. };
  112459. A.numberClass__closure6.prototype = {
  112460. call$2($self, $name) {
  112461. return $self.assertInt$1($name);
  112462. },
  112463. call$1($self) {
  112464. return this.call$2($self, null);
  112465. },
  112466. "call*": "call$2",
  112467. $requiredArgCount: 1,
  112468. $defaultValues() {
  112469. return [null];
  112470. },
  112471. $signature: 533
  112472. };
  112473. A.numberClass__closure7.prototype = {
  112474. call$4($self, min, max, $name) {
  112475. return $self.valueInRange$3(min, max, $name);
  112476. },
  112477. call$3($self, min, max) {
  112478. return this.call$4($self, min, max, null);
  112479. },
  112480. "call*": "call$4",
  112481. $requiredArgCount: 3,
  112482. $defaultValues() {
  112483. return [null];
  112484. },
  112485. $signature: 534
  112486. };
  112487. A.numberClass__closure8.prototype = {
  112488. call$2($self, $name) {
  112489. $self.assertNoUnits$1($name);
  112490. return $self;
  112491. },
  112492. call$1($self) {
  112493. return this.call$2($self, null);
  112494. },
  112495. "call*": "call$2",
  112496. $requiredArgCount: 1,
  112497. $defaultValues() {
  112498. return [null];
  112499. },
  112500. $signature: 535
  112501. };
  112502. A.numberClass__closure9.prototype = {
  112503. call$3($self, unit, $name) {
  112504. $self.assertUnit$2(unit, $name);
  112505. return $self;
  112506. },
  112507. call$2($self, unit) {
  112508. return this.call$3($self, unit, null);
  112509. },
  112510. "call*": "call$3",
  112511. $requiredArgCount: 2,
  112512. $defaultValues() {
  112513. return [null];
  112514. },
  112515. $signature: 536
  112516. };
  112517. A.numberClass__closure10.prototype = {
  112518. call$2($self, unit) {
  112519. return $self.hasUnit$1(unit);
  112520. },
  112521. $signature: 243
  112522. };
  112523. A.numberClass__closure11.prototype = {
  112524. call$2($self, unit) {
  112525. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  112526. },
  112527. $signature: 243
  112528. };
  112529. A.numberClass__closure12.prototype = {
  112530. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112531. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112532. t2 = type$.String;
  112533. t1 = J.cast$1$0$ax(t1, t2);
  112534. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  112535. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  112536. },
  112537. call$3($self, numeratorUnits, denominatorUnits) {
  112538. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112539. },
  112540. "call*": "call$4",
  112541. $requiredArgCount: 3,
  112542. $defaultValues() {
  112543. return [null];
  112544. },
  112545. $signature: 241
  112546. };
  112547. A.numberClass__closure13.prototype = {
  112548. call$4($self, other, $name, otherName) {
  112549. return $self.convertToMatch$3(other, $name, otherName);
  112550. },
  112551. call$2($self, other) {
  112552. return this.call$4($self, other, null, null);
  112553. },
  112554. call$3($self, other, $name) {
  112555. return this.call$4($self, other, $name, null);
  112556. },
  112557. "call*": "call$4",
  112558. $requiredArgCount: 2,
  112559. $defaultValues() {
  112560. return [null, null];
  112561. },
  112562. $signature: 238
  112563. };
  112564. A.numberClass__closure14.prototype = {
  112565. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112566. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112567. t2 = type$.String;
  112568. t1 = J.cast$1$0$ax(t1, t2);
  112569. return $self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), false, $name);
  112570. },
  112571. call$3($self, numeratorUnits, denominatorUnits) {
  112572. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112573. },
  112574. "call*": "call$4",
  112575. $requiredArgCount: 3,
  112576. $defaultValues() {
  112577. return [null];
  112578. },
  112579. $signature: 237
  112580. };
  112581. A.numberClass__closure15.prototype = {
  112582. call$4($self, other, $name, otherName) {
  112583. return $self.convertValueToMatch$3(other, $name, otherName);
  112584. },
  112585. call$2($self, other) {
  112586. return this.call$4($self, other, null, null);
  112587. },
  112588. call$3($self, other, $name) {
  112589. return this.call$4($self, other, $name, null);
  112590. },
  112591. "call*": "call$4",
  112592. $requiredArgCount: 2,
  112593. $defaultValues() {
  112594. return [null, null];
  112595. },
  112596. $signature: 235
  112597. };
  112598. A.numberClass__closure16.prototype = {
  112599. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112600. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112601. t2 = type$.String;
  112602. t1 = J.cast$1$0$ax(t1, t2);
  112603. return $self.coerce$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
  112604. },
  112605. call$3($self, numeratorUnits, denominatorUnits) {
  112606. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112607. },
  112608. "call*": "call$4",
  112609. $requiredArgCount: 3,
  112610. $defaultValues() {
  112611. return [null];
  112612. },
  112613. $signature: 241
  112614. };
  112615. A.numberClass__closure17.prototype = {
  112616. call$4($self, other, $name, otherName) {
  112617. return $self.coerceToMatch$3(other, $name, otherName);
  112618. },
  112619. call$2($self, other) {
  112620. return this.call$4($self, other, null, null);
  112621. },
  112622. call$3($self, other, $name) {
  112623. return this.call$4($self, other, $name, null);
  112624. },
  112625. "call*": "call$4",
  112626. $requiredArgCount: 2,
  112627. $defaultValues() {
  112628. return [null, null];
  112629. },
  112630. $signature: 238
  112631. };
  112632. A.numberClass__closure18.prototype = {
  112633. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112634. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112635. t2 = type$.String;
  112636. t1 = J.cast$1$0$ax(t1, t2);
  112637. return $self.coerceValue$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
  112638. },
  112639. call$3($self, numeratorUnits, denominatorUnits) {
  112640. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112641. },
  112642. "call*": "call$4",
  112643. $requiredArgCount: 3,
  112644. $defaultValues() {
  112645. return [null];
  112646. },
  112647. $signature: 237
  112648. };
  112649. A.numberClass__closure19.prototype = {
  112650. call$4($self, other, $name, otherName) {
  112651. return $self.coerceValueToMatch$3(other, $name, otherName);
  112652. },
  112653. call$2($self, other) {
  112654. return this.call$4($self, other, null, null);
  112655. },
  112656. call$3($self, other, $name) {
  112657. return this.call$4($self, other, $name, null);
  112658. },
  112659. "call*": "call$4",
  112660. $requiredArgCount: 2,
  112661. $defaultValues() {
  112662. return [null, null];
  112663. },
  112664. $signature: 235
  112665. };
  112666. A._ConstructorOptions0.prototype = {};
  112667. A._NodeSassNumber.prototype = {};
  112668. A.legacyNumberClass_closure.prototype = {
  112669. call$4(thisArg, value, unit, dartValue) {
  112670. var t1;
  112671. if (dartValue == null) {
  112672. value.toString;
  112673. t1 = A._parseNumber(value, unit);
  112674. } else
  112675. t1 = dartValue;
  112676. J.set$dartValue$x(thisArg, t1);
  112677. },
  112678. call$2(thisArg, value) {
  112679. return this.call$4(thisArg, value, null, null);
  112680. },
  112681. call$3(thisArg, value, unit) {
  112682. return this.call$4(thisArg, value, unit, null);
  112683. },
  112684. "call*": "call$4",
  112685. $requiredArgCount: 2,
  112686. $defaultValues() {
  112687. return [null, null];
  112688. },
  112689. $signature: 542
  112690. };
  112691. A.legacyNumberClass_closure0.prototype = {
  112692. call$1(thisArg) {
  112693. return J.get$dartValue$x(thisArg)._number1$_value;
  112694. },
  112695. $signature: 543
  112696. };
  112697. A.legacyNumberClass_closure1.prototype = {
  112698. call$2(thisArg, value) {
  112699. var t1 = J.getInterceptor$x(thisArg),
  112700. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  112701. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  112702. },
  112703. $signature: 544
  112704. };
  112705. A.legacyNumberClass_closure2.prototype = {
  112706. call$1(thisArg) {
  112707. var t1 = J.getInterceptor$x(thisArg),
  112708. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  112709. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  112710. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  112711. },
  112712. $signature: 545
  112713. };
  112714. A.legacyNumberClass_closure3.prototype = {
  112715. call$2(thisArg, unit) {
  112716. var t1 = J.getInterceptor$x(thisArg);
  112717. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  112718. },
  112719. $signature: 546
  112720. };
  112721. A._parseNumber_closure.prototype = {
  112722. call$1(unit) {
  112723. return unit.length === 0;
  112724. },
  112725. $signature: 5
  112726. };
  112727. A._parseNumber_closure0.prototype = {
  112728. call$1(unit) {
  112729. return unit.length === 0;
  112730. },
  112731. $signature: 5
  112732. };
  112733. A.SassNumber0.prototype = {
  112734. get$unitString() {
  112735. var _this = this;
  112736. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  112737. },
  112738. accept$1$1(visitor) {
  112739. return visitor.visitNumber$1(this);
  112740. },
  112741. accept$1(visitor) {
  112742. return this.accept$1$1(visitor, type$.dynamic);
  112743. },
  112744. withoutSlash$0() {
  112745. var _this = this;
  112746. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  112747. },
  112748. assertNumber$1($name) {
  112749. return this;
  112750. },
  112751. assertNumber$0() {
  112752. return this.assertNumber$1(null);
  112753. },
  112754. assertInt$1($name) {
  112755. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  112756. if (_0_0 != null)
  112757. return _0_0;
  112758. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  112759. },
  112760. assertInt$0() {
  112761. return this.assertInt$1(null);
  112762. },
  112763. valueInRange$3(min, max, $name) {
  112764. var _this = this,
  112765. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  112766. if (_0_0 != null)
  112767. return _0_0;
  112768. throw A.wrapException(A.SassScriptException$0("Expected " + _this.toString$0(0) + " to be within " + A.S(min) + _this.get$unitString() + " and " + A.S(max) + _this.get$unitString() + ".", $name));
  112769. },
  112770. valueInRangeWithUnit$4(min, max, $name, unit) {
  112771. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  112772. if (_0_0 != null)
  112773. return _0_0;
  112774. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  112775. },
  112776. hasCompatibleUnits$1(other) {
  112777. var _this = this;
  112778. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  112779. return false;
  112780. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112781. return false;
  112782. return _this.isComparableTo$1(other);
  112783. },
  112784. assertUnit$2(unit, $name) {
  112785. if (this.hasUnit$1(unit))
  112786. return;
  112787. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  112788. },
  112789. assertNoUnits$1($name) {
  112790. if (!this.get$hasUnits())
  112791. return;
  112792. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  112793. },
  112794. assertNoUnits$0() {
  112795. return this.assertNoUnits$1(null);
  112796. },
  112797. convertToMatch$3(other, $name, otherName) {
  112798. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  112799. t2 = other.get$numeratorUnits(other);
  112800. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112801. },
  112802. convertValueToMatch$3(other, $name, otherName) {
  112803. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  112804. },
  112805. convertValueToMatch$1(other) {
  112806. return this.convertValueToMatch$3(other, null, null);
  112807. },
  112808. coerce$3(newNumerators, newDenominators, $name) {
  112809. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  112810. },
  112811. coerce$2(newNumerators, newDenominators) {
  112812. return this.coerce$3(newNumerators, newDenominators, null);
  112813. },
  112814. coerceValue$3(newNumerators, newDenominators, $name) {
  112815. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  112816. },
  112817. coerceValueToUnit$2(unit, $name) {
  112818. var t1 = type$.JSArray_String;
  112819. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  112820. },
  112821. coerceValueToUnit$1(unit) {
  112822. return this.coerceValueToUnit$2(unit, null);
  112823. },
  112824. coerceToMatch$3(other, $name, otherName) {
  112825. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  112826. t2 = other.get$numeratorUnits(other);
  112827. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112828. },
  112829. coerceValueToMatch$3(other, $name, otherName) {
  112830. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  112831. },
  112832. coerceValueToMatch$1(other) {
  112833. return this.coerceValueToMatch$3(other, null, null);
  112834. },
  112835. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  112836. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  112837. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  112838. return _this._number1$_value;
  112839. t1 = J.getInterceptor$asx(newNumerators);
  112840. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  112841. if (coerceUnitless)
  112842. t2 = !_this.get$hasUnits() || !otherHasUnits;
  112843. else
  112844. t2 = false;
  112845. if (t2)
  112846. return _this._number1$_value;
  112847. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  112848. _box_0.value = _this._number1$_value;
  112849. t2 = _this.get$numeratorUnits(_this);
  112850. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  112851. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  112852. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  112853. t1 = _this.get$denominatorUnits(_this);
  112854. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112855. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  112856. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  112857. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  112858. throw A.wrapException(compatibilityException.call$0());
  112859. return _box_0.value;
  112860. },
  112861. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  112862. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  112863. },
  112864. isComparableTo$1(other) {
  112865. var exception;
  112866. if (!this.get$hasUnits() || !other.get$hasUnits())
  112867. return true;
  112868. try {
  112869. this.greaterThan$1(other);
  112870. return true;
  112871. } catch (exception) {
  112872. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  112873. return false;
  112874. else
  112875. throw exception;
  112876. }
  112877. },
  112878. greaterThan$1(other) {
  112879. if (other instanceof A.SassNumber0)
  112880. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112881. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  112882. },
  112883. greaterThanOrEquals$1(other) {
  112884. if (other instanceof A.SassNumber0)
  112885. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112886. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  112887. },
  112888. lessThan$1(other) {
  112889. if (other instanceof A.SassNumber0)
  112890. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112891. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  112892. },
  112893. lessThanOrEquals$1(other) {
  112894. if (other instanceof A.SassNumber0)
  112895. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112896. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  112897. },
  112898. modulo$1(other) {
  112899. if (other instanceof A.SassNumber0)
  112900. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  112901. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  112902. },
  112903. plus$1(other) {
  112904. var _this = this;
  112905. if (other instanceof A.SassNumber0)
  112906. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  112907. if (!(other instanceof A.SassColor0))
  112908. return _this.super$Value$plus0(other);
  112909. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  112910. },
  112911. minus$1(other) {
  112912. var _this = this;
  112913. if (other instanceof A.SassNumber0)
  112914. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  112915. if (!(other instanceof A.SassColor0))
  112916. return _this.super$Value$minus0(other);
  112917. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  112918. },
  112919. times$1(other) {
  112920. var _this = this;
  112921. if (other instanceof A.SassNumber0) {
  112922. if (!other.get$hasUnits())
  112923. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  112924. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  112925. }
  112926. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  112927. },
  112928. dividedBy$1(other) {
  112929. var _this = this;
  112930. if (other instanceof A.SassNumber0) {
  112931. if (!other.get$hasUnits())
  112932. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  112933. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  112934. }
  112935. return _this.super$Value$dividedBy0(other);
  112936. },
  112937. unaryPlus$0() {
  112938. return this;
  112939. },
  112940. _number1$_coerceUnits$1$2(other, operation) {
  112941. var t1, exception;
  112942. try {
  112943. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  112944. return t1;
  112945. } catch (exception) {
  112946. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  112947. this.coerceValueToMatch$1(other);
  112948. throw exception;
  112949. } else
  112950. throw exception;
  112951. }
  112952. },
  112953. _number1$_coerceUnits$2(other, operation) {
  112954. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  112955. },
  112956. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  112957. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, t3, denominators_case_0, _0_11_isSet, _0_11, _0_13, _0_13_isSet, numerators_case_0, t4, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  112958. _box_0.value = value;
  112959. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  112960. _0_1 = t1[0];
  112961. _0_6 = _null;
  112962. _0_3 = _null;
  112963. _0_9 = _null;
  112964. _0_9_isSet = false;
  112965. _0_7 = _null;
  112966. _0_7_isSet = false;
  112967. t2 = false;
  112968. _0_2 = t1[1];
  112969. _0_3 = t1[2];
  112970. _0_6 = _0_3.length <= 0;
  112971. t3 = _0_6;
  112972. if (t3) {
  112973. _0_7 = t1[3];
  112974. _0_9 = _0_7.length <= 0;
  112975. t2 = _0_9;
  112976. _0_9_isSet = true;
  112977. _0_7_isSet = true;
  112978. }
  112979. denominators_case_0 = _0_2;
  112980. _0_11_isSet = !t2;
  112981. _0_11 = _null;
  112982. _0_13 = _null;
  112983. _0_13_isSet = false;
  112984. t2 = true;
  112985. if (_0_11_isSet) {
  112986. _0_11 = _0_1.length <= 0;
  112987. t3 = _0_11;
  112988. if (t3) {
  112989. _0_13 = _0_2.length <= 0;
  112990. t3 = _0_13;
  112991. if (t3) {
  112992. if (_0_7_isSet)
  112993. denominators_case_0 = _0_7;
  112994. else {
  112995. _0_7 = t1[3];
  112996. denominators_case_0 = _0_7;
  112997. _0_7_isSet = true;
  112998. }
  112999. numerators_case_0 = _0_3;
  113000. } else {
  113001. numerators_case_0 = _0_1;
  113002. t2 = false;
  113003. }
  113004. _0_13_isSet = true;
  113005. } else {
  113006. numerators_case_0 = _0_1;
  113007. t2 = false;
  113008. }
  113009. } else
  113010. numerators_case_0 = _0_1;
  113011. if (t2) {
  113012. t4 = denominators_case_0;
  113013. t3 = numerators_case_0;
  113014. } else {
  113015. t4 = _null;
  113016. t3 = t4;
  113017. }
  113018. if (!t2) {
  113019. t2 = _null;
  113020. t5 = _null;
  113021. if (_0_11_isSet)
  113022. t6 = _0_11;
  113023. else {
  113024. _0_11 = _0_1.length <= 0;
  113025. t6 = _0_11;
  113026. }
  113027. t7 = false;
  113028. if (t6) {
  113029. if (_0_9_isSet)
  113030. t2 = _0_9;
  113031. else {
  113032. if (_0_7_isSet)
  113033. t2 = _0_7;
  113034. else {
  113035. _0_7 = t1[3];
  113036. t2 = _0_7;
  113037. _0_7_isSet = true;
  113038. }
  113039. _0_9 = t2.length <= 0;
  113040. t2 = _0_9;
  113041. }
  113042. numerators_case_1 = _0_3;
  113043. denominators_case_1 = _0_2;
  113044. } else {
  113045. numerators_case_1 = t2;
  113046. t2 = t7;
  113047. denominators_case_1 = t5;
  113048. }
  113049. if (!t2) {
  113050. t2 = false;
  113051. if (_0_13_isSet)
  113052. t5 = _0_13;
  113053. else {
  113054. _0_13 = _0_2.length <= 0;
  113055. t5 = _0_13;
  113056. }
  113057. if (t5)
  113058. if (_0_6) {
  113059. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  113060. t1 = true;
  113061. } else
  113062. t1 = t2;
  113063. else
  113064. t1 = t2;
  113065. numerators_case_1 = _0_1;
  113066. } else
  113067. t1 = true;
  113068. if (t1) {
  113069. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  113070. if (t1) {
  113071. t3 = denominators_case_1;
  113072. t2 = numerators_case_1;
  113073. } else {
  113074. t2 = t3;
  113075. t3 = t4;
  113076. }
  113077. t0 = t3;
  113078. t3 = t1;
  113079. t1 = t2;
  113080. t2 = t0;
  113081. } else {
  113082. t2 = t4;
  113083. t1 = t3;
  113084. t3 = false;
  113085. }
  113086. } else {
  113087. t2 = t4;
  113088. t1 = t3;
  113089. t3 = true;
  113090. }
  113091. if (t3)
  113092. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  113093. newNumerators = A._setArrayType([], type$.JSArray_String);
  113094. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  113095. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  113096. numerator = t1[_i];
  113097. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  113098. }
  113099. t1 = _this.get$denominatorUnits(_this);
  113100. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  113101. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  113102. numerator = otherNumerators[_i];
  113103. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  113104. }
  113105. t1 = _box_0.value;
  113106. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  113107. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  113108. },
  113109. _number1$_areAnyConvertible$2(units1, units2) {
  113110. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  113111. },
  113112. _number1$_unitString$2(numerators, denominators) {
  113113. var t1, _0_4, _0_7, _0_6, _0_5, t2, _0_9, _0_10, denominator, _null = null;
  113114. $label0$0: {
  113115. t1 = J.getInterceptor$asx(numerators);
  113116. _0_4 = t1.get$length(numerators) <= 0;
  113117. _0_7 = _null;
  113118. _0_6 = _null;
  113119. _0_5 = _null;
  113120. if (_0_4) {
  113121. _0_6 = J.get$length$asx(denominators);
  113122. t2 = _0_6;
  113123. _0_7 = t2 <= 0;
  113124. t2 = _0_7;
  113125. _0_5 = denominators;
  113126. } else
  113127. t2 = false;
  113128. if (t2) {
  113129. t1 = "no units";
  113130. break $label0$0;
  113131. }
  113132. _0_9 = _null;
  113133. if (_0_4) {
  113134. t2 = _0_6;
  113135. _0_9 = t2 === 1;
  113136. t2 = _0_9;
  113137. } else
  113138. t2 = false;
  113139. if (t2) {
  113140. _0_10 = J.$index$asx(_0_4 ? _0_5 : denominators, 0);
  113141. denominator = _0_10;
  113142. t1 = denominator + "^-1";
  113143. break $label0$0;
  113144. }
  113145. if (_0_4) {
  113146. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  113147. break $label0$0;
  113148. }
  113149. t2 = denominators;
  113150. _0_5 = t2;
  113151. _0_6 = J.get$length$asx(t2);
  113152. t2 = _0_6;
  113153. _0_7 = t2 <= 0;
  113154. t2 = _0_7;
  113155. if (t2) {
  113156. t1 = t1.join$1(numerators, "*");
  113157. break $label0$0;
  113158. }
  113159. t2 = _0_6;
  113160. _0_9 = t2 === 1;
  113161. t2 = _0_9;
  113162. if (t2) {
  113163. _0_10 = J.$index$asx(_0_5, 0);
  113164. denominator = _0_10;
  113165. t1 = t1.join$1(numerators, "*") + "/" + denominator;
  113166. break $label0$0;
  113167. }
  113168. t1 = t1.join$1(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  113169. break $label0$0;
  113170. }
  113171. return t1;
  113172. },
  113173. $eq(_, other) {
  113174. var _this = this;
  113175. if (other == null)
  113176. return false;
  113177. if (!(other instanceof A.SassNumber0))
  113178. return false;
  113179. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  113180. return false;
  113181. if (!_this.get$hasUnits())
  113182. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  113183. if (!B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$denominatorUnits(other))))
  113184. return false;
  113185. return A.fuzzyEquals0(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this)), other._number1$_value * _this._number1$_canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._number1$_canonicalMultiplier$1(other.get$denominatorUnits(other)));
  113186. },
  113187. get$hashCode(_) {
  113188. var _this = this,
  113189. t1 = _this.hashCache;
  113190. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
  113191. },
  113192. _number1$_canonicalizeUnitList$1(units) {
  113193. var type,
  113194. t1 = units.length;
  113195. if (t1 === 0)
  113196. return units;
  113197. if (t1 === 1) {
  113198. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  113199. if (type == null)
  113200. t1 = units;
  113201. else {
  113202. t1 = B.Map_Sr65K.$index(0, type);
  113203. t1.toString;
  113204. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  113205. }
  113206. return t1;
  113207. }
  113208. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  113209. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), t1._eval$1("ListIterable.E"));
  113210. B.JSArray_methods.sort$0(t1);
  113211. return t1;
  113212. },
  113213. _number1$_canonicalMultiplier$1(units) {
  113214. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  113215. },
  113216. canonicalMultiplierForUnit$1(unit) {
  113217. var t1,
  113218. innerMap = B.Map_NtHoP.$index(0, unit);
  113219. if (innerMap == null)
  113220. t1 = 1;
  113221. else {
  113222. t1 = innerMap.get$values(innerMap);
  113223. t1 = 1 / t1.get$first(t1);
  113224. }
  113225. return t1;
  113226. },
  113227. unitSuggestion$2($name, unit) {
  113228. var t2, t3, result, _this = this,
  113229. t1 = _this.get$denominatorUnits(_this);
  113230. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  113231. t2 = _this.get$numeratorUnits(_this);
  113232. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  113233. t3 = unit == null ? "" : " * 1" + unit;
  113234. result = "$" + $name + t1 + t2 + t3;
  113235. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  113236. },
  113237. unitSuggestion$1($name) {
  113238. return this.unitSuggestion$2($name, null);
  113239. }
  113240. };
  113241. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  113242. call$0() {
  113243. var t2, t3, message, t4, type, unit, _this = this,
  113244. t1 = _this.other;
  113245. if (t1 != null) {
  113246. t2 = _this.$this;
  113247. t3 = t2.toString$0(0) + " and";
  113248. message = new A.StringBuffer(t3);
  113249. t4 = _this.otherName;
  113250. if (t4 != null)
  113251. t3 = message._contents = t3 + (" $" + t4 + ":");
  113252. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  113253. message._contents = t1;
  113254. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  113255. message._contents = t1 + " (one has units and the other doesn't)";
  113256. t1 = message.toString$0(0) + ".";
  113257. t2 = _this.name;
  113258. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  113259. } else if (!_this.otherHasUnits) {
  113260. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  113261. t2 = _this.name;
  113262. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  113263. } else {
  113264. t1 = _this.newNumerators;
  113265. t2 = J.getInterceptor$asx(t1);
  113266. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  113267. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  113268. if (type != null) {
  113269. t1 = _this.$this.toString$0(0);
  113270. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  113271. t3 = B.Map_Sr65K.$index(0, type);
  113272. t3.toString;
  113273. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  113274. t2 = _this.name;
  113275. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  113276. }
  113277. }
  113278. t3 = _this.newDenominators;
  113279. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  113280. t2 = _this.$this;
  113281. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  113282. t1 = _this.name;
  113283. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  113284. }
  113285. },
  113286. $signature: 547
  113287. };
  113288. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  113289. call$1(oldNumerator) {
  113290. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  113291. if (factor == null)
  113292. return false;
  113293. this._box_0.value *= factor;
  113294. return true;
  113295. },
  113296. $signature: 5
  113297. };
  113298. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  113299. call$0() {
  113300. return A.throwExpression(this.compatibilityException.call$0());
  113301. },
  113302. $signature: 0
  113303. };
  113304. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  113305. call$1(oldDenominator) {
  113306. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  113307. if (factor == null)
  113308. return false;
  113309. this._box_0.value /= factor;
  113310. return true;
  113311. },
  113312. $signature: 5
  113313. };
  113314. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  113315. call$0() {
  113316. return A.throwExpression(this.compatibilityException.call$0());
  113317. },
  113318. $signature: 0
  113319. };
  113320. A.SassNumber_plus_closure0.prototype = {
  113321. call$2(num1, num2) {
  113322. return num1 + num2;
  113323. },
  113324. $signature: 57
  113325. };
  113326. A.SassNumber_minus_closure0.prototype = {
  113327. call$2(num1, num2) {
  113328. return num1 - num2;
  113329. },
  113330. $signature: 57
  113331. };
  113332. A.SassNumber_multiplyUnits_closure3.prototype = {
  113333. call$1(denominator) {
  113334. var factor = A.conversionFactor0(this.numerator, denominator);
  113335. if (factor == null)
  113336. return false;
  113337. this._box_0.value /= factor;
  113338. return true;
  113339. },
  113340. $signature: 5
  113341. };
  113342. A.SassNumber_multiplyUnits_closure4.prototype = {
  113343. call$0() {
  113344. return this.newNumerators.push(this.numerator);
  113345. },
  113346. $signature: 0
  113347. };
  113348. A.SassNumber_multiplyUnits_closure5.prototype = {
  113349. call$1(denominator) {
  113350. var factor = A.conversionFactor0(this.numerator, denominator);
  113351. if (factor == null)
  113352. return false;
  113353. this._box_0.value /= factor;
  113354. return true;
  113355. },
  113356. $signature: 5
  113357. };
  113358. A.SassNumber_multiplyUnits_closure6.prototype = {
  113359. call$0() {
  113360. return this.newNumerators.push(this.numerator);
  113361. },
  113362. $signature: 0
  113363. };
  113364. A.SassNumber__areAnyConvertible_closure0.prototype = {
  113365. call$1(unit1) {
  113366. var t1,
  113367. _0_0 = B.Map_NtHoP.$index(0, unit1);
  113368. $label0$0: {
  113369. if (_0_0 != null) {
  113370. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  113371. break $label0$0;
  113372. }
  113373. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  113374. break $label0$0;
  113375. }
  113376. return t1;
  113377. },
  113378. $signature: 5
  113379. };
  113380. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  113381. call$1(unit) {
  113382. var t1,
  113383. type = $.$get$_typesByUnit0().$index(0, unit);
  113384. if (type == null)
  113385. t1 = unit;
  113386. else {
  113387. t1 = B.Map_Sr65K.$index(0, type);
  113388. t1.toString;
  113389. t1 = B.JSArray_methods.get$first(t1);
  113390. }
  113391. return t1;
  113392. },
  113393. $signature: 6
  113394. };
  113395. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  113396. call$2(multiplier, unit) {
  113397. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  113398. },
  113399. $signature: 164
  113400. };
  113401. A.SassNumber_unitSuggestion_closure1.prototype = {
  113402. call$1(unit) {
  113403. return " * 1" + unit;
  113404. },
  113405. $signature: 6
  113406. };
  113407. A.SassNumber_unitSuggestion_closure2.prototype = {
  113408. call$1(unit) {
  113409. return " / 1" + unit;
  113410. },
  113411. $signature: 6
  113412. };
  113413. A.OklabColorSpace0.prototype = {
  113414. get$isBoundedInternal() {
  113415. return false;
  113416. },
  113417. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  113418. var missingLightness, missingA, missingB, t1;
  113419. if (dest === B.OklchColorSpace_9Gj0)
  113420. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  113421. missingLightness = lightness == null;
  113422. missingA = a == null;
  113423. missingB = b == null;
  113424. if (missingLightness)
  113425. lightness = 0;
  113426. if (missingA)
  113427. a = 0;
  113428. if (missingB)
  113429. b = 0;
  113430. t1 = $.$get$oklabToLms0();
  113431. return B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, Math.pow(t1[0] * lightness + t1[1] * a + t1[2] * b, 3) + 0, Math.pow(t1[3] * lightness + t1[4] * a + t1[5] * b, 3) + 0, Math.pow(t1[6] * lightness + t1[7] * a + t1[8] * b, 3) + 0, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  113432. },
  113433. convert$5(dest, lightness, a, b, alpha) {
  113434. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  113435. }
  113436. };
  113437. A.OklchColorSpace0.prototype = {
  113438. get$isBoundedInternal() {
  113439. return false;
  113440. },
  113441. get$isPolarInternal() {
  113442. return true;
  113443. },
  113444. convert$5(dest, lightness, chroma, hue, alpha) {
  113445. var t1 = hue == null,
  113446. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  113447. t2 = chroma == null,
  113448. t3 = t2 ? 0 : chroma,
  113449. t4 = Math.cos(hueRadians),
  113450. t5 = t2 ? 0 : chroma;
  113451. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  113452. }
  113453. };
  113454. A.SupportsOperation0.prototype = {
  113455. toInterpolation$0() {
  113456. var t1 = new A.StringBuffer(""),
  113457. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  113458. t3 = this.span,
  113459. t4 = this.left,
  113460. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  113461. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  113462. t1._contents += t5;
  113463. t2.addInterpolation$1(t4.toInterpolation$0());
  113464. t5 = this.right;
  113465. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  113466. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  113467. t1._contents += t4;
  113468. t2.addInterpolation$1(t5.toInterpolation$0());
  113469. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  113470. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  113471. t1._contents += t5;
  113472. return t2.interpolation$1(t3);
  113473. },
  113474. withSpan$1(span) {
  113475. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  113476. },
  113477. toString$0(_) {
  113478. var _this = this;
  113479. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  113480. },
  113481. _operation$_parenthesize$1(condition) {
  113482. var t1;
  113483. if (!(condition instanceof A.SupportsNegation0))
  113484. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  113485. else
  113486. t1 = true;
  113487. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  113488. },
  113489. $isAstNode0: 1,
  113490. $isSassNode: 1,
  113491. $isSupportsCondition: 1,
  113492. get$span(receiver) {
  113493. return this.span;
  113494. }
  113495. };
  113496. A.Parameter0.prototype = {
  113497. toString$0(_) {
  113498. var t1 = this.defaultValue,
  113499. t2 = this.name;
  113500. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  113501. },
  113502. $isAstNode0: 1,
  113503. $isSassNode: 1,
  113504. get$span(receiver) {
  113505. return this.span;
  113506. }
  113507. };
  113508. A.ParameterList0.prototype = {
  113509. get$spanWithName() {
  113510. var t2, t3,
  113511. t1 = this.span,
  113512. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null),
  113513. i = t1.get$start(t1).offset - 1;
  113514. for (;;) {
  113515. if (i > 0) {
  113516. t2 = text.charCodeAt(i);
  113517. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  113518. } else
  113519. t2 = false;
  113520. if (!t2)
  113521. break;
  113522. --i;
  113523. }
  113524. t2 = text.charCodeAt(i);
  113525. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113526. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113527. else
  113528. t2 = true;
  113529. if (!t2)
  113530. return t1;
  113531. --i;
  113532. for (;;) {
  113533. if (i >= 0) {
  113534. t2 = text.charCodeAt(i);
  113535. if (t2 !== 95) {
  113536. if (!(t2 >= 97 && t2 <= 122))
  113537. t3 = t2 >= 65 && t2 <= 90;
  113538. else
  113539. t3 = true;
  113540. t3 = t3 || t2 >= 128;
  113541. } else
  113542. t3 = true;
  113543. if (!t3)
  113544. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113545. else
  113546. t2 = true;
  113547. } else
  113548. t2 = false;
  113549. if (!t2)
  113550. break;
  113551. --i;
  113552. }
  113553. t2 = i + 1;
  113554. t3 = text.charCodeAt(t2);
  113555. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  113556. return t1;
  113557. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t1.get$file(t1).span$2(0, t2, t1.get$end(t1).offset)));
  113558. },
  113559. verify$2(positional, names) {
  113560. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  113561. _s10_ = "invocation";
  113562. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  113563. parameter = t1[i];
  113564. if (i < positional) {
  113565. t4 = parameter.name;
  113566. if (t3.containsKey$1(t4))
  113567. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  113568. } else {
  113569. t4 = parameter.name;
  113570. if (t3.containsKey$1(t4))
  113571. ++namedUsed;
  113572. else if (parameter.defaultValue == null)
  113573. throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument " + _this._parameter_list$_originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  113574. }
  113575. }
  113576. if (_this.restParameter != null)
  113577. return;
  113578. if (positional > t2) {
  113579. t1 = names.get$isEmpty(0) ? "" : "positional ";
  113580. throw A.wrapException(A.MultiSpanSassScriptException$0("Only " + t2 + " " + t1 + A.pluralize0("argument", t2, null) + " allowed, but " + positional + " " + A.pluralize0("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  113581. }
  113582. if (namedUsed < t3.get$length(t3)) {
  113583. t2 = type$.String;
  113584. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  113585. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  113586. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0("parameter", unknownNames._collection$_length, null) + " named " + A.toSentence0(unknownNames.map$1$1(0, new A.ParameterList_verify_closure2(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  113587. }
  113588. },
  113589. _parameter_list$_originalParameterName$1($name) {
  113590. var text, t1, t2, _i, parameter, end;
  113591. if ($name === this.restParameter) {
  113592. text = this.span.get$text();
  113593. return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
  113594. }
  113595. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  113596. parameter = t1[_i];
  113597. if (parameter.name === $name) {
  113598. t1 = parameter.span;
  113599. if (parameter.defaultValue == null)
  113600. t1 = t1.get$text();
  113601. else {
  113602. text = t1.get$text();
  113603. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  113604. end = A._lastNonWhitespace0(t1, false);
  113605. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  113606. }
  113607. return t1;
  113608. }
  113609. }
  113610. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  113611. },
  113612. matches$2(positional, names) {
  113613. var t1, t2, t3, namedUsed, i, parameter;
  113614. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  113615. parameter = t1[i];
  113616. if (i < positional) {
  113617. if (t3.containsKey$1(parameter.name))
  113618. return false;
  113619. } else if (t3.containsKey$1(parameter.name))
  113620. ++namedUsed;
  113621. else if (parameter.defaultValue == null)
  113622. return false;
  113623. }
  113624. if (this.restParameter != null)
  113625. return true;
  113626. if (positional > t2)
  113627. return false;
  113628. if (namedUsed < t3.get$length(t3))
  113629. return false;
  113630. return true;
  113631. },
  113632. toString$0(_) {
  113633. var t2, t3, _i,
  113634. t1 = A._setArrayType([], type$.JSArray_String);
  113635. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  113636. t1.push("$" + t2[_i].toString$0(0));
  113637. t2 = this.restParameter;
  113638. if (t2 != null)
  113639. t1.push("$" + t2 + "...");
  113640. return B.JSArray_methods.join$1(t1, ", ");
  113641. },
  113642. $isAstNode0: 1,
  113643. $isSassNode: 1,
  113644. get$span(receiver) {
  113645. return this.span;
  113646. }
  113647. };
  113648. A.ParameterList_verify_closure1.prototype = {
  113649. call$1(parameter) {
  113650. return parameter.name;
  113651. },
  113652. $signature: 548
  113653. };
  113654. A.ParameterList_verify_closure2.prototype = {
  113655. call$1($name) {
  113656. return "$" + $name;
  113657. },
  113658. $signature: 6
  113659. };
  113660. A.InterpolatedParentSelector.prototype = {
  113661. accept$1$1(visitor) {
  113662. return J.visitParentSelector$1$x(visitor._simple_selector$_inner, this);
  113663. },
  113664. accept$1(visitor) {
  113665. return this.accept$1$1(visitor, type$.dynamic);
  113666. },
  113667. toString$0(_) {
  113668. var t1,
  113669. _0_0 = this.suffix;
  113670. $label0$0: {
  113671. if (_0_0 != null) {
  113672. t1 = "&" + _0_0.toString$0(0);
  113673. break $label0$0;
  113674. }
  113675. t1 = "&";
  113676. break $label0$0;
  113677. }
  113678. return t1;
  113679. },
  113680. get$span(receiver) {
  113681. return this.span;
  113682. }
  113683. };
  113684. A.ParentSelector0.prototype = {
  113685. accept$1$1(visitor) {
  113686. return visitor.visitParentSelector$1(0, this);
  113687. },
  113688. accept$1(visitor) {
  113689. return this.accept$1$1(visitor, type$.dynamic);
  113690. },
  113691. unify$1(compound) {
  113692. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  113693. }
  113694. };
  113695. A.ParentStatement0.prototype = {};
  113696. A.ParentStatement_closure0.prototype = {
  113697. call$1(child) {
  113698. var t1;
  113699. $label0$0: {
  113700. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  113701. t1 = true;
  113702. break $label0$0;
  113703. }
  113704. if (child instanceof A.ImportRule0) {
  113705. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  113706. break $label0$0;
  113707. }
  113708. t1 = false;
  113709. break $label0$0;
  113710. }
  113711. return t1;
  113712. },
  113713. $signature: 266
  113714. };
  113715. A.ParentStatement__closure0.prototype = {
  113716. call$1($import) {
  113717. return $import instanceof A.DynamicImport0;
  113718. },
  113719. $signature: 258
  113720. };
  113721. A.ParenthesizedExpression0.prototype = {
  113722. accept$1$1(visitor) {
  113723. return visitor.visitParenthesizedExpression$1(0, this);
  113724. },
  113725. accept$1(visitor) {
  113726. return this.accept$1$1(visitor, type$.dynamic);
  113727. },
  113728. toString$0(_) {
  113729. return "(" + this.expression.toString$0(0) + ")";
  113730. },
  113731. get$span(receiver) {
  113732. return this.span;
  113733. }
  113734. };
  113735. A.ParserExports.prototype = {};
  113736. A.loadParserExports_closure.prototype = {
  113737. call$1(inner) {
  113738. return new A.JSExpressionVisitor(inner);
  113739. },
  113740. $signature: 549
  113741. };
  113742. A.loadParserExports_closure0.prototype = {
  113743. call$1(inner) {
  113744. return new A.JSStatementVisitor(inner);
  113745. },
  113746. $signature: 550
  113747. };
  113748. A.loadParserExports_closure1.prototype = {
  113749. call$1(inner) {
  113750. return new A.JSSimpleSelectorVisitor(inner);
  113751. },
  113752. $signature: 551
  113753. };
  113754. A.loadParserExports_closure2.prototype = {
  113755. call$1(text) {
  113756. return A.SourceFile$fromString(text, null);
  113757. },
  113758. $signature: 552
  113759. };
  113760. A.loadParserExports_closure3.prototype = {
  113761. call$1(set) {
  113762. var t1 = A.List_List$_of(set, type$.nullable_Object);
  113763. return new self.Set(t1);
  113764. },
  113765. $signature: 553
  113766. };
  113767. A._updateLazyFileSpanPrototype_closure.prototype = {
  113768. call$0() {
  113769. return $.$get$bogusSpan0();
  113770. },
  113771. $signature: 22
  113772. };
  113773. A._updateLazyFileSpanPrototype_closure0.prototype = {
  113774. call$1(span) {
  113775. var t1 = span.get$span(0);
  113776. return t1.get$file(t1);
  113777. },
  113778. $signature: 554
  113779. };
  113780. A._updateLazyFileSpanPrototype_closure1.prototype = {
  113781. call$1(span) {
  113782. var t1 = span.get$span(0);
  113783. return t1.get$length(t1);
  113784. },
  113785. $signature: 555
  113786. };
  113787. A._updateLazyFileSpanPrototype_closure2.prototype = {
  113788. call$1(span) {
  113789. var t1 = span.get$span(0);
  113790. return t1.get$sourceUrl(t1);
  113791. },
  113792. $signature: 556
  113793. };
  113794. A._updateAstPrototypes_closure.prototype = {
  113795. call$3($self, start, end) {
  113796. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  113797. },
  113798. call$2($self, start) {
  113799. return this.call$3($self, start, null);
  113800. },
  113801. "call*": "call$3",
  113802. $requiredArgCount: 2,
  113803. $defaultValues() {
  113804. return [null];
  113805. },
  113806. $signature: 557
  113807. };
  113808. A._updateAstPrototypes_closure0.prototype = {
  113809. call$3($self, start, end) {
  113810. return $self.span$2(0, start, end);
  113811. },
  113812. call$2($self, start) {
  113813. return this.call$3($self, start, null);
  113814. },
  113815. "call*": "call$3",
  113816. $requiredArgCount: 2,
  113817. $defaultValues() {
  113818. return [null];
  113819. },
  113820. $signature: 558
  113821. };
  113822. A._updateAstPrototypes_closure1.prototype = {
  113823. call$1($self) {
  113824. return $self._decodedChars;
  113825. },
  113826. $signature: 559
  113827. };
  113828. A._updateAstPrototypes_closure2.prototype = {
  113829. call$1($self) {
  113830. return $self.get$asPlain();
  113831. },
  113832. $signature: 560
  113833. };
  113834. A._updateAstPrototypes_closure3.prototype = {
  113835. call$2($self, visitor) {
  113836. return $self.accept$1(visitor);
  113837. },
  113838. $signature: 561
  113839. };
  113840. A._updateAstPrototypes_closure4.prototype = {
  113841. call$2($self, visitor) {
  113842. return $self.accept$1(visitor);
  113843. },
  113844. $signature: 562
  113845. };
  113846. A._updateAstPrototypes_closure5.prototype = {
  113847. call$2($self, visitor) {
  113848. return $self.accept$1(visitor);
  113849. },
  113850. $signature: 563
  113851. };
  113852. A._updateAstPrototypes_closure6.prototype = {
  113853. call$1($self) {
  113854. return $self.$arguments;
  113855. },
  113856. $signature: 564
  113857. };
  113858. A._updateAstPrototypes_closure7.prototype = {
  113859. call$1($self) {
  113860. return $self.$arguments;
  113861. },
  113862. $signature: 565
  113863. };
  113864. A._updateAstPrototypes_closure8.prototype = {
  113865. call$1($self) {
  113866. return $self.$arguments;
  113867. },
  113868. $signature: 566
  113869. };
  113870. A._updateAstPrototypes_closure9.prototype = {
  113871. call$1($self) {
  113872. return $self.$arguments;
  113873. },
  113874. $signature: 567
  113875. };
  113876. A._updateAstPrototypes_closure10.prototype = {
  113877. call$1($self) {
  113878. return $self.$arguments;
  113879. },
  113880. $signature: 568
  113881. };
  113882. A._updateAstPrototypes_closure11.prototype = {
  113883. call$1($self) {
  113884. return $self.get$span($self);
  113885. },
  113886. $signature: 569
  113887. };
  113888. A._addSupportsConditionToInterpolation_closure.prototype = {
  113889. call$1($self) {
  113890. return $self.toInterpolation$0();
  113891. },
  113892. $signature: 570
  113893. };
  113894. A.Parser1.prototype = {
  113895. _parser1$_parseIdentifier$0() {
  113896. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  113897. },
  113898. whitespace$1$consumeNewlines(consumeNewlines) {
  113899. do
  113900. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  113901. while (this.scanComment$0());
  113902. },
  113903. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  113904. var t3,
  113905. t1 = this.scanner,
  113906. t2 = t1.string.length;
  113907. for (;;) {
  113908. if (t1._string_scanner$_position !== t2) {
  113909. t3 = t1.peekChar$0();
  113910. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  113911. } else
  113912. t3 = false;
  113913. if (!t3)
  113914. break;
  113915. t1.readChar$0();
  113916. }
  113917. },
  113918. spaces$0() {
  113919. var t3,
  113920. t1 = this.scanner,
  113921. t2 = t1.string.length;
  113922. for (;;) {
  113923. if (t1._string_scanner$_position !== t2) {
  113924. t3 = t1.peekChar$0();
  113925. t3 = t3 === 32 || t3 === 9;
  113926. } else
  113927. t3 = false;
  113928. if (!t3)
  113929. break;
  113930. t1.readChar$0();
  113931. }
  113932. },
  113933. scanComment$0() {
  113934. var _0_0,
  113935. t1 = this.scanner;
  113936. if (t1.peekChar$0() !== 47)
  113937. return false;
  113938. _0_0 = t1.peekChar$1(1);
  113939. if (47 === _0_0)
  113940. return this.silentComment$0();
  113941. if (42 === _0_0) {
  113942. this.loudComment$0();
  113943. return true;
  113944. }
  113945. return false;
  113946. },
  113947. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  113948. var t2, t3,
  113949. t1 = this.scanner;
  113950. if (t1._string_scanner$_position !== t1.string.length) {
  113951. t2 = t1.peekChar$0();
  113952. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  113953. t2 = t3;
  113954. } else
  113955. t2 = true;
  113956. if (t2)
  113957. t1.error$1(0, "Expected whitespace.");
  113958. this.whitespace$1$consumeNewlines(consumeNewlines);
  113959. },
  113960. expectWhitespace$0() {
  113961. return this.expectWhitespace$1$consumeNewlines(false);
  113962. },
  113963. silentComment$0() {
  113964. var t2, t3,
  113965. t1 = this.scanner;
  113966. t1.expect$1("//");
  113967. t2 = t1.string.length;
  113968. for (;;) {
  113969. if (t1._string_scanner$_position !== t2) {
  113970. t3 = t1.peekChar$0();
  113971. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  113972. } else
  113973. t3 = false;
  113974. if (!t3)
  113975. break;
  113976. t1.readChar$0();
  113977. }
  113978. return true;
  113979. },
  113980. loudComment$0() {
  113981. var next,
  113982. t1 = this.scanner;
  113983. t1.expect$1("/*");
  113984. for (;;) {
  113985. if (t1.readChar$0() !== 42)
  113986. continue;
  113987. do
  113988. next = t1.readChar$0();
  113989. while (next === 42);
  113990. if (next === 47)
  113991. break;
  113992. }
  113993. },
  113994. identifier$2$normalize$unit(normalize, unit) {
  113995. var t2, _0_0, _this = this,
  113996. _s20_ = "Expected identifier.",
  113997. text = new A.StringBuffer(""),
  113998. t1 = _this.scanner;
  113999. if (t1.scanChar$1(45)) {
  114000. t2 = text._contents = A.Primitives_stringFromCharCode(45);
  114001. if (t1.scanChar$1(45)) {
  114002. text._contents = t2 + t2;
  114003. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  114004. t1 = text._contents;
  114005. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114006. }
  114007. } else
  114008. t2 = "";
  114009. $label0$0: {
  114010. _0_0 = t1.peekChar$0();
  114011. if (_0_0 == null)
  114012. t1.error$1(0, _s20_);
  114013. if (95 === _0_0 && normalize) {
  114014. t1.readChar$0();
  114015. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  114016. break $label0$0;
  114017. }
  114018. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  114019. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  114020. break $label0$0;
  114021. }
  114022. if (92 === _0_0) {
  114023. text._contents = t2 + _this.escape$1$identifierStart(true);
  114024. break $label0$0;
  114025. }
  114026. t1.error$1(0, _s20_);
  114027. }
  114028. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  114029. t1 = text._contents;
  114030. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114031. },
  114032. identifier$0() {
  114033. return this.identifier$2$normalize$unit(false, false);
  114034. },
  114035. identifier$1$normalize(normalize) {
  114036. return this.identifier$2$normalize$unit(normalize, false);
  114037. },
  114038. identifier$1$unit(unit) {
  114039. return this.identifier$2$normalize$unit(false, unit);
  114040. },
  114041. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  114042. var t1, _1_0, _0_0, t2;
  114043. for (t1 = this.scanner;;) {
  114044. _1_0 = t1.peekChar$0();
  114045. if (_1_0 == null)
  114046. break;
  114047. if (45 === _1_0 && unit) {
  114048. _0_0 = t1.peekChar$1(1);
  114049. if (46 !== _0_0)
  114050. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  114051. else
  114052. t2 = true;
  114053. if (t2)
  114054. break;
  114055. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114056. text._contents += t2;
  114057. continue;
  114058. }
  114059. if (95 === _1_0 && normalize) {
  114060. t1.readChar$0();
  114061. t2 = A.Primitives_stringFromCharCode(45);
  114062. text._contents += t2;
  114063. continue;
  114064. }
  114065. if (_1_0 !== 95) {
  114066. if (!(_1_0 >= 97 && _1_0 <= 122))
  114067. t2 = _1_0 >= 65 && _1_0 <= 90;
  114068. else
  114069. t2 = true;
  114070. t2 = t2 || _1_0 >= 128;
  114071. } else
  114072. t2 = true;
  114073. if (!t2)
  114074. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  114075. else
  114076. t2 = true;
  114077. if (t2) {
  114078. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114079. text._contents += t2;
  114080. continue;
  114081. }
  114082. if (92 === _1_0) {
  114083. t2 = this.escape$0();
  114084. text._contents += t2;
  114085. continue;
  114086. }
  114087. break;
  114088. }
  114089. },
  114090. _parser1$_identifierBody$1(text) {
  114091. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  114092. },
  114093. string$0() {
  114094. var buffer, _0_0, t2,
  114095. t1 = this.scanner,
  114096. quote = t1.readChar$0();
  114097. if (quote !== 39 && quote !== 34)
  114098. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  114099. buffer = new A.StringBuffer("");
  114100. for (;;) {
  114101. _0_0 = t1.peekChar$0();
  114102. if (_0_0 === quote) {
  114103. t1.readChar$0();
  114104. break;
  114105. }
  114106. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  114107. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  114108. if (92 === _0_0) {
  114109. t2 = t1.peekChar$1(1);
  114110. if (t2 === 10 || t2 === 13 || t2 === 12) {
  114111. t1.readChar$0();
  114112. t1.readChar$0();
  114113. } else {
  114114. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  114115. buffer._contents += t2;
  114116. }
  114117. continue;
  114118. }
  114119. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114120. buffer._contents += t2;
  114121. }
  114122. t1 = buffer._contents;
  114123. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114124. },
  114125. declarationValue$1$allowEmpty(allowEmpty) {
  114126. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  114127. buffer = new A.StringBuffer(""),
  114128. brackets = A._setArrayType([], type$.JSArray_int);
  114129. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false;;) {
  114130. next = t1.peekChar$0();
  114131. if (next == null)
  114132. break;
  114133. wroteNewline0 = false;
  114134. if (92 === next) {
  114135. t4 = _this.escape$1$identifierStart(true);
  114136. buffer._contents += t4;
  114137. wroteNewline = wroteNewline0;
  114138. continue;
  114139. }
  114140. if (34 === next || 39 === next) {
  114141. start = t1._string_scanner$_position;
  114142. t3.call$0();
  114143. end = t1._string_scanner$_position;
  114144. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  114145. wroteNewline = wroteNewline0;
  114146. continue;
  114147. }
  114148. if (47 === next) {
  114149. if (t1.peekChar$1(1) === 42) {
  114150. start = t1._string_scanner$_position;
  114151. t2.call$0();
  114152. end = t1._string_scanner$_position;
  114153. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  114154. } else {
  114155. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114156. buffer._contents += t4;
  114157. }
  114158. wroteNewline = wroteNewline0;
  114159. continue;
  114160. }
  114161. if (32 === next || 9 === next) {
  114162. if (!wroteNewline) {
  114163. t4 = t1.peekChar$1(1);
  114164. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  114165. } else
  114166. t4 = true;
  114167. if (t4) {
  114168. t4 = A.Primitives_stringFromCharCode(32);
  114169. buffer._contents += t4;
  114170. }
  114171. t1.readChar$0();
  114172. continue;
  114173. }
  114174. if (10 === next || 13 === next || 12 === next) {
  114175. t4 = t1.peekChar$1(-1);
  114176. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  114177. buffer._contents += "\n";
  114178. t1.readChar$0();
  114179. wroteNewline = true;
  114180. continue;
  114181. }
  114182. if (40 === next || 123 === next || 91 === next) {
  114183. t4 = A.Primitives_stringFromCharCode(next);
  114184. buffer._contents += t4;
  114185. brackets.push(A.opposite0(t1.readChar$0()));
  114186. wroteNewline = wroteNewline0;
  114187. continue;
  114188. }
  114189. if (41 === next || 125 === next || 93 === next) {
  114190. if (brackets.length === 0)
  114191. break;
  114192. t4 = A.Primitives_stringFromCharCode(next);
  114193. buffer._contents += t4;
  114194. t1.expectChar$1(brackets.pop());
  114195. wroteNewline = wroteNewline0;
  114196. continue;
  114197. }
  114198. if (59 === next) {
  114199. if (brackets.length === 0)
  114200. break;
  114201. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114202. buffer._contents += t4;
  114203. continue;
  114204. }
  114205. if (117 === next || 85 === next) {
  114206. _0_0 = _this.tryUrl$0();
  114207. if (_0_0 != null)
  114208. buffer._contents += _0_0;
  114209. else {
  114210. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114211. buffer._contents += t4;
  114212. }
  114213. wroteNewline = wroteNewline0;
  114214. continue;
  114215. }
  114216. if (_this.lookingAtIdentifier$0()) {
  114217. t4 = _this.identifier$0();
  114218. buffer._contents += t4;
  114219. } else {
  114220. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114221. buffer._contents += t4;
  114222. }
  114223. wroteNewline = wroteNewline0;
  114224. }
  114225. if (brackets.length !== 0)
  114226. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  114227. if (!allowEmpty && buffer._contents.length === 0)
  114228. t1.error$1(0, "Expected token.");
  114229. t1 = buffer._contents;
  114230. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114231. },
  114232. declarationValue$0() {
  114233. return this.declarationValue$1$allowEmpty(false);
  114234. },
  114235. tryUrl$0() {
  114236. var buffer, _0_0, t2, _this = this,
  114237. t1 = _this.scanner,
  114238. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114239. if (!_this.scanIdentifier$1("url"))
  114240. return null;
  114241. if (!t1.scanChar$1(40)) {
  114242. t1.set$state(start);
  114243. return null;
  114244. }
  114245. _this.whitespace$1$consumeNewlines(true);
  114246. buffer = new A.StringBuffer("");
  114247. buffer._contents = "url(";
  114248. for (;;) {
  114249. _0_0 = t1.peekChar$0();
  114250. if (_0_0 == null)
  114251. break;
  114252. if (92 === _0_0) {
  114253. t2 = _this.escape$0();
  114254. buffer._contents += t2;
  114255. continue;
  114256. }
  114257. t2 = true;
  114258. if (37 !== _0_0)
  114259. if (38 !== _0_0)
  114260. if (35 !== _0_0)
  114261. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  114262. if (t2) {
  114263. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114264. buffer._contents += t2;
  114265. continue;
  114266. }
  114267. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  114268. _this.whitespace$1$consumeNewlines(true);
  114269. if (t1.peekChar$0() !== 41)
  114270. break;
  114271. continue;
  114272. }
  114273. if (41 === _0_0) {
  114274. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114275. t2 = buffer._contents += t2;
  114276. return t2.charCodeAt(0) == 0 ? t2 : t2;
  114277. }
  114278. break;
  114279. }
  114280. t1.set$state(start);
  114281. return null;
  114282. },
  114283. variableName$0() {
  114284. this.scanner.expectChar$1(36);
  114285. return this.identifier$1$normalize(true);
  114286. },
  114287. escape$1$identifierStart(identifierStart) {
  114288. var value, _0_0, i, next, t2, exception,
  114289. _s25_ = "Expected escape sequence.",
  114290. t1 = this.scanner,
  114291. start = t1._string_scanner$_position;
  114292. t1.expectChar$1(92);
  114293. value = 0;
  114294. $label0$1: {
  114295. _0_0 = t1.peekChar$0();
  114296. if (_0_0 == null)
  114297. t1.error$1(0, _s25_);
  114298. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  114299. t1.error$1(0, _s25_);
  114300. if (A.CharacterExtension_get_isHex0(_0_0)) {
  114301. for (i = 0; i < 6; ++i) {
  114302. next = t1.peekChar$0();
  114303. if (next != null) {
  114304. t2 = true;
  114305. if (!(next >= 48 && next <= 57))
  114306. if (!(next >= 97 && next <= 102))
  114307. t2 = next >= 65 && next <= 70;
  114308. t2 = !t2;
  114309. } else
  114310. t2 = true;
  114311. if (t2)
  114312. break;
  114313. value *= 16;
  114314. value += A.asHex0(t1.readChar$0());
  114315. }
  114316. this.scanCharIf$1(new A.Parser_escape_closure0());
  114317. break $label0$1;
  114318. }
  114319. value = t1.readChar$0();
  114320. }
  114321. if (identifierStart) {
  114322. t2 = value;
  114323. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  114324. } else {
  114325. t2 = value;
  114326. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  114327. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  114328. else
  114329. t2 = true;
  114330. }
  114331. if (t2)
  114332. try {
  114333. t2 = A.Primitives_stringFromCharCode(value);
  114334. return t2;
  114335. } catch (exception) {
  114336. if (type$.RangeError._is(A.unwrapException(exception)))
  114337. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  114338. else
  114339. throw exception;
  114340. }
  114341. else {
  114342. t1 = true;
  114343. if (!(value <= 31))
  114344. if (!J.$eq$(value, 127))
  114345. if (identifierStart) {
  114346. t1 = value;
  114347. t1 = t1 >= 48 && t1 <= 57;
  114348. } else
  114349. t1 = false;
  114350. if (t1) {
  114351. t1 = A.Primitives_stringFromCharCode(92);
  114352. if (value > 15)
  114353. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  114354. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  114355. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114356. } else
  114357. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  114358. }
  114359. },
  114360. escape$0() {
  114361. return this.escape$1$identifierStart(false);
  114362. },
  114363. scanCharIf$1(condition) {
  114364. var t1 = this.scanner;
  114365. if (!condition.call$1(t1.peekChar$0()))
  114366. return false;
  114367. t1.readChar$0();
  114368. return true;
  114369. },
  114370. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  114371. var t3,
  114372. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  114373. t2 = this.scanner,
  114374. _0_0 = t2.peekChar$0();
  114375. if (_0_0 != null)
  114376. t3 = t1.call$1(_0_0);
  114377. else
  114378. t3 = false;
  114379. if (t3) {
  114380. t2.readChar$0();
  114381. return true;
  114382. }
  114383. if (92 === _0_0) {
  114384. t3 = t2._string_scanner$_position;
  114385. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  114386. return true;
  114387. t2.set$state(new A._SpanScannerState(t2, t3));
  114388. }
  114389. return false;
  114390. },
  114391. scanIdentChar$1(char) {
  114392. return this.scanIdentChar$2$caseSensitive(char, false);
  114393. },
  114394. expectIdentChar$1(letter) {
  114395. var t1;
  114396. if (this.scanIdentChar$2$caseSensitive(letter, false))
  114397. return;
  114398. t1 = this.scanner;
  114399. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  114400. },
  114401. lookingAtIdentifier$1($forward) {
  114402. var t1, _1_0, t2, _0_0;
  114403. if ($forward == null)
  114404. $forward = 0;
  114405. t1 = this.scanner;
  114406. _1_0 = t1.peekChar$1($forward);
  114407. $label0$0: {
  114408. if (A._isInt(_1_0))
  114409. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  114410. else
  114411. t2 = false;
  114412. if (t2 || 92 === _1_0) {
  114413. t1 = true;
  114414. break $label0$0;
  114415. }
  114416. if (45 === _1_0) {
  114417. _0_0 = t1.peekChar$1($forward + 1);
  114418. $label1$1: {
  114419. if (A._isInt(_0_0))
  114420. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  114421. else
  114422. t1 = false;
  114423. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  114424. break $label1$1;
  114425. }
  114426. break $label0$0;
  114427. }
  114428. t1 = false;
  114429. break $label0$0;
  114430. }
  114431. return t1;
  114432. },
  114433. lookingAtIdentifier$0() {
  114434. return this.lookingAtIdentifier$1(null);
  114435. },
  114436. lookingAtIdentifierBody$0() {
  114437. var t1,
  114438. next = this.scanner.peekChar$0();
  114439. if (next != null) {
  114440. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  114441. t1 = next >= 48 && next <= 57 || next === 45;
  114442. else
  114443. t1 = true;
  114444. t1 = t1 || next === 92;
  114445. } else
  114446. t1 = false;
  114447. return t1;
  114448. },
  114449. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  114450. var t1, t2, _this = this;
  114451. if (!_this.lookingAtIdentifier$0())
  114452. return false;
  114453. t1 = _this.scanner;
  114454. t2 = t1._string_scanner$_position;
  114455. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  114456. return true;
  114457. else {
  114458. t1.set$state(new A._SpanScannerState(t1, t2));
  114459. return false;
  114460. }
  114461. },
  114462. scanIdentifier$1(text) {
  114463. return this.scanIdentifier$2$caseSensitive(text, false);
  114464. },
  114465. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  114466. var t1, t2, t3;
  114467. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  114468. t3 = t1.__internal$_current;
  114469. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  114470. return false;
  114471. }
  114472. return true;
  114473. },
  114474. expectIdentifier$2$name(text, $name) {
  114475. var t1, start, t2, t3, t4, t5, t6;
  114476. if ($name == null)
  114477. $name = '"' + text + '"';
  114478. t1 = this.scanner;
  114479. start = t1._string_scanner$_position;
  114480. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  114481. t6 = t2.__internal$_current;
  114482. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  114483. continue;
  114484. t1.error$2$position(0, t5, start);
  114485. }
  114486. if (!this.lookingAtIdentifierBody$0())
  114487. return;
  114488. t1.error$2$position(0, t4, start);
  114489. },
  114490. expectIdentifier$1(text) {
  114491. return this.expectIdentifier$2$name(text, null);
  114492. },
  114493. rawText$1(consumer) {
  114494. var t1 = this.scanner,
  114495. start = t1._string_scanner$_position;
  114496. consumer.call$0();
  114497. return t1.substring$1(0, start);
  114498. },
  114499. spanFrom$2(start, end) {
  114500. var span = this.scanner.spanFrom$2(start, end);
  114501. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  114502. },
  114503. spanFrom$1(start) {
  114504. return this.spanFrom$2(start, null);
  114505. },
  114506. spanFromPosition$1(start) {
  114507. var span = this.scanner.spanFromPosition$2(start, null);
  114508. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFromPosition_closure0(this, span));
  114509. },
  114510. error$3(_, message, span, trace) {
  114511. var exception = new A.StringScannerException(this.scanner.string, message, span);
  114512. if (trace == null)
  114513. throw A.wrapException(exception);
  114514. else
  114515. A.throwWithTrace0(exception, this.get$error(this), trace);
  114516. },
  114517. error$2(_, message, span) {
  114518. return this.error$3(0, message, span, null);
  114519. },
  114520. withErrorMessage$1$2(message, callback) {
  114521. var error, stackTrace, t1, exception;
  114522. try {
  114523. t1 = callback.call$0();
  114524. return t1;
  114525. } catch (exception) {
  114526. t1 = A.unwrapException(exception);
  114527. if (type$.SourceSpanFormatException._is(t1)) {
  114528. error = t1;
  114529. stackTrace = A.getTraceFromException(exception);
  114530. t1 = J.get$span$z(error);
  114531. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  114532. } else
  114533. throw exception;
  114534. }
  114535. },
  114536. withErrorMessage$2(message, callback) {
  114537. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  114538. },
  114539. wrapSpanFormatException$1$1(callback) {
  114540. var error, stackTrace, map, mapped, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  114541. _s8_ = "expected";
  114542. try {
  114543. try {
  114544. t3 = callback.call$0();
  114545. return t3;
  114546. } catch (exception) {
  114547. t3 = A.unwrapException(exception);
  114548. if (type$.SourceSpanFormatException._is(t3)) {
  114549. error = t3;
  114550. stackTrace = A.getTraceFromException(exception);
  114551. map = _this._parser1$_interpolationMap;
  114552. if (map == null)
  114553. throw exception;
  114554. mapped = map.mapException$1(error);
  114555. t3 = mapped;
  114556. t4 = error;
  114557. if (t3 == null ? t4 == null : t3 === t4)
  114558. throw exception;
  114559. A.throwWithTrace0(mapped, error, stackTrace);
  114560. } else
  114561. throw exception;
  114562. }
  114563. } catch (exception) {
  114564. t3 = A.unwrapException(exception);
  114565. if (type$.MultiSourceSpanFormatException._is(t3)) {
  114566. error0 = t3;
  114567. stackTrace0 = A.getTraceFromException(exception);
  114568. span = J.get$span$z(error0);
  114569. t3 = type$.FileSpan;
  114570. t4 = type$.String;
  114571. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  114572. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  114573. span = _this._parser1$_adjustExceptionSpan$1(span);
  114574. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  114575. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  114576. t2 = t3.get$current(t3);
  114577. span0 = null;
  114578. description = null;
  114579. _0_0 = t2;
  114580. span0 = _0_0._0;
  114581. description = _0_0._1;
  114582. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  114583. }
  114584. secondarySpans = t1;
  114585. }
  114586. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  114587. } else if (type$.SourceSpanFormatException._is(t3)) {
  114588. error1 = t3;
  114589. stackTrace1 = A.getTraceFromException(exception);
  114590. span1 = J.get$span$z(error1);
  114591. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  114592. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  114593. t1 = error1._span_exception$_message;
  114594. t2 = span1;
  114595. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  114596. } else
  114597. throw exception;
  114598. }
  114599. },
  114600. wrapSpanFormatException$1(callback) {
  114601. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  114602. },
  114603. _parser1$_adjustExceptionSpan$1(span) {
  114604. var start, t1;
  114605. if (span.get$length(span) > 0)
  114606. return span;
  114607. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  114608. if (start.$eq(0, span.get$start(span)))
  114609. t1 = span;
  114610. else {
  114611. t1 = start.offset;
  114612. t1 = A._FileSpan$(start.file, t1, t1);
  114613. }
  114614. return t1;
  114615. },
  114616. _parser1$_firstNewlineBefore$1($location) {
  114617. var lastNewline, codeUnit,
  114618. t1 = $location.file,
  114619. t2 = $location.offset,
  114620. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  114621. index = t2 - 1;
  114622. for (lastNewline = null; index >= 0;) {
  114623. codeUnit = text.charCodeAt(index);
  114624. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  114625. if (lastNewline == null)
  114626. t1 = $location;
  114627. else {
  114628. t2 = new A.FileLocation(t1, lastNewline);
  114629. t2.FileLocation$_$2(t1, lastNewline);
  114630. t1 = t2;
  114631. }
  114632. return t1;
  114633. }
  114634. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  114635. lastNewline = index;
  114636. --index;
  114637. }
  114638. return $location;
  114639. }
  114640. };
  114641. A.Parser__parseIdentifier_closure0.prototype = {
  114642. call$0() {
  114643. var t1 = this.$this,
  114644. result = t1.identifier$0();
  114645. t1.scanner.expectDone$0();
  114646. return result;
  114647. },
  114648. $signature: 29
  114649. };
  114650. A.Parser_escape_closure0.prototype = {
  114651. call$1(char) {
  114652. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  114653. },
  114654. $signature: 32
  114655. };
  114656. A.Parser_scanIdentChar_matches0.prototype = {
  114657. call$1(actual) {
  114658. var t1 = this.char;
  114659. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  114660. },
  114661. $signature: 50
  114662. };
  114663. A.Parser_spanFrom_closure0.prototype = {
  114664. call$0() {
  114665. var t1 = this.$this._parser1$_interpolationMap;
  114666. if (t1 == null)
  114667. t1 = type$.InterpolationMap_2._as(t1);
  114668. return t1.mapSpan$1(this.span);
  114669. },
  114670. $signature: 22
  114671. };
  114672. A.Parser_spanFromPosition_closure0.prototype = {
  114673. call$0() {
  114674. var t1 = this.$this._parser1$_interpolationMap;
  114675. if (t1 == null)
  114676. t1 = type$.InterpolationMap_2._as(t1);
  114677. return t1.mapSpan$1(this.span);
  114678. },
  114679. $signature: 22
  114680. };
  114681. A.InterpolatedPlaceholderSelector.prototype = {
  114682. get$span(_) {
  114683. var t1 = this.name.span;
  114684. return t1.get$file(t1).span$2(0, t1.get$start(t1).offset - 1, t1.get$end(t1).offset);
  114685. },
  114686. accept$1$1(visitor) {
  114687. return J.visitPlaceholderSelector$1$x(visitor._simple_selector$_inner, this);
  114688. },
  114689. accept$1(visitor) {
  114690. return this.accept$1$1(visitor, type$.dynamic);
  114691. },
  114692. toString$0(_) {
  114693. return "%" + this.name.toString$0(0);
  114694. }
  114695. };
  114696. A.PlaceholderSelector0.prototype = {
  114697. accept$1$1(visitor) {
  114698. return visitor.visitPlaceholderSelector$1(0, this);
  114699. },
  114700. accept$1(visitor) {
  114701. return this.accept$1$1(visitor, type$.dynamic);
  114702. },
  114703. addSuffix$1(suffix) {
  114704. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  114705. },
  114706. $eq(_, other) {
  114707. if (other == null)
  114708. return false;
  114709. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  114710. },
  114711. get$hashCode(_) {
  114712. return B.JSString_methods.get$hashCode(this.name);
  114713. }
  114714. };
  114715. A.PlainCssCallable0.prototype = {
  114716. $eq(_, other) {
  114717. if (other == null)
  114718. return false;
  114719. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  114720. },
  114721. get$hashCode(_) {
  114722. return B.JSString_methods.get$hashCode(this.name);
  114723. },
  114724. $isAsyncCallable0: 1,
  114725. $isCallable: 1,
  114726. get$name(receiver) {
  114727. return this.name;
  114728. }
  114729. };
  114730. A.PrefixedMapView0.prototype = {
  114731. get$keys(_) {
  114732. return new A._PrefixedKeys0(this);
  114733. },
  114734. get$length(_) {
  114735. var t1 = this._prefixed_map_view0$_map;
  114736. return t1.get$length(t1);
  114737. },
  114738. get$isEmpty(_) {
  114739. var t1 = this._prefixed_map_view0$_map;
  114740. return t1.get$isEmpty(t1);
  114741. },
  114742. get$isNotEmpty(_) {
  114743. var t1 = this._prefixed_map_view0$_map;
  114744. return t1.get$isNotEmpty(t1);
  114745. },
  114746. $index(_, key) {
  114747. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, B.JSString_methods.substring$1(key, this._prefixed_map_view0$_prefix.length)) : null;
  114748. },
  114749. containsKey$1(key) {
  114750. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(B.JSString_methods.substring$1(key, this._prefixed_map_view0$_prefix.length));
  114751. }
  114752. };
  114753. A._PrefixedKeys0.prototype = {
  114754. get$length(_) {
  114755. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  114756. return t1.get$length(t1);
  114757. },
  114758. get$iterator(_) {
  114759. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  114760. t1 = t1.get$keys(t1);
  114761. t1 = t1.map$1$1(t1, new A._PrefixedKeys_iterator_closure0(this), type$.String);
  114762. return t1.get$iterator(t1);
  114763. },
  114764. contains$1(_, key) {
  114765. return this._prefixed_map_view0$_view.containsKey$1(key);
  114766. }
  114767. };
  114768. A._PrefixedKeys_iterator_closure0.prototype = {
  114769. call$1(key) {
  114770. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  114771. },
  114772. $signature: 6
  114773. };
  114774. A.ProphotoRgbColorSpace0.prototype = {
  114775. get$isBoundedInternal() {
  114776. return true;
  114777. },
  114778. toLinear$1(channel) {
  114779. var abs = Math.abs(channel);
  114780. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  114781. },
  114782. fromLinear$1(channel) {
  114783. var abs = Math.abs(channel);
  114784. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  114785. },
  114786. transformationMatrix$1(dest) {
  114787. var t1;
  114788. $label0$0: {
  114789. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  114790. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  114791. break $label0$0;
  114792. }
  114793. if (B.A98RgbColorSpace_lf20 === dest) {
  114794. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  114795. break $label0$0;
  114796. }
  114797. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  114798. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  114799. break $label0$0;
  114800. }
  114801. if (B.Rec2020ColorSpace_6oo0 === dest) {
  114802. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  114803. break $label0$0;
  114804. }
  114805. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  114806. t1 = $.$get$linearProphotoRgbToXyzD650();
  114807. break $label0$0;
  114808. }
  114809. if (B.XyzD50ColorSpace_2OB0 === dest) {
  114810. t1 = $.$get$linearProphotoRgbToXyzD500();
  114811. break $label0$0;
  114812. }
  114813. if (B.LmsColorSpace_Os30 === dest) {
  114814. t1 = $.$get$linearProphotoRgbToLms0();
  114815. break $label0$0;
  114816. }
  114817. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  114818. break $label0$0;
  114819. }
  114820. return t1;
  114821. }
  114822. };
  114823. A.InterpolatedPseudoSelector.prototype = {
  114824. accept$1$1(visitor) {
  114825. return J.visitPseudoSelector$1$x(visitor._simple_selector$_inner, this);
  114826. },
  114827. accept$1(visitor) {
  114828. return this.accept$1$1(visitor, type$.dynamic);
  114829. },
  114830. toString$0(_) {
  114831. var t2, _1_0, _this = this,
  114832. t1 = _this.isSyntacticClass ? ":" : "::",
  114833. result = t1 + _this.name.toString$0(0);
  114834. t1 = _this.argument;
  114835. t2 = t1 == null;
  114836. if (!t2 || _this.selector != null) {
  114837. result += "(";
  114838. if (!t2) {
  114839. result += t1.toString$0(0);
  114840. if (_this.selector != null)
  114841. result += " ";
  114842. }
  114843. _1_0 = _this.selector;
  114844. result = (_1_0 != null ? result + B.JSArray_methods.join$1(_1_0.components, ", ") : result) + ")";
  114845. }
  114846. return result;
  114847. },
  114848. get$span(receiver) {
  114849. return this.span;
  114850. }
  114851. };
  114852. A.PseudoSelector0.prototype = {
  114853. get$isHostContext() {
  114854. return this.isClass && this.name === "host-context" && this.selector != null;
  114855. },
  114856. get$hasComplicatedSuperselectorSemantics() {
  114857. return !this.isClass || this.selector != null;
  114858. },
  114859. get$specificity() {
  114860. var result, _this = this,
  114861. value = _this._pseudo$__PseudoSelector_specificity_FI;
  114862. if (value === $) {
  114863. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  114864. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  114865. _this._pseudo$__PseudoSelector_specificity_FI = result;
  114866. value = result;
  114867. }
  114868. return value;
  114869. },
  114870. withSelector$1(selector) {
  114871. var _this = this;
  114872. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  114873. },
  114874. addSuffix$1(suffix) {
  114875. var _this = this;
  114876. if (_this.argument != null || _this.selector != null)
  114877. _this.super$SimpleSelector$addSuffix0(suffix);
  114878. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  114879. },
  114880. unify$1(compound) {
  114881. var other, result, t2, addedThis, _i, simple, _this = this,
  114882. t1 = _this.name;
  114883. if (t1 === "host" || t1 === "host-context") {
  114884. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  114885. return null;
  114886. } else {
  114887. t1 = false;
  114888. if (compound.length === 1) {
  114889. other = compound[0];
  114890. if (!(other instanceof A.UniversalSelector0)) {
  114891. if (other instanceof A.PseudoSelector0)
  114892. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  114893. } else
  114894. t1 = true;
  114895. } else
  114896. other = null;
  114897. if (t1)
  114898. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  114899. }
  114900. if (B.JSArray_methods.contains$1(compound, _this))
  114901. return compound;
  114902. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  114903. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  114904. simple = compound[_i];
  114905. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  114906. if (t2)
  114907. return null;
  114908. result.push(_this);
  114909. addedThis = true;
  114910. }
  114911. result.push(simple);
  114912. }
  114913. if (!addedThis)
  114914. result.push(_this);
  114915. return result;
  114916. },
  114917. isSuperselector$1(other) {
  114918. var selector, t1, t2, _this = this;
  114919. if (_this.super$SimpleSelector$isSuperselector0(other))
  114920. return true;
  114921. selector = _this.selector;
  114922. if (selector == null)
  114923. return _this.$eq(0, other);
  114924. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  114925. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  114926. return t1 == null ? false : t1;
  114927. }
  114928. t1 = type$.JSArray_SimpleSelector_2;
  114929. t2 = _this.span;
  114930. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  114931. },
  114932. accept$1$1(visitor) {
  114933. return visitor.visitPseudoSelector$1(0, this);
  114934. },
  114935. accept$1(visitor) {
  114936. return this.accept$1$1(visitor, type$.dynamic);
  114937. },
  114938. $eq(_, other) {
  114939. var _this = this;
  114940. if (other == null)
  114941. return false;
  114942. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  114943. },
  114944. get$hashCode(_) {
  114945. var _this = this,
  114946. t1 = B.JSString_methods.get$hashCode(_this.name),
  114947. t2 = !_this.isClass ? 519018 : 218159;
  114948. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  114949. }
  114950. };
  114951. A.PseudoSelector_specificity_closure0.prototype = {
  114952. call$0() {
  114953. var selector, t2,
  114954. t1 = this.$this;
  114955. if (!t1.isClass)
  114956. return 1;
  114957. selector = t1.selector;
  114958. if (selector == null)
  114959. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114960. switch (t1.normalizedName) {
  114961. case "where":
  114962. return 0;
  114963. case "is":
  114964. case "not":
  114965. case "has":
  114966. case "matches":
  114967. t1 = selector.components;
  114968. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  114969. case "nth-child":
  114970. case "nth-last-child":
  114971. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  114972. t2 = selector.components;
  114973. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  114974. default:
  114975. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114976. }
  114977. },
  114978. $signature: 10
  114979. };
  114980. A.PseudoSelector_specificity__closure1.prototype = {
  114981. call$1(component) {
  114982. return component.get$specificity();
  114983. },
  114984. $signature: 228
  114985. };
  114986. A.PseudoSelector_specificity__closure2.prototype = {
  114987. call$1(component) {
  114988. return component.get$specificity();
  114989. },
  114990. $signature: 228
  114991. };
  114992. A.PseudoSelector_unify_closure0.prototype = {
  114993. call$1(simple) {
  114994. var t1;
  114995. if (simple instanceof A.PseudoSelector0)
  114996. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  114997. else
  114998. t1 = false;
  114999. return t1;
  115000. },
  115001. $signature: 14
  115002. };
  115003. A.PublicMemberMapView0.prototype = {
  115004. get$keys(_) {
  115005. var t1 = this._public_member_map_view0$_inner;
  115006. t1 = t1.get$keys(t1);
  115007. return t1.where$1(t1, A.utils1__isPublic$closure());
  115008. },
  115009. containsKey$1(key) {
  115010. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  115011. },
  115012. $index(_, key) {
  115013. if (typeof key == "string" && A.isPublic0(key))
  115014. return this._public_member_map_view0$_inner.$index(0, key);
  115015. return null;
  115016. }
  115017. };
  115018. A.InterpolatedQualifiedName.prototype = {
  115019. toString$0(_) {
  115020. var t1,
  115021. _0_0 = this.namespace;
  115022. $label0$0: {
  115023. if (_0_0 != null) {
  115024. t1 = _0_0.toString$0(0) + "|" + this.name.toString$0(0);
  115025. break $label0$0;
  115026. }
  115027. t1 = this.name.toString$0(0);
  115028. break $label0$0;
  115029. }
  115030. return t1;
  115031. },
  115032. $isAstNode0: 1,
  115033. $isSassNode: 1,
  115034. get$span(receiver) {
  115035. return this.span;
  115036. }
  115037. };
  115038. A.QualifiedName0.prototype = {
  115039. $eq(_, other) {
  115040. if (other == null)
  115041. return false;
  115042. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  115043. },
  115044. get$hashCode(_) {
  115045. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  115046. },
  115047. toString$0(_) {
  115048. var t1 = this.namespace,
  115049. t2 = this.name;
  115050. return t1 == null ? t2 : t1 + "|" + t2;
  115051. }
  115052. };
  115053. A.Rec2020ColorSpace0.prototype = {
  115054. get$isBoundedInternal() {
  115055. return true;
  115056. },
  115057. toLinear$1(channel) {
  115058. var abs = Math.abs(channel);
  115059. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  115060. },
  115061. fromLinear$1(channel) {
  115062. var abs = Math.abs(channel);
  115063. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  115064. },
  115065. transformationMatrix$1(dest) {
  115066. var t1;
  115067. $label0$0: {
  115068. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  115069. t1 = $.$get$linearRec2020ToLinearSrgb0();
  115070. break $label0$0;
  115071. }
  115072. if (B.A98RgbColorSpace_lf20 === dest) {
  115073. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  115074. break $label0$0;
  115075. }
  115076. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  115077. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  115078. break $label0$0;
  115079. }
  115080. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  115081. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  115082. break $label0$0;
  115083. }
  115084. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  115085. t1 = $.$get$linearRec2020ToXyzD650();
  115086. break $label0$0;
  115087. }
  115088. if (B.XyzD50ColorSpace_2OB0 === dest) {
  115089. t1 = $.$get$linearRec2020ToXyzD500();
  115090. break $label0$0;
  115091. }
  115092. if (B.LmsColorSpace_Os30 === dest) {
  115093. t1 = $.$get$linearRec2020ToLms0();
  115094. break $label0$0;
  115095. }
  115096. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  115097. break $label0$0;
  115098. }
  115099. return t1;
  115100. }
  115101. };
  115102. A.JSClass0.prototype = {};
  115103. A.JSClassExtension_setCustomInspect_closure.prototype = {
  115104. call$4($self, _, __, ___) {
  115105. return this.inspect.call$1($self);
  115106. },
  115107. call$3($self, _, __) {
  115108. return this.call$4($self, _, __, null);
  115109. },
  115110. "call*": "call$4",
  115111. $requiredArgCount: 3,
  115112. $defaultValues() {
  115113. return [null];
  115114. },
  115115. $signature: 572
  115116. };
  115117. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  115118. call$2($name, body) {
  115119. this._this[$name] = A.allowInteropNamed($name, body);
  115120. return null;
  115121. },
  115122. $signature: 135
  115123. };
  115124. A.JSClassExtension_get_defineMethod_closure.prototype = {
  115125. call$2($name, body) {
  115126. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  115127. return null;
  115128. },
  115129. $signature: 135
  115130. };
  115131. A.JSClassExtension_get_defineGetter_closure.prototype = {
  115132. call$2($name, body) {
  115133. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  115134. return null;
  115135. },
  115136. $signature: 135
  115137. };
  115138. A.RenderContext0.prototype = {};
  115139. A.RenderContextOptions0.prototype = {};
  115140. A.RenderContextResult0.prototype = {};
  115141. A.RenderContextResultStats0.prototype = {};
  115142. A.RenderOptions.prototype = {};
  115143. A.RenderResult.prototype = {};
  115144. A.RenderResultStats.prototype = {};
  115145. A.ReplaceExpressionVisitor0.prototype = {
  115146. visitBinaryOperationExpression$1(_, node) {
  115147. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  115148. },
  115149. visitBooleanExpression$1(_, node) {
  115150. return node;
  115151. },
  115152. visitColorExpression$1(_, node) {
  115153. return node;
  115154. },
  115155. visitFunctionExpression$1(_, node) {
  115156. var t1 = node.originalName,
  115157. t2 = this.visitArgumentList$1(node.$arguments);
  115158. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  115159. },
  115160. visitInterpolatedFunctionExpression$1(_, node) {
  115161. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  115162. },
  115163. visitIfExpression$1(_, node) {
  115164. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  115165. },
  115166. visitListExpression$1(_, node) {
  115167. var t1 = node.contents;
  115168. return new A.ListExpression0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), type$.Expression_2), node.separator, node.hasBrackets, node.span);
  115169. },
  115170. visitMapExpression$1(_, node) {
  115171. var t2, t3, _i, t4,
  115172. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  115173. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  115174. t4 = t2[_i];
  115175. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  115176. }
  115177. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  115178. },
  115179. visitNullExpression$1(_, node) {
  115180. return node;
  115181. },
  115182. visitNumberExpression$1(_, node) {
  115183. return node;
  115184. },
  115185. visitParenthesizedExpression$1(_, node) {
  115186. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  115187. },
  115188. visitSelectorExpression$1(_, node) {
  115189. return node;
  115190. },
  115191. visitStringExpression$1(_, node) {
  115192. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  115193. },
  115194. visitSupportsExpression$1(_, node) {
  115195. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  115196. },
  115197. visitUnaryOperationExpression$1(_, node) {
  115198. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  115199. },
  115200. visitValueExpression$1(_, node) {
  115201. return node;
  115202. },
  115203. visitVariableExpression$1(_, node) {
  115204. return node;
  115205. },
  115206. visitArgumentList$1(invocation) {
  115207. var t5, t6, _this = this,
  115208. t1 = invocation.positional,
  115209. t2 = type$.String,
  115210. t3 = type$.Expression_2,
  115211. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  115212. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  115213. t6 = t5.get$current(t5);
  115214. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  115215. }
  115216. t5 = invocation.rest;
  115217. t5 = t5 == null ? null : t5.accept$1(_this);
  115218. t6 = invocation.keywordRest;
  115219. t6 = t6 == null ? null : t6.accept$1(_this);
  115220. return new A.ArgumentList0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentList_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  115221. },
  115222. visitSupportsCondition$1(condition) {
  115223. var _this = this;
  115224. if (condition instanceof A.SupportsOperation0)
  115225. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  115226. else if (condition instanceof A.SupportsNegation0)
  115227. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  115228. else if (condition instanceof A.SupportsInterpolation0)
  115229. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  115230. else if (condition instanceof A.SupportsDeclaration0)
  115231. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  115232. else
  115233. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  115234. },
  115235. visitInterpolation$1(interpolation) {
  115236. var t1 = interpolation.contents;
  115237. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.spans, interpolation.span);
  115238. }
  115239. };
  115240. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  115241. call$1(item) {
  115242. return item.accept$1(this.$this);
  115243. },
  115244. $signature: 227
  115245. };
  115246. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  115247. call$1(expression) {
  115248. return expression.accept$1(this.$this);
  115249. },
  115250. $signature: 227
  115251. };
  115252. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  115253. call$1(node) {
  115254. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  115255. },
  115256. $signature: 72
  115257. };
  115258. A.ImporterResult0.prototype = {
  115259. get$sourceMapUrl(_) {
  115260. var t1 = this._result$_sourceMapUrl;
  115261. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  115262. }
  115263. };
  115264. A.ReturnRule0.prototype = {
  115265. accept$1$1(visitor) {
  115266. return visitor.visitReturnRule$1(0, this);
  115267. },
  115268. accept$1(visitor) {
  115269. return this.accept$1$1(visitor, type$.dynamic);
  115270. },
  115271. toString$0(_) {
  115272. return "@return " + this.expression.toString$0(0) + ";";
  115273. },
  115274. get$span(receiver) {
  115275. return this.span;
  115276. }
  115277. };
  115278. A.RgbColorSpace0.prototype = {
  115279. get$isBoundedInternal() {
  115280. return true;
  115281. },
  115282. get$isLegacyInternal() {
  115283. return true;
  115284. },
  115285. convert$5(dest, red, green, blue, alpha) {
  115286. var t1 = red == null ? null : red / 255,
  115287. t2 = green == null ? null : green / 255;
  115288. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  115289. },
  115290. toLinear$1(channel) {
  115291. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  115292. },
  115293. fromLinear$1(channel) {
  115294. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  115295. }
  115296. };
  115297. A.SassParser0.prototype = {
  115298. get$currentIndentation() {
  115299. return this._sass0$_currentIndentation;
  115300. },
  115301. get$indented() {
  115302. return true;
  115303. },
  115304. styleRuleSelector$0() {
  115305. var t4, _this = this,
  115306. t1 = _this.scanner,
  115307. t2 = t1._string_scanner$_position,
  115308. t3 = new A.StringBuffer(""),
  115309. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  115310. do {
  115311. buffer.addInterpolation$1(_this.almostAnyValue$1$omitComments(true));
  115312. t4 = A.Primitives_stringFromCharCode(10);
  115313. t4 = t3._contents += t4;
  115314. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && _this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure0()));
  115315. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115316. },
  115317. expectStatementSeparator$1($name) {
  115318. var t1, _this = this,
  115319. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  115320. if (!_this.atEndOfStatement$0())
  115321. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  115322. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  115323. return;
  115324. t1 = $name == null ? "here" : "beneath a " + $name;
  115325. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  115326. },
  115327. expectStatementSeparator$0() {
  115328. return this.expectStatementSeparator$1(null);
  115329. },
  115330. atEndOfStatement$0() {
  115331. var t1 = this.scanner.peekChar$0();
  115332. if (t1 == null)
  115333. t1 = null;
  115334. else
  115335. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  115336. return t1 !== false;
  115337. },
  115338. lookingAtChildren$0() {
  115339. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  115340. },
  115341. importArgument$0() {
  115342. var url, span, innerError, stackTrace, t1, _0_0, start, t2, next, t3, exception, _this = this;
  115343. $label0$0: {
  115344. t1 = _this.scanner;
  115345. _0_0 = t1.peekChar$0();
  115346. if (117 === _0_0 || 85 === _0_0) {
  115347. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115348. if (_this.scanIdentifier$1("url"))
  115349. if (t1.scanChar$1(40)) {
  115350. t1.set$state(start);
  115351. return _this.super$StylesheetParser$importArgument0();
  115352. } else
  115353. t1.set$state(start);
  115354. break $label0$0;
  115355. }
  115356. if (39 === _0_0 || 34 === _0_0)
  115357. return _this.super$StylesheetParser$importArgument0();
  115358. }
  115359. t2 = t1._string_scanner$_position;
  115360. next = t1.peekChar$0();
  115361. for (;;) {
  115362. t3 = false;
  115363. if (next != null)
  115364. if (next !== 44)
  115365. if (next !== 59)
  115366. t3 = !(next === 10 || next === 13 || next === 12);
  115367. if (!t3)
  115368. break;
  115369. t1.readChar$0();
  115370. next = t1.peekChar$0();
  115371. }
  115372. url = t1.substring$1(0, t2);
  115373. span = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115374. if (_this.isPlainImportUrl$1(url))
  115375. return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.Object), B.List_null, span), null, span);
  115376. else
  115377. try {
  115378. t1 = _this.parseImportUrl$1(url);
  115379. return new A.DynamicImport0(t1, span);
  115380. } catch (exception) {
  115381. t1 = A.unwrapException(exception);
  115382. if (type$.FormatException._is(t1)) {
  115383. innerError = t1;
  115384. stackTrace = A.getTraceFromException(exception);
  115385. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  115386. } else
  115387. throw exception;
  115388. }
  115389. },
  115390. scanElse$1(ifIndentation) {
  115391. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  115392. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  115393. return false;
  115394. t1 = _this.scanner;
  115395. t2 = t1._string_scanner$_position;
  115396. startIndentation = _this._sass0$_currentIndentation;
  115397. startNextIndentation = _this._sass0$_nextIndentation;
  115398. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  115399. _this._sass0$_readIndentation$0();
  115400. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  115401. return true;
  115402. t1.set$state(new A._SpanScannerState(t1, t2));
  115403. _this._sass0$_currentIndentation = startIndentation;
  115404. _this._sass0$_nextIndentation = startNextIndentation;
  115405. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  115406. return false;
  115407. },
  115408. children$1(_, child) {
  115409. var children = A._setArrayType([], type$.JSArray_Statement_2);
  115410. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  115411. return children;
  115412. },
  115413. statements$1(statement) {
  115414. var statements, t2, _1_0,
  115415. t1 = this.scanner,
  115416. _0_0 = t1.peekChar$0();
  115417. if (9 === _0_0 || 32 === _0_0)
  115418. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  115419. statements = A._setArrayType([], type$.JSArray_Statement_2);
  115420. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  115421. _1_0 = this._sass0$_child$1(statement);
  115422. if (_1_0 != null)
  115423. statements.push(_1_0);
  115424. this._sass0$_readIndentation$0();
  115425. }
  115426. return statements;
  115427. },
  115428. _sass0$_child$1(child) {
  115429. var _0_0, _this = this,
  115430. t1 = _this.scanner,
  115431. _1_0 = t1.peekChar$0();
  115432. $label0$0: {
  115433. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  115434. t1 = null;
  115435. break $label0$0;
  115436. }
  115437. if (36 === _1_0) {
  115438. t1 = _this.variableDeclarationWithoutNamespace$0();
  115439. break $label0$0;
  115440. }
  115441. if (47 === _1_0) {
  115442. _0_0 = t1.peekChar$1(1);
  115443. $label1$1: {
  115444. if (47 === _0_0) {
  115445. t1 = _this._sass0$_silentComment$0();
  115446. break $label1$1;
  115447. }
  115448. if (42 === _0_0) {
  115449. t1 = _this._sass0$_loudComment$0();
  115450. break $label1$1;
  115451. }
  115452. t1 = child.call$0();
  115453. break $label1$1;
  115454. }
  115455. break $label0$0;
  115456. }
  115457. t1 = child.call$0();
  115458. break $label0$0;
  115459. }
  115460. return t1;
  115461. },
  115462. _sass0$_silentComment$0() {
  115463. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  115464. t1 = _this.scanner,
  115465. t2 = t1._string_scanner$_position;
  115466. t1.expect$1("//");
  115467. buffer = new A.StringBuffer("");
  115468. parentIndentation = _this._sass0$_currentIndentation;
  115469. t3 = t1.string.length;
  115470. t4 = 1 + parentIndentation;
  115471. t5 = 2 + parentIndentation;
  115472. $label0$0:
  115473. do {
  115474. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  115475. for (i = commentPrefix.length;;) {
  115476. t6 = buffer._contents += commentPrefix;
  115477. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  115478. t6 += A.Primitives_stringFromCharCode(32);
  115479. buffer._contents = t6;
  115480. }
  115481. for (;;) {
  115482. if (t1._string_scanner$_position !== t3) {
  115483. t7 = t1.peekChar$0();
  115484. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  115485. } else
  115486. t7 = false;
  115487. if (!t7)
  115488. break;
  115489. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115490. buffer._contents = t6;
  115491. }
  115492. buffer._contents = t6 + "\n";
  115493. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  115494. break $label0$0;
  115495. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  115496. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  115497. _this._sass0$_readIndentation$0();
  115498. break;
  115499. }
  115500. _this._sass0$_readIndentation$0();
  115501. }
  115502. } while (t1.scan$1("//"));
  115503. t3 = buffer._contents;
  115504. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115505. },
  115506. _sass0$_loudComment$0() {
  115507. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, span, _this = this,
  115508. t1 = _this.scanner,
  115509. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115510. t1.expect$1("/*");
  115511. t2 = new A.StringBuffer("");
  115512. t3 = A._setArrayType([], type$.JSArray_Object);
  115513. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  115514. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  115515. t2._contents = "/*";
  115516. parentIndentation = _this._sass0$_currentIndentation;
  115517. for (t5 = t1.string, t6 = t5.length, first = true;; first = false) {
  115518. if (first) {
  115519. beginningOfComment = t1._string_scanner$_position;
  115520. _this.spaces$0();
  115521. t7 = t1.peekChar$0();
  115522. if (t7 === 10 || t7 === 13 || t7 === 12) {
  115523. _this._sass0$_readIndentation$0();
  115524. t7 = A.Primitives_stringFromCharCode(32);
  115525. t2._contents += t7;
  115526. } else {
  115527. end = t1._string_scanner$_position;
  115528. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  115529. }
  115530. } else
  115531. t2._contents = (t2._contents += "\n") + " * ";
  115532. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  115533. t7 = A.Primitives_stringFromCharCode(32);
  115534. t2._contents += t7;
  115535. }
  115536. while (t1._string_scanner$_position !== t6) {
  115537. _1_0 = t1.peekChar$0();
  115538. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  115539. break;
  115540. if (35 === _1_0) {
  115541. if (t1.peekChar$1(1) === 123) {
  115542. _0_0 = _this.singleInterpolation$0();
  115543. buffer._interpolation_buffer0$_flushText$0();
  115544. t3.push(_0_0._0);
  115545. t4.push(_0_0._1);
  115546. } else {
  115547. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115548. t2._contents += t7;
  115549. }
  115550. continue;
  115551. }
  115552. if (42 === _1_0) {
  115553. if (t1.peekChar$1(1) === 47) {
  115554. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115555. t2._contents += t3;
  115556. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115557. t2._contents += t3;
  115558. span = _this.spanFrom$1(start);
  115559. _this.whitespace$1$consumeNewlines(false);
  115560. for (;;) {
  115561. t2 = t1.peekChar$0();
  115562. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  115563. break;
  115564. while (_this._sass0$_lookingAtDoubleNewline$0())
  115565. _this._sass0$_expectNewline$0();
  115566. _this._sass0$_readIndentation$0();
  115567. _this.whitespace$1$consumeNewlines(false);
  115568. }
  115569. if (t1._string_scanner$_position !== t6) {
  115570. t2 = t1.peekChar$0();
  115571. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  115572. } else
  115573. t2 = false;
  115574. if (t2) {
  115575. t2 = t1._string_scanner$_position;
  115576. for (;;) {
  115577. if (t1._string_scanner$_position !== t6) {
  115578. t3 = t1.peekChar$0();
  115579. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  115580. } else
  115581. t3 = false;
  115582. if (!t3)
  115583. break;
  115584. t1.readChar$0();
  115585. }
  115586. throw A.wrapException(A.MultiSpanSassFormatException$0("Unexpected text after end of comment", _this.spanFrom$1(new A._SpanScannerState(t1, t2)), "extra text", A.LinkedHashMap_LinkedHashMap$_literal([span, "comment"], type$.FileSpan, type$.String), null));
  115587. } else
  115588. return new A.LoudComment0(buffer.interpolation$1(span));
  115589. } else {
  115590. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115591. t2._contents += t7;
  115592. }
  115593. continue;
  115594. }
  115595. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115596. t2._contents += t7;
  115597. }
  115598. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  115599. break;
  115600. while (_this._sass0$_lookingAtDoubleNewline$0()) {
  115601. _this._sass0$_expectNewline$0();
  115602. t2._contents = (t2._contents += "\n") + " *";
  115603. }
  115604. _this._sass0$_readIndentation$0();
  115605. }
  115606. return new A.LoudComment0(buffer.interpolation$1(_this.spanFrom$1(start)));
  115607. },
  115608. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  115609. var t1, t2, next, t3;
  115610. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  115611. next = t1.peekChar$0();
  115612. if (consumeNewlines)
  115613. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  115614. else
  115615. t3 = !(next === 32 || next === 9);
  115616. if (t3)
  115617. break;
  115618. t1.readChar$0();
  115619. }
  115620. },
  115621. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  115622. var t1 = this.scanner,
  115623. _0_0 = t1.peekChar$0();
  115624. if (13 === _0_0) {
  115625. t1.readChar$0();
  115626. if (t1.peekChar$0() === 10)
  115627. t1.readChar$0();
  115628. return;
  115629. }
  115630. if (10 === _0_0 || 12 === _0_0) {
  115631. t1.readChar$0();
  115632. return;
  115633. }
  115634. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  115635. },
  115636. _sass0$_expectNewline$0() {
  115637. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  115638. },
  115639. _sass0$_lookingAtDoubleNewline$0() {
  115640. var t2, _0_0,
  115641. t1 = this.scanner,
  115642. _1_0 = t1.peekChar$0();
  115643. $label1$1: {
  115644. t2 = false;
  115645. if (13 === _1_0) {
  115646. _0_0 = t1.peekChar$1(1);
  115647. $label0$0: {
  115648. if (10 === _0_0) {
  115649. t1 = t1.peekChar$1(2);
  115650. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  115651. break $label0$0;
  115652. }
  115653. if (13 === _0_0 || 12 === _0_0) {
  115654. t1 = true;
  115655. break $label0$0;
  115656. }
  115657. t1 = t2;
  115658. break $label0$0;
  115659. }
  115660. break $label1$1;
  115661. }
  115662. if (10 === _1_0 || 12 === _1_0) {
  115663. t1 = t1.peekChar$1(1);
  115664. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  115665. break $label1$1;
  115666. }
  115667. t1 = t2;
  115668. break $label1$1;
  115669. }
  115670. return t1;
  115671. },
  115672. _sass0$_whileIndentedLower$1(body) {
  115673. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  115674. parentIndentation = _this._sass0$_currentIndentation;
  115675. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  115676. indentation = _this._sass0$_readIndentation$0();
  115677. if (childIndentation == null)
  115678. childIndentation = indentation;
  115679. if (childIndentation !== indentation) {
  115680. t3 = t1._string_scanner$_position;
  115681. t4 = t2.getColumn$1(t3);
  115682. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  115683. }
  115684. body.call$0();
  115685. }
  115686. },
  115687. _sass0$_readIndentation$0() {
  115688. var t1, _this = this,
  115689. currentIndentation = _this._sass0$_nextIndentation;
  115690. if (currentIndentation == null)
  115691. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  115692. _this._sass0$_currentIndentation = currentIndentation;
  115693. t1 = _this._sass0$_nextIndentationEnd;
  115694. t1.toString;
  115695. _this.scanner.set$state(t1);
  115696. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  115697. return currentIndentation;
  115698. },
  115699. _sass0$_peekIndentation$0() {
  115700. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  115701. _0_0 = _this._sass0$_nextIndentation;
  115702. if (_0_0 != null)
  115703. return _0_0;
  115704. t1 = _this.scanner;
  115705. t2 = t1._string_scanner$_position;
  115706. t3 = t1.string.length;
  115707. if (t2 === t3) {
  115708. _this._sass0$_nextIndentation = 0;
  115709. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  115710. return 0;
  115711. }
  115712. start = new A._SpanScannerState(t1, t2);
  115713. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  115714. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  115715. containsTab = A._Cell$();
  115716. containsSpace = A._Cell$();
  115717. nextIndentation = A._Cell$();
  115718. do {
  115719. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  115720. nextIndentation.__late_helper$_value = 0;
  115721. for (;;) {
  115722. $label0$0: {
  115723. _1_0 = t1.peekChar$0();
  115724. if (32 === _1_0) {
  115725. containsSpace.__late_helper$_value = true;
  115726. break $label0$0;
  115727. }
  115728. if (9 === _1_0) {
  115729. containsTab.__late_helper$_value = true;
  115730. break $label0$0;
  115731. }
  115732. break;
  115733. }
  115734. t2 = nextIndentation.__late_helper$_value;
  115735. if (t2 === nextIndentation)
  115736. A.throwExpression(A.LateError$localNI(""));
  115737. nextIndentation.__late_helper$_value = t2 + 1;
  115738. t1.readChar$0();
  115739. }
  115740. t2 = t1._string_scanner$_position;
  115741. if (t2 === t3) {
  115742. _this._sass0$_nextIndentation = 0;
  115743. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  115744. t1.set$state(start);
  115745. return 0;
  115746. }
  115747. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  115748. t2 = containsTab._readLocal$0();
  115749. t3 = containsSpace._readLocal$0();
  115750. if (t2) {
  115751. if (t3) {
  115752. t2 = t1._string_scanner$_position;
  115753. t3 = t1._sourceFile;
  115754. t4 = t3.getColumn$1(t2);
  115755. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115756. } else if (_this._sass0$_spaces === true) {
  115757. t2 = t1._string_scanner$_position;
  115758. t3 = t1._sourceFile;
  115759. t4 = t3.getColumn$1(t2);
  115760. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115761. }
  115762. } else if (t3 && _this._sass0$_spaces === false) {
  115763. t2 = t1._string_scanner$_position;
  115764. t3 = t1._sourceFile;
  115765. t4 = t3.getColumn$1(t2);
  115766. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115767. }
  115768. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  115769. if (nextIndentation._readLocal$0() > 0)
  115770. if (_this._sass0$_spaces == null)
  115771. _this._sass0$_spaces = containsSpace._readLocal$0();
  115772. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115773. t1.set$state(start);
  115774. return nextIndentation._readLocal$0();
  115775. },
  115776. _sass0$_tryTrailingSemicolon$0() {
  115777. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  115778. this.whitespace$1$consumeNewlines(false);
  115779. return true;
  115780. }
  115781. return false;
  115782. }
  115783. };
  115784. A.SassParser_styleRuleSelector_closure0.prototype = {
  115785. call$1(char) {
  115786. return char === 10 || char === 13 || char === 12;
  115787. },
  115788. $signature: 32
  115789. };
  115790. A.SassParser_children_closure0.prototype = {
  115791. call$0() {
  115792. var _0_0 = this.$this._sass0$_child$1(this.child);
  115793. if (_0_0 != null)
  115794. this.children.push(_0_0);
  115795. },
  115796. $signature: 0
  115797. };
  115798. A.SassParser__peekIndentation_closure1.prototype = {
  115799. call$1(char) {
  115800. return char === 10 || char === 13 || char === 12;
  115801. },
  115802. $signature: 32
  115803. };
  115804. A.SassParser__peekIndentation_closure2.prototype = {
  115805. call$1(char) {
  115806. return char === 10 || char === 13 || char === 12;
  115807. },
  115808. $signature: 32
  115809. };
  115810. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  115811. call$1(char) {
  115812. return char === 59;
  115813. },
  115814. $signature: 32
  115815. };
  115816. A._Exports.prototype = {};
  115817. A._wrapMain_closure.prototype = {
  115818. call$1(_) {
  115819. return A._translateReturnValue(this.main.call$0());
  115820. },
  115821. $signature: 95
  115822. };
  115823. A._wrapMain_closure0.prototype = {
  115824. call$1(args) {
  115825. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  115826. },
  115827. $signature: 95
  115828. };
  115829. A.ScssParser0.prototype = {
  115830. get$indented() {
  115831. return false;
  115832. },
  115833. get$currentIndentation() {
  115834. return 0;
  115835. },
  115836. styleRuleSelector$0() {
  115837. return this.almostAnyValue$0();
  115838. },
  115839. expectStatementSeparator$1($name) {
  115840. var t1, _0_0;
  115841. this.whitespaceWithoutComments$1$consumeNewlines(true);
  115842. t1 = this.scanner;
  115843. if (t1._string_scanner$_position === t1.string.length)
  115844. return;
  115845. _0_0 = t1.peekChar$0();
  115846. if (59 === _0_0 || 125 === _0_0)
  115847. return;
  115848. t1.expectChar$1(59);
  115849. },
  115850. expectStatementSeparator$0() {
  115851. return this.expectStatementSeparator$1(null);
  115852. },
  115853. atEndOfStatement$0() {
  115854. var next = this.scanner.peekChar$0();
  115855. return next == null || next === 59 || next === 125 || next === 123;
  115856. },
  115857. lookingAtChildren$0() {
  115858. return this.scanner.peekChar$0() === 123;
  115859. },
  115860. scanElse$1(ifIndentation) {
  115861. var t3, _this = this,
  115862. t1 = _this.scanner,
  115863. t2 = t1._string_scanner$_position;
  115864. _this.whitespace$1$consumeNewlines(true);
  115865. t3 = t1._string_scanner$_position;
  115866. if (t1.scanChar$1(64)) {
  115867. if (_this.scanIdentifier$2$caseSensitive("else", true))
  115868. return true;
  115869. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  115870. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_VUl, string$.x40elsei, _this.spanFrom$1(new A._SpanScannerState(t1, t3))));
  115871. t1.set$position(t1._string_scanner$_position - 2);
  115872. return true;
  115873. }
  115874. }
  115875. t1.set$state(new A._SpanScannerState(t1, t2));
  115876. return false;
  115877. },
  115878. children$1(_, child) {
  115879. var children, _this = this,
  115880. t1 = _this.scanner;
  115881. t1.expectChar$1(123);
  115882. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115883. children = A._setArrayType([], type$.JSArray_Statement_2);
  115884. for (;;)
  115885. switch (t1.peekChar$0()) {
  115886. case 36:
  115887. children.push(_this.variableDeclarationWithoutNamespace$0());
  115888. break;
  115889. case 47:
  115890. switch (t1.peekChar$1(1)) {
  115891. case 47:
  115892. children.push(_this._scss0$_silentComment$0());
  115893. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115894. break;
  115895. case 42:
  115896. children.push(_this._scss0$_loudComment$0());
  115897. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115898. break;
  115899. default:
  115900. children.push(child.call$0());
  115901. }
  115902. break;
  115903. case 59:
  115904. t1.readChar$0();
  115905. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115906. break;
  115907. case 125:
  115908. t1.expectChar$1(125);
  115909. return children;
  115910. default:
  115911. children.push(child.call$0());
  115912. }
  115913. },
  115914. statements$1(statement) {
  115915. var t1, t2, _0_0, _1_0, _this = this,
  115916. statements = A._setArrayType([], type$.JSArray_Statement_2);
  115917. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115918. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  115919. switch (t1.peekChar$0()) {
  115920. case 36:
  115921. statements.push(_this.variableDeclarationWithoutNamespace$0());
  115922. break;
  115923. case 47:
  115924. switch (t1.peekChar$1(1)) {
  115925. case 47:
  115926. statements.push(_this._scss0$_silentComment$0());
  115927. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115928. break;
  115929. case 42:
  115930. statements.push(_this._scss0$_loudComment$0());
  115931. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115932. break;
  115933. default:
  115934. _0_0 = statement.call$0();
  115935. if (_0_0 != null)
  115936. statements.push(_0_0);
  115937. }
  115938. break;
  115939. case 59:
  115940. t1.readChar$0();
  115941. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115942. break;
  115943. default:
  115944. _1_0 = statement.call$0();
  115945. if (_1_0 != null)
  115946. statements.push(_1_0);
  115947. }
  115948. return statements;
  115949. },
  115950. _scss0$_silentComment$0() {
  115951. var t3, t4, _this = this,
  115952. t1 = _this.scanner,
  115953. t2 = t1._string_scanner$_position,
  115954. start = new A._SpanScannerState(t1, t2);
  115955. t1.expect$1("//");
  115956. t3 = t1.string.length;
  115957. do {
  115958. for (;;) {
  115959. if (t1._string_scanner$_position !== t3) {
  115960. t4 = t1.readChar$0();
  115961. t4 = !(t4 === 10 || t4 === 13 || t4 === 12);
  115962. } else
  115963. t4 = false;
  115964. if (!t4)
  115965. break;
  115966. }
  115967. if (t1._string_scanner$_position === t3)
  115968. break;
  115969. _this.spaces$0();
  115970. } while (t1.scan$1("//"));
  115971. if (_this.get$plainCss())
  115972. _this.error$2(0, string$.Silent, _this.spanFrom$1(start));
  115973. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, t2), _this.spanFrom$1(start));
  115974. },
  115975. _scss0$_loudComment$0() {
  115976. var t3, t4, t5, buffer, _0_0, t6,
  115977. t1 = this.scanner,
  115978. t2 = t1._string_scanner$_position;
  115979. t1.expect$1("/*");
  115980. t3 = new A.StringBuffer("");
  115981. t4 = A._setArrayType([], type$.JSArray_Object);
  115982. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  115983. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  115984. t3._contents = "/*";
  115985. $label0$1:
  115986. for (;;)
  115987. switch (t1.peekChar$0()) {
  115988. case 35:
  115989. if (t1.peekChar$1(1) === 123) {
  115990. _0_0 = this.singleInterpolation$0();
  115991. buffer._interpolation_buffer0$_flushText$0();
  115992. t4.push(_0_0._0);
  115993. t5.push(_0_0._1);
  115994. } else {
  115995. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115996. t3._contents += t6;
  115997. }
  115998. break;
  115999. case 42:
  116000. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  116001. t3._contents += t6;
  116002. if (t1.peekChar$0() !== 47)
  116003. continue $label0$1;
  116004. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  116005. t3._contents += t4;
  116006. return new A.LoudComment0(buffer.interpolation$1(this.spanFrom$1(new A._SpanScannerState(t1, t2))));
  116007. case 13:
  116008. t1.readChar$0();
  116009. if (t1.peekChar$0() !== 10) {
  116010. t6 = A.Primitives_stringFromCharCode(10);
  116011. t3._contents += t6;
  116012. }
  116013. break;
  116014. case 12:
  116015. t1.readChar$0();
  116016. t6 = A.Primitives_stringFromCharCode(10);
  116017. t3._contents += t6;
  116018. break;
  116019. default:
  116020. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  116021. t3._contents += t6;
  116022. }
  116023. }
  116024. };
  116025. A.Selector0.prototype = {
  116026. assertNotBogus$1$name($name) {
  116027. if (!this.accept$1(B._IsBogusVisitor_true0))
  116028. return;
  116029. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_2PR);
  116030. },
  116031. toString$0(_) {
  116032. var _null = null,
  116033. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  116034. this.accept$1(visitor);
  116035. return visitor._serialize0$_buffer.toString$0(0);
  116036. },
  116037. $isAstNode0: 1,
  116038. get$span(receiver) {
  116039. return this.span;
  116040. }
  116041. };
  116042. A._IsInvisibleVisitor2.prototype = {
  116043. visitSelectorList$1(list) {
  116044. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  116045. },
  116046. visitComplexSelector$1(complex) {
  116047. var t1;
  116048. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  116049. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  116050. else
  116051. t1 = true;
  116052. return t1;
  116053. },
  116054. visitPlaceholderSelector$1(_, placeholder) {
  116055. return true;
  116056. },
  116057. visitPseudoSelector$1(_, pseudo) {
  116058. var t1,
  116059. _0_0 = pseudo.selector;
  116060. if (_0_0 != null) {
  116061. if (pseudo.name === "not")
  116062. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  116063. else
  116064. t1 = this.visitSelectorList$1(_0_0);
  116065. return t1;
  116066. } else
  116067. return false;
  116068. }
  116069. };
  116070. A._IsBogusVisitor0.prototype = {
  116071. visitComplexSelector$1(complex) {
  116072. var t2,
  116073. t1 = complex.components;
  116074. if (t1.length === 0)
  116075. return complex.leadingCombinators.length !== 0;
  116076. else {
  116077. t2 = this.includeLeadingCombinator ? 0 : 1;
  116078. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure0(this));
  116079. }
  116080. },
  116081. visitPseudoSelector$1(_, pseudo) {
  116082. var selector = pseudo.selector;
  116083. if (selector == null)
  116084. return false;
  116085. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  116086. }
  116087. };
  116088. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  116089. call$1(component) {
  116090. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  116091. },
  116092. $signature: 53
  116093. };
  116094. A._IsUselessVisitor0.prototype = {
  116095. visitComplexSelector$1(complex) {
  116096. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  116097. },
  116098. visitPseudoSelector$1(_, pseudo) {
  116099. return pseudo.accept$1(B._IsBogusVisitor_true0);
  116100. }
  116101. };
  116102. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  116103. call$1(component) {
  116104. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  116105. },
  116106. $signature: 53
  116107. };
  116108. A._ContainsParentSelectorVisitor0.prototype = {
  116109. visitParentSelector$1(_, _0) {
  116110. return true;
  116111. }
  116112. };
  116113. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0.prototype = {};
  116114. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  116115. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  116116. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  116117. A.SelectorExpression0.prototype = {
  116118. accept$1$1(visitor) {
  116119. return visitor.visitSelectorExpression$1(0, this);
  116120. },
  116121. accept$1(visitor) {
  116122. return this.accept$1$1(visitor, type$.dynamic);
  116123. },
  116124. toString$0(_) {
  116125. return "&";
  116126. },
  116127. get$span(receiver) {
  116128. return this.span;
  116129. }
  116130. };
  116131. A._nest_closure0.prototype = {
  116132. call$1($arguments) {
  116133. var t1 = {},
  116134. selectors = J.$index$asx($arguments, 0).get$asList();
  116135. if (selectors.length === 0)
  116136. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  116137. t1.first = true;
  116138. return new A.MappedListIterable(selectors, new A._nest__closure1(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._nest__closure2()).get$asSassList();
  116139. },
  116140. $signature: 27
  116141. };
  116142. A._nest__closure1.prototype = {
  116143. call$1(selector) {
  116144. var t1 = this._box_0,
  116145. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  116146. t1.first = false;
  116147. return result;
  116148. },
  116149. $signature: 226
  116150. };
  116151. A._nest__closure2.prototype = {
  116152. call$2($parent, child) {
  116153. return child.nestWithin$1($parent);
  116154. },
  116155. $signature: 221
  116156. };
  116157. A._append_closure1.prototype = {
  116158. call$1($arguments) {
  116159. var t1,
  116160. selectors = J.$index$asx($arguments, 0).get$asList();
  116161. if (selectors.length === 0)
  116162. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  116163. t1 = A.EvaluationContext_currentOrNull0();
  116164. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  116165. },
  116166. $signature: 27
  116167. };
  116168. A._append__closure1.prototype = {
  116169. call$1(selector) {
  116170. return A.SassApiValue_assertSelector0(selector, false, null);
  116171. },
  116172. $signature: 226
  116173. };
  116174. A._append__closure2.prototype = {
  116175. call$2($parent, child) {
  116176. var t1 = child.components,
  116177. t2 = this.span;
  116178. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), t2).nestWithin$1($parent);
  116179. },
  116180. $signature: 221
  116181. };
  116182. A._append___closure0.prototype = {
  116183. call$1(complex) {
  116184. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  116185. if (complex.leadingCombinators.length !== 0)
  116186. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  116187. _0_0 = complex.components;
  116188. t1 = _0_0.length >= 1;
  116189. if (t1) {
  116190. component = _0_0[0];
  116191. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  116192. } else {
  116193. rest = _null;
  116194. component = rest;
  116195. }
  116196. if (!t1)
  116197. throw A.wrapException(A.StateError$("Pattern matching error"));
  116198. newCompound = A._prependParent0(component.selector);
  116199. if (newCompound == null)
  116200. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  116201. t1 = this.span;
  116202. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  116203. B.JSArray_methods.addAll$1(t2, rest);
  116204. return A.ComplexSelector$0(B.List_empty15, t2, t1, false);
  116205. },
  116206. $signature: 63
  116207. };
  116208. A._extend_closure0.prototype = {
  116209. call$1($arguments) {
  116210. var target, source,
  116211. _s8_ = "selector",
  116212. _s8_0 = "extendee",
  116213. _s8_1 = "extender",
  116214. t1 = J.getInterceptor$asx($arguments),
  116215. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  116216. selector.assertNotBogus$1$name(_s8_);
  116217. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  116218. target.assertNotBogus$1$name(_s8_0);
  116219. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  116220. source.assertNotBogus$1$name(_s8_1);
  116221. t1 = A.EvaluationContext_currentOrNull0();
  116222. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_2_allTargets0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  116223. },
  116224. $signature: 27
  116225. };
  116226. A._replace_closure0.prototype = {
  116227. call$1($arguments) {
  116228. var target, source,
  116229. _s8_ = "selector",
  116230. _s8_0 = "original",
  116231. _s11_ = "replacement",
  116232. t1 = J.getInterceptor$asx($arguments),
  116233. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  116234. selector.assertNotBogus$1$name(_s8_);
  116235. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  116236. target.assertNotBogus$1$name(_s8_0);
  116237. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  116238. source.assertNotBogus$1$name(_s11_);
  116239. t1 = A.EvaluationContext_currentOrNull0();
  116240. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_1_replace0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  116241. },
  116242. $signature: 27
  116243. };
  116244. A._unify_closure0.prototype = {
  116245. call$1($arguments) {
  116246. var selector2,
  116247. _s9_ = "selector1",
  116248. _s9_0 = "selector2",
  116249. t1 = J.getInterceptor$asx($arguments),
  116250. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  116251. selector1.assertNotBogus$1$name(_s9_);
  116252. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  116253. selector2.assertNotBogus$1$name(_s9_0);
  116254. t1 = selector1.unify$1(selector2);
  116255. t1 = t1 == null ? null : t1.get$asSassList();
  116256. return t1 == null ? B.C__SassNull0 : t1;
  116257. },
  116258. $signature: 3
  116259. };
  116260. A._isSuperselector_closure0.prototype = {
  116261. call$1($arguments) {
  116262. var selector2,
  116263. t1 = J.getInterceptor$asx($arguments),
  116264. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  116265. selector1.assertNotBogus$1$name("super");
  116266. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  116267. selector2.assertNotBogus$1$name("sub");
  116268. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  116269. },
  116270. $signature: 11
  116271. };
  116272. A._simpleSelectors_closure0.prototype = {
  116273. call$1($arguments) {
  116274. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  116275. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_z0K0, false);
  116276. },
  116277. $signature: 27
  116278. };
  116279. A._simpleSelectors__closure0.prototype = {
  116280. call$1(simple) {
  116281. return new A.SassString0(A.serializeSelector0(simple, true), false);
  116282. },
  116283. $signature: 577
  116284. };
  116285. A._parse_closure0.prototype = {
  116286. call$1($arguments) {
  116287. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  116288. },
  116289. $signature: 27
  116290. };
  116291. A.SelectorParser0.prototype = {
  116292. parse$0(_) {
  116293. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  116294. },
  116295. parseCompoundSelector$0() {
  116296. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  116297. },
  116298. _selector$_selectorList$0() {
  116299. var t4, t5, lineBreak, _this = this,
  116300. t1 = _this.scanner,
  116301. t2 = t1._string_scanner$_position,
  116302. t3 = t1._sourceFile,
  116303. previousLine = t3.getLine$1(t2),
  116304. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  116305. _this.whitespace$1$consumeNewlines(true);
  116306. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  116307. _this.whitespace$1$consumeNewlines(true);
  116308. if (t1.peekChar$0() === 44)
  116309. continue;
  116310. t5 = t1._string_scanner$_position;
  116311. if (t5 === t4)
  116312. break;
  116313. lineBreak = t3.getLine$1(t5) !== previousLine;
  116314. if (lineBreak)
  116315. previousLine = t3.getLine$1(t1._string_scanner$_position);
  116316. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  116317. }
  116318. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  116319. },
  116320. _selector$_complexSelector$1$lineBreak(lineBreak) {
  116321. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  116322. _s18_ = "expected selector.",
  116323. t1 = _this.scanner,
  116324. t2 = t1._string_scanner$_position,
  116325. componentStart = new A._SpanScannerState(t1, t2),
  116326. t3 = type$.JSArray_CssValue_Combinator_2,
  116327. combinators = A._setArrayType([], t3),
  116328. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  116329. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null;;) {
  116330. _this.whitespace$1$consumeNewlines(true);
  116331. _0_0 = t1.peekChar$0();
  116332. if (43 === _0_0) {
  116333. t5 = t1._string_scanner$_position;
  116334. t1.readChar$0();
  116335. combinators.push(new A.CssValue0(B.Combinator_sHB0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  116336. continue;
  116337. }
  116338. if (62 === _0_0) {
  116339. t5 = t1._string_scanner$_position;
  116340. t1.readChar$0();
  116341. combinators.push(new A.CssValue0(B.Combinator_iUF0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  116342. continue;
  116343. }
  116344. if (126 === _0_0) {
  116345. t5 = t1._string_scanner$_position;
  116346. t1.readChar$0();
  116347. combinators.push(new A.CssValue0(B.Combinator_98W0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  116348. continue;
  116349. }
  116350. if (_0_0 == null)
  116351. break;
  116352. t5 = true;
  116353. if (91 !== _0_0)
  116354. if (46 !== _0_0)
  116355. if (35 !== _0_0)
  116356. if (37 !== _0_0)
  116357. if (58 !== _0_0)
  116358. if (38 !== _0_0)
  116359. if (42 !== _0_0)
  116360. if (124 !== _0_0)
  116361. t5 = _this.lookingAtIdentifier$0();
  116362. if (t5) {
  116363. if (lastCompound != null) {
  116364. t5 = _this.spanFrom$1(componentStart);
  116365. result = A.List_List$from(combinators, false, t4);
  116366. result.$flags = 3;
  116367. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  116368. } else if (combinators.length !== 0) {
  116369. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  116370. initialCombinators = combinators;
  116371. }
  116372. lastCompound = _this._selector$_compoundSelector$0();
  116373. combinators = A._setArrayType([], t3);
  116374. if (t1.peekChar$0() === 38)
  116375. t1.error$1(0, string$.x22x26__ma);
  116376. continue;
  116377. }
  116378. break;
  116379. }
  116380. t3 = combinators.length !== 0;
  116381. if (t3 && _this._selector$_plainCss)
  116382. t1.error$1(0, _s18_);
  116383. else if (lastCompound != null) {
  116384. t3 = _this.spanFrom$1(componentStart);
  116385. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  116386. } else if (t3)
  116387. initialCombinators = combinators;
  116388. else
  116389. t1.error$1(0, _s18_);
  116390. t3 = initialCombinators == null ? B.List_empty15 : initialCombinators;
  116391. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  116392. },
  116393. _selector$_complexSelector$0() {
  116394. return this._selector$_complexSelector$1$lineBreak(false);
  116395. },
  116396. _selector$_compoundSelector$0() {
  116397. var t3, _this = this,
  116398. t1 = _this.scanner,
  116399. t2 = t1._string_scanner$_position,
  116400. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  116401. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  116402. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  116403. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  116404. },
  116405. _selector$_simpleSelector$1$allowParent(allowParent) {
  116406. var t2, $name, text, t3, suffix, _this = this,
  116407. t1 = _this.scanner,
  116408. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  116409. if (allowParent == null)
  116410. allowParent = _this._selector$_allowParent;
  116411. switch (t1.peekChar$0()) {
  116412. case 91:
  116413. return _this._selector$_attributeSelector$0();
  116414. case 46:
  116415. t2 = t1._string_scanner$_position;
  116416. t1.expectChar$1(46);
  116417. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  116418. case 35:
  116419. t2 = t1._string_scanner$_position;
  116420. t1.expectChar$1(35);
  116421. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  116422. case 37:
  116423. t2 = t1._string_scanner$_position;
  116424. t1.expectChar$1(37);
  116425. $name = _this.identifier$0();
  116426. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  116427. if (_this._selector$_plainCss)
  116428. _this.error$2(0, string$.Placeh, _this.spanFrom$1(start));
  116429. return new A.PlaceholderSelector0($name, t2);
  116430. case 58:
  116431. return _this._selector$_pseudoSelector$0();
  116432. case 38:
  116433. t2 = t1._string_scanner$_position;
  116434. t1.expectChar$1(38);
  116435. if (_this.lookingAtIdentifierBody$0()) {
  116436. text = new A.StringBuffer("");
  116437. _this._parser1$_identifierBody$1(text);
  116438. if (text._contents.length === 0)
  116439. t1.error$1(0, "Expected identifier body.");
  116440. t3 = text._contents;
  116441. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  116442. } else
  116443. suffix = null;
  116444. if (_this._selector$_plainCss && suffix != null)
  116445. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  116446. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  116447. if (!allowParent)
  116448. _this.error$2(0, "Parent selectors aren't allowed here.", _this.spanFrom$1(start));
  116449. return new A.ParentSelector0(suffix, t1);
  116450. default:
  116451. return _this._selector$_typeOrUniversalSelector$0();
  116452. }
  116453. },
  116454. _selector$_simpleSelector$0() {
  116455. return this._selector$_simpleSelector$1$allowParent(null);
  116456. },
  116457. _selector$_attributeSelector$0() {
  116458. var $name, operator, next, value, modifier, _this = this, _null = null,
  116459. t1 = _this.scanner,
  116460. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  116461. t1.expectChar$1(91);
  116462. _this.whitespace$1$consumeNewlines(true);
  116463. $name = _this._selector$_attributeName$0();
  116464. _this.whitespace$1$consumeNewlines(true);
  116465. if (t1.scanChar$1(93))
  116466. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  116467. operator = _this._selector$_attributeOperator$0();
  116468. _this.whitespace$1$consumeNewlines(true);
  116469. next = t1.peekChar$0();
  116470. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  116471. _this.whitespace$1$consumeNewlines(true);
  116472. next = t1.peekChar$0();
  116473. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  116474. t1.expectChar$1(93);
  116475. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  116476. },
  116477. _selector$_attributeName$0() {
  116478. var nameOrNamespace, _this = this,
  116479. t1 = _this.scanner;
  116480. if (t1.scanChar$1(42)) {
  116481. t1.expectChar$1(124);
  116482. return new A.QualifiedName0(_this.identifier$0(), "*");
  116483. }
  116484. if (t1.scanChar$1(124))
  116485. return new A.QualifiedName0(_this.identifier$0(), "");
  116486. nameOrNamespace = _this.identifier$0();
  116487. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  116488. return new A.QualifiedName0(nameOrNamespace, null);
  116489. t1.readChar$0();
  116490. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  116491. },
  116492. _selector$_attributeOperator$0() {
  116493. var t1 = this.scanner,
  116494. start = t1._string_scanner$_position;
  116495. switch (t1.readChar$0()) {
  116496. case 61:
  116497. return B.AttributeOperator_jFZ0;
  116498. case 126:
  116499. t1.expectChar$1(61);
  116500. return B.AttributeOperator_OrK0;
  116501. case 124:
  116502. t1.expectChar$1(61);
  116503. return B.AttributeOperator_g5B0;
  116504. case 94:
  116505. t1.expectChar$1(61);
  116506. return B.AttributeOperator_stc0;
  116507. case 36:
  116508. t1.expectChar$1(61);
  116509. return B.AttributeOperator_xJ90;
  116510. case 42:
  116511. t1.expectChar$1(61);
  116512. return B.AttributeOperator_h200;
  116513. default:
  116514. t1.error$2$position(0, 'Expected "]".', start);
  116515. }
  116516. },
  116517. _selector$_pseudoSelector$0() {
  116518. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  116519. t1 = _this.scanner,
  116520. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  116521. t1.expectChar$1(58);
  116522. element = t1.scanChar$1(58);
  116523. $name = _this.identifier$0();
  116524. if (!t1.scanChar$1(40))
  116525. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  116526. _this.whitespace$1$consumeNewlines(true);
  116527. unvendored = A.unvendor0($name);
  116528. argument = _null;
  116529. selector = _null;
  116530. if (element)
  116531. if ($.selectorPseudoElements0.contains$1(0, unvendored))
  116532. selector = _this._selector$_selectorList$0();
  116533. else
  116534. argument = _this.declarationValue$1$allowEmpty(true);
  116535. else if ($.selectorPseudoClasses0.contains$1(0, unvendored))
  116536. selector = _this._selector$_selectorList$0();
  116537. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  116538. argument = _this._selector$_aNPlusB$0();
  116539. _this.whitespace$1$consumeNewlines(true);
  116540. t2 = t1.peekChar$1(-1);
  116541. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  116542. _this.expectIdentifier$1("of");
  116543. argument += " of";
  116544. _this.whitespace$1$consumeNewlines(true);
  116545. selector = _this._selector$_selectorList$0();
  116546. }
  116547. } else
  116548. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  116549. t1.expectChar$1(41);
  116550. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  116551. },
  116552. _selector$_aNPlusB$0() {
  116553. var t1, _0_0, t2, $self, next, _this = this;
  116554. $label0$0: {
  116555. t1 = _this.scanner;
  116556. _0_0 = t1.peekChar$0();
  116557. if (101 === _0_0 || 69 === _0_0) {
  116558. _this.expectIdentifier$1("even");
  116559. return "even";
  116560. }
  116561. if (111 === _0_0 || 79 === _0_0) {
  116562. _this.expectIdentifier$1("odd");
  116563. return "odd";
  116564. }
  116565. if (43 === _0_0 || 45 === _0_0) {
  116566. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  116567. break $label0$0;
  116568. }
  116569. t2 = "";
  116570. }
  116571. $self = t1.peekChar$0();
  116572. if ($self != null && $self >= 48 && $self <= 57) {
  116573. do {
  116574. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  116575. $self = t1.peekChar$0();
  116576. } while ($self != null && $self >= 48 && $self <= 57);
  116577. _this.whitespace$1$consumeNewlines(true);
  116578. if (!_this.scanIdentChar$1(110))
  116579. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116580. } else
  116581. _this.expectIdentChar$1(110);
  116582. t2 += A.Primitives_stringFromCharCode(110);
  116583. _this.whitespace$1$consumeNewlines(true);
  116584. next = t1.peekChar$0();
  116585. if (next !== 43 && next !== 45)
  116586. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116587. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  116588. _this.whitespace$1$consumeNewlines(true);
  116589. $self = t1.peekChar$0();
  116590. if (!($self != null && $self >= 48 && $self <= 57))
  116591. t1.error$1(0, "Expected a number.");
  116592. do {
  116593. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  116594. $self = t1.peekChar$0();
  116595. } while ($self != null && $self >= 48 && $self <= 57);
  116596. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116597. },
  116598. _selector$_typeOrUniversalSelector$0() {
  116599. var nameOrNamespace, _this = this,
  116600. t1 = _this.scanner,
  116601. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  116602. if (t1.scanChar$1(42)) {
  116603. if (!t1.scanChar$1(124))
  116604. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  116605. return t1.scanChar$1(42) ? new A.UniversalSelector0("*", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  116606. } else if (t1.scanChar$1(124))
  116607. return t1.scanChar$1(42) ? new A.UniversalSelector0("", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""), _this.spanFrom$1(start));
  116608. nameOrNamespace = _this.identifier$0();
  116609. if (!t1.scanChar$1(124))
  116610. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  116611. else if (t1.scanChar$1(42))
  116612. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  116613. else
  116614. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  116615. },
  116616. _selector$_isSimpleSelectorStart$1(character) {
  116617. var t1;
  116618. $label0$0: {
  116619. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  116620. t1 = true;
  116621. break $label0$0;
  116622. }
  116623. if (38 === character) {
  116624. t1 = this._selector$_plainCss;
  116625. break $label0$0;
  116626. }
  116627. t1 = false;
  116628. break $label0$0;
  116629. }
  116630. return t1;
  116631. }
  116632. };
  116633. A.SelectorParser_parse_closure0.prototype = {
  116634. call$0() {
  116635. var t1 = this.$this,
  116636. selector = t1._selector$_selectorList$0();
  116637. t1 = t1.scanner;
  116638. if (t1._string_scanner$_position !== t1.string.length)
  116639. t1.error$1(0, "expected selector.");
  116640. return selector;
  116641. },
  116642. $signature: 578
  116643. };
  116644. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  116645. call$0() {
  116646. var t1 = this.$this,
  116647. compound = t1._selector$_compoundSelector$0();
  116648. t1 = t1.scanner;
  116649. if (t1._string_scanner$_position !== t1.string.length)
  116650. t1.error$1(0, "expected selector.");
  116651. return compound;
  116652. },
  116653. $signature: 579
  116654. };
  116655. A.SelectorSearchVisitor0.prototype = {
  116656. visitAttributeSelector$1(_, attribute) {
  116657. return null;
  116658. },
  116659. visitClassSelector$1(_, klass) {
  116660. return null;
  116661. },
  116662. visitIDSelector$1(_, id) {
  116663. return null;
  116664. },
  116665. visitParentSelector$1(_, placeholder) {
  116666. return null;
  116667. },
  116668. visitPlaceholderSelector$1(_, placeholder) {
  116669. return null;
  116670. },
  116671. visitTypeSelector$1(_, type) {
  116672. return null;
  116673. },
  116674. visitUniversalSelector$1(_, universal) {
  116675. return null;
  116676. },
  116677. visitComplexSelector$1(complex) {
  116678. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  116679. },
  116680. visitCompoundSelector$1(compound) {
  116681. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  116682. },
  116683. visitPseudoSelector$1(_, pseudo) {
  116684. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  116685. },
  116686. visitSelectorList$1(list) {
  116687. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  116688. }
  116689. };
  116690. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  116691. call$1(component) {
  116692. return this.$this.visitCompoundSelector$1(component.selector);
  116693. },
  116694. $signature() {
  116695. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  116696. }
  116697. };
  116698. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  116699. call$1(simple) {
  116700. return simple.accept$1(this.$this);
  116701. },
  116702. $signature() {
  116703. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  116704. }
  116705. };
  116706. A.serialize_closure0.prototype = {
  116707. call$1(codeUnit) {
  116708. return codeUnit > 127;
  116709. },
  116710. $signature: 50
  116711. };
  116712. A._SerializeVisitor0.prototype = {
  116713. visitCssStylesheet$1(node) {
  116714. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  116715. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._serialize0$_inspect, t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = type$.CssParentNode_2, t6 = _this._serialize0$_buffer, t7 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
  116716. previous0 = t1.get$current(t1);
  116717. if (t2)
  116718. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  116719. else
  116720. t8 = false;
  116721. if (t8)
  116722. continue;
  116723. if (previous != null) {
  116724. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  116725. t6.writeCharCode$1(59);
  116726. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  116727. if (t4)
  116728. t6.writeCharCode$1(32);
  116729. } else {
  116730. if (t4)
  116731. t6.write$1(0, t7);
  116732. if (previous.get$isGroupEnd())
  116733. if (t4)
  116734. t6.write$1(0, t7);
  116735. }
  116736. }
  116737. previous0.accept$1(_this);
  116738. previous = previous0;
  116739. }
  116740. if (previous != null)
  116741. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  116742. else
  116743. t1 = false;
  116744. if (t1)
  116745. t6.writeCharCode$1(59);
  116746. },
  116747. visitCssComment$1(node) {
  116748. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  116749. },
  116750. visitCssAtRule$1(node) {
  116751. var t1, _this = this;
  116752. _this._serialize0$_writeIndentation$0();
  116753. t1 = _this._serialize0$_buffer;
  116754. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  116755. if (!node.isChildless) {
  116756. if (_this._serialize0$_style !== B.OutputStyle_10)
  116757. t1.writeCharCode$1(32);
  116758. _this._serialize0$_visitChildren$1(node);
  116759. }
  116760. },
  116761. visitCssMediaRule$1(node) {
  116762. var t1, _this = this;
  116763. _this._serialize0$_writeIndentation$0();
  116764. t1 = _this._serialize0$_buffer;
  116765. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  116766. if (_this._serialize0$_style !== B.OutputStyle_10)
  116767. t1.writeCharCode$1(32);
  116768. _this._serialize0$_visitChildren$1(node);
  116769. },
  116770. visitCssImport$1(node) {
  116771. this._serialize0$_writeIndentation$0();
  116772. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  116773. },
  116774. _serialize0$_writeImportUrl$1(url) {
  116775. var urlContents, maybeQuote, _this = this;
  116776. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  116777. _this._serialize0$_buffer.write$1(0, url);
  116778. return;
  116779. }
  116780. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  116781. maybeQuote = urlContents.charCodeAt(0);
  116782. if (maybeQuote === 39 || maybeQuote === 34)
  116783. _this._serialize0$_buffer.write$1(0, urlContents);
  116784. else
  116785. _this._serialize0$_visitQuotedString$1(urlContents);
  116786. },
  116787. visitCssKeyframeBlock$1(node) {
  116788. var t1, _this = this;
  116789. _this._serialize0$_writeIndentation$0();
  116790. t1 = _this._serialize0$_buffer;
  116791. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  116792. if (_this._serialize0$_style !== B.OutputStyle_10)
  116793. t1.writeCharCode$1(32);
  116794. _this._serialize0$_visitChildren$1(node);
  116795. },
  116796. _serialize0$_visitMediaQuery$1(query) {
  116797. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  116798. _0_0 = query.modifier;
  116799. if (_0_0 != null) {
  116800. t1 = _this._serialize0$_buffer;
  116801. t1.write$1(0, _0_0);
  116802. t1.writeCharCode$1(32);
  116803. }
  116804. _1_0 = query.type;
  116805. if (_1_0 != null) {
  116806. t1 = _this._serialize0$_buffer;
  116807. t1.write$1(0, _1_0);
  116808. if (query.conditions.length !== 0)
  116809. t1.write$1(0, " and ");
  116810. }
  116811. _2_0 = query.conditions;
  116812. if (_2_0.length === 1)
  116813. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  116814. else
  116815. t1 = false;
  116816. if (t1) {
  116817. t1 = _this._serialize0$_buffer;
  116818. t1.write$1(0, "not ");
  116819. condition = B.JSArray_methods.get$first(_2_0);
  116820. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  116821. } else {
  116822. operator = query.conjunction ? "and" : "or";
  116823. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  116824. t2 = _this._serialize0$_buffer;
  116825. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  116826. }
  116827. },
  116828. visitCssStyleRule$1(node) {
  116829. var t1, _this = this;
  116830. _this._serialize0$_writeIndentation$0();
  116831. t1 = _this._serialize0$_buffer;
  116832. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  116833. if (_this._serialize0$_style !== B.OutputStyle_10)
  116834. t1.writeCharCode$1(32);
  116835. _this._serialize0$_visitChildren$1(node);
  116836. },
  116837. visitCssSupportsRule$1(node) {
  116838. var t1, _this = this;
  116839. _this._serialize0$_writeIndentation$0();
  116840. t1 = _this._serialize0$_buffer;
  116841. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  116842. if (_this._serialize0$_style !== B.OutputStyle_10)
  116843. t1.writeCharCode$1(32);
  116844. _this._serialize0$_visitChildren$1(node);
  116845. },
  116846. visitCssDeclaration$1(node) {
  116847. var error, stackTrace, error0, stackTrace0, t1, exception, _this = this;
  116848. _this._serialize0$_writeIndentation$0();
  116849. _this._serialize0$_write$1(node.name);
  116850. t1 = _this._serialize0$_buffer;
  116851. t1.writeCharCode$1(58);
  116852. if (!node.parsedAsSassScript)
  116853. t1.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  116854. else {
  116855. if (_this._serialize0$_style !== B.OutputStyle_10)
  116856. t1.writeCharCode$1(32);
  116857. try {
  116858. t1.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  116859. } catch (exception) {
  116860. t1 = A.unwrapException(exception);
  116861. if (t1 instanceof A.MultiSpanSassScriptException0) {
  116862. error = t1;
  116863. stackTrace = A.getTraceFromException(exception);
  116864. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  116865. } else if (t1 instanceof A.SassScriptException0) {
  116866. error0 = t1;
  116867. stackTrace0 = A.getTraceFromException(exception);
  116868. t1 = error0.message;
  116869. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  116870. } else
  116871. throw exception;
  116872. }
  116873. }
  116874. },
  116875. _serialize0$_writeFoldedValue$1(node) {
  116876. var t1, t2, next, t3,
  116877. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  116878. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  116879. next = scanner.readChar$0();
  116880. if (next !== 10) {
  116881. t2.writeCharCode$1(next);
  116882. continue;
  116883. }
  116884. t2.writeCharCode$1(32);
  116885. for (;;) {
  116886. t3 = scanner.peekChar$0();
  116887. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  116888. break;
  116889. scanner.readChar$0();
  116890. }
  116891. }
  116892. },
  116893. _serialize0$_writeReindentedValue$1(node) {
  116894. var _0_0, t1, _this = this,
  116895. value = type$.SassString_2._as(node.value.value)._string0$_text;
  116896. $label0$0: {
  116897. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  116898. if (_0_0 == null) {
  116899. _this._serialize0$_buffer.write$1(0, value);
  116900. break $label0$0;
  116901. }
  116902. if (-1 === _0_0) {
  116903. t1 = _this._serialize0$_buffer;
  116904. t1.write$1(0, A.trimAsciiRight0(value, true));
  116905. t1.writeCharCode$1(32);
  116906. break $label0$0;
  116907. }
  116908. t1 = node.name.span;
  116909. t1 = t1.get$start(t1);
  116910. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  116911. }
  116912. },
  116913. _serialize0$_minimumIndentation$1(text) {
  116914. var character, t2, min, next, min0,
  116915. scanner = A.LineScanner$(text),
  116916. t1 = scanner.string.length;
  116917. for (;;) {
  116918. if (scanner._string_scanner$_position !== t1) {
  116919. character = scanner.super$StringScanner$readChar();
  116920. scanner._adjustLineAndColumn$1(character);
  116921. t2 = character !== 10;
  116922. } else
  116923. t2 = false;
  116924. if (!t2)
  116925. break;
  116926. }
  116927. if (scanner._string_scanner$_position === t1)
  116928. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  116929. for (min = null; scanner._string_scanner$_position !== t1;) {
  116930. while (scanner._string_scanner$_position !== t1) {
  116931. next = scanner.peekChar$0();
  116932. if (next !== 32 && next !== 9)
  116933. break;
  116934. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  116935. }
  116936. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  116937. continue;
  116938. min0 = scanner._line_scanner$_column;
  116939. min = min == null ? min0 : Math.min(min, min0);
  116940. for (;;) {
  116941. if (scanner._string_scanner$_position !== t1) {
  116942. character = scanner.super$StringScanner$readChar();
  116943. scanner._adjustLineAndColumn$1(character);
  116944. t2 = character !== 10;
  116945. } else
  116946. t2 = false;
  116947. if (!t2)
  116948. break;
  116949. }
  116950. }
  116951. return min == null ? -1 : min;
  116952. },
  116953. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  116954. var t1, t2, t3, character, lineStart, newlines, end,
  116955. scanner = A.LineScanner$(text);
  116956. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  116957. character = scanner.super$StringScanner$readChar();
  116958. scanner._adjustLineAndColumn$1(character);
  116959. if (character === 10)
  116960. break;
  116961. t3.writeCharCode$1(character);
  116962. }
  116963. for (;;) {
  116964. lineStart = scanner._string_scanner$_position;
  116965. for (newlines = 1;;) {
  116966. if (scanner._string_scanner$_position === t2) {
  116967. t3.writeCharCode$1(32);
  116968. return;
  116969. }
  116970. $label0$2: {
  116971. character = scanner.super$StringScanner$readChar();
  116972. scanner._adjustLineAndColumn$1(character);
  116973. if (32 === character || 9 === character)
  116974. continue;
  116975. if (10 === character) {
  116976. lineStart = scanner._string_scanner$_position;
  116977. ++newlines;
  116978. break $label0$2;
  116979. }
  116980. break;
  116981. }
  116982. }
  116983. this._serialize0$_writeTimes$2(10, newlines);
  116984. this._serialize0$_writeIndentation$0();
  116985. end = scanner._string_scanner$_position;
  116986. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  116987. for (;;) {
  116988. if (scanner._string_scanner$_position === t2)
  116989. return;
  116990. character = scanner.super$StringScanner$readChar();
  116991. scanner._adjustLineAndColumn$1(character);
  116992. if (character === 10)
  116993. break;
  116994. t3.writeCharCode$1(character);
  116995. }
  116996. }
  116997. },
  116998. visitCalculation$1(value) {
  116999. var t2, _this = this,
  117000. t1 = _this._serialize0$_buffer;
  117001. t1.write$1(0, value.name);
  117002. t1.writeCharCode$1(40);
  117003. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  117004. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  117005. t1.writeCharCode$1(41);
  117006. },
  117007. _serialize0$_writeCalculationValue$1(value) {
  117008. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  117009. $label1$1: {
  117010. _2_4_isSet = value instanceof A.SassNumber0;
  117011. _2_4 = _null;
  117012. if (_2_4_isSet) {
  117013. _2_4 = value.get$hasComplexUnits();
  117014. t1 = _2_4;
  117015. t1 = t1 && !_this._serialize0$_inspect;
  117016. } else
  117017. t1 = false;
  117018. if (t1)
  117019. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", _null));
  117020. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  117021. $label0$0: {
  117022. _0_0 = value._number1$_value;
  117023. if (1 / 0 === _0_0) {
  117024. _this._serialize0$_buffer.write$1(0, "infinity");
  117025. break $label0$0;
  117026. }
  117027. if (-1 / 0 === _0_0) {
  117028. _this._serialize0$_buffer.write$1(0, "-infinity");
  117029. break $label0$0;
  117030. }
  117031. if (isNaN(_0_0))
  117032. _this._serialize0$_buffer.write$1(0, "NaN");
  117033. }
  117034. _this._serialize0$_writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  117035. break $label1$1;
  117036. }
  117037. if (_2_4_isSet)
  117038. t1 = _2_4;
  117039. else
  117040. t1 = false;
  117041. if (t1) {
  117042. _this._serialize0$_writeNumber$1(value._number1$_value);
  117043. _1_0 = value.get$numeratorUnits(value);
  117044. if (_1_0.length >= 1) {
  117045. first = _1_0[0];
  117046. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  117047. _this._serialize0$_buffer.write$1(0, first);
  117048. _this._serialize0$_writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  117049. } else
  117050. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  117051. break $label1$1;
  117052. }
  117053. if (value instanceof A.Value0) {
  117054. value.accept$1(_this);
  117055. break $label1$1;
  117056. }
  117057. t1 = value instanceof A.CalculationOperation0;
  117058. left = _null;
  117059. right = _null;
  117060. if (t1) {
  117061. operator = value._calculation0$_operator;
  117062. left = value._calculation0$_left;
  117063. right = value._calculation0$_right;
  117064. } else
  117065. operator = _null;
  117066. if (t1) {
  117067. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  117068. if (parenthesizeLeft)
  117069. _this._serialize0$_buffer.writeCharCode$1(40);
  117070. _this._serialize0$_writeCalculationValue$1(left);
  117071. if (parenthesizeLeft)
  117072. _this._serialize0$_buffer.writeCharCode$1(41);
  117073. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  117074. if (operatorWhitespace)
  117075. _this._serialize0$_buffer.writeCharCode$1(32);
  117076. t1 = _this._serialize0$_buffer;
  117077. t1.write$1(0, operator.operator);
  117078. if (operatorWhitespace)
  117079. t1.writeCharCode$1(32);
  117080. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  117081. parenthesizeRight = false;
  117082. if (operator === B.CalculationOperator_wFL0) {
  117083. if (right instanceof A.SassNumber0)
  117084. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  117085. else
  117086. t2 = parenthesizeRight;
  117087. parenthesizeRight = t2;
  117088. }
  117089. } else
  117090. parenthesizeRight = true;
  117091. if (parenthesizeRight)
  117092. t1.writeCharCode$1(40);
  117093. _this._serialize0$_writeCalculationValue$1(right);
  117094. if (parenthesizeRight)
  117095. t1.writeCharCode$1(41);
  117096. }
  117097. }
  117098. },
  117099. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  117100. var t1, t2, t3, t4;
  117101. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  117102. t4 = t1.get$current(t1);
  117103. if (t3)
  117104. t2.writeCharCode$1(32);
  117105. t2.writeCharCode$1(42);
  117106. if (t3)
  117107. t2.writeCharCode$1(32);
  117108. t2.writeCharCode$1(49);
  117109. t2.write$1(0, t4);
  117110. }
  117111. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  117112. t4 = t1.get$current(t1);
  117113. if (t3)
  117114. t2.writeCharCode$1(32);
  117115. t2.writeCharCode$1(47);
  117116. if (t3)
  117117. t2.writeCharCode$1(32);
  117118. t2.writeCharCode$1(49);
  117119. t2.write$1(0, t4);
  117120. }
  117121. },
  117122. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  117123. var t1;
  117124. $label0$0: {
  117125. if (B.CalculationOperator_wFL0 === outer) {
  117126. t1 = true;
  117127. break $label0$0;
  117128. }
  117129. if (B.CalculationOperator_dpX0 === outer) {
  117130. t1 = false;
  117131. break $label0$0;
  117132. }
  117133. t1 = right === B.CalculationOperator_dpX0 || right === B.CalculationOperator_KrC0;
  117134. break $label0$0;
  117135. }
  117136. return t1;
  117137. },
  117138. visitColor$1(value) {
  117139. var _0_0, _0_2, _0_6, t1, _0_4, _0_6_isSet, t2, _0_10_isSet, _0_10, _0_12_isSet, _0_14, _0_12, _0_14_isSet, t3, _0_10_isSet0, polar, t4, t5, _this = this, _null = null;
  117140. $label0$0: {
  117141. _0_0 = value._color0$_space;
  117142. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  117143. _0_6 = _null;
  117144. t1 = true;
  117145. if (!_0_2) {
  117146. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  117147. _0_6_isSet = !_0_4;
  117148. if (_0_6_isSet) {
  117149. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  117150. t1 = _0_6;
  117151. }
  117152. } else {
  117153. _0_4 = _null;
  117154. _0_6_isSet = false;
  117155. }
  117156. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  117157. _this._serialize0$_writeLegacyColor$1(value);
  117158. break $label0$0;
  117159. }
  117160. if (_0_2) {
  117161. t1 = _this._serialize0$_buffer;
  117162. t1.write$1(0, "rgb(");
  117163. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  117164. t1.writeCharCode$1(32);
  117165. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  117166. t1.writeCharCode$1(32);
  117167. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  117168. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  117169. t1.writeCharCode$1(41);
  117170. break $label0$0;
  117171. }
  117172. if (!_0_4)
  117173. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  117174. else
  117175. t1 = true;
  117176. if (t1) {
  117177. t1 = _this._serialize0$_buffer;
  117178. t1.write$1(0, _0_0);
  117179. t1.writeCharCode$1(40);
  117180. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  117181. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  117182. t1.writeCharCode$1(32);
  117183. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  117184. t1.writeCharCode$1(32);
  117185. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  117186. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  117187. t1.writeCharCode$1(41);
  117188. break $label0$0;
  117189. }
  117190. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  117191. if (_0_10_isSet) {
  117192. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  117193. t1 = _0_10;
  117194. } else {
  117195. _0_10 = _null;
  117196. t1 = true;
  117197. }
  117198. t2 = false;
  117199. if (t1)
  117200. if (!_this._serialize0$_inspect) {
  117201. t1 = value.channel0OrNull;
  117202. if (t1 == null)
  117203. t1 = 0;
  117204. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  117205. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  117206. else
  117207. t1 = false;
  117208. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  117209. } else
  117210. t1 = t2;
  117211. else
  117212. t1 = t2;
  117213. _0_12_isSet = !t1;
  117214. _0_14 = _null;
  117215. if (_0_12_isSet) {
  117216. _0_12 = B.OklabColorSpace_5400 === _0_0;
  117217. t1 = false;
  117218. _0_14_isSet = !_0_12;
  117219. if (_0_14_isSet) {
  117220. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  117221. t2 = _0_14;
  117222. } else
  117223. t2 = true;
  117224. t3 = false;
  117225. if (t2)
  117226. if (!_this._serialize0$_inspect) {
  117227. t2 = value.channel0OrNull;
  117228. if (t2 == null)
  117229. t2 = 0;
  117230. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  117231. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  117232. else
  117233. t2 = false;
  117234. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  117235. } else
  117236. t2 = t3;
  117237. else
  117238. t2 = t3;
  117239. if (!t2) {
  117240. if (_0_10_isSet) {
  117241. t2 = _0_10;
  117242. _0_10_isSet0 = _0_10_isSet;
  117243. } else {
  117244. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  117245. t2 = _0_10;
  117246. _0_10_isSet0 = true;
  117247. }
  117248. if (!t2)
  117249. if (_0_14_isSet)
  117250. t2 = _0_14;
  117251. else {
  117252. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  117253. t2 = _0_14;
  117254. _0_14_isSet = true;
  117255. }
  117256. else
  117257. t2 = true;
  117258. if (t2)
  117259. if (!_this._serialize0$_inspect) {
  117260. t1 = value.channel1OrNull;
  117261. t2 = t1 == null;
  117262. if (t2)
  117263. t1 = 0;
  117264. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  117265. }
  117266. } else {
  117267. _0_10_isSet0 = _0_10_isSet;
  117268. t1 = true;
  117269. }
  117270. } else {
  117271. _0_12 = _null;
  117272. _0_10_isSet0 = _0_10_isSet;
  117273. _0_14_isSet = false;
  117274. t1 = true;
  117275. }
  117276. if (t1) {
  117277. t1 = _this._serialize0$_buffer;
  117278. t1.write$1(0, "color-mix(in ");
  117279. t1.write$1(0, _0_0);
  117280. t2 = _this._serialize0$_style === B.OutputStyle_10;
  117281. t1.write$1(0, t2 ? "," : ", ");
  117282. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  117283. if (!t2)
  117284. t1.writeCharCode$1(32);
  117285. t1.write$1(0, "100%");
  117286. t1.write$1(0, t2 ? "," : ", ");
  117287. t1.write$1(0, t2 ? "red" : "black");
  117288. t1.writeCharCode$1(41);
  117289. break $label0$0;
  117290. }
  117291. t1 = true;
  117292. if (_0_10_isSet)
  117293. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  117294. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  117295. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  117296. if (t1) {
  117297. t1 = _this._serialize0$_buffer;
  117298. t1.write$1(0, _0_0);
  117299. t1.writeCharCode$1(40);
  117300. t2 = _0_0._space$_channels;
  117301. polar = t2[2].isPolarAngle;
  117302. t3 = false;
  117303. if (!_this._serialize0$_inspect) {
  117304. t4 = value.channel0OrNull;
  117305. if (t4 == null)
  117306. t4 = 0;
  117307. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  117308. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  117309. else
  117310. t4 = false;
  117311. if (t4) {
  117312. if (polar) {
  117313. t3 = value.channel1OrNull;
  117314. if (t3 == null)
  117315. t3 = 0;
  117316. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  117317. }
  117318. } else
  117319. t3 = true;
  117320. }
  117321. if (t3) {
  117322. t1.write$1(0, "from ");
  117323. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  117324. t1.writeCharCode$1(32);
  117325. }
  117326. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  117327. t4 = t3 && value.channel0OrNull != null;
  117328. t5 = value.channel0OrNull;
  117329. if (t4) {
  117330. t2 = type$.LinearChannel_2._as(t2[0]);
  117331. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  117332. t1.writeCharCode$1(37);
  117333. } else
  117334. _this._serialize0$_writeChannel$1(t5);
  117335. t1.writeCharCode$1(32);
  117336. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  117337. t1.writeCharCode$1(32);
  117338. t2 = polar && t3 ? "deg" : _null;
  117339. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  117340. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  117341. t1.writeCharCode$1(41);
  117342. break $label0$0;
  117343. }
  117344. _this._serialize0$_writeColorFunction$1(value);
  117345. }
  117346. },
  117347. _serialize0$_writeChannel$2(channel, unit) {
  117348. var _this = this;
  117349. if (channel == null)
  117350. _this._serialize0$_buffer.write$1(0, "none");
  117351. else if (isFinite(channel)) {
  117352. _this._serialize0$_writeNumber$1(channel);
  117353. if (unit != null)
  117354. _this._serialize0$_buffer.write$1(0, unit);
  117355. } else
  117356. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  117357. },
  117358. _serialize0$_writeChannel$1(channel) {
  117359. return this._serialize0$_writeChannel$2(channel, null);
  117360. },
  117361. _serialize0$_writeLegacyColor$1(color) {
  117362. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  117363. t1 = color.alphaOrNull,
  117364. t2 = t1 == null,
  117365. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  117366. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  117367. _this._serialize0$_writeHsl$1(color);
  117368. return;
  117369. }
  117370. if (_this._serialize0$_style === B.OutputStyle_10) {
  117371. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  117372. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  117373. return;
  117374. t3 = rgb.channel0OrNull;
  117375. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117376. t3 = rgb.channel1OrNull;
  117377. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117378. t3 = rgb.channel2OrNull;
  117379. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117380. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  117381. t3 = hsl.channel0OrNull;
  117382. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117383. t3 = hsl.channel1OrNull;
  117384. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117385. t3 = hsl.channel2OrNull;
  117386. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  117387. t3 = _this._serialize0$_buffer;
  117388. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  117389. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  117390. t3.write$1(0, red);
  117391. t3.writeCharCode$1(44);
  117392. t3.write$1(0, green);
  117393. t3.writeCharCode$1(44);
  117394. t3.write$1(0, blue);
  117395. } else {
  117396. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  117397. t3.write$1(0, hue);
  117398. t3.writeCharCode$1(44);
  117399. t3.write$1(0, saturation);
  117400. t3.write$1(0, "%,");
  117401. t3.write$1(0, lightness);
  117402. t3.writeCharCode$1(37);
  117403. }
  117404. if (!opaque) {
  117405. t3.writeCharCode$1(44);
  117406. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  117407. }
  117408. t3.writeCharCode$1(41);
  117409. return;
  117410. }
  117411. t3 = color._color0$_space;
  117412. if (t3 === B.HslColorSpace_JQ20) {
  117413. _this._serialize0$_writeHsl$1(color);
  117414. return;
  117415. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  117416. t3 = _this._serialize0$_buffer;
  117417. t3.write$1(0, "hwb(");
  117418. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  117419. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  117420. t3.writeCharCode$1(32);
  117421. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  117422. t3.writeCharCode$1(37);
  117423. t3.writeCharCode$1(32);
  117424. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  117425. t3.writeCharCode$1(37);
  117426. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  117427. t3.write$1(0, " / ");
  117428. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  117429. }
  117430. t3.writeCharCode$1(41);
  117431. return;
  117432. }
  117433. _0_0 = color.format;
  117434. if (B.C__ColorFormatEnum0 === _0_0) {
  117435. _this._serialize0$_writeRgb$1(color);
  117436. return;
  117437. }
  117438. t1 = _0_0 instanceof A.SpanColorFormat0;
  117439. format = t1 ? _0_0 : null;
  117440. if (t1) {
  117441. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  117442. return;
  117443. }
  117444. if (opaque) {
  117445. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  117446. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  117447. if (_1_0 != null) {
  117448. _this._serialize0$_buffer.write$1(0, _1_0);
  117449. return;
  117450. }
  117451. if (_this._serialize0$_canUseHex$1(rgb)) {
  117452. _this._serialize0$_buffer.writeCharCode$1(35);
  117453. t1 = rgb.channel0OrNull;
  117454. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  117455. t1 = rgb.channel1OrNull;
  117456. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  117457. t1 = rgb.channel2OrNull;
  117458. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  117459. return;
  117460. }
  117461. }
  117462. if (t3 === B.HwbColorSpace_guQ0)
  117463. _this._serialize0$_writeHsl$1(color);
  117464. else
  117465. _this._serialize0$_writeRgb$1(color);
  117466. },
  117467. _serialize0$_tryIntegerRgb$1(rgb) {
  117468. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  117469. if (!_this._serialize0$_canUseHex$1(rgb))
  117470. return false;
  117471. t1 = rgb.channel0OrNull;
  117472. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  117473. t1 = rgb.channel1OrNull;
  117474. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  117475. t1 = rgb.channel2OrNull;
  117476. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  117477. t1 = redInt & 15;
  117478. shortHex = t1 === B.JSInt_methods._shrOtherPositive$1(redInt, 4) && (greenInt & 15) === B.JSInt_methods._shrOtherPositive$1(greenInt, 4) && (blueInt & 15) === B.JSInt_methods._shrOtherPositive$1(blueInt, 4);
  117479. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  117480. t2 = false;
  117481. if (_0_0 != null) {
  117482. t3 = _0_0.length;
  117483. t2 = t3 <= (shortHex ? 4 : 7);
  117484. $name = _0_0;
  117485. } else
  117486. $name = null;
  117487. if (t2)
  117488. _this._serialize0$_buffer.write$1(0, $name);
  117489. else {
  117490. t2 = _this._serialize0$_buffer;
  117491. if (shortHex) {
  117492. t2.writeCharCode$1(35);
  117493. t2.writeCharCode$1(A.hexCharFor0(t1));
  117494. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  117495. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  117496. } else {
  117497. t2.writeCharCode$1(35);
  117498. _this._serialize0$_writeHexComponent$1(redInt);
  117499. _this._serialize0$_writeHexComponent$1(greenInt);
  117500. _this._serialize0$_writeHexComponent$1(blueInt);
  117501. }
  117502. }
  117503. return true;
  117504. },
  117505. _serialize0$_canUseHex$1(rgb) {
  117506. var t2,
  117507. t1 = rgb.channel0OrNull;
  117508. if (t1 == null)
  117509. t1 = 0;
  117510. if (A.fuzzyIsInt0(t1))
  117511. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  117512. else
  117513. t1 = false;
  117514. t2 = false;
  117515. if (t1) {
  117516. t1 = rgb.channel1OrNull;
  117517. if (t1 == null)
  117518. t1 = 0;
  117519. if (A.fuzzyIsInt0(t1))
  117520. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  117521. else
  117522. t1 = false;
  117523. if (t1) {
  117524. t1 = rgb.channel2OrNull;
  117525. if (t1 == null)
  117526. t1 = 0;
  117527. if (A.fuzzyIsInt0(t1))
  117528. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  117529. else
  117530. t1 = t2;
  117531. } else
  117532. t1 = t2;
  117533. } else
  117534. t1 = t2;
  117535. return t1;
  117536. },
  117537. _serialize0$_writeRgb$1(color) {
  117538. var t4, _this = this,
  117539. t1 = color.alphaOrNull,
  117540. t2 = t1 == null,
  117541. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  117542. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  117543. t3 = _this._serialize0$_buffer;
  117544. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  117545. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  117546. t4 = _this._serialize0$_style === B.OutputStyle_10;
  117547. t3.write$1(0, t4 ? "," : ", ");
  117548. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  117549. t3.write$1(0, t4 ? "," : ", ");
  117550. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  117551. if (!opaque) {
  117552. t3.write$1(0, t4 ? "," : ", ");
  117553. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  117554. }
  117555. t3.writeCharCode$1(41);
  117556. },
  117557. _serialize0$_writeHsl$1(color) {
  117558. var t4, _this = this,
  117559. t1 = color.alphaOrNull,
  117560. t2 = t1 == null,
  117561. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  117562. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  117563. t3 = _this._serialize0$_buffer;
  117564. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  117565. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  117566. t4 = _this._serialize0$_style === B.OutputStyle_10;
  117567. t3.write$1(0, t4 ? "," : ", ");
  117568. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  117569. t3.write$1(0, t4 ? "," : ", ");
  117570. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  117571. if (!opaque) {
  117572. t3.write$1(0, t4 ? "," : ", ");
  117573. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  117574. }
  117575. t3.writeCharCode$1(41);
  117576. },
  117577. _serialize0$_writeColorFunction$1(color) {
  117578. var _this = this,
  117579. t1 = _this._serialize0$_buffer;
  117580. t1.write$1(0, "color(");
  117581. t1.write$1(0, color._color0$_space);
  117582. t1.writeCharCode$1(32);
  117583. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  117584. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  117585. t1.writeCharCode$1(41);
  117586. },
  117587. _serialize0$_writeHexComponent$1(color) {
  117588. var t1 = this._serialize0$_buffer;
  117589. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  117590. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  117591. },
  117592. _serialize0$_maybeWriteSlashAlpha$1(color) {
  117593. var t2, t3, _this = this,
  117594. t1 = color.alphaOrNull;
  117595. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  117596. return;
  117597. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  117598. if (t2)
  117599. _this._serialize0$_buffer.writeCharCode$1(32);
  117600. t3 = _this._serialize0$_buffer;
  117601. t3.writeCharCode$1(47);
  117602. if (t2)
  117603. t3.writeCharCode$1(32);
  117604. _this._serialize0$_writeChannel$1(t1);
  117605. },
  117606. visitList$1(value) {
  117607. var t2, singleton, t3, t4, t5, _this = this,
  117608. t1 = value._list1$_hasBrackets;
  117609. if (t1)
  117610. _this._serialize0$_buffer.writeCharCode$1(91);
  117611. else if (value._list1$_contents.length === 0) {
  117612. if (!_this._serialize0$_inspect)
  117613. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  117614. _this._serialize0$_buffer.write$1(0, "()");
  117615. return;
  117616. }
  117617. t2 = _this._serialize0$_inspect;
  117618. singleton = false;
  117619. if (t2)
  117620. if (value._list1$_contents.length === 1) {
  117621. t3 = value._list1$_separator;
  117622. t3 = t3 === B.ListSeparator_z0K0 || t3 === B.ListSeparator_Lul0;
  117623. singleton = t3;
  117624. }
  117625. if (singleton && !t1)
  117626. _this._serialize0$_buffer.writeCharCode$1(40);
  117627. t3 = value._list1$_contents;
  117628. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  117629. t4 = value._list1$_separator;
  117630. t5 = _this._serialize0$_separatorString$1(t4);
  117631. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  117632. if (singleton) {
  117633. t2 = _this._serialize0$_buffer;
  117634. t2.write$1(0, t4.separator);
  117635. if (!t1)
  117636. t2.writeCharCode$1(41);
  117637. }
  117638. if (t1)
  117639. _this._serialize0$_buffer.writeCharCode$1(93);
  117640. },
  117641. _serialize0$_separatorString$1(separator) {
  117642. var t1;
  117643. $label0$0: {
  117644. if (B.ListSeparator_z0K0 === separator) {
  117645. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  117646. break $label0$0;
  117647. }
  117648. if (B.ListSeparator_Lul0 === separator) {
  117649. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  117650. break $label0$0;
  117651. }
  117652. if (B.ListSeparator_SrV0 === separator) {
  117653. t1 = " ";
  117654. break $label0$0;
  117655. }
  117656. t1 = "";
  117657. break $label0$0;
  117658. }
  117659. return t1;
  117660. },
  117661. _serialize0$_elementNeedsParens$2(separator, value) {
  117662. var t1;
  117663. $label1$1: {
  117664. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  117665. $label0$0: {
  117666. if (B.ListSeparator_z0K0 === separator) {
  117667. t1 = value._list1$_separator === B.ListSeparator_z0K0;
  117668. break $label0$0;
  117669. }
  117670. if (B.ListSeparator_Lul0 === separator) {
  117671. t1 = value._list1$_separator;
  117672. t1 = t1 === B.ListSeparator_z0K0 || t1 === B.ListSeparator_Lul0;
  117673. break $label0$0;
  117674. }
  117675. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_3_undecided0;
  117676. break $label0$0;
  117677. }
  117678. break $label1$1;
  117679. }
  117680. t1 = false;
  117681. break $label1$1;
  117682. }
  117683. return t1;
  117684. },
  117685. visitMap$1(map) {
  117686. var t1, t2, _this = this;
  117687. if (!_this._serialize0$_inspect)
  117688. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  117689. t1 = _this._serialize0$_buffer;
  117690. t1.writeCharCode$1(40);
  117691. t2 = map._map0$_contents;
  117692. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  117693. t1.writeCharCode$1(41);
  117694. },
  117695. _serialize0$_writeMapElement$1(value) {
  117696. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_z0K0 && !value._list1$_hasBrackets;
  117697. if (needsParens)
  117698. this._serialize0$_buffer.writeCharCode$1(40);
  117699. value.accept$1(this);
  117700. if (needsParens)
  117701. this._serialize0$_buffer.writeCharCode$1(41);
  117702. },
  117703. visitNumber$1(value) {
  117704. var before, after, t1, _1_0, _this = this,
  117705. _0_0 = value.asSlash;
  117706. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  117707. before = _0_0._0;
  117708. after = _0_0._1;
  117709. _this.visitNumber$1(before);
  117710. _this._serialize0$_buffer.writeCharCode$1(47);
  117711. _this.visitNumber$1(after);
  117712. return;
  117713. }
  117714. t1 = value._number1$_value;
  117715. if (!isFinite(t1)) {
  117716. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  117717. return;
  117718. }
  117719. if (value.get$hasComplexUnits()) {
  117720. if (!_this._serialize0$_inspect)
  117721. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  117722. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  117723. } else {
  117724. _this._serialize0$_writeNumber$1(t1);
  117725. _1_0 = value.get$numeratorUnits(value);
  117726. if (_1_0.length === 1)
  117727. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  117728. }
  117729. },
  117730. _serialize0$_writeNumberToString$1(number) {
  117731. var t1 = new A.StringBuffer("");
  117732. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  117733. t1 = t1._contents;
  117734. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117735. },
  117736. _serialize0$_writeNumber$2(number, buffer) {
  117737. var _0_0, t1, integer, text, _this = this;
  117738. if (buffer == null)
  117739. buffer = _this._serialize0$_buffer;
  117740. _0_0 = A.fuzzyAsInt0(number);
  117741. t1 = false;
  117742. if (_0_0 != null) {
  117743. t1 = !_this._serialize0$_inspect || number === _0_0;
  117744. integer = _0_0;
  117745. } else
  117746. integer = null;
  117747. if (t1) {
  117748. buffer.write$1(0, _this._serialize0$_removeExponent$1(J.toString$0$(integer)));
  117749. return;
  117750. }
  117751. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  117752. if (_this._serialize0$_inspect) {
  117753. buffer.write$1(0, text);
  117754. return;
  117755. }
  117756. if (text.length < 12) {
  117757. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  117758. return;
  117759. }
  117760. _this._serialize0$_writeRounded$2(text, buffer);
  117761. },
  117762. _serialize0$_writeNumber$1(number) {
  117763. return this._serialize0$_writeNumber$2(number, null);
  117764. },
  117765. _serialize0$_removeExponent$1(text) {
  117766. var buffer, t2, t3, additionalZeroes,
  117767. negative = text.charCodeAt(0) === 45,
  117768. exponent = A._Cell$(),
  117769. t1 = text.length,
  117770. i = 0;
  117771. for (;;) {
  117772. if (!(i < t1)) {
  117773. buffer = null;
  117774. break;
  117775. }
  117776. c$0: {
  117777. if (text.charCodeAt(i) !== 101)
  117778. break c$0;
  117779. buffer = new A.StringBuffer("");
  117780. t2 = buffer._contents = A.Primitives_stringFromCharCode(text.charCodeAt(0));
  117781. if (negative) {
  117782. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  117783. buffer._contents = t2;
  117784. if (i > 3)
  117785. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  117786. } else if (i > 2)
  117787. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  117788. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  117789. break;
  117790. }
  117791. ++i;
  117792. }
  117793. if (buffer == null)
  117794. return text;
  117795. if (exponent._readLocal$0() > 0) {
  117796. t1 = exponent._readLocal$0();
  117797. t2 = buffer._contents;
  117798. t3 = negative ? 1 : 0;
  117799. additionalZeroes = t1 - (t2.length - 1 - t3);
  117800. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  117801. t1 = A.Primitives_stringFromCharCode(48);
  117802. t1 = buffer._contents += t1;
  117803. }
  117804. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117805. } else {
  117806. negative = text.charCodeAt(0) === 45;
  117807. t1 = (negative ? A.Primitives_stringFromCharCode(45) : "") + "0.";
  117808. i = -1;
  117809. for (;;) {
  117810. t2 = exponent.__late_helper$_value;
  117811. if (t2 === exponent)
  117812. A.throwExpression(A.LateError$localNI(""));
  117813. if (!(i > t2))
  117814. break;
  117815. t1 += A.Primitives_stringFromCharCode(48);
  117816. --i;
  117817. }
  117818. if (negative) {
  117819. t2 = buffer._contents;
  117820. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  117821. } else
  117822. t2 = buffer;
  117823. t2 = t1 + A.S(t2);
  117824. return t2.charCodeAt(0) == 0 ? t2 : t2;
  117825. }
  117826. },
  117827. _serialize0$_writeRounded$2(text, buffer) {
  117828. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  117829. if (B.JSString_methods.endsWith$1(text, ".0")) {
  117830. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  117831. return;
  117832. }
  117833. t1 = text.length;
  117834. digits = new Uint8Array(t1 + 1);
  117835. negative = text.charCodeAt(0) === 45;
  117836. textIndex = negative ? 1 : 0;
  117837. for (digitsIndex = 1;; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  117838. if (textIndex === t1) {
  117839. buffer.write$1(0, text);
  117840. return;
  117841. }
  117842. textIndex0 = textIndex + 1;
  117843. codeUnit = text.charCodeAt(textIndex);
  117844. if (codeUnit === 46) {
  117845. textIndex = textIndex0;
  117846. break;
  117847. }
  117848. digitsIndex0 = digitsIndex + 1;
  117849. digits[digitsIndex] = codeUnit - 48;
  117850. }
  117851. indexAfterPrecision = textIndex + 10;
  117852. if (indexAfterPrecision >= t1) {
  117853. buffer.write$1(0, text);
  117854. return;
  117855. }
  117856. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  117857. digitsIndex1 = digitsIndex0 + 1;
  117858. textIndex0 = textIndex + 1;
  117859. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  117860. }
  117861. if (text.charCodeAt(textIndex) - 48 >= 5)
  117862. for (;; digitsIndex0 = digitsIndex1) {
  117863. digitsIndex1 = digitsIndex0 - 1;
  117864. newDigit = digits[digitsIndex1] + 1;
  117865. digits[digitsIndex1] = newDigit;
  117866. if (newDigit !== 10)
  117867. break;
  117868. }
  117869. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  117870. digits[digitsIndex0] = 0;
  117871. for (;;) {
  117872. t1 = digitsIndex0 > digitsIndex;
  117873. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  117874. break;
  117875. --digitsIndex0;
  117876. }
  117877. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  117878. buffer.writeCharCode$1(48);
  117879. return;
  117880. }
  117881. if (negative)
  117882. buffer.writeCharCode$1(45);
  117883. if (digits[0] === 0)
  117884. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  117885. else
  117886. writtenIndex = 0;
  117887. for (; writtenIndex < digitsIndex; ++writtenIndex)
  117888. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117889. if (t1) {
  117890. buffer.writeCharCode$1(46);
  117891. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  117892. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117893. }
  117894. },
  117895. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  117896. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  117897. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  117898. if (forceDoubleQuote)
  117899. buffer.writeCharCode$1(34);
  117900. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  117901. char = string.charCodeAt(i);
  117902. _1_2 = 39 === char;
  117903. if (_1_2 && forceDoubleQuote) {
  117904. buffer.writeCharCode$1(39);
  117905. continue;
  117906. }
  117907. if (_1_2 && includesDoubleQuote) {
  117908. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117909. return;
  117910. }
  117911. if (_1_2) {
  117912. buffer.writeCharCode$1(39);
  117913. includesSingleQuote = true;
  117914. continue;
  117915. }
  117916. _1_4 = 34 === char;
  117917. if (_1_4 && forceDoubleQuote) {
  117918. buffer.writeCharCode$1(92);
  117919. buffer.writeCharCode$1(34);
  117920. continue;
  117921. }
  117922. if (_1_4 && includesSingleQuote) {
  117923. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117924. return;
  117925. }
  117926. if (_1_4) {
  117927. buffer.writeCharCode$1(34);
  117928. includesDoubleQuote = true;
  117929. continue;
  117930. }
  117931. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  117932. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  117933. continue;
  117934. }
  117935. if (92 === char) {
  117936. buffer.writeCharCode$1(92);
  117937. buffer.writeCharCode$1(92);
  117938. continue;
  117939. }
  117940. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  117941. if (_0_0 != null)
  117942. i = _0_0;
  117943. else
  117944. buffer.writeCharCode$1(char);
  117945. }
  117946. if (forceDoubleQuote)
  117947. buffer.writeCharCode$1(34);
  117948. else {
  117949. quote = includesDoubleQuote ? 39 : 34;
  117950. t1 = _this._serialize0$_buffer;
  117951. t1.writeCharCode$1(quote);
  117952. t1.write$1(0, buffer);
  117953. t1.writeCharCode$1(quote);
  117954. }
  117955. },
  117956. _serialize0$_visitQuotedString$1(string) {
  117957. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  117958. },
  117959. _serialize0$_visitUnquotedString$1(string) {
  117960. var t1, t2, afterNewline, i, _1_0, _0_0;
  117961. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  117962. _1_0 = string.charCodeAt(i);
  117963. if (10 === _1_0) {
  117964. t2.writeCharCode$1(32);
  117965. afterNewline = true;
  117966. continue;
  117967. }
  117968. if (32 === _1_0) {
  117969. if (!afterNewline)
  117970. t2.writeCharCode$1(32);
  117971. continue;
  117972. }
  117973. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  117974. if (_0_0 != null)
  117975. i = _0_0;
  117976. else
  117977. t2.writeCharCode$1(_1_0);
  117978. afterNewline = false;
  117979. }
  117980. },
  117981. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  117982. var t1;
  117983. if (this._serialize0$_style === B.OutputStyle_10)
  117984. return null;
  117985. if (codeUnit >= 57344 && codeUnit <= 63743) {
  117986. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  117987. return i;
  117988. }
  117989. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  117990. t1 = i + 1;
  117991. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  117992. return t1;
  117993. }
  117994. return null;
  117995. },
  117996. _serialize0$_writeEscape$4(buffer, character, string, i) {
  117997. var t1, next;
  117998. buffer.writeCharCode$1(92);
  117999. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  118000. t1 = i + 1;
  118001. if (string.length === t1)
  118002. return;
  118003. next = string.charCodeAt(t1);
  118004. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  118005. buffer.writeCharCode$1(32);
  118006. },
  118007. visitAttributeSelector$1(_, attribute) {
  118008. var _0_0, t2,
  118009. t1 = this._serialize0$_buffer;
  118010. t1.writeCharCode$1(91);
  118011. t1.write$1(0, attribute.name);
  118012. _0_0 = attribute.value;
  118013. if (_0_0 != null) {
  118014. t1.write$1(0, attribute.op);
  118015. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  118016. t1.write$1(0, _0_0);
  118017. t2 = attribute.modifier;
  118018. if (t2 != null)
  118019. t1.writeCharCode$1(32);
  118020. } else {
  118021. this._serialize0$_visitQuotedString$1(_0_0);
  118022. t2 = attribute.modifier;
  118023. if (t2 != null)
  118024. if (this._serialize0$_style !== B.OutputStyle_10)
  118025. t1.writeCharCode$1(32);
  118026. }
  118027. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  118028. }
  118029. t1.writeCharCode$1(93);
  118030. },
  118031. visitClassSelector$1(_, klass) {
  118032. var t1 = this._serialize0$_buffer;
  118033. t1.writeCharCode$1(46);
  118034. t1.write$1(0, klass.name);
  118035. },
  118036. visitComplexSelector$1(complex) {
  118037. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  118038. t1 = complex.leadingCombinators;
  118039. _this._serialize0$_writeCombinators$1(t1);
  118040. if (t1.length >= 1 && complex.components.length >= 1)
  118041. if (_this._serialize0$_style !== B.OutputStyle_10)
  118042. _this._serialize0$_buffer.writeCharCode$1(32);
  118043. for (t1 = complex.components, t2 = t1.length, t3 = t2 - 1, t4 = _this._serialize0$_buffer, t5 = _this._serialize0$_style === B.OutputStyle_10, t6 = !t5, i = 0; i < t2; ++i) {
  118044. component = t1[i];
  118045. _this.visitCompoundSelector$1(component.selector);
  118046. t7 = component.combinators;
  118047. t8 = t7.length === 0;
  118048. if (!t8)
  118049. if (t6)
  118050. t4.writeCharCode$1(32);
  118051. t9 = t5 ? "" : " ";
  118052. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  118053. if (i !== t3)
  118054. t7 = !t5 || t8;
  118055. else
  118056. t7 = false;
  118057. if (t7)
  118058. t4.writeCharCode$1(32);
  118059. }
  118060. },
  118061. _serialize0$_writeCombinators$1(combinators) {
  118062. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  118063. t2 = this._serialize0$_buffer;
  118064. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  118065. },
  118066. visitCompoundSelector$1(compound) {
  118067. var t2, t3, _i,
  118068. t1 = this._serialize0$_buffer,
  118069. start = t1.get$length(t1);
  118070. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  118071. t2[_i].accept$1(this);
  118072. if (t1.get$length(t1) === start)
  118073. t1.writeCharCode$1(42);
  118074. },
  118075. visitIDSelector$1(_, id) {
  118076. var t1 = this._serialize0$_buffer;
  118077. t1.writeCharCode$1(35);
  118078. t1.write$1(0, id.name);
  118079. },
  118080. visitSelectorList$1(list) {
  118081. var t1, t2, t3, t4, first, t5, _this = this,
  118082. complexes = list.components;
  118083. for (t1 = J.get$iterator$ax(_this._serialize0$_inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure0(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._serialize0$_style !== B.OutputStyle_10, t3 = _this._serialize0$_buffer, t4 = _this._lineFeed.text, first = true; t1.moveNext$0();) {
  118084. t5 = t1.get$current(t1);
  118085. if (first)
  118086. first = false;
  118087. else {
  118088. t3.writeCharCode$1(44);
  118089. if (t5.lineBreak) {
  118090. if (t2)
  118091. t3.write$1(0, t4);
  118092. _this._serialize0$_writeIndentation$0();
  118093. } else if (t2)
  118094. t3.writeCharCode$1(32);
  118095. }
  118096. _this.visitComplexSelector$1(t5);
  118097. }
  118098. },
  118099. visitParentSelector$1(_, $parent) {
  118100. var t1 = this._serialize0$_buffer;
  118101. t1.writeCharCode$1(38);
  118102. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  118103. },
  118104. visitPlaceholderSelector$1(_, placeholder) {
  118105. var t1 = this._serialize0$_buffer;
  118106. t1.writeCharCode$1(37);
  118107. t1.write$1(0, placeholder.name);
  118108. },
  118109. visitPseudoSelector$1(_, pseudo) {
  118110. var _0_4, t3,
  118111. t1 = pseudo.name,
  118112. t2 = false;
  118113. if ("not" === t1) {
  118114. _0_4 = pseudo.selector;
  118115. if (_0_4 instanceof A.SelectorList0)
  118116. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  118117. }
  118118. if (t2)
  118119. return;
  118120. t2 = this._serialize0$_buffer;
  118121. t2.writeCharCode$1(58);
  118122. if (!pseudo.isSyntacticClass)
  118123. t2.writeCharCode$1(58);
  118124. t2.write$1(0, t1);
  118125. t1 = pseudo.argument;
  118126. t3 = t1 == null;
  118127. if (t3 && pseudo.selector == null)
  118128. return;
  118129. t2.writeCharCode$1(40);
  118130. if (!t3) {
  118131. t2.write$1(0, t1);
  118132. if (pseudo.selector != null)
  118133. t2.writeCharCode$1(32);
  118134. }
  118135. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  118136. t2.writeCharCode$1(41);
  118137. },
  118138. visitTypeSelector$1(_, type) {
  118139. this._serialize0$_buffer.write$1(0, type.name);
  118140. },
  118141. visitUniversalSelector$1(_, universal) {
  118142. var t2,
  118143. t1 = universal.namespace;
  118144. if (t1 != null) {
  118145. t2 = this._serialize0$_buffer;
  118146. t2.write$1(0, t1);
  118147. t2.writeCharCode$1(124);
  118148. }
  118149. this._serialize0$_buffer.writeCharCode$1(42);
  118150. },
  118151. _serialize0$_write$1(value) {
  118152. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  118153. },
  118154. _serialize0$_visitChildren$1($parent) {
  118155. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  118156. t1 = _this._serialize0$_buffer;
  118157. t1.writeCharCode$1(123);
  118158. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._serialize0$_style === B.OutputStyle_10, t5 = !t4, t6 = _this.get$_serialize0$_requiresSemicolon(), t7 = !_this._serialize0$_inspect, t3 = t3._eval$1("ListBase.E"), t8 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  118159. t9 = t2.__internal$_current;
  118160. previous0 = t9 == null ? t3._as(t9) : t9;
  118161. if (t7)
  118162. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  118163. else
  118164. t9 = false;
  118165. if (t9)
  118166. continue;
  118167. t9 = previous == null;
  118168. t10 = t9 ? null : t6.call$1(previous);
  118169. if (t10 == null ? false : t10)
  118170. t1.writeCharCode$1(59);
  118171. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  118172. if (t5)
  118173. t1.writeCharCode$1(32);
  118174. savedIndentation = _this._serialize0$_indentation;
  118175. _this._serialize0$_indentation = 0;
  118176. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  118177. _this._serialize0$_indentation = savedIndentation;
  118178. } else {
  118179. if (t5)
  118180. t1.write$1(0, t8);
  118181. ++_this._serialize0$_indentation;
  118182. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  118183. --_this._serialize0$_indentation;
  118184. }
  118185. prePrevious = previous;
  118186. previous = previous0;
  118187. }
  118188. if (previous != null) {
  118189. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  118190. t1.writeCharCode$1(59);
  118191. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  118192. if (t5)
  118193. t1.writeCharCode$1(32);
  118194. } else {
  118195. _this._serialize0$_writeLineFeed$0();
  118196. _this._serialize0$_writeIndentation$0();
  118197. }
  118198. }
  118199. t1.writeCharCode$1(125);
  118200. },
  118201. _serialize0$_requiresSemicolon$1(node) {
  118202. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  118203. },
  118204. _serialize0$_isTrailingComment$2(node, previous) {
  118205. var t1, t2, t3, searchFrom, endOffset, t4, span;
  118206. if (this._serialize0$_style === B.OutputStyle_10)
  118207. return false;
  118208. if (!(node instanceof A.ModifiableCssComment0))
  118209. return false;
  118210. t1 = node.span;
  118211. t2 = t1.get$sourceUrl(t1);
  118212. t3 = previous.get$span(previous);
  118213. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  118214. return false;
  118215. t2 = previous.get$span(previous);
  118216. if (!(J.$eq$(t2.get$file(t2).url, t1.get$file(t1).url) && t2.get$start(t2).offset <= t1.get$start(t1).offset && t2.get$end(t2).offset >= t1.get$end(t1).offset)) {
  118217. t1 = t1.get$start(t1);
  118218. t1 = t1.file.getLine$1(t1.offset);
  118219. t2 = previous.get$span(previous);
  118220. t2 = t2.get$end(t2);
  118221. return t1 === t2.file.getLine$1(t2.offset);
  118222. }
  118223. t2 = t1.get$start(t1);
  118224. t3 = previous.get$span(previous);
  118225. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  118226. if (searchFrom < 0)
  118227. return false;
  118228. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  118229. t2 = previous.get$span(previous);
  118230. t2 = t2.get$file(t2);
  118231. t3 = previous.get$span(previous);
  118232. t3 = t3.get$start(t3);
  118233. t4 = previous.get$span(previous);
  118234. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  118235. t1 = t1.get$start(t1);
  118236. t1 = t1.file.getLine$1(t1.offset);
  118237. t4 = A.FileLocation$_(span.file, span._end);
  118238. return t1 === t4.file.getLine$1(t4.offset);
  118239. },
  118240. _serialize0$_writeLineFeed$0() {
  118241. if (this._serialize0$_style !== B.OutputStyle_10)
  118242. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  118243. },
  118244. _serialize0$_writeIndentation$0() {
  118245. var _this = this;
  118246. if (_this._serialize0$_style === B.OutputStyle_10)
  118247. return;
  118248. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  118249. },
  118250. _serialize0$_writeTimes$2(char, times) {
  118251. var t1, i;
  118252. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  118253. t1.writeCharCode$1(char);
  118254. },
  118255. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  118256. var t1, t2, first, value;
  118257. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  118258. value = t1.get$current(t1);
  118259. if (first)
  118260. first = false;
  118261. else
  118262. t2.write$1(0, text);
  118263. callback.call$1(value);
  118264. }
  118265. },
  118266. _serialize0$_writeBetween$3(iterable, text, callback) {
  118267. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  118268. }
  118269. };
  118270. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  118271. call$0() {
  118272. var t2, t3, _0_0, minimumIndentation,
  118273. t1 = this.$this;
  118274. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  118275. return;
  118276. t2 = this.node;
  118277. t3 = t2.text;
  118278. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  118279. return;
  118280. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  118281. if (_0_0 != null) {
  118282. t2 = t2.span;
  118283. t2 = t2.get$start(t2);
  118284. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  118285. t1._serialize0$_writeIndentation$0();
  118286. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  118287. } else {
  118288. t1._serialize0$_writeIndentation$0();
  118289. t1._serialize0$_buffer.write$1(0, t3);
  118290. }
  118291. },
  118292. $signature: 1
  118293. };
  118294. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  118295. call$0() {
  118296. var t3, _0_0,
  118297. t1 = this.$this,
  118298. t2 = t1._serialize0$_buffer;
  118299. t2.writeCharCode$1(64);
  118300. t3 = this.node;
  118301. t1._serialize0$_write$1(t3.name);
  118302. _0_0 = t3.value;
  118303. if (_0_0 != null) {
  118304. t2.writeCharCode$1(32);
  118305. t1._serialize0$_write$1(_0_0);
  118306. }
  118307. },
  118308. $signature: 1
  118309. };
  118310. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  118311. call$0() {
  118312. var t3, firstQuery, t4, t5,
  118313. t1 = this.$this,
  118314. t2 = t1._serialize0$_buffer;
  118315. t2.write$1(0, "@media");
  118316. t3 = this.node.queries;
  118317. firstQuery = B.JSArray_methods.get$first(t3);
  118318. t4 = t1._serialize0$_style === B.OutputStyle_10;
  118319. t5 = true;
  118320. if (t4)
  118321. if (firstQuery.modifier == null)
  118322. if (firstQuery.type == null) {
  118323. t5 = firstQuery.conditions;
  118324. t5 = t5.length === 1 && B.JSString_methods.startsWith$1(B.JSArray_methods.get$first(t5), "(not ");
  118325. }
  118326. if (t5)
  118327. t2.writeCharCode$1(32);
  118328. t2 = t4 ? "," : ", ";
  118329. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  118330. },
  118331. $signature: 1
  118332. };
  118333. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  118334. call$0() {
  118335. var t3, t4, _0_0,
  118336. t1 = this.$this,
  118337. t2 = t1._serialize0$_buffer;
  118338. t2.write$1(0, "@import");
  118339. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  118340. if (t3)
  118341. t2.writeCharCode$1(32);
  118342. t4 = this.node;
  118343. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  118344. _0_0 = t4.modifiers;
  118345. if (_0_0 != null) {
  118346. if (t3)
  118347. t2.writeCharCode$1(32);
  118348. t2.write$1(0, _0_0);
  118349. }
  118350. },
  118351. $signature: 1
  118352. };
  118353. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  118354. call$0() {
  118355. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  118356. },
  118357. $signature: 0
  118358. };
  118359. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  118360. call$0() {
  118361. var t1 = this.$this,
  118362. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  118363. t3 = t1._serialize0$_buffer;
  118364. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  118365. },
  118366. $signature: 0
  118367. };
  118368. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  118369. call$0() {
  118370. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  118371. },
  118372. $signature: 0
  118373. };
  118374. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  118375. call$0() {
  118376. var t1 = this.$this,
  118377. t2 = t1._serialize0$_buffer;
  118378. t2.write$1(0, "@supports");
  118379. if (!(t1._serialize0$_style === B.OutputStyle_10 && this.node.condition.value.charCodeAt(0) === 40))
  118380. t2.writeCharCode$1(32);
  118381. t1._serialize0$_write$1(this.node.condition);
  118382. },
  118383. $signature: 1
  118384. };
  118385. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  118386. call$0() {
  118387. var t1 = this.$this,
  118388. t2 = this.node;
  118389. if (t1._serialize0$_style === B.OutputStyle_10)
  118390. t1._serialize0$_writeFoldedValue$1(t2);
  118391. else
  118392. t1._serialize0$_writeReindentedValue$1(t2);
  118393. },
  118394. $signature: 1
  118395. };
  118396. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  118397. call$0() {
  118398. return this.node.value.value.accept$1(this.$this);
  118399. },
  118400. $signature: 0
  118401. };
  118402. A._SerializeVisitor_visitList_closure2.prototype = {
  118403. call$1(element) {
  118404. return !element.get$isBlank();
  118405. },
  118406. $signature: 52
  118407. };
  118408. A._SerializeVisitor_visitList_closure3.prototype = {
  118409. call$1(element) {
  118410. var t1 = this.$this,
  118411. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  118412. if (needsParens)
  118413. t1._serialize0$_buffer.writeCharCode$1(40);
  118414. element.accept$1(t1);
  118415. if (needsParens)
  118416. t1._serialize0$_buffer.writeCharCode$1(41);
  118417. },
  118418. $signature: 64
  118419. };
  118420. A._SerializeVisitor_visitList_closure4.prototype = {
  118421. call$1(element) {
  118422. element.accept$1(this.$this);
  118423. },
  118424. $signature: 64
  118425. };
  118426. A._SerializeVisitor_visitMap_closure0.prototype = {
  118427. call$1(entry) {
  118428. var t1 = this.$this;
  118429. t1._serialize0$_writeMapElement$1(entry.key);
  118430. t1._serialize0$_buffer.write$1(0, ": ");
  118431. t1._serialize0$_writeMapElement$1(entry.value);
  118432. },
  118433. $signature: 582
  118434. };
  118435. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  118436. call$1(complex) {
  118437. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  118438. },
  118439. $signature: 21
  118440. };
  118441. A._SerializeVisitor__write_closure0.prototype = {
  118442. call$0() {
  118443. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  118444. },
  118445. $signature: 0
  118446. };
  118447. A._SerializeVisitor__visitChildren_closure1.prototype = {
  118448. call$0() {
  118449. return this.child.accept$1(this.$this);
  118450. },
  118451. $signature: 0
  118452. };
  118453. A._SerializeVisitor__visitChildren_closure2.prototype = {
  118454. call$0() {
  118455. this.child.accept$1(this.$this);
  118456. },
  118457. $signature: 0
  118458. };
  118459. A.OutputStyle0.prototype = {
  118460. _enumToString$0() {
  118461. return "OutputStyle." + this._name;
  118462. }
  118463. };
  118464. A.LineFeed0.prototype = {
  118465. _enumToString$0() {
  118466. return "LineFeed." + this._name;
  118467. },
  118468. toString$0(_) {
  118469. return this.name;
  118470. }
  118471. };
  118472. A.JSSet.prototype = {};
  118473. A.ShadowedModuleView0.prototype = {
  118474. get$url(_) {
  118475. var t1 = this._shadowed_view0$_inner;
  118476. return t1.get$url(t1);
  118477. },
  118478. get$upstream() {
  118479. return this._shadowed_view0$_inner.get$upstream();
  118480. },
  118481. get$extensionStore() {
  118482. return this._shadowed_view0$_inner.get$extensionStore();
  118483. },
  118484. get$css(_) {
  118485. var t1 = this._shadowed_view0$_inner;
  118486. return t1.get$css(t1);
  118487. },
  118488. get$preModuleComments() {
  118489. return this._shadowed_view0$_inner.get$preModuleComments();
  118490. },
  118491. get$transitivelyContainsCss() {
  118492. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  118493. },
  118494. get$transitivelyContainsExtensions() {
  118495. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  118496. },
  118497. setVariable$3($name, value, nodeWithSpan) {
  118498. if (!this.variables.containsKey$1($name))
  118499. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  118500. else
  118501. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  118502. },
  118503. variableIdentity$1($name) {
  118504. return this._shadowed_view0$_inner.variableIdentity$1($name);
  118505. },
  118506. couldHaveBeenConfigured$1(variables) {
  118507. var t3, t4,
  118508. t1 = this.variables,
  118509. t2 = this._shadowed_view0$_inner;
  118510. if (t1 === t2.get$variables())
  118511. t1 = t2.couldHaveBeenConfigured$1(variables);
  118512. else {
  118513. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  118514. for (t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118515. t4 = t1.get$current(t1);
  118516. if (variables.contains$1(0, t4))
  118517. t3.add$1(0, t4);
  118518. }
  118519. t1 = t2.couldHaveBeenConfigured$1(t3);
  118520. }
  118521. return t1;
  118522. },
  118523. $eq(_, other) {
  118524. var t1, t2, t3, _this = this;
  118525. if (other == null)
  118526. return false;
  118527. t1 = false;
  118528. if (other instanceof A.ShadowedModuleView0)
  118529. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  118530. t2 = _this.variables;
  118531. t2 = t2.get$keys(t2);
  118532. t3 = other.variables;
  118533. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  118534. t2 = _this.functions;
  118535. t2 = t2.get$keys(t2);
  118536. t3 = other.functions;
  118537. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  118538. t1 = _this.mixins;
  118539. t1 = t1.get$keys(t1);
  118540. t2 = other.mixins;
  118541. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  118542. t1 = t2;
  118543. }
  118544. }
  118545. }
  118546. return t1;
  118547. },
  118548. get$hashCode(_) {
  118549. var t1 = this._shadowed_view0$_inner;
  118550. return t1.get$hashCode(t1);
  118551. },
  118552. cloneCss$0() {
  118553. var _this = this;
  118554. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  118555. },
  118556. toString$0(_) {
  118557. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  118558. },
  118559. $isModule1: 1,
  118560. get$variables() {
  118561. return this.variables;
  118562. },
  118563. get$variableNodes() {
  118564. return this.variableNodes;
  118565. },
  118566. get$functions(receiver) {
  118567. return this.functions;
  118568. },
  118569. get$mixins() {
  118570. return this.mixins;
  118571. }
  118572. };
  118573. A.SilentComment0.prototype = {
  118574. accept$1$1(visitor) {
  118575. return visitor.visitSilentComment$1(0, this);
  118576. },
  118577. accept$1(visitor) {
  118578. return this.accept$1$1(visitor, type$.dynamic);
  118579. },
  118580. toString$0(_) {
  118581. return this.text;
  118582. },
  118583. get$span(receiver) {
  118584. return this.span;
  118585. }
  118586. };
  118587. A.InterpolatedSimpleSelector.prototype = {};
  118588. A.SimpleSelector0.prototype = {
  118589. get$specificity() {
  118590. return 1000;
  118591. },
  118592. get$hasComplicatedSuperselectorSemantics() {
  118593. return false;
  118594. },
  118595. addSuffix$1(suffix) {
  118596. return A.throwExpression(A.MultiSpanSassException$0('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  118597. },
  118598. unify$1(compound) {
  118599. var other, result, addedThis, _i, simple, _this = this,
  118600. t1 = false;
  118601. if (compound.length === 1) {
  118602. other = compound[0];
  118603. if (!(other instanceof A.UniversalSelector0)) {
  118604. if (other instanceof A.PseudoSelector0)
  118605. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  118606. } else
  118607. t1 = true;
  118608. } else
  118609. other = null;
  118610. if (t1)
  118611. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  118612. if (B.JSArray_methods.contains$1(compound, _this))
  118613. return compound;
  118614. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  118615. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  118616. simple = compound[_i];
  118617. if (!addedThis && simple instanceof A.PseudoSelector0) {
  118618. result.push(_this);
  118619. addedThis = true;
  118620. }
  118621. result.push(simple);
  118622. }
  118623. if (!addedThis)
  118624. result.push(_this);
  118625. return result;
  118626. },
  118627. isSuperselector$1(other) {
  118628. var list;
  118629. if (this.$eq(0, other))
  118630. return true;
  118631. if (other instanceof A.PseudoSelector0 && other.isClass) {
  118632. list = other.selector;
  118633. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  118634. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  118635. }
  118636. return false;
  118637. }
  118638. };
  118639. A.SimpleSelector_isSuperselector_closure0.prototype = {
  118640. call$1(complex) {
  118641. var t1 = complex.components;
  118642. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  118643. },
  118644. $signature: 21
  118645. };
  118646. A.SimpleSelector_isSuperselector__closure0.prototype = {
  118647. call$1(simple) {
  118648. return this.$this.isSuperselector$1(simple);
  118649. },
  118650. $signature: 14
  118651. };
  118652. A.JSSimpleSelectorVisitor.prototype = {
  118653. visitSelectorList$1(_) {
  118654. return this._simpleSelectorError$0();
  118655. },
  118656. visitComplexSelector$1(_) {
  118657. return this._simpleSelectorError$0();
  118658. },
  118659. visitCompoundSelector$1(_) {
  118660. return this._simpleSelectorError$0();
  118661. },
  118662. _simpleSelectorError$0() {
  118663. return A.throwExpression(A.UnsupportedError$("SimpleSelectorVisitor only supports SimpleSelectors"));
  118664. },
  118665. $isInterpolatedSelectorVisitor: 1
  118666. };
  118667. A.JSSimpleSelectorVisitorObject.prototype = {};
  118668. A.SingleUnitSassNumber0.prototype = {
  118669. get$numeratorUnits(_) {
  118670. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  118671. },
  118672. get$denominatorUnits(_) {
  118673. return B.List_empty;
  118674. },
  118675. get$hasUnits() {
  118676. return true;
  118677. },
  118678. get$hasComplexUnits() {
  118679. return false;
  118680. },
  118681. withValue$1(value) {
  118682. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  118683. },
  118684. withSlash$2(numerator, denominator) {
  118685. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  118686. },
  118687. hasUnit$1(unit) {
  118688. return unit === this._single_unit$_unit;
  118689. },
  118690. hasCompatibleUnits$1(other) {
  118691. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  118692. },
  118693. hasPossiblyCompatibleUnits$1(other) {
  118694. var t1, knownCompatibilities, otherUnit;
  118695. if (!(other instanceof A.SingleUnitSassNumber0))
  118696. return false;
  118697. t1 = $.$get$_knownCompatibilitiesByUnit0();
  118698. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  118699. if (knownCompatibilities == null)
  118700. return true;
  118701. otherUnit = other._single_unit$_unit.toLowerCase();
  118702. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  118703. },
  118704. compatibleWithUnit$1(unit) {
  118705. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  118706. },
  118707. coerceToMatch$3(other, $name, otherName) {
  118708. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  118709. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  118710. },
  118711. coerceToMatch$1(other) {
  118712. return this.coerceToMatch$3(other, null, null);
  118713. },
  118714. coerceValueToMatch$3(other, $name, otherName) {
  118715. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  118716. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  118717. },
  118718. coerceValueToMatch$1(other) {
  118719. return this.coerceValueToMatch$3(other, null, null);
  118720. },
  118721. convertToMatch$3(other, $name, otherName) {
  118722. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  118723. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  118724. },
  118725. convertValueToMatch$3(other, $name, otherName) {
  118726. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  118727. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  118728. },
  118729. convertValueToMatch$1(other) {
  118730. return this.convertValueToMatch$3(other, null, null);
  118731. },
  118732. coerce$3(newNumerators, newDenominators, $name) {
  118733. var t1 = J.getInterceptor$asx(newNumerators);
  118734. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  118735. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  118736. },
  118737. coerce$2(newNumerators, newDenominators) {
  118738. return this.coerce$3(newNumerators, newDenominators, null);
  118739. },
  118740. coerceValue$3(newNumerators, newDenominators, $name) {
  118741. var t1 = J.getInterceptor$asx(newNumerators);
  118742. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  118743. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  118744. },
  118745. coerceValueToUnit$2(unit, $name) {
  118746. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  118747. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  118748. },
  118749. coerceValueToUnit$1(unit) {
  118750. return this.coerceValueToUnit$2(unit, null);
  118751. },
  118752. _single_unit$_coerceToUnit$1(unit) {
  118753. var t1 = this._single_unit$_unit;
  118754. if (t1 === unit)
  118755. return this;
  118756. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  118757. },
  118758. _single_unit$_coerceValueToUnit$1(unit) {
  118759. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  118760. },
  118761. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  118762. var mutableOtherDenominators, t1 = {};
  118763. t1.value = value;
  118764. t1.newNumerators = otherNumerators;
  118765. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  118766. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  118767. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  118768. },
  118769. unaryMinus$0() {
  118770. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  118771. },
  118772. $eq(_, other) {
  118773. var factor;
  118774. if (other == null)
  118775. return false;
  118776. if (other instanceof A.SingleUnitSassNumber0) {
  118777. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  118778. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  118779. } else
  118780. return false;
  118781. },
  118782. get$hashCode(_) {
  118783. var _this = this,
  118784. t1 = _this.hashCache;
  118785. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  118786. }
  118787. };
  118788. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  118789. call$1(factor) {
  118790. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  118791. },
  118792. $signature: 583
  118793. };
  118794. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  118795. call$1(factor) {
  118796. return this.$this._number1$_value * factor;
  118797. },
  118798. $signature: 16
  118799. };
  118800. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  118801. call$1(denominator) {
  118802. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  118803. if (factor == null)
  118804. return false;
  118805. this._box_0.value *= factor;
  118806. return true;
  118807. },
  118808. $signature: 5
  118809. };
  118810. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  118811. call$0() {
  118812. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  118813. t2 = this._box_0;
  118814. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  118815. t2.newNumerators = t1;
  118816. },
  118817. $signature: 0
  118818. };
  118819. A.SourceInterpolationVisitor.prototype = {
  118820. visitBinaryOperationExpression$1(_, node) {
  118821. return this.buffer = null;
  118822. },
  118823. visitBooleanExpression$1(_, node) {
  118824. return this.buffer = null;
  118825. },
  118826. visitColorExpression$1(_, node) {
  118827. var t2,
  118828. t1 = this.buffer;
  118829. if (t1 != null) {
  118830. t2 = node.span.get$text();
  118831. t1 = t1._interpolation_buffer0$_text;
  118832. t1._contents += t2;
  118833. }
  118834. return null;
  118835. },
  118836. visitFunctionExpression$1(_, node) {
  118837. return this.buffer = null;
  118838. },
  118839. visitInterpolatedFunctionExpression$1(_, node) {
  118840. var t1 = this.buffer;
  118841. if (t1 != null)
  118842. t1.addInterpolation$1(node.name);
  118843. this._visitArguments$1(node.$arguments);
  118844. },
  118845. _visitArguments$1($arguments) {
  118846. var t2, t3, _this = this,
  118847. t1 = $arguments.named;
  118848. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  118849. return;
  118850. t1 = $arguments.positional;
  118851. if (t1.length === 0) {
  118852. t1 = _this.buffer;
  118853. if (t1 != null) {
  118854. t2 = $arguments.span.get$text();
  118855. t1 = t1._interpolation_buffer0$_text;
  118856. t1._contents += t2;
  118857. }
  118858. return;
  118859. }
  118860. t2 = _this.buffer;
  118861. if (t2 != null) {
  118862. t3 = B.JSArray_methods.get$first(t1);
  118863. t3 = A.SpanExtensions_before($arguments.span, t3.get$span(t3));
  118864. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  118865. t2 = t2._interpolation_buffer0$_text;
  118866. t2._contents += t3;
  118867. }
  118868. _this._writeListAndBetween$2(t1, null);
  118869. t2 = _this.buffer;
  118870. if (t2 != null) {
  118871. t1 = B.JSArray_methods.get$last(t1);
  118872. t1 = A.SpanExtensions_after($arguments.span, t1.get$span(t1));
  118873. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  118874. t2 = t2._interpolation_buffer0$_text;
  118875. t2._contents += t1;
  118876. }
  118877. },
  118878. visitIfExpression$1(_, node) {
  118879. return this.buffer = null;
  118880. },
  118881. visitListExpression$1(_, node) {
  118882. var t3, t4, _this = this,
  118883. t1 = node.contents,
  118884. t2 = t1.length;
  118885. if (t2 <= 1 && !node.hasBrackets) {
  118886. _this.buffer = null;
  118887. return;
  118888. }
  118889. t3 = node.hasBrackets;
  118890. if (t3 && t2 === 0) {
  118891. t1 = _this.buffer;
  118892. if (t1 != null) {
  118893. t2 = node.span.get$text();
  118894. t1 = t1._interpolation_buffer0$_text;
  118895. t1._contents += t2;
  118896. }
  118897. return;
  118898. }
  118899. if (t3) {
  118900. t2 = _this.buffer;
  118901. if (t2 != null) {
  118902. t4 = B.JSArray_methods.get$first(t1);
  118903. t4 = A.SpanExtensions_before(node.span, t4.get$span(t4));
  118904. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  118905. t2 = t2._interpolation_buffer0$_text;
  118906. t2._contents += t4;
  118907. }
  118908. }
  118909. _this._writeListAndBetween$1(t1);
  118910. if (t3) {
  118911. t2 = _this.buffer;
  118912. if (t2 != null) {
  118913. t1 = B.JSArray_methods.get$last(t1);
  118914. t1 = A.SpanExtensions_after(node.span, t1.get$span(t1));
  118915. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  118916. t2 = t2._interpolation_buffer0$_text;
  118917. t2._contents += t1;
  118918. }
  118919. }
  118920. },
  118921. visitMapExpression$1(_, node) {
  118922. return this.buffer = null;
  118923. },
  118924. visitNullExpression$1(_, node) {
  118925. return this.buffer = null;
  118926. },
  118927. visitNumberExpression$1(_, node) {
  118928. var t2,
  118929. t1 = this.buffer;
  118930. if (t1 != null) {
  118931. t2 = node.span.get$text();
  118932. t1 = t1._interpolation_buffer0$_text;
  118933. t1._contents += t2;
  118934. }
  118935. return null;
  118936. },
  118937. visitParenthesizedExpression$1(_, node) {
  118938. return this.buffer = null;
  118939. },
  118940. visitSelectorExpression$1(_, node) {
  118941. return this.buffer = null;
  118942. },
  118943. visitStringExpression$1(_, node) {
  118944. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  118945. t1 = node.text;
  118946. if (t1.get$asPlain() != null) {
  118947. t2 = _this.buffer;
  118948. if (t2 != null) {
  118949. t1 = t1.span.get$text();
  118950. t2 = t2._interpolation_buffer0$_text;
  118951. t2._contents += t1;
  118952. }
  118953. return;
  118954. }
  118955. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  118956. span = t1.spanForElement$1(i);
  118957. _0_0 = t2[i];
  118958. t6 = _0_0 instanceof A.Expression0;
  118959. expression = t6 ? _0_0 : null;
  118960. if (t6) {
  118961. if (i === 0) {
  118962. t6 = _this.buffer;
  118963. if (t6 != null) {
  118964. t7 = A.SpanExtensions_before(t5, span);
  118965. t8 = t7._file$_start;
  118966. t9 = t7.file._decodedChars;
  118967. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118968. t6 = t6._interpolation_buffer0$_text;
  118969. t6._contents += t9;
  118970. }
  118971. }
  118972. t6 = _this.buffer;
  118973. if (t6 != null) {
  118974. t6._interpolation_buffer0$_flushText$0();
  118975. t6._interpolation_buffer0$_contents.push(expression);
  118976. t6._interpolation_buffer0$_spans.push(span);
  118977. }
  118978. if (i === t4) {
  118979. t6 = _this.buffer;
  118980. if (t6 != null) {
  118981. t7 = A.SpanExtensions_after(t5, span);
  118982. t8 = t7._file$_start;
  118983. t9 = t7.file._decodedChars;
  118984. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118985. t6 = t6._interpolation_buffer0$_text;
  118986. t6._contents += t9;
  118987. }
  118988. }
  118989. continue;
  118990. }
  118991. t6 = _this.buffer;
  118992. if (t6 != null) {
  118993. t6 = t6._interpolation_buffer0$_text;
  118994. t7 = span.toString$0(0);
  118995. t6._contents += t7;
  118996. }
  118997. }
  118998. },
  118999. visitSupportsExpression$1(_, node) {
  119000. return this.buffer = null;
  119001. },
  119002. visitUnaryOperationExpression$1(_, node) {
  119003. return this.buffer = null;
  119004. },
  119005. visitValueExpression$1(_, node) {
  119006. return this.buffer = null;
  119007. },
  119008. visitVariableExpression$1(_, node) {
  119009. return this.buffer = null;
  119010. },
  119011. _writeListAndBetween$2(expressions, visitor) {
  119012. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  119013. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  119014. expression = expressions[_i];
  119015. if (lastExpression != null) {
  119016. t2 = this.buffer;
  119017. if (t2 != null) {
  119018. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  119019. t4 = t3._file$_start;
  119020. t5 = t3.file._decodedChars;
  119021. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  119022. t2 = t2._interpolation_buffer0$_text;
  119023. t2._contents += t5;
  119024. }
  119025. }
  119026. expression.accept$1(this);
  119027. if (this.buffer == null)
  119028. return;
  119029. }
  119030. },
  119031. _writeListAndBetween$1(expressions) {
  119032. return this._writeListAndBetween$2(expressions, null);
  119033. },
  119034. $isExpressionVisitor: 1
  119035. };
  119036. A.SourceMapBuffer0.prototype = {
  119037. get$_source_map_buffer0$_targetLocation() {
  119038. var t1 = this._source_map_buffer0$_buffer._contents,
  119039. t2 = this._source_map_buffer0$_line;
  119040. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  119041. },
  119042. get$length(_) {
  119043. return this._source_map_buffer0$_buffer._contents.length;
  119044. },
  119045. forSpan$1$2(span, callback) {
  119046. var t1, _this = this,
  119047. wasInSpan = _this._source_map_buffer0$_inSpan;
  119048. _this._source_map_buffer0$_inSpan = true;
  119049. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  119050. try {
  119051. t1 = callback.call$0();
  119052. return t1;
  119053. } finally {
  119054. _this._source_map_buffer0$_inSpan = wasInSpan;
  119055. }
  119056. },
  119057. forSpan$2(span, callback) {
  119058. return this.forSpan$1$2(span, callback, type$.dynamic);
  119059. },
  119060. _source_map_buffer0$_addEntry$2(source, target) {
  119061. var entry, t2,
  119062. t1 = this._source_map_buffer0$_entries;
  119063. if (t1.length !== 0) {
  119064. entry = B.JSArray_methods.get$last(t1);
  119065. t2 = entry.source;
  119066. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  119067. return;
  119068. if (entry.target.offset === target.offset)
  119069. return;
  119070. }
  119071. t1.push(new A.Entry(source, target, null));
  119072. },
  119073. write$1(_, object) {
  119074. var t1, i,
  119075. string = J.toString$0$(object);
  119076. this._source_map_buffer0$_buffer._contents += string;
  119077. for (t1 = string.length, i = 0; i < t1; ++i)
  119078. if (string.charCodeAt(i) === 10)
  119079. this._source_map_buffer0$_writeLine$0();
  119080. else
  119081. ++this._source_map_buffer0$_column;
  119082. },
  119083. writeCharCode$1(charCode) {
  119084. var t1 = this._source_map_buffer0$_buffer,
  119085. t2 = A.Primitives_stringFromCharCode(charCode);
  119086. t1._contents += t2;
  119087. if (charCode === 10)
  119088. this._source_map_buffer0$_writeLine$0();
  119089. else
  119090. ++this._source_map_buffer0$_column;
  119091. },
  119092. _source_map_buffer0$_writeLine$0() {
  119093. var _this = this,
  119094. t1 = _this._source_map_buffer0$_entries;
  119095. if (B.JSArray_methods.get$last(t1).target.line === _this._source_map_buffer0$_line && B.JSArray_methods.get$last(t1).target.column === _this._source_map_buffer0$_column)
  119096. t1.pop();
  119097. ++_this._source_map_buffer0$_line;
  119098. _this._source_map_buffer0$_column = 0;
  119099. if (_this._source_map_buffer0$_inSpan)
  119100. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  119101. },
  119102. toString$0(_) {
  119103. var t1 = this._source_map_buffer0$_buffer._contents;
  119104. return t1.charCodeAt(0) == 0 ? t1 : t1;
  119105. },
  119106. buildSourceMap$1$prefix(prefix) {
  119107. var i, t2, prefixColumn, _box_0 = {},
  119108. t1 = prefix.length;
  119109. if (t1 === 0)
  119110. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  119111. _box_0.prefixColumn = _box_0.prefixLines = 0;
  119112. for (i = 0, t2 = 0; i < t1; ++i)
  119113. if (prefix.charCodeAt(i) === 10) {
  119114. ++_box_0.prefixLines;
  119115. _box_0.prefixColumn = 0;
  119116. t2 = 0;
  119117. } else {
  119118. prefixColumn = t2 + 1;
  119119. _box_0.prefixColumn = prefixColumn;
  119120. t2 = prefixColumn;
  119121. }
  119122. t2 = this._source_map_buffer0$_entries;
  119123. return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure0(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
  119124. }
  119125. };
  119126. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  119127. call$1(entry) {
  119128. var t1 = entry.target,
  119129. t2 = t1.line,
  119130. t3 = this._box_0,
  119131. t4 = t3.prefixLines;
  119132. t3 = t2 === 0 ? t3.prefixColumn : 0;
  119133. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  119134. },
  119135. $signature: 162
  119136. };
  119137. A.updateSourceSpanPrototype_closure.prototype = {
  119138. call$0() {
  119139. return this.span;
  119140. },
  119141. $signature: 22
  119142. };
  119143. A.updateSourceSpanPrototype_closure0.prototype = {
  119144. call$1(span) {
  119145. return span.get$start(span);
  119146. },
  119147. $signature: 216
  119148. };
  119149. A.updateSourceSpanPrototype_closure1.prototype = {
  119150. call$1(span) {
  119151. return span.get$end(span);
  119152. },
  119153. $signature: 216
  119154. };
  119155. A.updateSourceSpanPrototype_closure2.prototype = {
  119156. call$1(span) {
  119157. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  119158. },
  119159. $signature: 585
  119160. };
  119161. A.updateSourceSpanPrototype__closure.prototype = {
  119162. call$1(url) {
  119163. var t1, _null = null;
  119164. if (url.get$scheme() === "") {
  119165. t1 = $.$get$context();
  119166. t1 = t1.toUri$1(A.absolute(t1.style.pathFromUri$1(A._parseUri(url)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  119167. } else
  119168. t1 = url;
  119169. return new self.URL(t1.toString$0(0));
  119170. },
  119171. $signature: 215
  119172. };
  119173. A.updateSourceSpanPrototype_closure3.prototype = {
  119174. call$1(span) {
  119175. return span.get$text();
  119176. },
  119177. $signature: 212
  119178. };
  119179. A.updateSourceSpanPrototype_closure4.prototype = {
  119180. call$1(span) {
  119181. return span.get$context(span);
  119182. },
  119183. $signature: 212
  119184. };
  119185. A.updateSourceSpanPrototype_closure5.prototype = {
  119186. call$1($location) {
  119187. return $location.get$line();
  119188. },
  119189. $signature: 197
  119190. };
  119191. A.updateSourceSpanPrototype_closure6.prototype = {
  119192. call$1($location) {
  119193. return $location.get$column();
  119194. },
  119195. $signature: 197
  119196. };
  119197. A.ColorSpace0.prototype = {
  119198. get$isLegacyInternal() {
  119199. return false;
  119200. },
  119201. get$isPolarInternal() {
  119202. return false;
  119203. },
  119204. convert$5(dest, channel0, channel1, channel2, alpha) {
  119205. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  119206. },
  119207. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  119208. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  119209. $label0$0: {
  119210. t1 = B.HslColorSpace_JQ20 !== dest;
  119211. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  119212. t2 = B.SrgbColorSpace_thf0;
  119213. break $label0$0;
  119214. }
  119215. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  119216. t2 = B.XyzD50ColorSpace_2OB0;
  119217. break $label0$0;
  119218. }
  119219. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  119220. t2 = B.LmsColorSpace_Os30;
  119221. break $label0$0;
  119222. }
  119223. t2 = dest;
  119224. break $label0$0;
  119225. }
  119226. if (t2 === _this) {
  119227. transformedBlue = blue;
  119228. transformedGreen = green;
  119229. transformedRed = red;
  119230. } else {
  119231. linearRed = _this.toLinear$1(red == null ? 0 : red);
  119232. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  119233. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  119234. matrix = _this.transformationMatrix$1(t2);
  119235. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  119236. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  119237. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  119238. }
  119239. $label1$1: {
  119240. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  119241. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  119242. break $label1$1;
  119243. }
  119244. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  119245. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  119246. break $label1$1;
  119247. }
  119248. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  119249. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  119250. break $label1$1;
  119251. }
  119252. t1 = red == null ? null : transformedRed;
  119253. t2 = green == null ? null : transformedGreen;
  119254. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  119255. break $label1$1;
  119256. }
  119257. return t1;
  119258. },
  119259. convertLinear$5(dest, red, green, blue, alpha) {
  119260. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  119261. },
  119262. toLinear$1(channel) {
  119263. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  119264. },
  119265. fromLinear$1(channel) {
  119266. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  119267. },
  119268. transformationMatrix$1(dest) {
  119269. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  119270. },
  119271. toString$0(_) {
  119272. return this.name;
  119273. }
  119274. };
  119275. A.SrgbColorSpace0.prototype = {
  119276. get$isBoundedInternal() {
  119277. return true;
  119278. },
  119279. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  119280. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  119281. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  119282. if (red == null)
  119283. red = 0;
  119284. if (green == null)
  119285. green = 0;
  119286. if (blue == null)
  119287. blue = 0;
  119288. max = Math.max(Math.max(red, green), blue);
  119289. min = Math.min(Math.min(red, green), blue);
  119290. delta = max - min;
  119291. if (max === min)
  119292. hue = 0;
  119293. else if (max === red)
  119294. hue = 60 * (green - blue) / delta + 360;
  119295. else
  119296. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  119297. if (dest === B.HslColorSpace_JQ20) {
  119298. lightness = (min + max) / 2;
  119299. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  119300. if (saturation < 0) {
  119301. hue += 180;
  119302. saturation = Math.abs(saturation);
  119303. }
  119304. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  119305. t2 = missingChroma ? _null : saturation;
  119306. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  119307. } else {
  119308. whiteness = min * 100;
  119309. blackness = 100 - max * 100;
  119310. if (!missingHue) {
  119311. t1 = whiteness + blackness;
  119312. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  119313. } else
  119314. t1 = true;
  119315. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  119316. }
  119317. }
  119318. if (B.RgbColorSpace_i0P0 === dest) {
  119319. t1 = red == null ? _null : red * 255;
  119320. t2 = green == null ? _null : green * 255;
  119321. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  119322. }
  119323. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  119324. t1 = this.get$toLinear();
  119325. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  119326. }
  119327. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  119328. },
  119329. convert$5(dest, red, green, blue, alpha) {
  119330. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  119331. },
  119332. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  119333. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  119334. },
  119335. toLinear$1(channel) {
  119336. return A.srgbAndDisplayP3ToLinear0(channel);
  119337. },
  119338. fromLinear$1(channel) {
  119339. return A.srgbAndDisplayP3FromLinear0(channel);
  119340. },
  119341. transformationMatrix$1(dest) {
  119342. var t1;
  119343. $label0$0: {
  119344. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  119345. t1 = $.$get$linearSrgbToLinearDisplayP30();
  119346. break $label0$0;
  119347. }
  119348. if (B.A98RgbColorSpace_lf20 === dest) {
  119349. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  119350. break $label0$0;
  119351. }
  119352. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  119353. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  119354. break $label0$0;
  119355. }
  119356. if (B.Rec2020ColorSpace_6oo0 === dest) {
  119357. t1 = $.$get$linearSrgbToLinearRec20200();
  119358. break $label0$0;
  119359. }
  119360. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  119361. t1 = $.$get$linearSrgbToXyzD650();
  119362. break $label0$0;
  119363. }
  119364. if (B.XyzD50ColorSpace_2OB0 === dest) {
  119365. t1 = $.$get$linearSrgbToXyzD500();
  119366. break $label0$0;
  119367. }
  119368. if (B.LmsColorSpace_Os30 === dest) {
  119369. t1 = $.$get$linearSrgbToLms0();
  119370. break $label0$0;
  119371. }
  119372. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  119373. break $label0$0;
  119374. }
  119375. return t1;
  119376. }
  119377. };
  119378. A.SrgbLinearColorSpace0.prototype = {
  119379. get$isBoundedInternal() {
  119380. return true;
  119381. },
  119382. convert$5(dest, red, green, blue, alpha) {
  119383. var t1;
  119384. $label0$0: {
  119385. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  119386. t1 = B.SrgbColorSpace_thf0.convert$5(dest, A.NullableExtension_andThen0(red, A.utils2__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen0(green, A.utils2__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen0(blue, A.utils2__srgbAndDisplayP3FromLinear$closure()), alpha);
  119387. break $label0$0;
  119388. }
  119389. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  119390. break $label0$0;
  119391. }
  119392. return t1;
  119393. },
  119394. toLinear$1(channel) {
  119395. return channel;
  119396. },
  119397. fromLinear$1(channel) {
  119398. return channel;
  119399. },
  119400. transformationMatrix$1(dest) {
  119401. var t1;
  119402. $label0$0: {
  119403. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  119404. t1 = $.$get$linearSrgbToLinearDisplayP30();
  119405. break $label0$0;
  119406. }
  119407. if (B.A98RgbColorSpace_lf20 === dest) {
  119408. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  119409. break $label0$0;
  119410. }
  119411. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  119412. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  119413. break $label0$0;
  119414. }
  119415. if (B.Rec2020ColorSpace_6oo0 === dest) {
  119416. t1 = $.$get$linearSrgbToLinearRec20200();
  119417. break $label0$0;
  119418. }
  119419. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  119420. t1 = $.$get$linearSrgbToXyzD650();
  119421. break $label0$0;
  119422. }
  119423. if (B.XyzD50ColorSpace_2OB0 === dest) {
  119424. t1 = $.$get$linearSrgbToXyzD500();
  119425. break $label0$0;
  119426. }
  119427. if (B.LmsColorSpace_Os30 === dest) {
  119428. t1 = $.$get$linearSrgbToLms0();
  119429. break $label0$0;
  119430. }
  119431. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  119432. break $label0$0;
  119433. }
  119434. return t1;
  119435. }
  119436. };
  119437. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  119438. A.JSStatementVisitor.prototype = {
  119439. visitAtRootRule$1(_, node) {
  119440. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  119441. },
  119442. visitAtRule$1(_, node) {
  119443. return J.visitAtRule$1$x(this._statement$_inner, node);
  119444. },
  119445. visitContentBlock$1(_, node) {
  119446. return J.visitContentBlock$1$x(this._statement$_inner, node);
  119447. },
  119448. visitContentRule$1(_, node) {
  119449. return J.visitContentRule$1$x(this._statement$_inner, node);
  119450. },
  119451. visitDebugRule$1(_, node) {
  119452. return J.visitDebugRule$1$x(this._statement$_inner, node);
  119453. },
  119454. visitDeclaration$1(_, node) {
  119455. return J.visitDeclaration$1$x(this._statement$_inner, node);
  119456. },
  119457. visitEachRule$1(_, node) {
  119458. return J.visitEachRule$1$x(this._statement$_inner, node);
  119459. },
  119460. visitErrorRule$1(_, node) {
  119461. return J.visitErrorRule$1$x(this._statement$_inner, node);
  119462. },
  119463. visitExtendRule$1(_, node) {
  119464. return J.visitExtendRule$1$x(this._statement$_inner, node);
  119465. },
  119466. visitForRule$1(_, node) {
  119467. return J.visitForRule$1$x(this._statement$_inner, node);
  119468. },
  119469. visitForwardRule$1(_, node) {
  119470. return J.visitForwardRule$1$x(this._statement$_inner, node);
  119471. },
  119472. visitFunctionRule$1(_, node) {
  119473. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  119474. },
  119475. visitIfRule$1(_, node) {
  119476. return J.visitIfRule$1$x(this._statement$_inner, node);
  119477. },
  119478. visitImportRule$1(_, node) {
  119479. return J.visitImportRule$1$x(this._statement$_inner, node);
  119480. },
  119481. visitIncludeRule$1(_, node) {
  119482. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  119483. },
  119484. visitLoudComment$1(_, node) {
  119485. return J.visitLoudComment$1$x(this._statement$_inner, node);
  119486. },
  119487. visitMediaRule$1(_, node) {
  119488. return J.visitMediaRule$1$x(this._statement$_inner, node);
  119489. },
  119490. visitMixinRule$1(_, node) {
  119491. return J.visitMixinRule$1$x(this._statement$_inner, node);
  119492. },
  119493. visitReturnRule$1(_, node) {
  119494. return J.visitReturnRule$1$x(this._statement$_inner, node);
  119495. },
  119496. visitSilentComment$1(_, node) {
  119497. return J.visitSilentComment$1$x(this._statement$_inner, node);
  119498. },
  119499. visitStyleRule$1(_, node) {
  119500. return J.visitStyleRule$1$x(this._statement$_inner, node);
  119501. },
  119502. visitStylesheet$1(_, node) {
  119503. return J.visitStylesheet$1$x(this._statement$_inner, node);
  119504. },
  119505. visitSupportsRule$1(_, node) {
  119506. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  119507. },
  119508. visitUseRule$1(_, node) {
  119509. return J.visitUseRule$1$x(this._statement$_inner, node);
  119510. },
  119511. visitVariableDeclaration$1(_, node) {
  119512. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  119513. },
  119514. visitWarnRule$1(_, node) {
  119515. return J.visitWarnRule$1$x(this._statement$_inner, node);
  119516. },
  119517. visitWhileRule$1(_, node) {
  119518. return J.visitWhileRule$1$x(this._statement$_inner, node);
  119519. },
  119520. $isStatementVisitor: 1
  119521. };
  119522. A.JSStatementVisitorObject.prototype = {};
  119523. A.StatementSearchVisitor0.prototype = {
  119524. visitAtRootRule$1(_, node) {
  119525. return this.visitChildren$1(node.children);
  119526. },
  119527. visitAtRule$1(_, node) {
  119528. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  119529. },
  119530. visitContentBlock$1(_, node) {
  119531. return this.visitChildren$1(node.children);
  119532. },
  119533. visitContentRule$1(_, node) {
  119534. return null;
  119535. },
  119536. visitDebugRule$1(_, node) {
  119537. return null;
  119538. },
  119539. visitDeclaration$1(_, node) {
  119540. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  119541. },
  119542. visitEachRule$1(_, node) {
  119543. return this.visitChildren$1(node.children);
  119544. },
  119545. visitErrorRule$1(_, node) {
  119546. return null;
  119547. },
  119548. visitExtendRule$1(_, node) {
  119549. return null;
  119550. },
  119551. visitForRule$1(_, node) {
  119552. return this.visitChildren$1(node.children);
  119553. },
  119554. visitForwardRule$1(_, node) {
  119555. return null;
  119556. },
  119557. visitFunctionRule$1(_, node) {
  119558. return this.visitChildren$1(node.children);
  119559. },
  119560. visitIfRule$1(_, node) {
  119561. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  119562. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  119563. },
  119564. visitImportRule$1(_, node) {
  119565. return null;
  119566. },
  119567. visitIncludeRule$1(_, node) {
  119568. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  119569. },
  119570. visitLoudComment$1(_, node) {
  119571. return null;
  119572. },
  119573. visitMediaRule$1(_, node) {
  119574. return this.visitChildren$1(node.children);
  119575. },
  119576. visitMixinRule$1(_, node) {
  119577. return this.visitChildren$1(node.children);
  119578. },
  119579. visitReturnRule$1(_, node) {
  119580. return null;
  119581. },
  119582. visitSilentComment$1(_, node) {
  119583. return null;
  119584. },
  119585. visitStyleRule$1(_, node) {
  119586. return this.visitChildren$1(node.children);
  119587. },
  119588. visitStylesheet$1(_, node) {
  119589. return this.visitChildren$1(node.children);
  119590. },
  119591. visitSupportsRule$1(_, node) {
  119592. return this.visitChildren$1(node.children);
  119593. },
  119594. visitUseRule$1(_, node) {
  119595. return null;
  119596. },
  119597. visitVariableDeclaration$1(_, node) {
  119598. return null;
  119599. },
  119600. visitWarnRule$1(_, node) {
  119601. return null;
  119602. },
  119603. visitWhileRule$1(_, node) {
  119604. return this.visitChildren$1(node.children);
  119605. },
  119606. visitChildren$1(children) {
  119607. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  119608. }
  119609. };
  119610. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  119611. call$1(clause) {
  119612. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  119613. },
  119614. $signature() {
  119615. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  119616. }
  119617. };
  119618. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  119619. call$1(child) {
  119620. return child.accept$1(this.$this);
  119621. },
  119622. $signature() {
  119623. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  119624. }
  119625. };
  119626. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  119627. call$1(lastClause) {
  119628. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  119629. },
  119630. $signature() {
  119631. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  119632. }
  119633. };
  119634. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  119635. call$1(child) {
  119636. return child.accept$1(this.$this);
  119637. },
  119638. $signature() {
  119639. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  119640. }
  119641. };
  119642. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  119643. call$1(child) {
  119644. return child.accept$1(this.$this);
  119645. },
  119646. $signature() {
  119647. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  119648. }
  119649. };
  119650. A.StaticImport0.prototype = {
  119651. toString$0(_) {
  119652. var t1 = this.url.toString$0(0),
  119653. t2 = this.modifiers;
  119654. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  119655. },
  119656. $isImport0: 1,
  119657. $isAstNode0: 1,
  119658. $isSassNode: 1,
  119659. get$span(receiver) {
  119660. return this.span;
  119661. }
  119662. };
  119663. A.StderrLogger0.prototype = {
  119664. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  119665. var t3,
  119666. result = new A.StringBuffer(""),
  119667. t1 = deprecation != null,
  119668. showDeprecation = t1 && deprecation !== B.Deprecation_45o,
  119669. t2 = this.color;
  119670. if (t2) {
  119671. t3 = result._contents = "\x1b[33m\x1b[1m";
  119672. t3 = result._contents = (t1 ? result._contents = "\x1b[33m\x1b[1mDeprecation " : t3) + "Warning\x1b[0m";
  119673. if (showDeprecation) {
  119674. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  119675. result._contents = t1;
  119676. } else
  119677. t1 = t3;
  119678. } else {
  119679. t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
  119680. if (showDeprecation) {
  119681. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  119682. result._contents = t1;
  119683. } else
  119684. t1 = t3;
  119685. }
  119686. if (span == null)
  119687. t1 = result._contents = t1 + (": " + message + "\n");
  119688. else if (trace != null) {
  119689. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  119690. result._contents = t1;
  119691. } else {
  119692. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  119693. result._contents = t1;
  119694. }
  119695. if (trace != null)
  119696. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  119697. A.printError0(result);
  119698. },
  119699. debug$2(_, message, span) {
  119700. var url, t1, t2;
  119701. if (span.get$start(span).file.url == null)
  119702. url = "-";
  119703. else {
  119704. t1 = span.get$start(span).file.url;
  119705. t2 = $.$get$context();
  119706. t1.toString;
  119707. url = t2.prettyUri$1(t1);
  119708. }
  119709. t1 = span.get$start(span);
  119710. t1 = t1.file.getLine$1(t1.offset);
  119711. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  119712. t2 = url + ":" + (t1 + 1) + " " + t2 + (": " + message);
  119713. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  119714. }
  119715. };
  119716. A.StringExpression0.prototype = {
  119717. get$span(_) {
  119718. return this.text.span;
  119719. },
  119720. accept$1$1(visitor) {
  119721. return visitor.visitStringExpression$1(0, this);
  119722. },
  119723. accept$1(visitor) {
  119724. return this.accept$1$1(visitor, type$.dynamic);
  119725. },
  119726. asInterpolation$1$static($static) {
  119727. var t1, t2, quote, t3, t4, t5, buffer, t6, t7, i, value, t8;
  119728. if (!this.hasQuotes)
  119729. return this.text;
  119730. t1 = this.text;
  119731. t2 = t1.contents;
  119732. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  119733. t3 = new A.StringBuffer("");
  119734. t4 = A._setArrayType([], type$.JSArray_Object);
  119735. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  119736. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  119737. t6 = A.Primitives_stringFromCharCode(quote);
  119738. t3._contents += t6;
  119739. for (t7 = t2.length, i = 0; i < t7; ++i) {
  119740. value = t2[i];
  119741. if (value instanceof A.Expression0) {
  119742. t8 = t1.spanForElement$1(i);
  119743. buffer._interpolation_buffer0$_flushText$0();
  119744. t4.push(value);
  119745. t5.push(t8);
  119746. continue;
  119747. }
  119748. if (typeof value == "string")
  119749. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  119750. }
  119751. t3._contents += t6;
  119752. return buffer.interpolation$1(t1.span);
  119753. },
  119754. asInterpolation$0() {
  119755. return this.asInterpolation$1$static(false);
  119756. },
  119757. toString$0(_) {
  119758. return this.asInterpolation$0().toString$0(0);
  119759. }
  119760. };
  119761. A.module_closure25.prototype = {
  119762. call$1($arguments) {
  119763. var limit, t2, chunks, i, lastEnd, match, t3,
  119764. t1 = J.getInterceptor$asx($arguments),
  119765. string = t1.$index($arguments, 0).assertString$1("string"),
  119766. separator = t1.$index($arguments, 1).assertString$1("separator");
  119767. t1 = t1.$index($arguments, 2).get$realNull();
  119768. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  119769. if (limit != null && limit < 1)
  119770. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  119771. t1 = string._string0$_text;
  119772. if (t1.length === 0)
  119773. return B.SassList_oWx0;
  119774. else {
  119775. t2 = separator._string0$_text;
  119776. if (t2.length === 0)
  119777. return A.SassList$0(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure3(string), type$.Runes._eval$1("Iterable.E"), type$.Value_2), B.ListSeparator_z0K0, true);
  119778. }
  119779. chunks = A._setArrayType([], type$.JSArray_String);
  119780. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  119781. match = t2.__js_helper$_current;
  119782. t3 = match.start;
  119783. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  119784. lastEnd = t3 + match.pattern.length;
  119785. ++i;
  119786. if (i === limit)
  119787. break;
  119788. }
  119789. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  119790. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_z0K0, true);
  119791. },
  119792. $signature: 27
  119793. };
  119794. A.module__closure3.prototype = {
  119795. call$1(rune) {
  119796. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  119797. },
  119798. $signature: 589
  119799. };
  119800. A.module__closure4.prototype = {
  119801. call$1(chunk) {
  119802. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  119803. },
  119804. $signature: 590
  119805. };
  119806. A._unquote_closure0.prototype = {
  119807. call$1($arguments) {
  119808. var string = J.$index$asx($arguments, 0).assertString$1("string");
  119809. if (!string._string0$_hasQuotes)
  119810. return string;
  119811. return new A.SassString0(string._string0$_text, false);
  119812. },
  119813. $signature: 17
  119814. };
  119815. A._quote_closure0.prototype = {
  119816. call$1($arguments) {
  119817. var string = J.$index$asx($arguments, 0).assertString$1("string");
  119818. if (string._string0$_hasQuotes)
  119819. return string;
  119820. return new A.SassString0(string._string0$_text, true);
  119821. },
  119822. $signature: 17
  119823. };
  119824. A._length_closure1.prototype = {
  119825. call$1($arguments) {
  119826. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  119827. },
  119828. $signature: 24
  119829. };
  119830. A._insert_closure0.prototype = {
  119831. call$1($arguments) {
  119832. var indexInt, codeUnitIndex, _s5_ = "index",
  119833. t1 = J.getInterceptor$asx($arguments),
  119834. string = t1.$index($arguments, 0).assertString$1("string"),
  119835. insert = t1.$index($arguments, 1).assertString$1("insert"),
  119836. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  119837. index.assertNoUnits$1(_s5_);
  119838. indexInt = index.assertInt$1(_s5_);
  119839. if (indexInt < 0)
  119840. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  119841. t1 = string._string0$_text;
  119842. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  119843. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  119844. },
  119845. $signature: 17
  119846. };
  119847. A._index_closure1.prototype = {
  119848. call$1($arguments) {
  119849. var t1 = J.getInterceptor$asx($arguments),
  119850. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  119851. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  119852. if (codeUnitIndex === -1)
  119853. return B.C__SassNull0;
  119854. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  119855. },
  119856. $signature: 3
  119857. };
  119858. A._slice_closure0.prototype = {
  119859. call$1($arguments) {
  119860. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  119861. _s8_ = "start-at",
  119862. t1 = J.getInterceptor$asx($arguments),
  119863. string = t1.$index($arguments, 0).assertString$1("string"),
  119864. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  119865. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  119866. start.assertNoUnits$1(_s8_);
  119867. end.assertNoUnits$1("end-at");
  119868. lengthInCodepoints = string.get$_string0$_sassLength();
  119869. endInt = end.assertInt$0();
  119870. if (endInt === 0)
  119871. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119872. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  119873. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  119874. if (endCodepoint === lengthInCodepoints)
  119875. --endCodepoint;
  119876. if (endCodepoint < startCodepoint)
  119877. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119878. t1 = string._string0$_text;
  119879. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  119880. },
  119881. $signature: 17
  119882. };
  119883. A._toUpperCase_closure0.prototype = {
  119884. call$1($arguments) {
  119885. var t1, t2, i, t3, t4,
  119886. string = J.$index$asx($arguments, 0).assertString$1("string");
  119887. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119888. t4 = t1.charCodeAt(i);
  119889. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  119890. }
  119891. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119892. },
  119893. $signature: 17
  119894. };
  119895. A._toLowerCase_closure0.prototype = {
  119896. call$1($arguments) {
  119897. var t1, t2, i, t3, t4,
  119898. string = J.$index$asx($arguments, 0).assertString$1("string");
  119899. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119900. t4 = t1.charCodeAt(i);
  119901. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  119902. }
  119903. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119904. },
  119905. $signature: 17
  119906. };
  119907. A._uniqueId_closure0.prototype = {
  119908. call$1($arguments) {
  119909. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  119910. $._previousUniqueId0 = t1;
  119911. if (t1 > Math.pow(36, 6))
  119912. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  119913. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  119914. },
  119915. $signature: 17
  119916. };
  119917. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  119918. call$1(character) {
  119919. var _0_0,
  119920. t1 = this.buffer,
  119921. t2 = A.Primitives_stringFromCharCode(92);
  119922. t1._contents += t2;
  119923. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  119924. t1._contents += t2;
  119925. _0_0 = this.scanner.peekChar$0();
  119926. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  119927. t2 = A.Primitives_stringFromCharCode(32);
  119928. t1._contents += t2;
  119929. }
  119930. },
  119931. $signature: 218
  119932. };
  119933. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  119934. call$1(character) {
  119935. var t2, t3,
  119936. t1 = this.scanner,
  119937. _1_0 = t1.peekChar$1(1);
  119938. if (_1_0 == null || _1_0 >>> 10 !== 55)
  119939. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  119940. else if (character >>> 7 === 439)
  119941. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  119942. else {
  119943. t2 = this.buffer;
  119944. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119945. t2._contents += t3;
  119946. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119947. t2._contents += t1;
  119948. }
  119949. },
  119950. $signature: 218
  119951. };
  119952. A.stringClass_closure.prototype = {
  119953. call$0() {
  119954. var t2,
  119955. t1 = type$.JSClass,
  119956. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  119957. A.LinkedHashMap_LinkedHashMap$_literal(["text", new A.stringClass__closure0(), "hasQuotes", new A.stringClass__closure1(), "sassLength", new A.stringClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  119958. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  119959. t2 = $.$get$_emptyQuoted0();
  119960. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  119961. return jsClass;
  119962. },
  119963. $signature: 15
  119964. };
  119965. A.stringClass__closure.prototype = {
  119966. call$3($self, textOrOptions, options) {
  119967. var t1;
  119968. if (typeof textOrOptions == "string") {
  119969. t1 = options == null ? null : J.get$quotes$x(options);
  119970. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  119971. } else {
  119972. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  119973. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  119974. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119975. }
  119976. return t1;
  119977. },
  119978. call$1($self) {
  119979. return this.call$3($self, null, null);
  119980. },
  119981. call$2($self, textOrOptions) {
  119982. return this.call$3($self, textOrOptions, null);
  119983. },
  119984. "call*": "call$3",
  119985. $requiredArgCount: 1,
  119986. $defaultValues() {
  119987. return [null, null];
  119988. },
  119989. $signature: 592
  119990. };
  119991. A.stringClass__closure0.prototype = {
  119992. call$1($self) {
  119993. return $self._string0$_text;
  119994. },
  119995. $signature: 593
  119996. };
  119997. A.stringClass__closure1.prototype = {
  119998. call$1($self) {
  119999. return $self._string0$_hasQuotes;
  120000. },
  120001. $signature: 594
  120002. };
  120003. A.stringClass__closure2.prototype = {
  120004. call$1($self) {
  120005. return $self.get$_string0$_sassLength();
  120006. },
  120007. $signature: 595
  120008. };
  120009. A.stringClass__closure3.prototype = {
  120010. call$3($self, sassIndex, $name) {
  120011. var t1,
  120012. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  120013. if (index === 0)
  120014. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  120015. else {
  120016. t1 = $self.get$_string0$_sassLength();
  120017. if (Math.abs(index) > t1)
  120018. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + t1 + " characters.", $name));
  120019. }
  120020. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  120021. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  120022. },
  120023. call$2($self, sassIndex) {
  120024. return this.call$3($self, sassIndex, null);
  120025. },
  120026. "call*": "call$3",
  120027. $requiredArgCount: 2,
  120028. $defaultValues() {
  120029. return [null];
  120030. },
  120031. $signature: 596
  120032. };
  120033. A._ConstructorOptions1.prototype = {};
  120034. A._NodeSassString.prototype = {};
  120035. A.legacyStringClass_closure.prototype = {
  120036. call$3(thisArg, value, dartValue) {
  120037. var t1;
  120038. if (dartValue == null) {
  120039. value.toString;
  120040. t1 = new A.SassString0(value, false);
  120041. } else
  120042. t1 = dartValue;
  120043. J.set$dartValue$x(thisArg, t1);
  120044. },
  120045. call$2(thisArg, value) {
  120046. return this.call$3(thisArg, value, null);
  120047. },
  120048. "call*": "call$3",
  120049. $requiredArgCount: 2,
  120050. $defaultValues() {
  120051. return [null];
  120052. },
  120053. $signature: 597
  120054. };
  120055. A.legacyStringClass_closure0.prototype = {
  120056. call$1(thisArg) {
  120057. return J.get$dartValue$x(thisArg)._string0$_text;
  120058. },
  120059. $signature: 598
  120060. };
  120061. A.legacyStringClass_closure1.prototype = {
  120062. call$2(thisArg, value) {
  120063. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  120064. },
  120065. $signature: 599
  120066. };
  120067. A.SassString0.prototype = {
  120068. get$_string0$_sassLength() {
  120069. var result, _this = this,
  120070. value = _this._string0$__SassString__sassLength_FI;
  120071. if (value === $) {
  120072. result = new A.Runes(_this._string0$_text).get$length(0);
  120073. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  120074. _this._string0$__SassString__sassLength_FI = result;
  120075. value = result;
  120076. }
  120077. return value;
  120078. },
  120079. get$isSpecialNumber() {
  120080. var t1, _2_0, t2, _0_0, _1_0;
  120081. if (this._string0$_hasQuotes)
  120082. return false;
  120083. t1 = this._string0$_text;
  120084. if (t1.length < 6)
  120085. return false;
  120086. _2_0 = t1.charCodeAt(0);
  120087. $label0$0: {
  120088. t2 = false;
  120089. if (97 === _2_0 || 65 === _2_0) {
  120090. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  120091. break $label0$0;
  120092. }
  120093. if (99 === _2_0 || 67 === _2_0) {
  120094. _0_0 = t1.charCodeAt(1);
  120095. $label1$1: {
  120096. if (108 === _0_0 || 76 === _0_0) {
  120097. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  120098. break $label1$1;
  120099. }
  120100. if (97 === _0_0 || 65 === _0_0) {
  120101. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  120102. break $label1$1;
  120103. }
  120104. t1 = t2;
  120105. break $label1$1;
  120106. }
  120107. break $label0$0;
  120108. }
  120109. if (118 === _2_0 || 86 === _2_0) {
  120110. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  120111. break $label0$0;
  120112. }
  120113. if (101 === _2_0 || 69 === _2_0) {
  120114. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  120115. break $label0$0;
  120116. }
  120117. if (109 === _2_0 || 77 === _2_0) {
  120118. _1_0 = t1.charCodeAt(1);
  120119. $label2$2: {
  120120. if (97 === _1_0 || 65 === _1_0) {
  120121. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  120122. break $label2$2;
  120123. }
  120124. if (105 === _1_0 || 73 === _1_0) {
  120125. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  120126. break $label2$2;
  120127. }
  120128. t1 = t2;
  120129. break $label2$2;
  120130. }
  120131. break $label0$0;
  120132. }
  120133. t1 = t2;
  120134. break $label0$0;
  120135. }
  120136. return t1;
  120137. },
  120138. get$isVar() {
  120139. if (this._string0$_hasQuotes)
  120140. return false;
  120141. var t1 = this._string0$_text;
  120142. if (t1.length < 8)
  120143. return false;
  120144. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  120145. },
  120146. get$isBlank() {
  120147. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  120148. },
  120149. assertQuoted$1($name) {
  120150. if (this._string0$_hasQuotes)
  120151. return;
  120152. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  120153. },
  120154. assertUnquoted$1($name) {
  120155. if (!this._string0$_hasQuotes)
  120156. return;
  120157. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  120158. },
  120159. assertUnquoted$0() {
  120160. return this.assertUnquoted$1(null);
  120161. },
  120162. accept$1$1(visitor) {
  120163. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  120164. t2 = this._string0$_text;
  120165. if (t1)
  120166. visitor._serialize0$_visitQuotedString$1(t2);
  120167. else
  120168. visitor._serialize0$_visitUnquotedString$1(t2);
  120169. return null;
  120170. },
  120171. accept$1(visitor) {
  120172. return this.accept$1$1(visitor, type$.dynamic);
  120173. },
  120174. assertString$1($name) {
  120175. return this;
  120176. },
  120177. plus$1(other) {
  120178. var t1 = this._string0$_text,
  120179. t2 = this._string0$_hasQuotes;
  120180. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  120181. },
  120182. $eq(_, other) {
  120183. if (other == null)
  120184. return false;
  120185. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  120186. },
  120187. get$hashCode(_) {
  120188. var t1 = this._string0$_hashCache;
  120189. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  120190. }
  120191. };
  120192. A.ModifiableCssStyleRule0.prototype = {
  120193. accept$1$1(visitor) {
  120194. return visitor.visitCssStyleRule$1(this);
  120195. },
  120196. accept$1(visitor) {
  120197. return this.accept$1$1(visitor, type$.dynamic);
  120198. },
  120199. equalsIgnoringChildren$1(other) {
  120200. var t1;
  120201. if (other instanceof A.ModifiableCssStyleRule0)
  120202. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  120203. else
  120204. t1 = false;
  120205. return t1;
  120206. },
  120207. copyWithoutChildren$0() {
  120208. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  120209. },
  120210. get$span(receiver) {
  120211. return this.span;
  120212. }
  120213. };
  120214. A.StyleRule0.prototype = {
  120215. accept$1$1(visitor) {
  120216. return visitor.visitStyleRule$1(0, this);
  120217. },
  120218. accept$1(visitor) {
  120219. return this.accept$1$1(visitor, type$.dynamic);
  120220. },
  120221. toString$0(_) {
  120222. var t1 = this.selector;
  120223. return A.S(t1 == null ? this.parsedSelector : t1) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  120224. },
  120225. get$span(receiver) {
  120226. return this.span;
  120227. }
  120228. };
  120229. A.CssStylesheet0.prototype = {
  120230. get$isGroupEnd() {
  120231. return false;
  120232. },
  120233. get$isChildless() {
  120234. return false;
  120235. },
  120236. accept$1$1(visitor) {
  120237. return visitor.visitCssStylesheet$1(this);
  120238. },
  120239. accept$1(visitor) {
  120240. return this.accept$1$1(visitor, type$.dynamic);
  120241. },
  120242. get$children(receiver) {
  120243. return this.children;
  120244. },
  120245. get$span(receiver) {
  120246. return this.span;
  120247. }
  120248. };
  120249. A.ModifiableCssStylesheet0.prototype = {
  120250. accept$1$1(visitor) {
  120251. return visitor.visitCssStylesheet$1(this);
  120252. },
  120253. accept$1(visitor) {
  120254. return this.accept$1$1(visitor, type$.dynamic);
  120255. },
  120256. equalsIgnoringChildren$1(other) {
  120257. return other instanceof A.ModifiableCssStylesheet0;
  120258. },
  120259. copyWithoutChildren$0() {
  120260. return A.ModifiableCssStylesheet$0(this.span);
  120261. },
  120262. $isCssStylesheet0: 1,
  120263. get$span(receiver) {
  120264. return this.span;
  120265. }
  120266. };
  120267. A.StylesheetParser0.prototype = {
  120268. parse$0(_) {
  120269. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  120270. },
  120271. parseParameterList$0() {
  120272. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  120273. },
  120274. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  120275. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  120276. },
  120277. parseSignature$1$requireParens(requireParens) {
  120278. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  120279. },
  120280. _stylesheet0$_statement$1$root(root) {
  120281. var t2, _this = this,
  120282. t1 = _this.scanner,
  120283. _0_0 = t1.peekChar$0();
  120284. if (64 === _0_0)
  120285. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  120286. if (43 === _0_0) {
  120287. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  120288. return _this._stylesheet0$_styleRule$0();
  120289. _this._stylesheet0$_isUseAllowed = false;
  120290. t2 = t1._string_scanner$_position;
  120291. t1.readChar$0();
  120292. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  120293. }
  120294. if (61 === _0_0) {
  120295. if (!_this.get$indented())
  120296. return _this._stylesheet0$_styleRule$0();
  120297. _this._stylesheet0$_isUseAllowed = false;
  120298. t2 = t1._string_scanner$_position;
  120299. t1.readChar$0();
  120300. _this.whitespace$1$consumeNewlines(true);
  120301. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  120302. }
  120303. if (125 === _0_0)
  120304. t1.error$2$length(0, 'unmatched "}".', 1);
  120305. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  120306. },
  120307. _stylesheet0$_statement$0() {
  120308. return this._stylesheet0$_statement$1$root(false);
  120309. },
  120310. variableDeclarationWithoutNamespace$2(namespace, start_) {
  120311. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, declaration, _this = this,
  120312. precedingComment = _this.lastSilentComment;
  120313. _this.lastSilentComment = null;
  120314. if (start_ == null) {
  120315. t1 = _this.scanner;
  120316. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120317. } else
  120318. start = start_;
  120319. $name = _this.variableName$0();
  120320. t1 = namespace != null;
  120321. if (t1)
  120322. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  120323. if (_this.get$plainCss())
  120324. _this.error$2(0, string$.Sass_v, _this.spanFrom$1(start));
  120325. _this.whitespace$1$consumeNewlines(true);
  120326. t2 = _this.scanner;
  120327. t2.expectChar$1(58);
  120328. _this.whitespace$1$consumeNewlines(true);
  120329. value = _this._stylesheet0$_expression$0();
  120330. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120331. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  120332. $label0$0: {
  120333. _0_0 = _this.identifier$0();
  120334. if ("default" === _0_0) {
  120335. if (guarded)
  120336. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_DVV, string$.x21defau, _this.spanFrom$1(flagStart)));
  120337. guarded = true;
  120338. break $label0$0;
  120339. }
  120340. if ("global" === _0_0) {
  120341. if (t1)
  120342. _this.error$2(0, string$.x21globai, _this.spanFrom$1(flagStart));
  120343. else if (global)
  120344. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_DVV, string$.x21globas, _this.spanFrom$1(flagStart)));
  120345. global = true;
  120346. break $label0$0;
  120347. }
  120348. _this.error$2(0, "Invalid flag name.", _this.spanFrom$1(flagStart));
  120349. }
  120350. _this.whitespace$1$consumeNewlines(false);
  120351. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120352. }
  120353. _this.expectStatementSeparator$1("variable declaration");
  120354. declaration = A.VariableDeclaration$0($name, value, _this.spanFrom$1(start), precedingComment, global, guarded, namespace);
  120355. if (global)
  120356. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  120357. return declaration;
  120358. },
  120359. variableDeclarationWithoutNamespace$0() {
  120360. return this.variableDeclarationWithoutNamespace$2(null, null);
  120361. },
  120362. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  120363. var t1, t2, variableOrInterpolation, t3, _this = this;
  120364. if (_this.get$plainCss())
  120365. return _this._stylesheet0$_styleRule$0();
  120366. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  120367. return _this._stylesheet0$_styleRule$0();
  120368. if (!_this.lookingAtIdentifier$0())
  120369. return _this._stylesheet0$_styleRule$0();
  120370. t1 = _this.scanner;
  120371. t2 = t1._string_scanner$_position;
  120372. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  120373. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  120374. t1 = variableOrInterpolation;
  120375. else {
  120376. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120377. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  120378. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  120379. t1 = t2;
  120380. }
  120381. return t1;
  120382. },
  120383. _stylesheet0$_declarationOrStyleRule$0() {
  120384. var t1, t2, declarationOrBuffer, _this = this;
  120385. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  120386. return _this._stylesheet0$_styleRule$0();
  120387. t1 = _this.scanner;
  120388. t2 = t1._string_scanner$_position;
  120389. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  120390. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  120391. },
  120392. _stylesheet0$_declarationOrBuffer$0() {
  120393. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, $name, isCustomProperty, t4, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  120394. t1 = _this.scanner,
  120395. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  120396. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  120397. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  120398. if (startsWithPunctuation) {
  120399. t2 = t1.readChar$0();
  120400. t3 = nameBuffer._interpolation_buffer0$_text;
  120401. t2 = A.Primitives_stringFromCharCode(t2);
  120402. t3._contents += t2;
  120403. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  120404. t3 = nameBuffer._interpolation_buffer0$_text;
  120405. t3._contents += t2;
  120406. }
  120407. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120408. return nameBuffer;
  120409. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  120410. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  120411. return variableOrInterpolation;
  120412. else
  120413. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  120414. _this._stylesheet0$_isUseAllowed = false;
  120415. if (t1.matches$1("/*")) {
  120416. t2 = _this.rawText$1(_this.get$loudComment());
  120417. t3 = nameBuffer._interpolation_buffer0$_text;
  120418. t3._contents += t2;
  120419. }
  120420. midBuffer = new A.StringBuffer("");
  120421. t2 = midBuffer;
  120422. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  120423. t2._contents += t3;
  120424. t3 = t1._string_scanner$_position;
  120425. if (!t1.scanChar$1(58)) {
  120426. if (midBuffer._contents.length !== 0) {
  120427. t1 = nameBuffer._interpolation_buffer0$_text;
  120428. t2 = A.Primitives_stringFromCharCode(32);
  120429. t1._contents += t2;
  120430. }
  120431. return nameBuffer;
  120432. }
  120433. t2 = A.Primitives_stringFromCharCode(58);
  120434. midBuffer._contents += t2;
  120435. $name = nameBuffer.interpolation$1(_this.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  120436. isCustomProperty = B.JSString_methods.startsWith$1($name.get$initialPlain(), "--");
  120437. if (!isCustomProperty)
  120438. if (_this._stylesheet0$_inPlainCssFunction) {
  120439. t3 = A.NullableExtension_andThen0($name.get$asPlain(), new A.StylesheetParser__declarationOrBuffer_closure5());
  120440. if (t3 == null)
  120441. t3 = false;
  120442. } else
  120443. t3 = false;
  120444. else
  120445. t3 = true;
  120446. if (t3) {
  120447. if (_this.atEndOfStatement$0()) {
  120448. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120449. t2 = t1.offset;
  120450. t2 = A.Interpolation$0(B.List_empty11, B.List_empty12, A._FileSpan$(t1.file, t2, t2));
  120451. t1 = t2;
  120452. } else
  120453. t1 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  120454. _this.expectStatementSeparator$1(isCustomProperty ? "custom property" : "@function result");
  120455. return A.Declaration$notSassScript0($name, new A.StringExpression0(t1, false), _this.spanFrom$1(start));
  120456. }
  120457. if (t1.scanChar$1(58)) {
  120458. t1 = nameBuffer;
  120459. t3 = t1._interpolation_buffer0$_text;
  120460. t4 = A.S(midBuffer);
  120461. t3._contents = (t3._contents += t4) + t2;
  120462. return t1;
  120463. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  120464. t1 = nameBuffer;
  120465. t2 = t1._interpolation_buffer0$_text;
  120466. t3 = A.S(midBuffer);
  120467. t2._contents += t3;
  120468. return t1;
  120469. }
  120470. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure6(_this));
  120471. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  120472. if (_0_0 != null)
  120473. return _0_0;
  120474. midBuffer._contents += postColonWhitespace;
  120475. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  120476. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120477. value = null;
  120478. try {
  120479. value = _this._stylesheet0$_expression$0();
  120480. if (_this.lookingAtChildren$0()) {
  120481. if (couldBeSelector)
  120482. _this.expectStatementSeparator$0();
  120483. } else if (!_this.atEndOfStatement$0())
  120484. _this.expectStatementSeparator$0();
  120485. } catch (exception) {
  120486. if (type$.FormatException._is(A.unwrapException(exception))) {
  120487. if (!couldBeSelector)
  120488. throw exception;
  120489. t1.set$state(beforeDeclaration);
  120490. additional = _this.almostAnyValue$0();
  120491. if (!_this.get$indented() && t1.peekChar$0() === 59)
  120492. throw exception;
  120493. t1 = nameBuffer._interpolation_buffer0$_text;
  120494. t2 = A.S(midBuffer);
  120495. t1._contents += t2;
  120496. nameBuffer.addInterpolation$1(additional);
  120497. return nameBuffer;
  120498. } else
  120499. throw exception;
  120500. }
  120501. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  120502. if (_1_0 != null)
  120503. return _1_0;
  120504. else {
  120505. _this.expectStatementSeparator$0();
  120506. return A.Declaration$0($name, value, _this.spanFrom$1(start));
  120507. }
  120508. },
  120509. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  120510. var t1, start, identifier, buffer, _this = this;
  120511. if (!_this.lookingAtIdentifier$0())
  120512. return _this.interpolatedIdentifier$0();
  120513. t1 = _this.scanner;
  120514. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120515. identifier = _this.identifier$0();
  120516. if (t1.matches$1(".$")) {
  120517. t1.readChar$0();
  120518. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  120519. } else {
  120520. t1 = new A.StringBuffer("");
  120521. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120522. t1._contents = identifier;
  120523. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  120524. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  120525. return buffer.interpolation$1(_this.spanFrom$1(start));
  120526. }
  120527. },
  120528. _stylesheet0$_styleRule$2(buffer, start_) {
  120529. var t1, t2, start, selector, interpolation, _this = this;
  120530. _this._stylesheet0$_isUseAllowed = false;
  120531. t1 = start_ == null;
  120532. if (t1) {
  120533. t2 = _this.scanner;
  120534. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120535. } else
  120536. start = start_;
  120537. if (_this._parseSelectors) {
  120538. if (!t1)
  120539. _this.scanner.set$state(start);
  120540. selector = _this._stylesheet0$_selectorList$0();
  120541. return _this._stylesheet0$_withStyleRuleChildren$1$3(selector, start, new A.StylesheetParser__styleRule_closure0(_this, selector, start), type$.StyleRule_2);
  120542. } else {
  120543. t1 = {};
  120544. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  120545. if (buffer != null) {
  120546. buffer.addInterpolation$1(interpolation);
  120547. t2 = t1.interpolation = buffer.interpolation$1(_this.spanFrom$1(start));
  120548. } else
  120549. t2 = interpolation;
  120550. if (t2.contents.length === 0)
  120551. _this.scanner.error$1(0, 'expected "}".');
  120552. return _this._stylesheet0$_withStyleRuleChildren$1$3(t2, start, new A.StylesheetParser__styleRule_closure1(t1, _this, start), type$.StyleRule_2);
  120553. }
  120554. },
  120555. _stylesheet0$_styleRule$0() {
  120556. return this._stylesheet0$_styleRule$2(null, null);
  120557. },
  120558. _stylesheet0$_withStyleRuleChildren$1$3(nodeWithSpan, start, create, $T) {
  120559. var _this = this,
  120560. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  120561. _this._stylesheet0$_inStyleRule = true;
  120562. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__withStyleRuleChildren_closure0(_this, nodeWithSpan, wasInStyleRule, create, $T));
  120563. },
  120564. _stylesheet0$_propertyOrVariableDeclaration$0() {
  120565. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  120566. t1 = _this.scanner,
  120567. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120568. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  120569. t2 = new A.StringBuffer("");
  120570. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120571. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  120572. t2._contents += t3;
  120573. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  120574. t2._contents += t3;
  120575. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  120576. $name = nameBuffer.interpolation$1(_this.spanFrom$1(start));
  120577. } else if (!_this.get$plainCss()) {
  120578. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  120579. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  120580. return variableOrInterpolation;
  120581. else
  120582. type$.Interpolation_2._as(variableOrInterpolation);
  120583. $name = variableOrInterpolation;
  120584. } else
  120585. $name = _this.interpolatedIdentifier$0();
  120586. _this.whitespace$1$consumeNewlines(false);
  120587. t1.expectChar$1(58);
  120588. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--"))
  120589. _this.error$2(0, string$.Declarw, $name.span);
  120590. _this.whitespace$1$consumeNewlines(false);
  120591. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  120592. if (_0_0 != null)
  120593. return _0_0;
  120594. value = _this._stylesheet0$_expression$0();
  120595. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  120596. if (_1_0 != null)
  120597. return _1_0;
  120598. else {
  120599. _this.expectStatementSeparator$0();
  120600. return A.Declaration$0($name, value, _this.spanFrom$1(start));
  120601. }
  120602. },
  120603. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  120604. var _this = this;
  120605. if (!_this.lookingAtChildren$0())
  120606. return null;
  120607. if (_this.get$plainCss())
  120608. _this.scanner.error$1(0, string$.Nested);
  120609. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  120610. },
  120611. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  120612. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  120613. },
  120614. _stylesheet0$_declarationChild$0() {
  120615. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$0();
  120616. },
  120617. atRule$2$root(child, root) {
  120618. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  120619. t1 = _this.scanner,
  120620. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120621. t1.expectChar$2$name(64, "@-rule");
  120622. $name = _this.interpolatedIdentifier$0();
  120623. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  120624. _this._stylesheet0$_isUseAllowed = false;
  120625. switch ($name.get$asPlain()) {
  120626. case "at-root":
  120627. return _this._stylesheet0$_atRootRule$1(start);
  120628. case "content":
  120629. return _this._stylesheet0$_contentRule$1(start);
  120630. case "debug":
  120631. return _this._stylesheet0$_debugRule$1(start);
  120632. case "each":
  120633. return _this._stylesheet0$_eachRule$2(start, child);
  120634. case "else":
  120635. return _this._stylesheet0$_disallowedAtRule$1(start);
  120636. case "error":
  120637. return _this._stylesheet0$_errorRule$1(start);
  120638. case "extend":
  120639. _this.whitespace$1$consumeNewlines(true);
  120640. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  120641. _this.error$2(0, string$.x40exten, _this.spanFrom$1(start));
  120642. value = _this.almostAnyValue$0();
  120643. optional = t1.scanChar$1(33);
  120644. if (optional) {
  120645. _this.expectIdentifier$1("optional");
  120646. _this.whitespace$1$consumeNewlines(false);
  120647. }
  120648. _this.expectStatementSeparator$1("@extend rule");
  120649. return new A.ExtendRule0(value, optional, _this.spanFrom$1(start));
  120650. case "for":
  120651. return _this._stylesheet0$_forRule$2(start, child);
  120652. case "forward":
  120653. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  120654. if (!root)
  120655. _this._stylesheet0$_disallowedAtRule$1(start);
  120656. return _this._stylesheet0$_forwardRule$1(start);
  120657. case "function":
  120658. return _this._stylesheet0$_functionRule$2(start, $name);
  120659. case "if":
  120660. return _this._stylesheet0$_ifRule$2(start, child);
  120661. case "import":
  120662. return _this._stylesheet0$_importRule$1(start);
  120663. case "include":
  120664. return _this._stylesheet0$_includeRule$1(start);
  120665. case "media":
  120666. return _this.mediaRule$1(start);
  120667. case "mixin":
  120668. return _this._stylesheet0$_mixinRule$1(start);
  120669. case "-moz-document":
  120670. return _this.mozDocumentRule$2(start, $name);
  120671. case "return":
  120672. return _this._stylesheet0$_disallowedAtRule$1(start);
  120673. case "supports":
  120674. return _this.supportsRule$1(start);
  120675. case "use":
  120676. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  120677. if (!root)
  120678. _this._stylesheet0$_disallowedAtRule$1(start);
  120679. _this.whitespace$1$consumeNewlines(true);
  120680. url = _this._stylesheet0$_urlString$0();
  120681. _this.whitespace$1$consumeNewlines(false);
  120682. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  120683. _this.whitespace$1$consumeNewlines(false);
  120684. configuration = _this._stylesheet0$_configuration$0();
  120685. _this.whitespace$1$consumeNewlines(false);
  120686. span = _this.spanFrom$1(start);
  120687. if (!_this._stylesheet0$_isUseAllowed)
  120688. _this.error$2(0, string$.x40use_r, span);
  120689. _this.expectStatementSeparator$1("@use rule");
  120690. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty23 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  120691. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  120692. return t1;
  120693. case "warn":
  120694. return _this._stylesheet0$_warnRule$1(start);
  120695. case "while":
  120696. return _this._stylesheet0$_whileRule$2(start, child);
  120697. default:
  120698. return _this.unknownAtRule$2(start, $name);
  120699. }
  120700. },
  120701. _stylesheet0$_declarationAtRule$0() {
  120702. var _this = this,
  120703. t1 = _this.scanner,
  120704. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  120705. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  120706. $label0$0: {
  120707. if ("content" === _0_0) {
  120708. t1 = _this._stylesheet0$_contentRule$1(start);
  120709. break $label0$0;
  120710. }
  120711. if ("debug" === _0_0) {
  120712. t1 = _this._stylesheet0$_debugRule$1(start);
  120713. break $label0$0;
  120714. }
  120715. if ("each" === _0_0) {
  120716. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120717. break $label0$0;
  120718. }
  120719. if ("else" === _0_0)
  120720. _this._stylesheet0$_disallowedAtRule$1(start);
  120721. if ("error" === _0_0) {
  120722. t1 = _this._stylesheet0$_errorRule$1(start);
  120723. break $label0$0;
  120724. }
  120725. if ("for" === _0_0) {
  120726. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120727. break $label0$0;
  120728. }
  120729. if ("if" === _0_0) {
  120730. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120731. break $label0$0;
  120732. }
  120733. if ("include" === _0_0) {
  120734. t1 = _this._stylesheet0$_includeRule$1(start);
  120735. break $label0$0;
  120736. }
  120737. if ("warn" === _0_0) {
  120738. t1 = _this._stylesheet0$_warnRule$1(start);
  120739. break $label0$0;
  120740. }
  120741. if ("while" === _0_0) {
  120742. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120743. break $label0$0;
  120744. }
  120745. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  120746. }
  120747. return t1;
  120748. },
  120749. _stylesheet0$_functionChild$0() {
  120750. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  120751. t1 = _this.scanner;
  120752. if (t1.peekChar$0() !== 64) {
  120753. t2 = t1._string_scanner$_position;
  120754. state = new A._SpanScannerState(t1, t2);
  120755. try {
  120756. namespace = _this.identifier$0();
  120757. t1.expectChar$1(46);
  120758. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  120759. return t2;
  120760. } catch (exception) {
  120761. t2 = A.unwrapException(exception);
  120762. t3 = type$.SourceSpanFormatException;
  120763. if (t3._is(t2)) {
  120764. variableDeclarationError = t2;
  120765. stackTrace = A.getTraceFromException(exception);
  120766. t1.set$state(state);
  120767. statement = null;
  120768. try {
  120769. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  120770. } catch (exception) {
  120771. if (t3._is(A.unwrapException(exception)))
  120772. throw A.wrapException(variableDeclarationError);
  120773. else
  120774. throw exception;
  120775. }
  120776. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  120777. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  120778. } else
  120779. throw exception;
  120780. }
  120781. }
  120782. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120783. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  120784. $label0$0: {
  120785. if ("debug" === _0_0) {
  120786. t1 = _this._stylesheet0$_debugRule$1(start);
  120787. break $label0$0;
  120788. }
  120789. if ("each" === _0_0) {
  120790. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  120791. break $label0$0;
  120792. }
  120793. if ("else" === _0_0)
  120794. _this._stylesheet0$_disallowedAtRule$1(start);
  120795. if ("error" === _0_0) {
  120796. t1 = _this._stylesheet0$_errorRule$1(start);
  120797. break $label0$0;
  120798. }
  120799. if ("for" === _0_0) {
  120800. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  120801. break $label0$0;
  120802. }
  120803. if ("if" === _0_0) {
  120804. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  120805. break $label0$0;
  120806. }
  120807. if ("return" === _0_0) {
  120808. _this.whitespace$1$consumeNewlines(true);
  120809. value = _this._stylesheet0$_expression$0();
  120810. _this.expectStatementSeparator$1("@return rule");
  120811. t1 = new A.ReturnRule0(value, _this.spanFrom$1(start));
  120812. break $label0$0;
  120813. }
  120814. if ("warn" === _0_0) {
  120815. t1 = _this._stylesheet0$_warnRule$1(start);
  120816. break $label0$0;
  120817. }
  120818. if ("while" === _0_0) {
  120819. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  120820. break $label0$0;
  120821. }
  120822. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  120823. }
  120824. return t1;
  120825. },
  120826. _stylesheet0$_plainAtRuleName$0() {
  120827. this.scanner.expectChar$2$name(64, "@-rule");
  120828. return this.identifier$0();
  120829. },
  120830. _stylesheet0$_atRootRule$1(start) {
  120831. var t1, t2, t3, buffer, t4, _this = this;
  120832. _this.whitespace$1$consumeNewlines(false);
  120833. t1 = _this.scanner;
  120834. if (t1.peekChar$0() === 40) {
  120835. t2 = t1._string_scanner$_position;
  120836. t3 = new A.StringBuffer("");
  120837. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120838. t1.expectChar$1(40);
  120839. t4 = A.Primitives_stringFromCharCode(40);
  120840. t3._contents += t4;
  120841. _this.whitespace$1$consumeNewlines(true);
  120842. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  120843. if (t1.scanChar$1(58)) {
  120844. _this.whitespace$1$consumeNewlines(true);
  120845. t4 = A.Primitives_stringFromCharCode(58);
  120846. t3._contents += t4;
  120847. t4 = A.Primitives_stringFromCharCode(32);
  120848. t3._contents += t4;
  120849. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  120850. }
  120851. t1.expectChar$1(41);
  120852. _this.whitespace$1$consumeNewlines(false);
  120853. t4 = A.Primitives_stringFromCharCode(41);
  120854. t3._contents += t4;
  120855. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  120856. } else {
  120857. if (!_this.lookingAtChildren$0())
  120858. t1 = _this.get$indented() && _this.atEndOfStatement$0();
  120859. else
  120860. t1 = true;
  120861. if (t1)
  120862. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  120863. else
  120864. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), _this.spanFrom$1(start), null);
  120865. }
  120866. },
  120867. _stylesheet0$_contentRule$1(start) {
  120868. var t1, beforeWhitespace, $arguments, _this = this;
  120869. if (!_this._stylesheet0$_inMixin)
  120870. _this.error$2(0, string$.x40conte, _this.spanFrom$1(start));
  120871. t1 = _this.scanner;
  120872. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120873. _this.whitespace$1$consumeNewlines(false);
  120874. if (t1.peekChar$0() === 40) {
  120875. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120876. _this.whitespace$1$consumeNewlines(false);
  120877. } else {
  120878. t1 = beforeWhitespace.offset;
  120879. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t1, t1));
  120880. }
  120881. _this.expectStatementSeparator$1("@content rule");
  120882. return new A.ContentRule0($arguments, _this.spanFrom$1(start));
  120883. },
  120884. _stylesheet0$_debugRule$1(start) {
  120885. var value, t1, t2, _this = this;
  120886. _this.whitespace$1$consumeNewlines(true);
  120887. value = _this._stylesheet0$_expression$0();
  120888. t1 = _this.scanner;
  120889. t2 = t1._string_scanner$_position;
  120890. _this.expectStatementSeparator$1("@debug rule");
  120891. return new A.DebugRule0(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120892. },
  120893. _stylesheet0$_eachRule$2(start, child) {
  120894. var wasInControlDirective, variables, t1, _this = this;
  120895. _this.whitespace$1$consumeNewlines(true);
  120896. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120897. _this._stylesheet0$_inControlDirective = true;
  120898. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  120899. _this.whitespace$1$consumeNewlines(true);
  120900. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  120901. _this.whitespace$1$consumeNewlines(true);
  120902. t1.expectChar$1(36);
  120903. variables.push(_this.identifier$1$normalize(true));
  120904. _this.whitespace$1$consumeNewlines(true);
  120905. }
  120906. _this.whitespace$1$consumeNewlines(true);
  120907. _this.expectIdentifier$1("in");
  120908. _this.whitespace$1$consumeNewlines(true);
  120909. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  120910. },
  120911. _stylesheet0$_errorRule$1(start) {
  120912. var value, t1, t2, _this = this;
  120913. _this.whitespace$1$consumeNewlines(true);
  120914. value = _this._stylesheet0$_expression$0();
  120915. t1 = _this.scanner;
  120916. t2 = t1._string_scanner$_position;
  120917. _this.expectStatementSeparator$1("@error rule");
  120918. return new A.ErrorRule0(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120919. },
  120920. _stylesheet0$_functionRule$2(start, atRuleName) {
  120921. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  120922. _this.whitespace$1$consumeNewlines(true);
  120923. precedingComment = _this.lastSilentComment;
  120924. _this.lastSilentComment = null;
  120925. t1 = _this.scanner;
  120926. t2 = t1._string_scanner$_position;
  120927. if (t1.matches$1("--"))
  120928. return _this.unknownAtRule$2(start, atRuleName);
  120929. $name = _this.identifier$0();
  120930. if (A.equalsIgnoreCase0($name, "type"))
  120931. _this.error$2(0, string$.This_n, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120932. _this.whitespace$1$consumeNewlines(true);
  120933. parameters = _this._stylesheet0$_parameterList$0();
  120934. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120935. _this.error$2(0, string$.Mixinscf, _this.spanFrom$1(start));
  120936. else if (_this._stylesheet0$_inControlDirective)
  120937. _this.error$2(0, string$.Functi, _this.spanFrom$1(start));
  120938. _0_0 = A.unvendor0($name);
  120939. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  120940. _this.error$2(0, "Invalid function name.", _this.spanFrom$1(start));
  120941. _this.whitespace$1$consumeNewlines(false);
  120942. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  120943. },
  120944. _stylesheet0$_forRule$2(start, child) {
  120945. var wasInControlDirective, variable, from, _this = this, t1 = {};
  120946. _this.whitespace$1$consumeNewlines(true);
  120947. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120948. _this._stylesheet0$_inControlDirective = true;
  120949. variable = _this.variableName$0();
  120950. _this.whitespace$1$consumeNewlines(true);
  120951. _this.expectIdentifier$1("from");
  120952. _this.whitespace$1$consumeNewlines(true);
  120953. t1.exclusive = null;
  120954. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  120955. if (t1.exclusive == null)
  120956. _this.scanner.error$1(0, 'Expected "to" or "through".');
  120957. _this.whitespace$1$consumeNewlines(true);
  120958. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  120959. },
  120960. _stylesheet0$_forwardRule$1(start) {
  120961. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  120962. _this.whitespace$1$consumeNewlines(true);
  120963. url = _this._stylesheet0$_urlString$0();
  120964. _this.whitespace$1$consumeNewlines(false);
  120965. if (_this.scanIdentifier$1("as")) {
  120966. _this.whitespace$1$consumeNewlines(true);
  120967. prefix = _this.identifier$1$normalize(true);
  120968. _this.scanner.expectChar$1(42);
  120969. _this.whitespace$1$consumeNewlines(false);
  120970. } else
  120971. prefix = _null;
  120972. hiddenMixinsAndFunctions = _null;
  120973. hiddenVariables = _null;
  120974. if (_this.scanIdentifier$1("show")) {
  120975. _this.whitespace$1$consumeNewlines(true);
  120976. _0_0 = _this._stylesheet0$_memberList$0();
  120977. shownMixinsAndFunctions = _0_0._0;
  120978. shownVariables = _0_0._1;
  120979. } else {
  120980. if (_this.scanIdentifier$1("hide")) {
  120981. _this.whitespace$1$consumeNewlines(true);
  120982. _1_0 = _this._stylesheet0$_memberList$0();
  120983. hiddenMixinsAndFunctions = _1_0._0;
  120984. hiddenVariables = _1_0._1;
  120985. }
  120986. shownVariables = _null;
  120987. shownMixinsAndFunctions = shownVariables;
  120988. }
  120989. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  120990. _this.whitespace$1$consumeNewlines(false);
  120991. _this.expectStatementSeparator$1("@forward rule");
  120992. span = _this.spanFrom$1(start);
  120993. if (!_this._stylesheet0$_isUseAllowed)
  120994. _this.error$2(0, string$.x40forwa, span);
  120995. if (shownMixinsAndFunctions != null) {
  120996. shownVariables.toString;
  120997. t1 = type$.String;
  120998. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  120999. t3 = type$.UnmodifiableSetView_String;
  121000. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  121001. t4 = configuration == null ? B.List_empty23 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  121002. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  121003. } else if (hiddenMixinsAndFunctions != null) {
  121004. hiddenVariables.toString;
  121005. t1 = type$.String;
  121006. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  121007. t3 = type$.UnmodifiableSetView_String;
  121008. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  121009. t4 = configuration == null ? B.List_empty23 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  121010. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  121011. } else
  121012. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty23 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  121013. },
  121014. _stylesheet0$_memberList$0() {
  121015. var _this = this,
  121016. t1 = type$.String,
  121017. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  121018. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  121019. t1 = _this.scanner;
  121020. do {
  121021. _this.whitespace$1$consumeNewlines(true);
  121022. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  121023. _this.whitespace$1$consumeNewlines(false);
  121024. } while (t1.scanChar$1(44));
  121025. return new A._Record_2(identifiers, variables);
  121026. },
  121027. _stylesheet0$_ifRule$2(start, child) {
  121028. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  121029. _this.whitespace$1$consumeNewlines(true);
  121030. ifIndentation = _this.get$currentIndentation();
  121031. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  121032. _this._stylesheet0$_inControlDirective = true;
  121033. condition = _this._stylesheet0$_expression$0();
  121034. children = _this.children$1(0, child);
  121035. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  121036. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  121037. for (;;) {
  121038. if (!_this.scanElse$1(ifIndentation)) {
  121039. lastClause = null;
  121040. break;
  121041. }
  121042. _this.whitespace$1$consumeNewlines(false);
  121043. if (_this.scanIdentifier$1("if")) {
  121044. _this.whitespace$1$consumeNewlines(true);
  121045. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  121046. } else {
  121047. lastClause = A.ElseClause$0(_this.children$1(0, child));
  121048. break;
  121049. }
  121050. }
  121051. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  121052. span = _this.spanFrom$1(start);
  121053. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  121054. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  121055. },
  121056. _stylesheet0$_importRule$1(start) {
  121057. var argument, t3, _this = this,
  121058. imports = A._setArrayType([], type$.JSArray_Import_2),
  121059. t1 = _this.scanner,
  121060. t2 = _this.warnings;
  121061. do {
  121062. _this.whitespace$1$consumeNewlines(false);
  121063. argument = _this.importArgument$0();
  121064. t3 = argument instanceof A.DynamicImport0;
  121065. if (t3)
  121066. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_L3L, string$.Sass__i, argument.span));
  121067. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  121068. _this._stylesheet0$_disallowedAtRule$1(start);
  121069. imports.push(argument);
  121070. _this.whitespace$1$consumeNewlines(false);
  121071. } while (t1.scanChar$1(44));
  121072. _this.expectStatementSeparator$1("@import rule");
  121073. t1 = _this.spanFrom$1(start);
  121074. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  121075. },
  121076. importArgument$0() {
  121077. var url, urlSpan, innerError, stackTrace, modifiers, exception, _this = this,
  121078. t1 = _this.scanner,
  121079. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121080. _0_0 = t1.peekChar$0();
  121081. if (117 === _0_0 || 85 === _0_0) {
  121082. url = _this.dynamicUrl$0();
  121083. _this.whitespace$1$consumeNewlines(false);
  121084. modifiers = _this.tryImportModifiers$0();
  121085. t1 = url instanceof A.StringExpression0 ? url.text : A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), A._setArrayType([url.get$span(url)], type$.JSArray_nullable_FileSpan), url.get$span(url));
  121086. return new A.StaticImport0(t1, modifiers, _this.spanFrom$1(start));
  121087. }
  121088. url = _this.string$0();
  121089. urlSpan = _this.spanFrom$1(start);
  121090. _this.whitespace$1$consumeNewlines(false);
  121091. modifiers = _this.tryImportModifiers$0();
  121092. if (_this.isPlainImportUrl$1(url) || modifiers != null)
  121093. return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([urlSpan.get$text()], type$.Object), B.List_null, urlSpan), modifiers, _this.spanFrom$1(start));
  121094. else
  121095. try {
  121096. t1 = _this.parseImportUrl$1(url);
  121097. return new A.DynamicImport0(t1, urlSpan);
  121098. } catch (exception) {
  121099. t1 = A.unwrapException(exception);
  121100. if (type$.FormatException._is(t1)) {
  121101. innerError = t1;
  121102. stackTrace = A.getTraceFromException(exception);
  121103. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  121104. } else
  121105. throw exception;
  121106. }
  121107. },
  121108. parseImportUrl$1(url) {
  121109. var t1 = $.$get$windows();
  121110. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  121111. return t1.toUri$1(url).toString$0(0);
  121112. A.Uri_parse(url);
  121113. return url;
  121114. },
  121115. isPlainImportUrl$1(url) {
  121116. var _0_0, t1;
  121117. if (url.length < 5)
  121118. return false;
  121119. if (B.JSString_methods.endsWith$1(url, ".css"))
  121120. return true;
  121121. _0_0 = url.charCodeAt(0);
  121122. $label0$0: {
  121123. if (47 === _0_0) {
  121124. t1 = url.charCodeAt(1) === 47;
  121125. break $label0$0;
  121126. }
  121127. if (104 === _0_0) {
  121128. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  121129. break $label0$0;
  121130. }
  121131. t1 = false;
  121132. break $label0$0;
  121133. }
  121134. return t1;
  121135. },
  121136. tryImportModifiers$0() {
  121137. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, _this = this;
  121138. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  121139. return null;
  121140. t1 = _this.scanner;
  121141. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121142. t2 = new A.StringBuffer("");
  121143. t3 = A._setArrayType([], type$.JSArray_Object);
  121144. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121145. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  121146. for (;;)
  121147. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  121148. if (!(t3.length === 0 && t2._contents.length === 0)) {
  121149. t5 = A.Primitives_stringFromCharCode(32);
  121150. t2._contents += t5;
  121151. }
  121152. identifier = _this.interpolatedIdentifier$0();
  121153. buffer.addInterpolation$1(identifier);
  121154. t5 = identifier.get$asPlain();
  121155. $name = t5 == null ? null : t5.toLowerCase();
  121156. if ($name !== "and" && t1.scanChar$1(40)) {
  121157. if ($name === "supports") {
  121158. query = _this._stylesheet0$_importSupportsQuery$0();
  121159. t5 = !(query instanceof A.SupportsDeclaration0);
  121160. if (t5) {
  121161. t6 = A.Primitives_stringFromCharCode(40);
  121162. t2._contents += t6;
  121163. }
  121164. t6 = query.get$span(query);
  121165. buffer._interpolation_buffer0$_flushText$0();
  121166. t3.push(new A.SupportsExpression0(query));
  121167. t4.push(t6);
  121168. if (t5) {
  121169. t5 = A.Primitives_stringFromCharCode(41);
  121170. t2._contents += t5;
  121171. }
  121172. } else {
  121173. t5 = A.Primitives_stringFromCharCode(40);
  121174. t2._contents += t5;
  121175. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  121176. t5 = A.Primitives_stringFromCharCode(41);
  121177. t2._contents += t5;
  121178. }
  121179. t1.expectChar$1(41);
  121180. _this.whitespace$1$consumeNewlines(false);
  121181. } else {
  121182. _this.whitespace$1$consumeNewlines(false);
  121183. if (t1.scanChar$1(44)) {
  121184. t2._contents += ", ";
  121185. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  121186. return buffer.interpolation$1(_this.spanFrom$1(start));
  121187. }
  121188. }
  121189. } else if (t1.peekChar$0() === 40) {
  121190. if (!(t3.length === 0 && t2._contents.length === 0)) {
  121191. t1 = A.Primitives_stringFromCharCode(32);
  121192. t2._contents += t1;
  121193. }
  121194. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  121195. return buffer.interpolation$1(_this.spanFrom$1(start));
  121196. } else
  121197. return buffer.interpolation$1(_this.spanFrom$1(start));
  121198. },
  121199. _stylesheet0$_importSupportsQuery$0() {
  121200. var t1, t2, _0_0, $name, _this = this;
  121201. _this.whitespace$1$consumeNewlines(true);
  121202. if (_this.scanIdentifier$1("not")) {
  121203. _this.whitespace$1$consumeNewlines(true);
  121204. t1 = _this.scanner;
  121205. t2 = t1._string_scanner$_position;
  121206. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121207. } else {
  121208. t1 = _this.scanner;
  121209. if (t1.peekChar$0() === 40)
  121210. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  121211. else {
  121212. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  121213. if (_0_0 != null)
  121214. return _0_0;
  121215. t2 = t1._string_scanner$_position;
  121216. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121217. t1.expectChar$1(58);
  121218. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121219. }
  121220. }
  121221. },
  121222. _stylesheet0$_tryImportSupportsFunction$0() {
  121223. var t1, start, $name, value, _this = this;
  121224. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121225. return null;
  121226. t1 = _this.scanner;
  121227. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121228. $name = _this.interpolatedIdentifier$0();
  121229. if (!t1.scanChar$1(40)) {
  121230. t1.set$state(start);
  121231. return null;
  121232. }
  121233. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  121234. t1.expectChar$1(41);
  121235. return new A.SupportsFunction0($name, value, _this.spanFrom$1(start));
  121236. },
  121237. _stylesheet0$_includeRule$1(start) {
  121238. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  121239. _this.whitespace$1$consumeNewlines(true);
  121240. $name = _this.identifier$0();
  121241. t1 = _this.scanner;
  121242. if (t1.scanChar$1(46)) {
  121243. name0 = _this._stylesheet0$_publicIdentifier$0();
  121244. namespace = $name;
  121245. $name = name0;
  121246. } else
  121247. namespace = _null;
  121248. _this.whitespace$1$consumeNewlines(false);
  121249. if (t1.peekChar$0() === 40)
  121250. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  121251. else {
  121252. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  121253. t3 = t2.offset;
  121254. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  121255. }
  121256. _this.whitespace$1$consumeNewlines(false);
  121257. if (_this.scanIdentifier$1("using")) {
  121258. _this.whitespace$1$consumeNewlines(true);
  121259. contentParameters = _this._stylesheet0$_parameterList$0();
  121260. _this.whitespace$1$consumeNewlines(false);
  121261. } else
  121262. contentParameters = _null;
  121263. t2 = contentParameters == null;
  121264. if (!t2 || _this.lookingAtChildren$0()) {
  121265. if (t2) {
  121266. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  121267. t2 = t1.offset;
  121268. contentParameters_ = new A.ParameterList0(B.List_empty24, _null, A._FileSpan$(t1.file, t2, t2));
  121269. } else
  121270. contentParameters_ = contentParameters;
  121271. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  121272. _this._stylesheet0$_inContentBlock = true;
  121273. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  121274. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  121275. } else {
  121276. _this.expectStatementSeparator$0();
  121277. $content = _null;
  121278. }
  121279. t1 = _this.spanFrom$2(start, start);
  121280. t2 = $content == null ? $arguments : $content;
  121281. span = t1.expand$1(0, t2.get$span(t2));
  121282. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  121283. },
  121284. mediaRule$1(start) {
  121285. var _this = this;
  121286. _this.whitespace$1$consumeNewlines(false);
  121287. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  121288. },
  121289. _stylesheet0$_mixinRule$1(start) {
  121290. var precedingComment, t1, t2, $name, parameters, _this = this;
  121291. _this.whitespace$1$consumeNewlines(true);
  121292. precedingComment = _this.lastSilentComment;
  121293. _this.lastSilentComment = null;
  121294. t1 = _this.scanner;
  121295. t2 = t1._string_scanner$_position;
  121296. $name = _this.identifier$0();
  121297. if (B.JSString_methods.startsWith$1($name, "--"))
  121298. _this.error$2(0, string$.Sass__m, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121299. _this.whitespace$1$consumeNewlines(false);
  121300. if (t1.peekChar$0() === 40)
  121301. parameters = _this._stylesheet0$_parameterList$0();
  121302. else {
  121303. t1 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  121304. t2 = t1.offset;
  121305. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t1.file, t2, t2));
  121306. }
  121307. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  121308. _this.error$2(0, string$.Mixinscm, _this.spanFrom$1(start));
  121309. else if (_this._stylesheet0$_inControlDirective)
  121310. _this.error$2(0, string$.Mixinsb, _this.spanFrom$1(start));
  121311. _this.whitespace$1$consumeNewlines(false);
  121312. _this._stylesheet0$_inMixin = true;
  121313. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  121314. },
  121315. mozDocumentRule$2(start, $name) {
  121316. var t1, t2, t3, t4, t5, buffer, _0_0, identifierStart, identifier, _1_0, argument, t6, trailing, start0, end, _this = this, _box_0 = {};
  121317. _this.whitespace$1$consumeNewlines(false);
  121318. t1 = _this.scanner;
  121319. t2 = t1._string_scanner$_position;
  121320. t3 = new A.StringBuffer("");
  121321. t4 = A._setArrayType([], type$.JSArray_Object);
  121322. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121323. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121324. _box_0.needsDeprecationWarning = false;
  121325. for (;;) {
  121326. if (t1.peekChar$0() === 35) {
  121327. _0_0 = _this.singleInterpolation$0();
  121328. buffer._interpolation_buffer0$_flushText$0();
  121329. t4.push(_0_0._0);
  121330. t5.push(_0_0._1);
  121331. _box_0.needsDeprecationWarning = true;
  121332. } else {
  121333. identifierStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121334. identifier = _this.identifier$0();
  121335. $label0$0: {
  121336. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  121337. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(identifierStart, identifier);
  121338. if (_1_0 != null)
  121339. buffer.addInterpolation$1(_1_0);
  121340. else {
  121341. t1.expectChar$1(40);
  121342. _this.whitespace$1$consumeNewlines(false);
  121343. argument = _this.interpolatedStringToken$0();
  121344. t1.expectChar$1(41);
  121345. t3._contents += identifier;
  121346. t6 = A.Primitives_stringFromCharCode(40);
  121347. t3._contents += t6;
  121348. buffer.addInterpolation$1(argument);
  121349. t6 = A.Primitives_stringFromCharCode(41);
  121350. t3._contents += t6;
  121351. }
  121352. t6 = t3._contents;
  121353. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  121354. if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
  121355. _box_0.needsDeprecationWarning = true;
  121356. break $label0$0;
  121357. }
  121358. if ("regexp" === identifier) {
  121359. t3._contents += "regexp(";
  121360. t1.expectChar$1(40);
  121361. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  121362. t1.expectChar$1(41);
  121363. t6 = A.Primitives_stringFromCharCode(41);
  121364. t3._contents += t6;
  121365. _box_0.needsDeprecationWarning = true;
  121366. break $label0$0;
  121367. }
  121368. _this.error$2(0, "Invalid function name.", _this.spanFrom$1(identifierStart));
  121369. }
  121370. }
  121371. _this.whitespace$1$consumeNewlines(false);
  121372. if (!t1.scanChar$1(44))
  121373. break;
  121374. t6 = A.Primitives_stringFromCharCode(44);
  121375. t3._contents += t6;
  121376. start0 = t1._string_scanner$_position;
  121377. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  121378. end = t1._string_scanner$_position;
  121379. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  121380. }
  121381. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure2(_box_0, _this, $name, buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  121382. },
  121383. supportsRule$1(start) {
  121384. var condition, _this = this;
  121385. _this.whitespace$1$consumeNewlines(false);
  121386. condition = _this._stylesheet0$_supportsCondition$0();
  121387. _this.whitespace$1$consumeNewlines(false);
  121388. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  121389. },
  121390. _stylesheet0$_useNamespace$2(url, start) {
  121391. var namespace, basename, dot, t1, exception, _this = this;
  121392. if (_this.scanIdentifier$1("as")) {
  121393. _this.whitespace$1$consumeNewlines(true);
  121394. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  121395. }
  121396. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  121397. dot = B.JSString_methods.indexOf$1(basename, ".");
  121398. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  121399. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  121400. try {
  121401. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  121402. return t1;
  121403. } catch (exception) {
  121404. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  121405. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.spanFrom$1(start));
  121406. else
  121407. throw exception;
  121408. }
  121409. },
  121410. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  121411. var variableNames, configuration, t1, t2, variableStart, $name, expression, t3, guarded, span, _this = this;
  121412. if (!_this.scanIdentifier$1("with"))
  121413. return null;
  121414. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  121415. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  121416. _this.whitespace$1$consumeNewlines(true);
  121417. t1 = _this.scanner;
  121418. t1.expectChar$1(40);
  121419. for (t2 = _this.warnings;;) {
  121420. _this.whitespace$1$consumeNewlines(true);
  121421. variableStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121422. t1.expectChar$1(36);
  121423. $name = _this.identifier$1$normalize(true);
  121424. if (B.JSString_methods.startsWith$1($name, "-"))
  121425. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_lkJ, string$.Config, _this.spanFrom$1(variableStart)));
  121426. _this.whitespace$1$consumeNewlines(true);
  121427. t1.expectChar$1(58);
  121428. _this.whitespace$1$consumeNewlines(true);
  121429. expression = _this.expressionUntilComma$0();
  121430. t3 = t1._string_scanner$_position;
  121431. if (allowGuarded && t1.scanChar$1(33)) {
  121432. guarded = _this.identifier$0() === "default";
  121433. if (guarded)
  121434. _this.whitespace$1$consumeNewlines(true);
  121435. else
  121436. _this.error$2(0, "Invalid flag name.", _this.spanFrom$1(new A._SpanScannerState(t1, t3)));
  121437. } else
  121438. guarded = false;
  121439. span = _this.spanFrom$1(variableStart);
  121440. if (variableNames.contains$1(0, $name))
  121441. _this.error$2(0, string$.The_sa, span);
  121442. variableNames.add$1(0, $name);
  121443. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  121444. if (!t1.scanChar$1(44))
  121445. break;
  121446. _this.whitespace$1$consumeNewlines(true);
  121447. if (!_this._stylesheet0$_lookingAtExpression$0())
  121448. break;
  121449. }
  121450. t1.expectChar$1(41);
  121451. return configuration;
  121452. },
  121453. _stylesheet0$_configuration$0() {
  121454. return this._stylesheet0$_configuration$1$allowGuarded(false);
  121455. },
  121456. _stylesheet0$_warnRule$1(start) {
  121457. var value, t1, t2, _this = this;
  121458. _this.whitespace$1$consumeNewlines(true);
  121459. value = _this._stylesheet0$_expression$0();
  121460. t1 = _this.scanner;
  121461. t2 = t1._string_scanner$_position;
  121462. _this.expectStatementSeparator$1("@warn rule");
  121463. return new A.WarnRule0(value, _this.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  121464. },
  121465. _stylesheet0$_whileRule$2(start, child) {
  121466. var wasInControlDirective, _this = this;
  121467. _this.whitespace$1$consumeNewlines(true);
  121468. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  121469. _this._stylesheet0$_inControlDirective = true;
  121470. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  121471. },
  121472. unknownAtRule$2(start, $name) {
  121473. var wasInPlainCssFunction, t2, _0_0, t3, _this = this, t1 = {},
  121474. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  121475. _this._stylesheet0$_inUnknownAtRule = true;
  121476. _this.whitespace$1$consumeNewlines(false);
  121477. t1.value = null;
  121478. t2 = _this.scanner.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  121479. wasInPlainCssFunction = _this._stylesheet0$_inPlainCssFunction;
  121480. _0_0 = $name.get$asPlain();
  121481. if (_0_0 != null)
  121482. t3 = A.equalsIgnoreCase0(_0_0, "function");
  121483. else
  121484. t3 = false;
  121485. if (t3)
  121486. _this._stylesheet0$_inPlainCssFunction = true;
  121487. try {
  121488. if (_this.lookingAtChildren$0()) {
  121489. t1 = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  121490. return t1;
  121491. } else {
  121492. _this.expectStatementSeparator$0();
  121493. t1 = A.AtRule$0($name, _this.spanFrom$1(start), null, t2);
  121494. return t1;
  121495. }
  121496. } finally {
  121497. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  121498. _this._stylesheet0$_inPlainCssFunction = wasInPlainCssFunction;
  121499. }
  121500. },
  121501. _stylesheet0$_disallowedAtRule$1(start) {
  121502. var _this = this;
  121503. _this.whitespace$1$consumeNewlines(false);
  121504. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  121505. _this.error$2(0, "This at-rule is not allowed here.", _this.spanFrom$1(start));
  121506. },
  121507. _stylesheet0$_parameterList$0() {
  121508. var parameters, named, restParameter, t3, $name, defaultValue, _this = this,
  121509. t1 = _this.scanner,
  121510. t2 = t1._string_scanner$_position;
  121511. t1.expectChar$1(40);
  121512. _this.whitespace$1$consumeNewlines(true);
  121513. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  121514. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  121515. while (restParameter = null, t1.peekChar$0() === 36) {
  121516. t3 = t1._string_scanner$_position;
  121517. t1.expectChar$1(36);
  121518. $name = _this.identifier$1$normalize(true);
  121519. _this.whitespace$1$consumeNewlines(true);
  121520. if (t1.scanChar$1(58)) {
  121521. _this.whitespace$1$consumeNewlines(true);
  121522. defaultValue = _this.expressionUntilComma$0();
  121523. } else {
  121524. if (t1.scanChar$1(46)) {
  121525. t1.expectChar$1(46);
  121526. t1.expectChar$1(46);
  121527. _this.whitespace$1$consumeNewlines(true);
  121528. if (t1.scanChar$1(44))
  121529. _this.whitespace$1$consumeNewlines(true);
  121530. restParameter = $name;
  121531. break;
  121532. }
  121533. defaultValue = null;
  121534. }
  121535. parameters.push(new A.Parameter0($name, defaultValue, _this.spanFrom$1(new A._SpanScannerState(t1, t3))));
  121536. if (!named.add$1(0, $name))
  121537. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  121538. if (!t1.scanChar$1(44))
  121539. break;
  121540. _this.whitespace$1$consumeNewlines(true);
  121541. }
  121542. t1.expectChar$1(41);
  121543. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  121544. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  121545. },
  121546. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  121547. var positional, t3, t4, named, t5, t6, t7, rest, emittedRestDeprecation, keywordRest, expression, emittedRestDeprecation0, t8, result, _this = this,
  121548. t1 = _this.scanner,
  121549. t2 = t1._string_scanner$_position;
  121550. t1.expectChar$1(40);
  121551. _this.whitespace$1$consumeNewlines(true);
  121552. positional = A._setArrayType([], type$.JSArray_Expression_2);
  121553. t3 = type$.String;
  121554. t4 = type$.Expression_2;
  121555. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  121556. for (t5 = !mixin, t6 = _this.warnings, t7 = type$.SourceSpan, rest = null, emittedRestDeprecation = false; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  121557. expression = _this.expressionUntilComma$1$singleEquals(t5);
  121558. _this.whitespace$1$consumeNewlines(true);
  121559. emittedRestDeprecation0 = true;
  121560. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  121561. _this.whitespace$1$consumeNewlines(true);
  121562. t8 = expression.name;
  121563. if (named.containsKey$1(t8))
  121564. _this.error$2(0, "Duplicate argument.", expression.span);
  121565. named.$indexSet(0, t8, _this.expressionUntilComma$1$singleEquals(t5));
  121566. if (rest != null && !emittedRestDeprecation) {
  121567. t8 = expression.span;
  121568. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_Jgi, string$.Named_, new A.MultiSpan0(_this.spanFromPosition$1(t8.get$start(t8).offset), "named argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  121569. emittedRestDeprecation = emittedRestDeprecation0;
  121570. }
  121571. } else if (t1.scanChar$1(46)) {
  121572. t1.expectChar$1(46);
  121573. t1.expectChar$1(46);
  121574. if (rest != null) {
  121575. _this.whitespace$1$consumeNewlines(true);
  121576. if (t1.scanChar$1(44))
  121577. _this.whitespace$1$consumeNewlines(true);
  121578. keywordRest = expression;
  121579. break;
  121580. }
  121581. rest = expression;
  121582. } else if (named.__js_helper$_length !== 0)
  121583. _this.error$2(0, string$.Positik, expression.get$span(expression));
  121584. else {
  121585. positional.push(expression);
  121586. if (rest != null && !emittedRestDeprecation) {
  121587. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_Jgi, string$.Positir, new A.MultiSpan0(expression.get$span(expression), "positional argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  121588. emittedRestDeprecation = emittedRestDeprecation0;
  121589. }
  121590. }
  121591. _this.whitespace$1$consumeNewlines(true);
  121592. if (!t1.scanChar$1(44))
  121593. break;
  121594. _this.whitespace$1$consumeNewlines(true);
  121595. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  121596. t5 = t1._sourceFile;
  121597. t6 = t1._string_scanner$_position;
  121598. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  121599. t7 = new A._FileSpan(t5, t6, t6);
  121600. t7._FileSpan$3(t5, t6, t6);
  121601. result = A.List_List$from([""], false, type$.Object);
  121602. result.$flags = 3;
  121603. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t7), false));
  121604. break;
  121605. }
  121606. }
  121607. t1.expectChar$1(41);
  121608. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  121609. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  121610. },
  121611. _stylesheet0$_argumentInvocation$0() {
  121612. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  121613. },
  121614. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  121615. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  121616. },
  121617. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  121618. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  121619. },
  121620. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  121621. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, t4, _3_0, _1_0, t5, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  121622. _s20_ = "Expected expression.",
  121623. _box_0 = {},
  121624. t1 = until != null;
  121625. if (t1 && until.call$0())
  121626. _this.scanner.error$1(0, _s20_);
  121627. if (bracketList) {
  121628. t2 = _this.scanner;
  121629. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  121630. t2.expectChar$1(91);
  121631. _this.whitespace$1$consumeNewlines(true);
  121632. if (t2.scanChar$1(93)) {
  121633. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  121634. t2 = _this.spanFrom$1(beforeBracket);
  121635. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_3_undecided0, true, t2);
  121636. }
  121637. } else
  121638. beforeBracket = null;
  121639. t2 = _this.scanner;
  121640. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  121641. wasInExpression = _this._stylesheet0$_inExpression;
  121642. wasInParentheses = _this._stylesheet0$_inParentheses;
  121643. _this._stylesheet0$_inExpression = true;
  121644. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  121645. _box_0.allowSlash = true;
  121646. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  121647. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  121648. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  121649. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  121650. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  121651. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation, addSingleExpression);
  121652. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  121653. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2;;) {
  121654. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  121655. if (t1 && until.call$0())
  121656. break;
  121657. _3_0 = t2.peekChar$0();
  121658. if (_3_0 == null)
  121659. break;
  121660. if (40 === _3_0) {
  121661. addSingleExpression.call$1(_this.parentheses$0());
  121662. continue;
  121663. }
  121664. if (91 === _3_0) {
  121665. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  121666. continue;
  121667. }
  121668. if (36 === _3_0) {
  121669. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  121670. continue;
  121671. }
  121672. if (38 === _3_0) {
  121673. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  121674. continue;
  121675. }
  121676. if (39 === _3_0 || 34 === _3_0) {
  121677. addSingleExpression.call$1(_this.interpolatedString$0());
  121678. continue;
  121679. }
  121680. if (35 === _3_0) {
  121681. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  121682. continue;
  121683. }
  121684. if (61 === _3_0) {
  121685. t2.readChar$0();
  121686. if (singleEquals && t2.peekChar$0() !== 61)
  121687. addOperator.call$1(B.BinaryOperator_g6F0);
  121688. else {
  121689. t2.expectChar$1(61);
  121690. addOperator.call$1(B.BinaryOperator_K7S0);
  121691. }
  121692. continue;
  121693. }
  121694. if (33 === _3_0) {
  121695. $label0$1: {
  121696. _1_0 = t2.peekChar$1(1);
  121697. if (61 === _1_0) {
  121698. t2.readChar$0();
  121699. t2.readChar$0();
  121700. addOperator.call$1(B.BinaryOperator_Fv20);
  121701. break $label0$1;
  121702. }
  121703. t5 = true;
  121704. if (_1_0 != null)
  121705. if (105 !== _1_0)
  121706. if (73 !== _1_0)
  121707. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  121708. if (t5) {
  121709. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  121710. break $label0$1;
  121711. }
  121712. break;
  121713. }
  121714. continue;
  121715. }
  121716. if (60 === _3_0) {
  121717. t2.readChar$0();
  121718. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_f2c0 : B.BinaryOperator_CG20);
  121719. continue;
  121720. }
  121721. if (62 === _3_0) {
  121722. t2.readChar$0();
  121723. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_YGt0 : B.BinaryOperator_Tic0);
  121724. continue;
  121725. }
  121726. if (42 === _3_0) {
  121727. t2.readChar$0();
  121728. addOperator.call$1(B.BinaryOperator_wkM0);
  121729. continue;
  121730. }
  121731. _3_28 = 43 === _3_0;
  121732. if (_3_28 && _box_0.singleExpression_ == null) {
  121733. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121734. continue;
  121735. }
  121736. if (_3_28) {
  121737. t2.readChar$0();
  121738. addOperator.call$1(B.BinaryOperator_jCK0);
  121739. continue;
  121740. }
  121741. if (45 === _3_0) {
  121742. _2_0 = t2.peekChar$1(1);
  121743. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  121744. if (_box_0.singleExpression_ != null) {
  121745. t5 = t2.peekChar$1(-1);
  121746. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  121747. } else
  121748. t5 = true;
  121749. else
  121750. t5 = false;
  121751. if (t5)
  121752. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121753. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121754. addSingleExpression.call$1(_this.identifierLike$0());
  121755. else if (_box_0.singleExpression_ == null)
  121756. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121757. else {
  121758. t2.readChar$0();
  121759. addOperator.call$1(B.BinaryOperator_tDf0);
  121760. }
  121761. continue;
  121762. }
  121763. _3_32 = 47 === _3_0;
  121764. if (_3_32 && _box_0.singleExpression_ == null) {
  121765. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121766. continue;
  121767. }
  121768. if (_3_32) {
  121769. t2.readChar$0();
  121770. addOperator.call$1(B.BinaryOperator_ehp0);
  121771. continue;
  121772. }
  121773. if (37 === _3_0) {
  121774. t2.readChar$0();
  121775. addOperator.call$1(B.BinaryOperator_bgA0);
  121776. continue;
  121777. }
  121778. if (_3_0 >= 48 && _3_0 <= 57) {
  121779. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121780. continue;
  121781. }
  121782. _3_40 = 46 === _3_0;
  121783. if (_3_40 && t2.peekChar$1(1) === 46)
  121784. break;
  121785. if (_3_40) {
  121786. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121787. continue;
  121788. }
  121789. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  121790. addOperator.call$1(B.BinaryOperator_5vK0);
  121791. continue;
  121792. }
  121793. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  121794. addOperator.call$1(B.BinaryOperator_OOf0);
  121795. continue;
  121796. }
  121797. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  121798. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  121799. continue;
  121800. }
  121801. if (!(_3_0 >= 97 && _3_0 <= 122))
  121802. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  121803. else
  121804. t5 = true;
  121805. if (t5) {
  121806. addSingleExpression.call$1(_this.identifierLike$0());
  121807. continue;
  121808. }
  121809. if (44 === _3_0) {
  121810. if (_this._stylesheet0$_inParentheses) {
  121811. _this._stylesheet0$_inParentheses = false;
  121812. if (_box_0.allowSlash) {
  121813. resetState.call$0();
  121814. continue;
  121815. }
  121816. }
  121817. commaExpressions = _box_0.commaExpressions_;
  121818. if (commaExpressions == null)
  121819. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  121820. if (_box_0.singleExpression_ == null)
  121821. t2.error$1(0, _s20_);
  121822. resolveSpaceExpressions.call$0();
  121823. t5 = _box_0.singleExpression_;
  121824. t5.toString;
  121825. commaExpressions.push(t5);
  121826. t2.readChar$0();
  121827. _box_0.allowSlash = true;
  121828. _box_0.singleExpression_ = null;
  121829. continue;
  121830. }
  121831. break;
  121832. }
  121833. if (bracketList)
  121834. t2.expectChar$1(93);
  121835. commaExpressions = _box_0.commaExpressions_;
  121836. spaceExpressions = _box_0.spaceExpressions_;
  121837. if (commaExpressions != null) {
  121838. resolveSpaceExpressions.call$0();
  121839. _this._stylesheet0$_inParentheses = wasInParentheses;
  121840. singleExpression = _box_0.singleExpression_;
  121841. if (singleExpression != null)
  121842. commaExpressions.push(singleExpression);
  121843. _this._stylesheet0$_inExpression = wasInExpression;
  121844. t1 = _this.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  121845. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_z0K0, bracketList, t1);
  121846. } else if (bracketList && spaceExpressions != null) {
  121847. resolveOperations.call$0();
  121848. _this._stylesheet0$_inExpression = wasInExpression;
  121849. t1 = _box_0.singleExpression_;
  121850. t1.toString;
  121851. spaceExpressions.push(t1);
  121852. beforeBracket.toString;
  121853. t1 = _this.spanFrom$1(beforeBracket);
  121854. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_SrV0, true, t1);
  121855. } else {
  121856. resolveSpaceExpressions.call$0();
  121857. if (bracketList) {
  121858. t1 = _box_0.singleExpression_;
  121859. t1.toString;
  121860. t4 = A._setArrayType([t1], t4);
  121861. beforeBracket.toString;
  121862. t1 = _this.spanFrom$1(beforeBracket);
  121863. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_3_undecided0, true, t1);
  121864. }
  121865. _this._stylesheet0$_inExpression = wasInExpression;
  121866. t1 = _box_0.singleExpression_;
  121867. t1.toString;
  121868. return t1;
  121869. }
  121870. },
  121871. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  121872. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  121873. },
  121874. _stylesheet0$_expression$1$bracketList(bracketList) {
  121875. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  121876. },
  121877. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  121878. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  121879. },
  121880. _stylesheet0$_expression$0() {
  121881. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  121882. },
  121883. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  121884. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  121885. },
  121886. expressionUntilComma$1$singleEquals(singleEquals) {
  121887. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  121888. },
  121889. expressionUntilComma$0() {
  121890. return this.expressionUntilComma$1$singleEquals(false);
  121891. },
  121892. _stylesheet0$_isSlashOperand$1(expression) {
  121893. var t1 = true;
  121894. if (!(expression instanceof A.NumberExpression0))
  121895. if (!(expression instanceof A.FunctionExpression0))
  121896. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  121897. return t1;
  121898. },
  121899. _stylesheet0$_singleExpression$0() {
  121900. var next, t2, _this = this,
  121901. _s20_ = "Expected expression.",
  121902. t1 = _this.scanner,
  121903. _0_0 = t1.peekChar$0();
  121904. $label0$0: {
  121905. if (_0_0 == null)
  121906. t1.error$1(0, _s20_);
  121907. if (40 === _0_0) {
  121908. t1 = _this.parentheses$0();
  121909. break $label0$0;
  121910. }
  121911. if (47 === _0_0) {
  121912. t1 = _this._stylesheet0$_unaryOperation$0();
  121913. break $label0$0;
  121914. }
  121915. if (46 === _0_0) {
  121916. t1 = _this._stylesheet0$_number$0();
  121917. break $label0$0;
  121918. }
  121919. if (91 === _0_0) {
  121920. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  121921. break $label0$0;
  121922. }
  121923. if (36 === _0_0) {
  121924. t1 = _this._stylesheet0$_variable$0();
  121925. break $label0$0;
  121926. }
  121927. if (38 === _0_0) {
  121928. t1 = _this._stylesheet0$_selector$0();
  121929. break $label0$0;
  121930. }
  121931. if (39 === _0_0 || 34 === _0_0) {
  121932. t1 = _this.interpolatedString$0();
  121933. break $label0$0;
  121934. }
  121935. if (35 === _0_0) {
  121936. t1 = _this._stylesheet0$_hashExpression$0();
  121937. break $label0$0;
  121938. }
  121939. if (43 === _0_0) {
  121940. next = t1.peekChar$1(1);
  121941. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  121942. break $label0$0;
  121943. }
  121944. if (45 === _0_0) {
  121945. t1 = _this._stylesheet0$_minusExpression$0();
  121946. break $label0$0;
  121947. }
  121948. if (33 === _0_0) {
  121949. t1 = _this._stylesheet0$_importantExpression$0();
  121950. break $label0$0;
  121951. }
  121952. if (37 === _0_0) {
  121953. t2 = t1._string_scanner$_position;
  121954. t1.readChar$0();
  121955. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  121956. t2 = new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  121957. t1 = t2;
  121958. break $label0$0;
  121959. }
  121960. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  121961. t1 = _this._stylesheet0$_unicodeRange$0();
  121962. break $label0$0;
  121963. }
  121964. if (_0_0 >= 48 && _0_0 <= 57) {
  121965. t1 = _this._stylesheet0$_number$0();
  121966. break $label0$0;
  121967. }
  121968. if (!(_0_0 >= 97 && _0_0 <= 122))
  121969. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  121970. else
  121971. t2 = true;
  121972. if (t2) {
  121973. t1 = _this.identifierLike$0();
  121974. break $label0$0;
  121975. }
  121976. t1 = t1.error$1(0, _s20_);
  121977. }
  121978. return t1;
  121979. },
  121980. parentheses$0() {
  121981. var start, inside, first, expressions, list, t1, t2, _this = this,
  121982. wasInParentheses = _this._stylesheet0$_inParentheses;
  121983. _this._stylesheet0$_inParentheses = true;
  121984. try {
  121985. t1 = _this.scanner;
  121986. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121987. t1.expectChar$1(40);
  121988. _this.whitespace$1$consumeNewlines(true);
  121989. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121990. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  121991. t1.expectChar$1(41);
  121992. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  121993. t2 = _this.spanFrom$1(start);
  121994. t1 = A.List_List$unmodifiable(t1, type$.Expression_2);
  121995. return new A.ListExpression0(t1, B.ListSeparator_undecided_null_3_undecided0, false, t2);
  121996. }
  121997. first = _this.expressionUntilComma$0();
  121998. if (t1.scanChar$1(58)) {
  121999. _this.whitespace$1$consumeNewlines(true);
  122000. t1 = _this._stylesheet0$_map$2(first, start);
  122001. return t1;
  122002. }
  122003. if (!t1.scanChar$1(44)) {
  122004. t1.expectChar$1(41);
  122005. t1 = _this.spanFrom$1(start);
  122006. return new A.ParenthesizedExpression0(first, t1);
  122007. }
  122008. _this.whitespace$1$consumeNewlines(true);
  122009. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  122010. for (;;) {
  122011. if (!_this._stylesheet0$_lookingAtExpression$0())
  122012. break;
  122013. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  122014. if (!t1.scanChar$1(44))
  122015. break;
  122016. _this.whitespace$1$consumeNewlines(true);
  122017. }
  122018. t2 = _this.spanFrom$1(inside);
  122019. list = new A.ListExpression0(A.List_List$unmodifiable(expressions, type$.Expression_2), B.ListSeparator_z0K0, false, t2);
  122020. t1.expectChar$1(41);
  122021. t1 = _this.spanFrom$1(start);
  122022. return new A.ParenthesizedExpression0(list, t1);
  122023. } finally {
  122024. _this._stylesheet0$_inParentheses = wasInParentheses;
  122025. }
  122026. },
  122027. _stylesheet0$_map$2(first, start) {
  122028. var t1, key, _this = this,
  122029. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  122030. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  122031. _this.whitespace$1$consumeNewlines(true);
  122032. if (!_this._stylesheet0$_lookingAtExpression$0())
  122033. break;
  122034. key = _this.expressionUntilComma$0();
  122035. t1.expectChar$1(58);
  122036. _this.whitespace$1$consumeNewlines(true);
  122037. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  122038. }
  122039. t1.expectChar$1(41);
  122040. t1 = _this.spanFrom$1(start);
  122041. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  122042. },
  122043. _stylesheet0$_hashExpression$0() {
  122044. var start, t2, identifier, buffer, _this = this,
  122045. t1 = _this.scanner;
  122046. if (t1.peekChar$1(1) === 123)
  122047. return _this.identifierLike$0();
  122048. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122049. t1.expectChar$1(35);
  122050. t2 = t1.peekChar$0();
  122051. if (t2 == null)
  122052. t2 = null;
  122053. else
  122054. t2 = t2 >= 48 && t2 <= 57;
  122055. if (t2 === true)
  122056. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), _this.spanFrom$1(start));
  122057. t2 = t1._string_scanner$_position;
  122058. identifier = _this.interpolatedIdentifier$0();
  122059. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  122060. t1.set$state(new A._SpanScannerState(t1, t2));
  122061. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), _this.spanFrom$1(start));
  122062. }
  122063. t1 = new A.StringBuffer("");
  122064. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122065. t2 = A.Primitives_stringFromCharCode(35);
  122066. t1._contents += t2;
  122067. buffer.addInterpolation$1(identifier);
  122068. return new A.StringExpression0(buffer.interpolation$1(_this.spanFrom$1(start)), false);
  122069. },
  122070. _stylesheet0$_hexColorContents$1(start) {
  122071. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  122072. digit1 = _this._stylesheet0$_hexDigit$0(),
  122073. digit2 = _this._stylesheet0$_hexDigit$0(),
  122074. digit3 = _this._stylesheet0$_hexDigit$0(),
  122075. t1 = _this.scanner,
  122076. $self = t1.peekChar$0();
  122077. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  122078. red = (digit1 << 4 >>> 0) + digit1;
  122079. green = (digit2 << 4 >>> 0) + digit2;
  122080. blue = (digit3 << 4 >>> 0) + digit3;
  122081. alpha = null;
  122082. } else {
  122083. digit4 = _this._stylesheet0$_hexDigit$0();
  122084. $self = t1.peekChar$0();
  122085. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  122086. t3 = digit1 << 4 >>> 0;
  122087. t4 = digit3 << 4 >>> 0;
  122088. if (!t2) {
  122089. red = t3 + digit1;
  122090. green = (digit2 << 4 >>> 0) + digit2;
  122091. blue = t4 + digit3;
  122092. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  122093. } else {
  122094. red = t3 + digit2;
  122095. green = t4 + digit4;
  122096. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  122097. $self = t1.peekChar$0();
  122098. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  122099. }
  122100. }
  122101. t1 = alpha == null;
  122102. t2 = t1 ? 1 : alpha;
  122103. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t2, t1 ? new A.SpanColorFormat0(_this.spanFrom$1(start)) : null);
  122104. },
  122105. _stylesheet0$_isHexColor$1(interpolation) {
  122106. var _0_2, t1,
  122107. plain = interpolation.get$asPlain();
  122108. if (typeof plain == "string") {
  122109. _0_2 = plain.length;
  122110. t1 = true;
  122111. if (3 !== _0_2)
  122112. if (4 !== _0_2)
  122113. if (6 !== _0_2)
  122114. t1 = 8 === _0_2;
  122115. } else
  122116. t1 = false;
  122117. if (t1) {
  122118. t1 = new A.CodeUnits(plain);
  122119. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  122120. } else
  122121. return false;
  122122. },
  122123. _stylesheet0$_hexDigit$0() {
  122124. var t1 = this.scanner,
  122125. t2 = t1.peekChar$0();
  122126. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  122127. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  122128. },
  122129. _stylesheet0$_minusExpression$0() {
  122130. var _this = this,
  122131. _0_0 = _this.scanner.peekChar$1(1);
  122132. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  122133. return _this._stylesheet0$_number$0();
  122134. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  122135. return _this.identifierLike$0();
  122136. return _this._stylesheet0$_unaryOperation$0();
  122137. },
  122138. _stylesheet0$_importantExpression$0() {
  122139. var _this = this,
  122140. t1 = _this.scanner,
  122141. t2 = t1._string_scanner$_position;
  122142. t1.readChar$0();
  122143. _this.whitespace$1$consumeNewlines(true);
  122144. _this.expectIdentifier$1("important");
  122145. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  122146. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  122147. },
  122148. _stylesheet0$_unaryOperation$0() {
  122149. var _this = this,
  122150. t1 = _this.scanner,
  122151. t2 = t1._string_scanner$_position,
  122152. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  122153. if (operator == null)
  122154. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  122155. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Y930)
  122156. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  122157. _this.whitespace$1$consumeNewlines(true);
  122158. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122159. },
  122160. _stylesheet0$_unaryOperatorFor$1(character) {
  122161. var t1;
  122162. $label0$0: {
  122163. if (43 === character) {
  122164. t1 = B.UnaryOperator_n2K0;
  122165. break $label0$0;
  122166. }
  122167. if (45 === character) {
  122168. t1 = B.UnaryOperator_hCO0;
  122169. break $label0$0;
  122170. }
  122171. if (47 === character) {
  122172. t1 = B.UnaryOperator_Y930;
  122173. break $label0$0;
  122174. }
  122175. t1 = null;
  122176. break $label0$0;
  122177. }
  122178. return t1;
  122179. },
  122180. _stylesheet0$_number$0() {
  122181. var number, unit, _this = this,
  122182. t1 = _this.scanner,
  122183. t2 = t1._string_scanner$_position,
  122184. first = t1.peekChar$0(),
  122185. t3 = first !== 43;
  122186. if (!t3 || first === 45)
  122187. t1.readChar$0();
  122188. if (t1.peekChar$0() !== 46)
  122189. _this._stylesheet0$_consumeNaturalNumber$0();
  122190. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  122191. _this._stylesheet0$_tryExponent$0();
  122192. number = A.double_parse(t1.substring$1(0, t2));
  122193. if (t1.scanChar$1(37))
  122194. unit = "%";
  122195. else {
  122196. if (_this.lookingAtIdentifier$0())
  122197. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  122198. else
  122199. t3 = false;
  122200. unit = t3 ? _this.identifier$1$unit(true) : null;
  122201. }
  122202. return new A.NumberExpression0(number, unit, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122203. },
  122204. _stylesheet0$_consumeNaturalNumber$0() {
  122205. var $self,
  122206. t1 = this.scanner,
  122207. t2 = t1.readChar$0();
  122208. if (!(t2 >= 48 && t2 <= 57))
  122209. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  122210. for (;;) {
  122211. $self = t1.peekChar$0();
  122212. if (!($self != null && $self >= 48 && $self <= 57))
  122213. break;
  122214. t1.readChar$0();
  122215. }
  122216. },
  122217. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  122218. var $self,
  122219. t1 = this.scanner;
  122220. if (t1.peekChar$0() !== 46)
  122221. return;
  122222. $self = t1.peekChar$1(1);
  122223. if (!($self != null && $self >= 48 && $self <= 57)) {
  122224. if (allowTrailingDot)
  122225. return;
  122226. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  122227. }
  122228. t1.readChar$0();
  122229. for (;;) {
  122230. $self = t1.peekChar$0();
  122231. if (!($self != null && $self >= 48 && $self <= 57))
  122232. break;
  122233. t1.readChar$0();
  122234. }
  122235. },
  122236. _stylesheet0$_tryExponent$0() {
  122237. var next, $self,
  122238. t1 = this.scanner,
  122239. first = t1.peekChar$0();
  122240. if (first !== 101 && first !== 69)
  122241. return;
  122242. next = t1.peekChar$1(1);
  122243. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  122244. return;
  122245. t1.readChar$0();
  122246. if (43 === next || 45 === next)
  122247. t1.readChar$0();
  122248. $self = t1.peekChar$0();
  122249. if (!($self != null && $self >= 48 && $self <= 57))
  122250. t1.error$1(0, "Expected digit.");
  122251. for (;;) {
  122252. $self = t1.peekChar$0();
  122253. if (!($self != null && $self >= 48 && $self <= 57))
  122254. break;
  122255. t1.readChar$0();
  122256. }
  122257. },
  122258. _stylesheet0$_unicodeRange$0() {
  122259. var firstRangeLength, hasQuestionMark, t3, secondRangeLength, _this = this,
  122260. _s26_ = "Expected at most 6 digits.",
  122261. t1 = _this.scanner,
  122262. t2 = t1._string_scanner$_position,
  122263. start = new A._SpanScannerState(t1, t2);
  122264. _this.expectIdentChar$1(117);
  122265. t1.expectChar$1(43);
  122266. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  122267. ++firstRangeLength;
  122268. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  122269. ++firstRangeLength;
  122270. if (firstRangeLength === 0)
  122271. t1.error$1(0, 'Expected hex digit or "?".');
  122272. else if (firstRangeLength > 6)
  122273. _this.error$2(0, _s26_, _this.spanFrom$1(start));
  122274. else if (hasQuestionMark) {
  122275. t1 = t1.substring$1(0, t2);
  122276. t2 = _this.spanFrom$1(start);
  122277. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t1], type$.Object), B.List_null, t2), false);
  122278. }
  122279. if (t1.scanChar$1(45)) {
  122280. t3 = t1._string_scanner$_position;
  122281. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  122282. ++secondRangeLength;
  122283. if (secondRangeLength === 0)
  122284. t1.error$1(0, "Expected hex digit.");
  122285. else if (secondRangeLength > 6)
  122286. _this.error$2(0, _s26_, _this.spanFrom$1(new A._SpanScannerState(t1, t3)));
  122287. }
  122288. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  122289. t1.error$1(0, "Expected end of identifier.");
  122290. t1 = t1.substring$1(0, t2);
  122291. t2 = _this.spanFrom$1(start);
  122292. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t1], type$.Object), B.List_null, t2), false);
  122293. },
  122294. _stylesheet0$_variable$0() {
  122295. var _this = this,
  122296. t1 = _this.scanner,
  122297. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122298. $name = _this.variableName$0();
  122299. if (_this.get$plainCss())
  122300. _this.error$2(0, string$.Sass_v, _this.spanFrom$1(start));
  122301. return new A.VariableExpression0(null, $name, _this.spanFrom$1(start));
  122302. },
  122303. _stylesheet0$_selector$0() {
  122304. var t1, start, _this = this;
  122305. if (_this.get$plainCss())
  122306. _this.scanner.error$2$length(0, string$.The_pa, 1);
  122307. t1 = _this.scanner;
  122308. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122309. t1.expectChar$1(38);
  122310. if (t1.scanChar$1(38)) {
  122311. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, _this.spanFrom$1(start)));
  122312. t1.set$position(t1._string_scanner$_position - 1);
  122313. }
  122314. return new A.SelectorExpression0(_this.spanFrom$1(start));
  122315. },
  122316. interpolatedString$0() {
  122317. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  122318. t1 = this.scanner,
  122319. t2 = t1._string_scanner$_position,
  122320. quote = t1.readChar$0();
  122321. if (quote !== 39 && quote !== 34)
  122322. t1.error$2$position(0, "Expected string.", t2);
  122323. t3 = new A.StringBuffer("");
  122324. t4 = A._setArrayType([], type$.JSArray_Object);
  122325. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  122326. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  122327. for (;;) {
  122328. _1_0 = t1.peekChar$0();
  122329. if (_1_0 === quote) {
  122330. t1.readChar$0();
  122331. break;
  122332. }
  122333. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  122334. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  122335. if (92 === _1_0) {
  122336. second = t1.peekChar$1(1);
  122337. if (second === 10 || second === 13 || second === 12) {
  122338. t1.readChar$0();
  122339. t1.readChar$0();
  122340. if (second === 13)
  122341. t1.scanChar$1(10);
  122342. } else {
  122343. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  122344. t3._contents += t6;
  122345. }
  122346. continue;
  122347. }
  122348. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  122349. _0_0 = this.singleInterpolation$0();
  122350. buffer._interpolation_buffer0$_flushText$0();
  122351. t4.push(_0_0._0);
  122352. t5.push(_0_0._1);
  122353. continue;
  122354. }
  122355. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122356. t3._contents += t6;
  122357. }
  122358. return new A.StringExpression0(buffer.interpolation$1(this.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  122359. },
  122360. interpolatedStringToken$0() {
  122361. var t3, t4, t5, buffer, t6, _1_0, second, t7, start, end, _0_0, _this = this,
  122362. t1 = _this.scanner,
  122363. t2 = t1._string_scanner$_position,
  122364. quote = t1.readChar$0();
  122365. if (quote !== 39 && quote !== 34)
  122366. t1.error$2$position(0, "Expected string.", t2);
  122367. t3 = new A.StringBuffer("");
  122368. t4 = A._setArrayType([], type$.JSArray_Object);
  122369. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  122370. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  122371. t6 = A.Primitives_stringFromCharCode(quote);
  122372. t3._contents += t6;
  122373. for (;;) {
  122374. _1_0 = t1.peekChar$0();
  122375. if (_1_0 === quote) {
  122376. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122377. t3._contents += t4;
  122378. break;
  122379. }
  122380. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  122381. t1.error$1(0, "Expected " + t6 + ".");
  122382. if (92 === _1_0) {
  122383. second = t1.peekChar$1(1);
  122384. if (second === 10 || second === 13 || second === 12) {
  122385. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122386. t3._contents += t7;
  122387. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122388. t3._contents += t7;
  122389. if (second === 13)
  122390. if (t1.scanChar$1(10)) {
  122391. t7 = A.Primitives_stringFromCharCode(10);
  122392. t3._contents += t7;
  122393. }
  122394. } else {
  122395. start = t1._string_scanner$_position;
  122396. new A.StylesheetParser_interpolatedStringToken_closure0(_this).call$0();
  122397. end = t1._string_scanner$_position;
  122398. t3._contents += B.JSString_methods.substring$2(t1.string, start, end);
  122399. }
  122400. continue;
  122401. }
  122402. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  122403. _0_0 = _this.singleInterpolation$0();
  122404. buffer._interpolation_buffer0$_flushText$0();
  122405. t4.push(_0_0._0);
  122406. t5.push(_0_0._1);
  122407. continue;
  122408. }
  122409. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122410. t3._contents += t7;
  122411. }
  122412. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122413. },
  122414. identifierLike$0() {
  122415. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  122416. t1 = _this.scanner,
  122417. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122418. identifier = _this.interpolatedIdentifier$0(),
  122419. plain = identifier.get$asPlain(),
  122420. lower = A._Cell$(),
  122421. t2 = plain != null;
  122422. if (t2) {
  122423. if (plain === "if" && t1.peekChar$0() === 40) {
  122424. invocation = _this._stylesheet0$_argumentInvocation$0();
  122425. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  122426. } else if (plain === "not") {
  122427. _this.whitespace$1$consumeNewlines(true);
  122428. expression = _this._stylesheet0$_singleExpression$0();
  122429. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_3_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  122430. }
  122431. lower.__late_helper$_value = plain.toLowerCase();
  122432. if (t1.peekChar$0() !== 40) {
  122433. switch (plain) {
  122434. case "false":
  122435. return new A.BooleanExpression0(false, identifier.span);
  122436. case "null":
  122437. return new A.NullExpression0(identifier.span);
  122438. case "true":
  122439. return new A.BooleanExpression0(true, identifier.span);
  122440. }
  122441. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  122442. if (_0_0 != null) {
  122443. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  122444. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  122445. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  122446. t4 = _0_0.alphaOrNull;
  122447. if (t4 == null)
  122448. t4 = 0;
  122449. t5 = identifier.span;
  122450. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  122451. }
  122452. }
  122453. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  122454. if (_1_0 != null)
  122455. return _1_0;
  122456. }
  122457. _2_0 = t1.peekChar$0();
  122458. _2_2 = 46 === _2_0;
  122459. if (_2_2 && t1.peekChar$1(1) === 46)
  122460. return new A.StringExpression0(identifier, false);
  122461. if (_2_2) {
  122462. t1.readChar$0();
  122463. if (t2)
  122464. return _this.namespacedExpression$2(plain, start);
  122465. _this.error$2(0, string$.Interpn, identifier.span);
  122466. }
  122467. _2_4 = 40 === _2_0;
  122468. if (_2_4 && t2) {
  122469. t1 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  122470. t2 = _this.spanFrom$1(start);
  122471. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t1, t2);
  122472. }
  122473. if (_2_4)
  122474. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), _this.spanFrom$1(start));
  122475. return new A.StringExpression0(identifier, false);
  122476. },
  122477. namespacedExpression$2(namespace, start) {
  122478. var $name, t1, t2, t3, _this = this;
  122479. if (_this.scanner.peekChar$0() === 36) {
  122480. $name = _this.variableName$0();
  122481. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  122482. return new A.VariableExpression0(namespace, $name, _this.spanFrom$1(start));
  122483. }
  122484. t1 = _this._stylesheet0$_publicIdentifier$0();
  122485. t2 = _this._stylesheet0$_argumentInvocation$0();
  122486. t3 = _this.spanFrom$1(start);
  122487. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, t3);
  122488. },
  122489. trySpecialFunction$2($name, start) {
  122490. var t1, buffer, t2, normalized, next, t3, _this = this;
  122491. if ($name === "type" && _this.scanner.scanChar$1(40)) {
  122492. t1 = new A.StringBuffer("");
  122493. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122494. t1._contents = $name;
  122495. t2 = A.Primitives_stringFromCharCode(40);
  122496. t1._contents += t2;
  122497. } else {
  122498. normalized = A.unvendor0($name);
  122499. $label0$0: {
  122500. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  122501. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  122502. else
  122503. t1 = true;
  122504. if (t1) {
  122505. t1 = new A.StringBuffer("");
  122506. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122507. t1._contents = $name;
  122508. t2 = A.Primitives_stringFromCharCode(40);
  122509. t1._contents += t2;
  122510. break $label0$0;
  122511. }
  122512. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  122513. t1 = new A.StringBuffer("");
  122514. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122515. t1._contents = $name;
  122516. t2 = A.Primitives_stringFromCharCode(58);
  122517. t1._contents += t2;
  122518. t2 = _this.scanner;
  122519. next = t2.peekChar$0();
  122520. for (;;) {
  122521. if (next != null) {
  122522. if (!(next >= 97 && next <= 122))
  122523. t3 = next >= 65 && next <= 90;
  122524. else
  122525. t3 = true;
  122526. t3 = t3 || next === 46;
  122527. } else
  122528. t3 = false;
  122529. if (!t3)
  122530. break;
  122531. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  122532. t1._contents += t3;
  122533. next = t2.peekChar$0();
  122534. }
  122535. t2.expectChar$1(40);
  122536. t2 = A.Primitives_stringFromCharCode(40);
  122537. t1._contents += t2;
  122538. break $label0$0;
  122539. }
  122540. if ("url" === normalized)
  122541. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  122542. return null;
  122543. }
  122544. }
  122545. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  122546. _this.scanner.expectChar$1(41);
  122547. t1 = buffer._interpolation_buffer0$_text;
  122548. t2 = A.Primitives_stringFromCharCode(41);
  122549. t1._contents += t2;
  122550. return new A.StringExpression0(buffer.interpolation$1(_this.spanFrom$1(start)), false);
  122551. },
  122552. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  122553. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, _this = this,
  122554. t1 = _this.scanner,
  122555. t2 = t1._string_scanner$_position;
  122556. if (!t1.scanChar$1(40))
  122557. return null;
  122558. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  122559. t3 = new A.StringBuffer("");
  122560. t4 = A._setArrayType([], type$.JSArray_Object);
  122561. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  122562. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  122563. t3._contents = $name == null ? "url" : $name;
  122564. t6 = A.Primitives_stringFromCharCode(40);
  122565. t3._contents += t6;
  122566. for (;;) {
  122567. _1_0 = t1.peekChar$0();
  122568. if (_1_0 == null)
  122569. break;
  122570. if (92 === _1_0) {
  122571. t6 = _this.escape$0();
  122572. t3._contents += t6;
  122573. continue;
  122574. }
  122575. _1_6 = 35 === _1_0;
  122576. if (_1_6 && t1.peekChar$1(1) === 123) {
  122577. _0_0 = _this.singleInterpolation$0();
  122578. buffer._interpolation_buffer0$_flushText$0();
  122579. t4.push(_0_0._0);
  122580. t5.push(_0_0._1);
  122581. continue;
  122582. }
  122583. t6 = true;
  122584. if (33 !== _1_0)
  122585. if (37 !== _1_0)
  122586. if (38 !== _1_0)
  122587. if (!_1_6)
  122588. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  122589. if (t6) {
  122590. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122591. t3._contents += t6;
  122592. continue;
  122593. }
  122594. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  122595. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  122596. if (t1.peekChar$0() !== 41)
  122597. break;
  122598. continue;
  122599. }
  122600. if (41 === _1_0) {
  122601. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122602. t3._contents += t2;
  122603. return buffer.interpolation$1(_this.spanFrom$1(start));
  122604. }
  122605. break;
  122606. }
  122607. t1.set$state(new A._SpanScannerState(t1, t2));
  122608. return null;
  122609. },
  122610. _stylesheet0$_tryUrlContents$1(start) {
  122611. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  122612. },
  122613. dynamicUrl$0() {
  122614. var _0_0, _this = this,
  122615. t1 = _this.scanner,
  122616. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122617. _this.expectIdentifier$1("url");
  122618. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  122619. if (_0_0 != null)
  122620. return new A.StringExpression0(_0_0, false);
  122621. t1 = _this.spanFrom$1(start);
  122622. return new A.InterpolatedFunctionExpression0(new A.Interpolation0(A.List_List$unmodifiable(["url"], type$.Object), B.List_null, t1), _this._stylesheet0$_argumentInvocation$0(), _this.spanFrom$1(start));
  122623. },
  122624. almostAnyValue$1$omitComments(omitComments) {
  122625. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  122626. t1 = _this.scanner,
  122627. t2 = t1._string_scanner$_position,
  122628. t3 = new A.StringBuffer(""),
  122629. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  122630. brackets = A._setArrayType([], type$.JSArray_int);
  122631. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment();;)
  122632. $label0$0: {
  122633. _2_0 = t1.peekChar$0();
  122634. if (92 === _2_0) {
  122635. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122636. t3._contents += t8;
  122637. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122638. t3._contents += t8;
  122639. break $label0$0;
  122640. }
  122641. if (34 === _2_0 || 39 === _2_0) {
  122642. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  122643. break $label0$0;
  122644. }
  122645. if (47 === _2_0) {
  122646. $label1$1: {
  122647. _0_0 = t1.peekChar$1(1);
  122648. _0_2 = 42 === _0_0;
  122649. if (_0_2 && t6) {
  122650. start = t1._string_scanner$_position;
  122651. t7.call$0();
  122652. end = t1._string_scanner$_position;
  122653. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  122654. break $label1$1;
  122655. }
  122656. if (_0_2) {
  122657. _this.loudComment$0();
  122658. break $label1$1;
  122659. }
  122660. _0_4 = 47 === _0_0;
  122661. if (_0_4 && t6) {
  122662. t8 = _this.get$silentComment();
  122663. start = t1._string_scanner$_position;
  122664. t8.call$0();
  122665. end = t1._string_scanner$_position;
  122666. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  122667. break $label1$1;
  122668. }
  122669. if (_0_4) {
  122670. _this.silentComment$0();
  122671. break $label1$1;
  122672. }
  122673. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122674. t3._contents += t8;
  122675. }
  122676. break $label0$0;
  122677. }
  122678. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  122679. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  122680. break $label0$0;
  122681. }
  122682. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  122683. if (_this.get$indented() && brackets.length === 0)
  122684. break;
  122685. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122686. t3._contents += t8;
  122687. break $label0$0;
  122688. }
  122689. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  122690. break;
  122691. if (117 === _2_0 || 85 === _2_0) {
  122692. t8 = t1._string_scanner$_position;
  122693. identifier = _this.identifier$0();
  122694. if (identifier !== "url" && identifier !== "url-prefix") {
  122695. t3._contents += identifier;
  122696. continue;
  122697. }
  122698. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  122699. if (_1_0 != null)
  122700. buffer.addInterpolation$1(_1_0);
  122701. else {
  122702. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  122703. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  122704. t1._string_scanner$_position = t8;
  122705. t1._lastMatch = null;
  122706. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122707. t3._contents += t8;
  122708. }
  122709. break $label0$0;
  122710. }
  122711. if (40 === _2_0 || 91 === _2_0) {
  122712. bracket = t1.readChar$0();
  122713. t8 = A.Primitives_stringFromCharCode(bracket);
  122714. t3._contents += t8;
  122715. brackets.push(A.opposite0(bracket));
  122716. break $label0$0;
  122717. }
  122718. if (41 === _2_0 || 93 === _2_0) {
  122719. t8 = _2_0 != null;
  122720. char = t8 ? _2_0 : null;
  122721. } else {
  122722. char = null;
  122723. t8 = false;
  122724. }
  122725. if (t8) {
  122726. if (brackets.length === 0)
  122727. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  122728. bracket = brackets.pop();
  122729. t1.expectChar$1(bracket);
  122730. t8 = A.Primitives_stringFromCharCode(bracket);
  122731. t3._contents += t8;
  122732. break $label0$0;
  122733. }
  122734. if (_2_0 == null)
  122735. break;
  122736. t8 = _this.lookingAtIdentifier$0();
  122737. if (t8) {
  122738. t8 = _this.identifier$0();
  122739. t3._contents += t8;
  122740. break $label0$0;
  122741. }
  122742. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122743. t3._contents += t8;
  122744. }
  122745. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122746. },
  122747. almostAnyValue$0() {
  122748. return this.almostAnyValue$1$omitComments(false);
  122749. },
  122750. _stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, endAfterOf, silentComments) {
  122751. var t5, t6, t7, t8, t9, t10, t11, wroteNewline, _2_0, wroteNewline0, t12, _0_0, start, end, _2_12, _2_14_isSet, _2_14, t13, _2_16, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, of, _this = this, _null = null,
  122752. t1 = _this.scanner,
  122753. t2 = t1._string_scanner$_position,
  122754. t3 = new A.StringBuffer(""),
  122755. t4 = A._setArrayType([], type$.JSArray_Object),
  122756. buffer = new A.InterpolationBuffer0(t3, t4, A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  122757. brackets = A._setArrayType([], type$.JSArray_int);
  122758. for (t5 = !consumeNewlines, t6 = !allowOpenBrace, t7 = t1.string, t8 = t7.length, t9 = !allowColon, t10 = !allowSemicolon, t11 = _this.get$loudComment(), wroteNewline = false;;)
  122759. $label0$0: {
  122760. _2_0 = t1.peekChar$0();
  122761. wroteNewline0 = false;
  122762. if (92 === _2_0) {
  122763. t12 = _this.escape$1$identifierStart(true);
  122764. t3._contents += t12;
  122765. wroteNewline = wroteNewline0;
  122766. break $label0$0;
  122767. }
  122768. if (34 === _2_0 || 39 === _2_0) {
  122769. buffer.addInterpolation$1(_this.interpolatedStringToken$0());
  122770. wroteNewline = wroteNewline0;
  122771. break $label0$0;
  122772. }
  122773. if (47 === _2_0) {
  122774. $label1$1: {
  122775. _0_0 = t1.peekChar$1(1);
  122776. if (42 === _0_0) {
  122777. start = t1._string_scanner$_position;
  122778. t11.call$0();
  122779. end = t1._string_scanner$_position;
  122780. t3._contents += B.JSString_methods.substring$2(t7, start, end);
  122781. break $label1$1;
  122782. }
  122783. if (47 === _0_0 && silentComments) {
  122784. _this.silentComment$0();
  122785. break $label1$1;
  122786. }
  122787. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122788. t3._contents += t12;
  122789. }
  122790. wroteNewline = wroteNewline0;
  122791. break $label0$0;
  122792. }
  122793. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  122794. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  122795. wroteNewline = wroteNewline0;
  122796. break $label0$0;
  122797. }
  122798. _2_12 = 32 === _2_0;
  122799. _2_14_isSet = !_2_12;
  122800. if (_2_14_isSet) {
  122801. _2_14 = 9 === _2_0;
  122802. t12 = _2_14;
  122803. } else {
  122804. _2_14 = _null;
  122805. t12 = true;
  122806. }
  122807. t13 = false;
  122808. if (t12)
  122809. if (!wroteNewline) {
  122810. t12 = t1.peekChar$1(1);
  122811. t12 = t12 === 32 || t12 === 9 || t12 === 10 || t12 === 13 || t12 === 12;
  122812. } else
  122813. t12 = t13;
  122814. else
  122815. t12 = t13;
  122816. if (t12) {
  122817. t1.readChar$0();
  122818. break $label0$0;
  122819. }
  122820. if (!_2_12)
  122821. t12 = _2_14_isSet ? _2_14 : 9 === _2_0;
  122822. else
  122823. t12 = true;
  122824. if (t12) {
  122825. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122826. t3._contents += t12;
  122827. break $label0$0;
  122828. }
  122829. _2_16 = 10 === _2_0;
  122830. _2_18_isSet = !_2_16;
  122831. _2_20 = _null;
  122832. t12 = true;
  122833. if (_2_18_isSet) {
  122834. _2_18 = 13 === _2_0;
  122835. _2_20_isSet = !_2_18;
  122836. if (_2_20_isSet) {
  122837. _2_20 = 12 === _2_0;
  122838. t12 = _2_20;
  122839. }
  122840. } else {
  122841. _2_18 = _null;
  122842. _2_20_isSet = false;
  122843. }
  122844. if (t12 && _this.get$indented() && t5 && brackets.length === 0)
  122845. break;
  122846. t12 = true;
  122847. if (!_2_16)
  122848. if (!(_2_18_isSet ? _2_18 : 13 === _2_0))
  122849. t12 = _2_20_isSet ? _2_20 : 12 === _2_0;
  122850. if (t12) {
  122851. t12 = t1.peekChar$1(-1);
  122852. if (!(t12 === 10 || t12 === 13 || t12 === 12))
  122853. t3._contents += "\n";
  122854. t1.readChar$0();
  122855. wroteNewline = true;
  122856. break $label0$0;
  122857. }
  122858. _2_22 = 123 === _2_0;
  122859. if (_2_22 && t6)
  122860. break;
  122861. if (40 !== _2_0)
  122862. t12 = _2_22 || 91 === _2_0;
  122863. else
  122864. t12 = true;
  122865. if (t12) {
  122866. bracket = t1.readChar$0();
  122867. t12 = A.Primitives_stringFromCharCode(bracket);
  122868. t3._contents += t12;
  122869. brackets.push(A.opposite0(bracket));
  122870. wroteNewline = wroteNewline0;
  122871. break $label0$0;
  122872. }
  122873. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  122874. if (brackets.length === 0)
  122875. break;
  122876. bracket = brackets.pop();
  122877. t1.expectChar$1(bracket);
  122878. t12 = A.Primitives_stringFromCharCode(bracket);
  122879. t3._contents += t12;
  122880. wroteNewline = wroteNewline0;
  122881. break $label0$0;
  122882. }
  122883. if (59 === _2_0) {
  122884. if (t10 && brackets.length === 0)
  122885. break;
  122886. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122887. t3._contents += t12;
  122888. wroteNewline = wroteNewline0;
  122889. break $label0$0;
  122890. }
  122891. if (58 === _2_0) {
  122892. if (t9 && brackets.length === 0)
  122893. break;
  122894. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122895. t3._contents += t12;
  122896. wroteNewline = wroteNewline0;
  122897. break $label0$0;
  122898. }
  122899. if (117 === _2_0 || 85 === _2_0) {
  122900. t12 = t1._string_scanner$_position;
  122901. identifier = _this.identifier$0();
  122902. if (identifier !== "url" && identifier !== "url-prefix") {
  122903. t3._contents += identifier;
  122904. wroteNewline = wroteNewline0;
  122905. continue;
  122906. }
  122907. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t12), identifier);
  122908. if (_1_0 != null)
  122909. buffer.addInterpolation$1(_1_0);
  122910. else {
  122911. if ((t12 === 0 ? 1 / t12 < 0 : t12 < 0) || t12 > t8)
  122912. A.throwExpression(A.ArgumentError$("Invalid position " + t12, _null));
  122913. t1._string_scanner$_position = t12;
  122914. t1._lastMatch = null;
  122915. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122916. t3._contents += t12;
  122917. }
  122918. wroteNewline = wroteNewline0;
  122919. break $label0$0;
  122920. }
  122921. if (111 === _2_0 || 79 === _2_0) {
  122922. if (endAfterOf && brackets.length === 0) {
  122923. start = t1._string_scanner$_position;
  122924. new A.StylesheetParser__interpolatedDeclarationValue_closure0(_this).call$0();
  122925. end = t1._string_scanner$_position;
  122926. of = B.JSString_methods.substring$2(t7, start, end);
  122927. if (of !== "") {
  122928. t3._contents += of;
  122929. break;
  122930. }
  122931. }
  122932. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122933. t3._contents += t12;
  122934. wroteNewline = wroteNewline0;
  122935. break $label0$0;
  122936. }
  122937. if (_2_0 == null)
  122938. break;
  122939. t12 = _this.lookingAtIdentifier$0();
  122940. if (t12) {
  122941. t12 = _this.identifier$0();
  122942. t3._contents += t12;
  122943. wroteNewline = wroteNewline0;
  122944. break $label0$0;
  122945. }
  122946. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122947. t3._contents += t12;
  122948. wroteNewline = wroteNewline0;
  122949. }
  122950. if (brackets.length !== 0)
  122951. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  122952. if (!allowEmpty && t4.length === 0 && t3._contents.length === 0)
  122953. t1.error$1(0, "Expected token.");
  122954. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122955. },
  122956. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  122957. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, true, false, false, false, true);
  122958. },
  122959. _stylesheet0$_interpolatedDeclarationValue$2$consumeNewlines$endAfterOf(consumeNewlines, endAfterOf) {
  122960. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, true, false, consumeNewlines, endAfterOf, true);
  122961. },
  122962. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  122963. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, false, true);
  122964. },
  122965. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  122966. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, false, true);
  122967. },
  122968. _stylesheet0$_interpolatedDeclarationValue$0() {
  122969. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, true, false, false, false, true);
  122970. },
  122971. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  122972. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, allowOpenBrace, false, false, false, true);
  122973. },
  122974. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  122975. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, allowEmpty, allowOpenBrace, false, false, false, true);
  122976. },
  122977. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  122978. return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(true, false, true, false, false, false, silentComments);
  122979. },
  122980. interpolatedIdentifier$0() {
  122981. var t3, _1_0, _0_0, _this = this,
  122982. _s20_ = "Expected identifier.",
  122983. t1 = _this.scanner,
  122984. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122985. t2 = new A.StringBuffer(""),
  122986. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122987. if (t1.scanChar$1(45)) {
  122988. t3 = A.Primitives_stringFromCharCode(45);
  122989. t2._contents += t3;
  122990. if (t1.scanChar$1(45)) {
  122991. t2._contents += t3;
  122992. _this._stylesheet0$_interpolatedIdentifierBodyHelper$1(buffer);
  122993. return buffer.interpolation$1(_this.spanFrom$1(start));
  122994. }
  122995. }
  122996. $label0$0: {
  122997. _1_0 = t1.peekChar$0();
  122998. if (_1_0 == null)
  122999. t1.error$1(0, _s20_);
  123000. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  123001. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  123002. t2._contents += t1;
  123003. break $label0$0;
  123004. }
  123005. if (92 === _1_0) {
  123006. t1 = _this.escape$1$identifierStart(true);
  123007. t2._contents += t1;
  123008. break $label0$0;
  123009. }
  123010. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  123011. _0_0 = _this.singleInterpolation$0();
  123012. buffer.add$2(0, _0_0._0, _0_0._1);
  123013. break $label0$0;
  123014. }
  123015. t1.error$1(0, _s20_);
  123016. }
  123017. _this._stylesheet0$_interpolatedIdentifierBodyHelper$1(buffer);
  123018. return buffer.interpolation$1(_this.spanFrom$1(start));
  123019. },
  123020. _stylesheet0$_interpolatedIdentifierBodyHelper$1(buffer) {
  123021. var t1, t2, t3, t4, _1_0, t5, _0_0;
  123022. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text;;) {
  123023. _1_0 = t3.peekChar$0();
  123024. if (_1_0 == null)
  123025. break;
  123026. t5 = true;
  123027. if (95 !== _1_0)
  123028. if (45 !== _1_0) {
  123029. if (!(_1_0 >= 97 && _1_0 <= 122))
  123030. t5 = _1_0 >= 65 && _1_0 <= 90;
  123031. else
  123032. t5 = true;
  123033. if (!t5)
  123034. t5 = _1_0 >= 48 && _1_0 <= 57;
  123035. else
  123036. t5 = true;
  123037. t5 = t5 || _1_0 >= 128;
  123038. }
  123039. if (t5) {
  123040. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  123041. t4._contents += t5;
  123042. continue;
  123043. }
  123044. if (92 === _1_0) {
  123045. t5 = this.escape$0();
  123046. t4._contents += t5;
  123047. continue;
  123048. }
  123049. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  123050. _0_0 = this.singleInterpolation$0();
  123051. buffer._interpolation_buffer0$_flushText$0();
  123052. t1.push(_0_0._0);
  123053. t2.push(_0_0._1);
  123054. continue;
  123055. }
  123056. break;
  123057. }
  123058. },
  123059. singleInterpolation$0() {
  123060. var contents, span, _this = this,
  123061. t1 = _this.scanner,
  123062. t2 = t1._string_scanner$_position;
  123063. t1.expect$1("#{");
  123064. _this.whitespace$1$consumeNewlines(true);
  123065. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  123066. t1.expectChar$1(125);
  123067. span = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  123068. if (_this.get$plainCss())
  123069. _this.error$2(0, string$.Interpp, span);
  123070. return new A._Record_2(contents, span);
  123071. },
  123072. _stylesheet0$_selectorList$0() {
  123073. var t3, t4, lineBreak, _this = this,
  123074. t1 = _this.scanner,
  123075. t2 = t1._sourceFile,
  123076. previousLine = t2.getLine$1(t1._string_scanner$_position),
  123077. components = A._setArrayType([_this._stylesheet0$_complexSelector$0()], type$.JSArray_InterpolatedComplexSelector);
  123078. _this.whitespace$1$consumeNewlines(false);
  123079. for (t3 = t1.string.length; t1.scanChar$1(44);) {
  123080. _this.whitespace$1$consumeNewlines(true);
  123081. if (t1.peekChar$0() === 44)
  123082. continue;
  123083. t4 = t1._string_scanner$_position;
  123084. if (t4 === t3)
  123085. break;
  123086. lineBreak = t2.getLine$1(t4) !== previousLine;
  123087. if (lineBreak)
  123088. previousLine = t2.getLine$1(t1._string_scanner$_position);
  123089. components.push(_this._stylesheet0$_complexSelector$1$lineBreak(lineBreak));
  123090. }
  123091. return A.InterpolatedSelectorList$(components);
  123092. },
  123093. _stylesheet0$_complexSelector$1$lineBreak(lineBreak) {
  123094. var t3, leadingCombinator, combinator, lastCompound, allowCombinator, _0_0, t4, _this = this, _null = null,
  123095. _s18_ = "expected selector.",
  123096. t1 = _this.scanner,
  123097. t2 = t1._string_scanner$_position,
  123098. componentStart = new A._SpanScannerState(t1, t2),
  123099. components = A._setArrayType([], type$.JSArray_InterpolatedComplexSelectorComponent);
  123100. for (t3 = type$.CssValue_Combinator_2, leadingCombinator = _null, combinator = leadingCombinator, lastCompound = combinator;;) {
  123101. _this.whitespace$1$consumeNewlines(false);
  123102. allowCombinator = combinator == null;
  123103. _0_0 = t1.peekChar$0();
  123104. if (43 === _0_0 && allowCombinator) {
  123105. t4 = t1._string_scanner$_position;
  123106. t1.readChar$0();
  123107. combinator = new A.CssValue0(B.Combinator_sHB0, _this.spanFrom$1(new A._SpanScannerState(t1, t4)), t3);
  123108. continue;
  123109. }
  123110. if (62 === _0_0 && allowCombinator) {
  123111. t4 = t1._string_scanner$_position;
  123112. t1.readChar$0();
  123113. combinator = new A.CssValue0(B.Combinator_iUF0, _this.spanFrom$1(new A._SpanScannerState(t1, t4)), t3);
  123114. continue;
  123115. }
  123116. if (126 === _0_0 && allowCombinator) {
  123117. t4 = t1._string_scanner$_position;
  123118. t1.readChar$0();
  123119. combinator = new A.CssValue0(B.Combinator_98W0, _this.spanFrom$1(new A._SpanScannerState(t1, t4)), t3);
  123120. continue;
  123121. }
  123122. if (_0_0 == null)
  123123. break;
  123124. t4 = true;
  123125. if (91 !== _0_0)
  123126. if (46 !== _0_0)
  123127. if (35 !== _0_0)
  123128. if (37 !== _0_0)
  123129. if (58 !== _0_0)
  123130. if (38 !== _0_0)
  123131. if (42 !== _0_0)
  123132. if (124 !== _0_0)
  123133. t4 = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  123134. if (t4) {
  123135. if (lastCompound != null)
  123136. components.push(new A.InterpolatedComplexSelectorComponent(lastCompound, combinator, _this.spanFrom$1(componentStart)));
  123137. else if (!allowCombinator) {
  123138. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123139. leadingCombinator = combinator;
  123140. }
  123141. lastCompound = _this._stylesheet0$_compoundSelector$0();
  123142. if (t1.peekChar$0() === 38)
  123143. t1.error$1(0, string$.x22x26__ma);
  123144. combinator = _null;
  123145. continue;
  123146. }
  123147. break;
  123148. }
  123149. t3 = combinator != null;
  123150. if (t3)
  123151. t4 = _this.get$plainCss();
  123152. else
  123153. t4 = false;
  123154. if (t4)
  123155. t1.error$1(0, _s18_);
  123156. else if (lastCompound != null)
  123157. components.push(new A.InterpolatedComplexSelectorComponent(lastCompound, combinator, _this.spanFrom$1(componentStart)));
  123158. else if (t3)
  123159. leadingCombinator = combinator;
  123160. else
  123161. t1.error$1(0, _s18_);
  123162. return A.InterpolatedComplexSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), leadingCombinator);
  123163. },
  123164. _stylesheet0$_complexSelector$0() {
  123165. return this._stylesheet0$_complexSelector$1$lineBreak(false);
  123166. },
  123167. _stylesheet0$_compoundSelector$0() {
  123168. var t1, _this = this,
  123169. components = A._setArrayType([_this._stylesheet0$_simpleSelector$0()], type$.JSArray_InterpolatedSimpleSelector);
  123170. for (t1 = _this.scanner; _this._stylesheet0$_isSimpleSelectorStart$1(t1.peekChar$0());)
  123171. components.push(_this._stylesheet0$_simpleSelector$1$allowParent(_this.get$plainCss()));
  123172. return A.InterpolatedCompoundSelector$(components);
  123173. },
  123174. _stylesheet0$_simpleSelector$1$allowParent(allowParent) {
  123175. var $name, t2, t3, t4, t5, text, suffix, _this = this,
  123176. t1 = _this.scanner,
  123177. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  123178. _0_0 = t1.peekChar$0();
  123179. if (91 === _0_0)
  123180. return _this._stylesheet0$_attributeSelector$0();
  123181. if (46 === _0_0) {
  123182. t1.expectChar$1(46);
  123183. return new A.InterpolatedClassSelector(_this.interpolatedIdentifier$0());
  123184. }
  123185. if (35 === _0_0 && t1.peekChar$1(1) !== 123) {
  123186. t1.expectChar$1(35);
  123187. return new A.InterpolatedIDSelector(_this.interpolatedIdentifier$0());
  123188. }
  123189. if (37 === _0_0) {
  123190. t1.expectChar$1(37);
  123191. $name = _this.interpolatedIdentifier$0();
  123192. if (_this.get$plainCss())
  123193. _this.error$2(0, string$.Placeh, _this.spanFrom$1(start));
  123194. return new A.InterpolatedPlaceholderSelector($name);
  123195. }
  123196. if (58 === _0_0)
  123197. return _this._stylesheet0$_pseudoSelector$0();
  123198. if (38 === _0_0) {
  123199. t2 = t1._string_scanner$_position;
  123200. t1.expectChar$1(38);
  123201. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0()) {
  123202. t3 = t1._string_scanner$_position;
  123203. t4 = new A.StringBuffer("");
  123204. t5 = A._setArrayType([], type$.JSArray_Object);
  123205. text = new A.InterpolationBuffer0(t4, t5, A._setArrayType([], type$.JSArray_nullable_FileSpan));
  123206. _this._stylesheet0$_interpolatedIdentifierBodyHelper$1(text);
  123207. if (t5.length === 0 && t4._contents.length === 0)
  123208. t1.error$1(0, "Expected identifier body.");
  123209. suffix = text.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t3)));
  123210. } else
  123211. suffix = null;
  123212. if (_this.get$plainCss() && suffix != null)
  123213. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  123214. t1 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  123215. if (!allowParent)
  123216. _this.error$2(0, "Parent selectors aren't allowed here.", _this.spanFrom$1(start));
  123217. return new A.InterpolatedParentSelector(suffix, t1);
  123218. }
  123219. return _this._stylesheet0$_typeOrUniversalSelector$0();
  123220. },
  123221. _stylesheet0$_simpleSelector$0() {
  123222. return this._stylesheet0$_simpleSelector$1$allowParent(true);
  123223. },
  123224. _stylesheet0$_attributeSelector$0() {
  123225. var $name, operator, next, value, modifier, _this = this, _null = null,
  123226. t1 = _this.scanner,
  123227. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123228. t1.expectChar$1(91);
  123229. _this.whitespace$1$consumeNewlines(true);
  123230. $name = _this._stylesheet0$_attributeName$0();
  123231. _this.whitespace$1$consumeNewlines(true);
  123232. if (t1.scanChar$1(93))
  123233. return new A.InterpolatedAttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  123234. operator = _this._stylesheet0$_attributeOperator$0();
  123235. _this.whitespace$1$consumeNewlines(true);
  123236. next = t1.peekChar$0();
  123237. value = next === 39 || next === 34 ? _this.interpolatedStringToken$0() : _this.interpolatedIdentifier$0();
  123238. _this.whitespace$1$consumeNewlines(true);
  123239. modifier = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0() ? _this.interpolatedIdentifier$0() : _null;
  123240. _this.whitespace$1$consumeNewlines(true);
  123241. t1.expectChar$1(93);
  123242. return new A.InterpolatedAttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  123243. },
  123244. _stylesheet0$_attributeName$0() {
  123245. var t2, t3, nameOrNamespace, _this = this,
  123246. t1 = _this.scanner,
  123247. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123248. if (t1.scanChar$1(42)) {
  123249. t2 = _this.spanFrom$1(start);
  123250. t3 = A.List_List$unmodifiable(["*"], type$.Object);
  123251. t1.expectChar$1(124);
  123252. return new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), new A.Interpolation0(t3, B.List_null, t2));
  123253. }
  123254. if (t1.scanChar$1(124)) {
  123255. t1 = _this.spanFrom$2(start, start);
  123256. t2 = A.List_List$unmodifiable([""], type$.Object);
  123257. return new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), new A.Interpolation0(t2, B.List_null, t1));
  123258. }
  123259. nameOrNamespace = _this.interpolatedIdentifier$0();
  123260. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  123261. return new A.InterpolatedQualifiedName(nameOrNamespace, _this.spanFrom$1(start), null);
  123262. t1.readChar$0();
  123263. return new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), nameOrNamespace);
  123264. },
  123265. _stylesheet0$_attributeOperator$0() {
  123266. var op,
  123267. t1 = this.scanner,
  123268. t2 = t1._string_scanner$_position;
  123269. switch (t1.readChar$0()) {
  123270. case 61:
  123271. op = B.AttributeOperator_jFZ0;
  123272. break;
  123273. case 126:
  123274. t1.expectChar$1(61);
  123275. op = B.AttributeOperator_OrK0;
  123276. break;
  123277. case 124:
  123278. t1.expectChar$1(61);
  123279. op = B.AttributeOperator_g5B0;
  123280. break;
  123281. case 94:
  123282. t1.expectChar$1(61);
  123283. op = B.AttributeOperator_stc0;
  123284. break;
  123285. case 36:
  123286. t1.expectChar$1(61);
  123287. op = B.AttributeOperator_xJ90;
  123288. break;
  123289. case 42:
  123290. t1.expectChar$1(61);
  123291. op = B.AttributeOperator_h200;
  123292. break;
  123293. default:
  123294. t1.error$2$position(0, 'Expected "]".', t2);
  123295. op = null;
  123296. }
  123297. return new A.CssValue0(op, this.spanFrom$1(new A._SpanScannerState(t1, t2)), type$.CssValue_AttributeOperator);
  123298. },
  123299. _stylesheet0$_pseudoSelector$0() {
  123300. var element, $name, unvendored, argument, selector, _this = this, _null = null,
  123301. t1 = _this.scanner,
  123302. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123303. t1.expectChar$1(58);
  123304. element = t1.scanChar$1(58);
  123305. $name = _this.interpolatedIdentifier$0();
  123306. if (!t1.scanChar$1(40))
  123307. return new A.InterpolatedPseudoSelector($name, !element, _null, _null, _this.spanFrom$1(start));
  123308. _this.whitespace$1$consumeNewlines(true);
  123309. unvendored = A.NullableExtension_andThen0($name.get$asPlain(), A.utils1__unvendor$closure());
  123310. argument = _null;
  123311. selector = _null;
  123312. if (element)
  123313. if ($.selectorPseudoElements0.contains$1(0, unvendored))
  123314. selector = _this._stylesheet0$_selectorList$0();
  123315. else
  123316. argument = _this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true);
  123317. else if ($.selectorPseudoClasses0.contains$1(0, unvendored))
  123318. selector = _this._stylesheet0$_selectorList$0();
  123319. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  123320. argument = _this._stylesheet0$_interpolatedDeclarationValue$2$consumeNewlines$endAfterOf(true, true);
  123321. selector = t1.peekChar$0() !== 41 ? _this._stylesheet0$_selectorList$0() : _null;
  123322. } else
  123323. argument = _this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true);
  123324. t1.expectChar$1(41);
  123325. return new A.InterpolatedPseudoSelector($name, !element, argument, selector, _this.spanFrom$1(start));
  123326. },
  123327. _stylesheet0$_typeOrUniversalSelector$0() {
  123328. var t2, namespace, nameOrNamespace, _this = this,
  123329. t1 = _this.scanner,
  123330. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123331. if (t1.scanChar$1(42)) {
  123332. t2 = t1._string_scanner$_position;
  123333. if (!t1.scanChar$1(124))
  123334. return new A.InterpolatedUniversalSelector(null, _this.spanFrom$1(start));
  123335. t2 = _this.spanFrom$2(start, new A._SpanScannerState(t1, t2));
  123336. namespace = new A.Interpolation0(A.List_List$unmodifiable(["*"], type$.Object), B.List_null, t2);
  123337. return t1.scanChar$1(42) ? new A.InterpolatedUniversalSelector(namespace, _this.spanFrom$1(start)) : new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), namespace));
  123338. } else if (t1.scanChar$1(124)) {
  123339. t2 = _this.spanFrom$2(start, start);
  123340. namespace = new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t2);
  123341. return t1.scanChar$1(42) ? new A.InterpolatedUniversalSelector(namespace, _this.spanFrom$1(start)) : new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), namespace));
  123342. }
  123343. nameOrNamespace = _this.interpolatedIdentifier$0();
  123344. if (!t1.scanChar$1(124))
  123345. return new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(nameOrNamespace, _this.spanFrom$1(start), null));
  123346. else if (t1.scanChar$1(42))
  123347. return new A.InterpolatedUniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  123348. else
  123349. return new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(_this.interpolatedIdentifier$0(), _this.spanFrom$1(start), nameOrNamespace));
  123350. },
  123351. _stylesheet0$_isSimpleSelectorStart$1(character) {
  123352. var t1;
  123353. $label0$0: {
  123354. t1 = true;
  123355. if (42 !== character)
  123356. if (91 !== character)
  123357. if (46 !== character)
  123358. if (35 !== character)
  123359. if (37 !== character) {
  123360. t1 = 58 === character;
  123361. !t1;
  123362. }
  123363. if (t1) {
  123364. t1 = true;
  123365. break $label0$0;
  123366. }
  123367. if (38 === character) {
  123368. t1 = this.get$plainCss();
  123369. break $label0$0;
  123370. }
  123371. t1 = false;
  123372. break $label0$0;
  123373. }
  123374. return t1;
  123375. },
  123376. _stylesheet0$_mediaQueryList$0() {
  123377. var t4, _this = this,
  123378. t1 = _this.scanner,
  123379. t2 = t1._string_scanner$_position,
  123380. t3 = new A.StringBuffer(""),
  123381. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  123382. for (;;) {
  123383. _this.whitespace$1$consumeNewlines(false);
  123384. _this._stylesheet0$_mediaQuery$1(buffer);
  123385. _this.whitespace$1$consumeNewlines(false);
  123386. if (!t1.scanChar$1(44))
  123387. break;
  123388. t4 = A.Primitives_stringFromCharCode(44);
  123389. t3._contents += t4;
  123390. t4 = A.Primitives_stringFromCharCode(32);
  123391. t3._contents += t4;
  123392. }
  123393. return buffer.interpolation$1(_this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  123394. },
  123395. _stylesheet0$_mediaQuery$1(buffer) {
  123396. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  123397. if (_this.scanner.peekChar$0() === 40) {
  123398. _this._stylesheet0$_mediaInParens$1(buffer);
  123399. _this.whitespace$1$consumeNewlines(false);
  123400. if (_this.scanIdentifier$1(_s3_)) {
  123401. buffer._interpolation_buffer0$_text._contents += " and ";
  123402. _this.expectWhitespace$0();
  123403. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  123404. } else if (_this.scanIdentifier$1("or")) {
  123405. buffer._interpolation_buffer0$_text._contents += " or ";
  123406. _this.expectWhitespace$0();
  123407. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  123408. }
  123409. return;
  123410. }
  123411. identifier1 = _this.interpolatedIdentifier$0();
  123412. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  123413. _this.expectWhitespace$0();
  123414. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  123415. buffer._interpolation_buffer0$_text._contents += "not ";
  123416. _this._stylesheet0$_mediaOrInterp$1(buffer);
  123417. return;
  123418. }
  123419. }
  123420. _this.whitespace$1$consumeNewlines(false);
  123421. buffer.addInterpolation$1(identifier1);
  123422. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  123423. return;
  123424. t1 = buffer._interpolation_buffer0$_text;
  123425. t2 = A.Primitives_stringFromCharCode(32);
  123426. t1._contents += t2;
  123427. identifier2 = _this.interpolatedIdentifier$0();
  123428. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  123429. _this.expectWhitespace$0();
  123430. t1._contents += " and ";
  123431. } else {
  123432. _this.whitespace$1$consumeNewlines(false);
  123433. buffer.addInterpolation$1(identifier2);
  123434. if (_this.scanIdentifier$1(_s3_)) {
  123435. _this.expectWhitespace$0();
  123436. t1._contents += " and ";
  123437. } else
  123438. return;
  123439. }
  123440. if (_this.scanIdentifier$1("not")) {
  123441. _this.expectWhitespace$0();
  123442. t1._contents += "not ";
  123443. _this._stylesheet0$_mediaOrInterp$1(buffer);
  123444. return;
  123445. }
  123446. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  123447. return;
  123448. },
  123449. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  123450. var t1, t2, t3, _this = this;
  123451. for (t1 = buffer._interpolation_buffer0$_text;;) {
  123452. _this._stylesheet0$_mediaOrInterp$1(buffer);
  123453. _this.whitespace$1$consumeNewlines(false);
  123454. if (!_this.scanIdentifier$1(operator))
  123455. return;
  123456. _this.expectWhitespace$1$consumeNewlines(false);
  123457. t2 = A.Primitives_stringFromCharCode(32);
  123458. t3 = (t1._contents += t2) + operator;
  123459. t1._contents = t3;
  123460. t1._contents = t3 + t2;
  123461. }
  123462. },
  123463. _stylesheet0$_mediaOrInterp$1(buffer) {
  123464. var _0_0;
  123465. if (this.scanner.peekChar$0() === 35) {
  123466. _0_0 = this.singleInterpolation$0();
  123467. buffer.add$2(0, _0_0._0, _0_0._1);
  123468. } else
  123469. this._stylesheet0$_mediaInParens$1(buffer);
  123470. },
  123471. _stylesheet0$_mediaInParens$1(buffer) {
  123472. var t2, t3, expressionBefore, expressionAfter, next, t4, t5, expressionMiddle, _this = this,
  123473. t1 = _this.scanner;
  123474. t1.expectChar$2$name(40, "media condition in parentheses");
  123475. t2 = buffer._interpolation_buffer0$_text;
  123476. t3 = A.Primitives_stringFromCharCode(40);
  123477. t2._contents += t3;
  123478. _this.whitespace$1$consumeNewlines(true);
  123479. if (t1.peekChar$0() === 40) {
  123480. _this._stylesheet0$_mediaInParens$1(buffer);
  123481. _this.whitespace$1$consumeNewlines(true);
  123482. if (_this.scanIdentifier$1("and")) {
  123483. t2._contents += " and ";
  123484. _this.expectWhitespace$1$consumeNewlines(true);
  123485. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  123486. } else if (_this.scanIdentifier$1("or")) {
  123487. t2._contents += " or ";
  123488. _this.expectWhitespace$1$consumeNewlines(true);
  123489. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  123490. }
  123491. } else if (_this.scanIdentifier$1("not")) {
  123492. t2._contents += "not ";
  123493. _this.expectWhitespace$1$consumeNewlines(true);
  123494. _this._stylesheet0$_mediaOrInterp$1(buffer);
  123495. } else {
  123496. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  123497. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  123498. if (t1.scanChar$1(58)) {
  123499. _this.whitespace$1$consumeNewlines(true);
  123500. t3 = A.Primitives_stringFromCharCode(58);
  123501. t2._contents += t3;
  123502. t3 = A.Primitives_stringFromCharCode(32);
  123503. t2._contents += t3;
  123504. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  123505. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  123506. } else {
  123507. next = t1.peekChar$0();
  123508. t3 = 60 !== next;
  123509. if (!t3 || 62 === next || 61 === next) {
  123510. t4 = A.Primitives_stringFromCharCode(32);
  123511. t2._contents += t4;
  123512. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  123513. t2._contents += t5;
  123514. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  123515. t5 = A.Primitives_stringFromCharCode(61);
  123516. t2._contents += t5;
  123517. }
  123518. t2._contents += t4;
  123519. _this.whitespace$1$consumeNewlines(true);
  123520. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  123521. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  123522. if (!t3 || 62 === next) {
  123523. next.toString;
  123524. t3 = t1.scanChar$1(next);
  123525. } else
  123526. t3 = false;
  123527. if (t3) {
  123528. t2._contents += t4;
  123529. t3 = A.Primitives_stringFromCharCode(next);
  123530. t2._contents += t3;
  123531. if (t1.scanChar$1(61)) {
  123532. t3 = A.Primitives_stringFromCharCode(61);
  123533. t2._contents += t3;
  123534. }
  123535. t2._contents += t4;
  123536. _this.whitespace$1$consumeNewlines(true);
  123537. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  123538. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  123539. }
  123540. }
  123541. }
  123542. }
  123543. t1.expectChar$1(41);
  123544. _this.whitespace$1$consumeNewlines(false);
  123545. t1 = A.Primitives_stringFromCharCode(41);
  123546. t2._contents += t1;
  123547. },
  123548. _stylesheet0$_expressionUntilComparison$0() {
  123549. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  123550. },
  123551. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  123552. var condition, operator, lowerOperator, _this = this,
  123553. t1 = _this.scanner,
  123554. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123555. if (_this.scanIdentifier$1("not")) {
  123556. _this.whitespace$1$consumeNewlines(inParentheses);
  123557. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), _this.spanFrom$1(start));
  123558. }
  123559. condition = _this._stylesheet0$_supportsConditionInParens$0();
  123560. _this.whitespace$1$consumeNewlines(inParentheses);
  123561. for (operator = null; _this.lookingAtIdentifier$0();) {
  123562. if (operator != null)
  123563. _this.expectIdentifier$1(operator);
  123564. else if (_this.scanIdentifier$1("or"))
  123565. operator = "or";
  123566. else {
  123567. _this.expectIdentifier$1("and");
  123568. operator = "and";
  123569. }
  123570. _this.whitespace$1$consumeNewlines(inParentheses);
  123571. condition = new A.SupportsOperation0(condition, _this._stylesheet0$_supportsConditionInParens$0(), operator, _this.spanFrom$1(start));
  123572. lowerOperator = operator.toLowerCase();
  123573. if (lowerOperator !== "and" && lowerOperator !== "or")
  123574. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  123575. _this.whitespace$1$consumeNewlines(inParentheses);
  123576. }
  123577. return condition;
  123578. },
  123579. _stylesheet0$_supportsCondition$0() {
  123580. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  123581. },
  123582. _stylesheet0$_supportsConditionInParens$0() {
  123583. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, value, _this = this,
  123584. t1 = _this.scanner,
  123585. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123586. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  123587. identifier0 = _this.interpolatedIdentifier$0();
  123588. t2 = identifier0.get$asPlain();
  123589. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  123590. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  123591. if (t1.scanChar$1(40)) {
  123592. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  123593. t1.expectChar$1(41);
  123594. return new A.SupportsFunction0(identifier0, $arguments, _this.spanFrom$1(start));
  123595. } else {
  123596. _0_0 = identifier0.contents;
  123597. _0_4_isSet = _0_0.length === 1;
  123598. if (_0_4_isSet) {
  123599. _0_4 = _0_0[0];
  123600. t2 = _0_4 instanceof A.Expression0;
  123601. } else {
  123602. _0_4 = null;
  123603. t2 = false;
  123604. }
  123605. if (t2) {
  123606. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  123607. return new A.SupportsInterpolation0(type$.Expression_2._as(t1), _this.spanFrom$1(start));
  123608. } else
  123609. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  123610. }
  123611. }
  123612. t1.expectChar$1(40);
  123613. _this.whitespace$1$consumeNewlines(true);
  123614. if (_this.scanIdentifier$1("not")) {
  123615. _this.whitespace$1$consumeNewlines(true);
  123616. condition = _this._stylesheet0$_supportsConditionInParens$0();
  123617. t1.expectChar$1(41);
  123618. return new A.SupportsNegation0(condition, _this.spanFrom$1(start));
  123619. } else if (t1.peekChar$0() === 40) {
  123620. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  123621. t1.expectChar$1(41);
  123622. return condition.withSpan$1(_this.spanFrom$1(start));
  123623. }
  123624. $name = null;
  123625. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  123626. wasInParentheses = _this._stylesheet0$_inParentheses;
  123627. try {
  123628. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  123629. t1.expectChar$1(58);
  123630. } catch (exception) {
  123631. if (type$.FormatException._is(A.unwrapException(exception))) {
  123632. t1.set$state(nameStart);
  123633. _this._stylesheet0$_inParentheses = wasInParentheses;
  123634. identifier = _this.interpolatedIdentifier$0();
  123635. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  123636. operation = null;
  123637. if (_1_0 != null) {
  123638. operation = _1_0;
  123639. t1.expectChar$1(41);
  123640. t1 = operation;
  123641. t2 = _this.spanFrom$1(start);
  123642. return A.SupportsOperation$0(t1.left, t1.right, t1.operator, t2);
  123643. }
  123644. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  123645. t2.addInterpolation$1(identifier);
  123646. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  123647. contents = t2.interpolation$1(_this.spanFrom$1(nameStart));
  123648. if (t1.peekChar$0() === 58)
  123649. throw exception;
  123650. t1.expectChar$1(41);
  123651. return new A.SupportsAnything0(contents, _this.spanFrom$1(start));
  123652. } else
  123653. throw exception;
  123654. }
  123655. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  123656. t1.expectChar$1(41);
  123657. return new A.SupportsDeclaration0($name, value, _this.spanFrom$1(start));
  123658. },
  123659. _stylesheet0$_supportsDeclarationValue$1($name) {
  123660. var t1 = false;
  123661. if ($name instanceof A.StringExpression0)
  123662. if (!$name.hasQuotes)
  123663. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  123664. if (t1)
  123665. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  123666. else {
  123667. this.whitespace$1$consumeNewlines(true);
  123668. return this._stylesheet0$_expression$1$consumeNewlines(true);
  123669. }
  123670. },
  123671. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  123672. var expression, t2, t3, operator, operation, right, t4, lowerOperator, _this = this, _null = null,
  123673. t1 = interpolation.contents;
  123674. if (t1.length !== 1)
  123675. return _null;
  123676. expression = B.JSArray_methods.get$first(t1);
  123677. if (!(expression instanceof A.Expression0))
  123678. return _null;
  123679. t1 = _this.scanner;
  123680. t2 = t1._string_scanner$_position;
  123681. _this.whitespace$1$consumeNewlines(true);
  123682. for (t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  123683. if (operator != null)
  123684. _this.expectIdentifier$1(operator);
  123685. else if (_this.scanIdentifier$1("and"))
  123686. operator = "and";
  123687. else {
  123688. if (!_this.scanIdentifier$1("or")) {
  123689. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  123690. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  123691. t1._string_scanner$_position = t2;
  123692. return t1._lastMatch = null;
  123693. }
  123694. operator = "or";
  123695. }
  123696. _this.whitespace$1$consumeNewlines(true);
  123697. right = _this._stylesheet0$_supportsConditionInParens$0();
  123698. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  123699. operation = new A.SupportsOperation0(t4, right, operator, _this.spanFrom$1(start));
  123700. lowerOperator = operator.toLowerCase();
  123701. if (lowerOperator !== "and" && lowerOperator !== "or")
  123702. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  123703. _this.whitespace$1$consumeNewlines(true);
  123704. }
  123705. return operation;
  123706. },
  123707. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  123708. var t2, _0_0,
  123709. t1 = this.scanner,
  123710. _1_0 = t1.peekChar$0();
  123711. $label0$0: {
  123712. t2 = false;
  123713. if (_1_0 == null) {
  123714. t1 = t2;
  123715. break $label0$0;
  123716. }
  123717. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  123718. t1 = true;
  123719. break $label0$0;
  123720. }
  123721. if (35 === _1_0) {
  123722. t1 = t1.peekChar$1(1) === 123;
  123723. break $label0$0;
  123724. }
  123725. if (45 === _1_0) {
  123726. _0_0 = t1.peekChar$1(1);
  123727. $label1$1: {
  123728. if (_0_0 == null) {
  123729. t1 = t2;
  123730. break $label1$1;
  123731. }
  123732. if (35 === _0_0) {
  123733. t1 = t1.peekChar$1(2) === 123;
  123734. break $label1$1;
  123735. }
  123736. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  123737. t1 = true;
  123738. break $label1$1;
  123739. }
  123740. t1 = t2;
  123741. break $label1$1;
  123742. }
  123743. break $label0$0;
  123744. }
  123745. t1 = t2;
  123746. break $label0$0;
  123747. }
  123748. return t1;
  123749. },
  123750. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  123751. var t1 = this.scanner,
  123752. _0_0 = t1.peekChar$0();
  123753. $label0$0: {
  123754. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  123755. t1 = true;
  123756. break $label0$0;
  123757. }
  123758. if (35 === _0_0) {
  123759. t1 = t1.peekChar$1(1) !== 123;
  123760. break $label0$0;
  123761. }
  123762. t1 = false;
  123763. break $label0$0;
  123764. }
  123765. return t1;
  123766. },
  123767. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  123768. var t2, t3,
  123769. t1 = this.scanner,
  123770. _0_0 = t1.peekChar$0();
  123771. $label0$0: {
  123772. t2 = false;
  123773. if (_0_0 == null) {
  123774. t1 = t2;
  123775. break $label0$0;
  123776. }
  123777. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  123778. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  123779. else
  123780. t3 = true;
  123781. if (t3 || 92 === _0_0) {
  123782. t1 = true;
  123783. break $label0$0;
  123784. }
  123785. if (35 === _0_0) {
  123786. t1 = t1.peekChar$1(1) === 123;
  123787. break $label0$0;
  123788. }
  123789. t1 = t2;
  123790. break $label0$0;
  123791. }
  123792. return t1;
  123793. },
  123794. _stylesheet0$_lookingAtExpression$0() {
  123795. var t2, _0_0,
  123796. t1 = this.scanner,
  123797. _1_0 = t1.peekChar$0();
  123798. $label0$0: {
  123799. t2 = true;
  123800. if (_1_0 == null) {
  123801. t1 = false;
  123802. break $label0$0;
  123803. }
  123804. if (46 === _1_0) {
  123805. t1 = t1.peekChar$1(1) !== 46;
  123806. break $label0$0;
  123807. }
  123808. if (33 === _1_0) {
  123809. _0_0 = t1.peekChar$1(1);
  123810. $label1$1: {
  123811. if (_0_0 != null)
  123812. if (105 !== _0_0)
  123813. if (73 !== _0_0)
  123814. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  123815. else
  123816. t1 = t2;
  123817. else
  123818. t1 = t2;
  123819. else
  123820. t1 = t2;
  123821. break $label1$1;
  123822. }
  123823. break $label0$0;
  123824. }
  123825. t1 = true;
  123826. if (40 !== _1_0)
  123827. if (47 !== _1_0)
  123828. if (91 !== _1_0)
  123829. if (39 !== _1_0)
  123830. if (34 !== _1_0)
  123831. if (35 !== _1_0)
  123832. if (43 !== _1_0)
  123833. if (45 !== _1_0)
  123834. if (92 !== _1_0)
  123835. if (36 !== _1_0)
  123836. if (38 !== _1_0)
  123837. if (37 !== _1_0)
  123838. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  123839. t1 = _1_0 >= 48 && _1_0 <= 57;
  123840. if (t1) {
  123841. t1 = t2;
  123842. break $label0$0;
  123843. }
  123844. t1 = false;
  123845. break $label0$0;
  123846. }
  123847. return t1;
  123848. },
  123849. _stylesheet0$_withChildren$1$3(child, start, create) {
  123850. var result = create.call$2(this.children$1(0, child), this.spanFrom$1(start));
  123851. this.whitespaceWithoutComments$1$consumeNewlines(false);
  123852. return result;
  123853. },
  123854. _stylesheet0$_withChildren$3(child, start, create) {
  123855. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  123856. },
  123857. _stylesheet0$_urlString$0() {
  123858. var innerError, stackTrace, exception, _this = this,
  123859. t1 = _this.scanner,
  123860. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  123861. url = _this.string$0();
  123862. try {
  123863. t1 = A.Uri_parse(url);
  123864. return t1;
  123865. } catch (exception) {
  123866. t1 = A.unwrapException(exception);
  123867. if (type$.FormatException._is(t1)) {
  123868. innerError = t1;
  123869. stackTrace = A.getTraceFromException(exception);
  123870. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), _this.spanFrom$1(start), stackTrace);
  123871. } else
  123872. throw exception;
  123873. }
  123874. },
  123875. _stylesheet0$_publicIdentifier$0() {
  123876. var _this = this,
  123877. t1 = _this.scanner,
  123878. t2 = t1._string_scanner$_position,
  123879. result = _this.identifier$0();
  123880. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  123881. return result;
  123882. },
  123883. _stylesheet0$_assertPublic$2(identifier, span) {
  123884. var first = identifier.charCodeAt(0);
  123885. if (!(first === 45 || first === 95))
  123886. return;
  123887. this.error$2(0, string$.Privat, span.call$0());
  123888. },
  123889. _stylesheet0$_addOrInject$2(buffer, expression) {
  123890. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  123891. buffer.addInterpolation$1(expression.text);
  123892. else
  123893. buffer.add$2(0, expression, expression.get$span(expression));
  123894. },
  123895. get$plainCss() {
  123896. return false;
  123897. }
  123898. };
  123899. A.StylesheetParser_parse_closure0.prototype = {
  123900. call$0() {
  123901. var statements,
  123902. t1 = this.$this,
  123903. t2 = t1.scanner,
  123904. t3 = t2._string_scanner$_position;
  123905. t2.scanChar$1(65279);
  123906. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  123907. t2.expectDone$0();
  123908. return A.Stylesheet$internal0(statements, t1.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  123909. },
  123910. $signature: 603
  123911. };
  123912. A.StylesheetParser_parse__closure0.prototype = {
  123913. call$0() {
  123914. var t1 = this.$this;
  123915. if (t1.scanner.scan$1("@charset")) {
  123916. t1.whitespace$1$consumeNewlines(false);
  123917. t1.string$0();
  123918. return null;
  123919. }
  123920. return t1._stylesheet0$_statement$1$root(true);
  123921. },
  123922. $signature: 604
  123923. };
  123924. A.StylesheetParser_parseParameterList_closure0.prototype = {
  123925. call$0() {
  123926. var parameters,
  123927. t1 = this.$this,
  123928. t2 = t1.scanner;
  123929. t2.expectChar$2$name(64, "@-rule");
  123930. t1.identifier$0();
  123931. t1.whitespace$1$consumeNewlines(true);
  123932. t1.identifier$0();
  123933. parameters = t1._stylesheet0$_parameterList$0();
  123934. t1.whitespace$1$consumeNewlines(true);
  123935. t2.expectChar$1(123);
  123936. return parameters;
  123937. },
  123938. $signature: 605
  123939. };
  123940. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  123941. call$0() {
  123942. var result = this.production.call$0();
  123943. this.$this.scanner.expectDone$0();
  123944. return result;
  123945. },
  123946. $signature() {
  123947. return this.T._eval$1("0()");
  123948. }
  123949. };
  123950. A.StylesheetParser_parseSignature_closure.prototype = {
  123951. call$0() {
  123952. var parameters, t2, t3,
  123953. t1 = this.$this,
  123954. $name = t1.identifier$0();
  123955. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  123956. parameters = t1._stylesheet0$_parameterList$0();
  123957. else {
  123958. t2 = t1.scanner;
  123959. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  123960. t3 = t2.offset;
  123961. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t2.file, t3, t3));
  123962. }
  123963. t1.scanner.expectDone$0();
  123964. return new A._Record_2($name, parameters);
  123965. },
  123966. $signature: 606
  123967. };
  123968. A.StylesheetParser__statement_closure0.prototype = {
  123969. call$0() {
  123970. return this.$this._stylesheet0$_statement$0();
  123971. },
  123972. $signature: 136
  123973. };
  123974. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  123975. call$0() {
  123976. return this.$this.spanFrom$1(this.start);
  123977. },
  123978. $signature: 22
  123979. };
  123980. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  123981. call$0() {
  123982. return this.declaration.span;
  123983. },
  123984. $signature: 22
  123985. };
  123986. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  123987. call$0() {
  123988. return this.$this.whitespace$1$consumeNewlines(false);
  123989. },
  123990. $signature: 0
  123991. };
  123992. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  123993. call$0() {
  123994. return this.$this.whitespace$1$consumeNewlines(false);
  123995. },
  123996. $signature: 0
  123997. };
  123998. A.StylesheetParser__declarationOrBuffer_closure5.prototype = {
  123999. call$1($name) {
  124000. return A.equalsIgnoreCase0($name, "result");
  124001. },
  124002. $signature: 5
  124003. };
  124004. A.StylesheetParser__declarationOrBuffer_closure6.prototype = {
  124005. call$0() {
  124006. return this.$this.whitespace$1$consumeNewlines(false);
  124007. },
  124008. $signature: 0
  124009. };
  124010. A.StylesheetParser__styleRule_closure0.prototype = {
  124011. call$2(children, span) {
  124012. return A.StyleRule$withParsedSelector(this.selector, children, this.$this.spanFrom$1(this.start));
  124013. },
  124014. $signature: 206
  124015. };
  124016. A.StylesheetParser__styleRule_closure1.prototype = {
  124017. call$2(children, span) {
  124018. return A.StyleRule$0(this._box_0.interpolation, children, this.$this.spanFrom$1(this.start));
  124019. },
  124020. $signature: 206
  124021. };
  124022. A.StylesheetParser__withStyleRuleChildren_closure0.prototype = {
  124023. call$2(children, span) {
  124024. var t2, _this = this,
  124025. t1 = _this.$this;
  124026. if (t1.get$indented() && children.length === 0) {
  124027. t2 = _this.nodeWithSpan;
  124028. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, t2.get$span(t2)));
  124029. }
  124030. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  124031. return _this.create.call$2(children, span);
  124032. },
  124033. $signature() {
  124034. return this.T._eval$1("0(List<Statement0>,FileSpan)");
  124035. }
  124036. };
  124037. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  124038. call$0() {
  124039. return this.$this.whitespace$1$consumeNewlines(false);
  124040. },
  124041. $signature: 0
  124042. };
  124043. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  124044. call$2(children, span) {
  124045. return A.Declaration$nested0(this.name, children, span, this.value);
  124046. },
  124047. $signature: 608
  124048. };
  124049. A.StylesheetParser__atRootRule_closure1.prototype = {
  124050. call$2(children, span) {
  124051. return A.AtRootRule$0(children, span, this.query);
  124052. },
  124053. $signature: 205
  124054. };
  124055. A.StylesheetParser__atRootRule_closure2.prototype = {
  124056. call$2(children, span) {
  124057. return A.AtRootRule$0(children, span, null);
  124058. },
  124059. $signature: 205
  124060. };
  124061. A.StylesheetParser__eachRule_closure0.prototype = {
  124062. call$2(children, span) {
  124063. var _this = this;
  124064. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  124065. return A.EachRule$0(_this.variables, _this.list, children, span);
  124066. },
  124067. $signature: 610
  124068. };
  124069. A.StylesheetParser__functionRule_closure0.prototype = {
  124070. call$2(children, span) {
  124071. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  124072. },
  124073. $signature: 611
  124074. };
  124075. A.StylesheetParser__forRule_closure1.prototype = {
  124076. call$0() {
  124077. var t1 = this.$this;
  124078. if (!t1.lookingAtIdentifier$0())
  124079. return false;
  124080. if (t1.scanIdentifier$1("to"))
  124081. return this._box_0.exclusive = true;
  124082. else if (t1.scanIdentifier$1("through")) {
  124083. this._box_0.exclusive = false;
  124084. return true;
  124085. } else
  124086. return false;
  124087. },
  124088. $signature: 19
  124089. };
  124090. A.StylesheetParser__forRule_closure2.prototype = {
  124091. call$2(children, span) {
  124092. var t1, _this = this;
  124093. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  124094. t1 = _this._box_0.exclusive;
  124095. t1.toString;
  124096. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  124097. },
  124098. $signature: 612
  124099. };
  124100. A.StylesheetParser__memberList_closure0.prototype = {
  124101. call$0() {
  124102. var t1 = this.$this;
  124103. if (t1.scanner.peekChar$0() === 36)
  124104. this.variables.add$1(0, t1.variableName$0());
  124105. else
  124106. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  124107. },
  124108. $signature: 1
  124109. };
  124110. A.StylesheetParser__includeRule_closure0.prototype = {
  124111. call$2(children, span) {
  124112. return A.ContentBlock$0(this.contentParameters_, children, span);
  124113. },
  124114. $signature: 613
  124115. };
  124116. A.StylesheetParser_mediaRule_closure0.prototype = {
  124117. call$2(children, span) {
  124118. return A.MediaRule$0(this.query, children, span);
  124119. },
  124120. $signature: 614
  124121. };
  124122. A.StylesheetParser__mixinRule_closure0.prototype = {
  124123. call$2(children, span) {
  124124. var _this = this;
  124125. _this.$this._stylesheet0$_inMixin = false;
  124126. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  124127. },
  124128. $signature: 615
  124129. };
  124130. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  124131. call$0() {
  124132. return this.$this.whitespace$1$consumeNewlines(false);
  124133. },
  124134. $signature: 0
  124135. };
  124136. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  124137. call$2(children, span) {
  124138. var _this = this;
  124139. if (_this._box_0.needsDeprecationWarning)
  124140. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Gmv, string$.x40_moz_, span));
  124141. return A.AtRule$0(_this.name, span, children, _this.value);
  124142. },
  124143. $signature: 233
  124144. };
  124145. A.StylesheetParser_supportsRule_closure0.prototype = {
  124146. call$2(children, span) {
  124147. return A.SupportsRule$0(this.condition, children, span);
  124148. },
  124149. $signature: 617
  124150. };
  124151. A.StylesheetParser__whileRule_closure0.prototype = {
  124152. call$2(children, span) {
  124153. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  124154. return A.WhileRule$0(this.condition, children, span);
  124155. },
  124156. $signature: 618
  124157. };
  124158. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  124159. call$2(children, span) {
  124160. return A.AtRule$0(this.name, span, children, this._box_0.value);
  124161. },
  124162. $signature: 233
  124163. };
  124164. A.StylesheetParser__expression_resetState0.prototype = {
  124165. call$0() {
  124166. var t2,
  124167. t1 = this._box_0;
  124168. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  124169. t2 = this.$this;
  124170. t2.scanner.set$state(this.start);
  124171. t1.allowSlash = true;
  124172. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  124173. },
  124174. $signature: 0
  124175. };
  124176. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  124177. call$0() {
  124178. var t2, t3, t4, t5, t6, t7, _this = this,
  124179. t1 = _this._box_0,
  124180. operator = t1.operators_.pop(),
  124181. left = t1.operands_.pop(),
  124182. right = t1.singleExpression_;
  124183. if (right == null) {
  124184. t2 = _this.$this.scanner;
  124185. t3 = operator.operator.length;
  124186. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  124187. }
  124188. if (t1.allowSlash) {
  124189. t2 = _this.$this;
  124190. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_ehp0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  124191. } else
  124192. t2 = false;
  124193. if (t2)
  124194. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_ehp0, left, right, true);
  124195. else {
  124196. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  124197. t2 = t1.allowSlash = false;
  124198. if (B.BinaryOperator_jCK0 === operator || B.BinaryOperator_tDf0 === operator) {
  124199. t3 = _this.$this;
  124200. t4 = t3.scanner.string;
  124201. t5 = right.get$span(right);
  124202. t5 = t5.get$start(t5);
  124203. t6 = right.get$span(right);
  124204. t7 = operator.operator;
  124205. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  124206. t2 = left.get$span(left);
  124207. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  124208. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  124209. }
  124210. if (t2) {
  124211. t2 = left.toString$0(0);
  124212. t4 = right.toString$0(0);
  124213. t5 = left.toString$0(0);
  124214. t6 = right.toString$0(0);
  124215. t1 = t1.singleExpression_;
  124216. t3.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kh7, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, t1.get$span(t1)));
  124217. }
  124218. }
  124219. }
  124220. },
  124221. $signature: 0
  124222. };
  124223. A.StylesheetParser__expression_resolveOperations0.prototype = {
  124224. call$0() {
  124225. var t1,
  124226. operators = this._box_0.operators_;
  124227. if (operators == null)
  124228. return;
  124229. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  124230. t1.call$0();
  124231. },
  124232. $signature: 0
  124233. };
  124234. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  124235. call$1(expression) {
  124236. var t2, spaceExpressions, _this = this,
  124237. t1 = _this._box_0;
  124238. if (t1.singleExpression_ != null) {
  124239. t2 = _this.$this;
  124240. if (t2._stylesheet0$_inParentheses) {
  124241. t2._stylesheet0$_inParentheses = false;
  124242. if (t1.allowSlash) {
  124243. _this.resetState.call$0();
  124244. return;
  124245. }
  124246. }
  124247. spaceExpressions = t1.spaceExpressions_;
  124248. if (spaceExpressions == null)
  124249. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  124250. _this.resolveOperations.call$0();
  124251. t2 = t1.singleExpression_;
  124252. t2.toString;
  124253. spaceExpressions.push(t2);
  124254. t1.allowSlash = true;
  124255. }
  124256. t1.singleExpression_ = expression;
  124257. },
  124258. $signature: 619
  124259. };
  124260. A.StylesheetParser__expression_addOperator0.prototype = {
  124261. call$1(operator) {
  124262. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  124263. t1 = _this.$this;
  124264. if (t1.get$plainCss() && operator !== B.BinaryOperator_g6F0 && operator !== B.BinaryOperator_jCK0 && operator !== B.BinaryOperator_tDf0 && operator !== B.BinaryOperator_wkM0 && operator !== B.BinaryOperator_ehp0) {
  124265. t2 = t1.scanner;
  124266. t3 = operator.operator.length;
  124267. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  124268. }
  124269. t2 = _this._box_0;
  124270. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_ehp0;
  124271. operators = t2.operators_;
  124272. if (operators == null)
  124273. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  124274. operands = t2.operands_;
  124275. if (operands == null)
  124276. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  124277. t3 = _this.resolveOneOperation;
  124278. t4 = operator.precedence;
  124279. for (;;) {
  124280. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  124281. break;
  124282. t3.call$0();
  124283. }
  124284. singleExpression = t2.singleExpression_;
  124285. if (singleExpression == null) {
  124286. t3 = t1.scanner;
  124287. t4 = operator.operator.length;
  124288. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  124289. }
  124290. t1.whitespace$1$consumeNewlines(true);
  124291. if (operator === B.BinaryOperator_bgA0 && !t1._stylesheet0$_lookingAtExpression$0()) {
  124292. t1 = t1.spanFromPosition$1(t1.scanner._string_scanner$_position - 1);
  124293. _this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  124294. } else {
  124295. operators.push(operator);
  124296. operands.push(singleExpression);
  124297. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  124298. }
  124299. },
  124300. $signature: 620
  124301. };
  124302. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  124303. call$0() {
  124304. var t1, spaceExpressions, singleExpression, t2;
  124305. this.resolveOperations.call$0();
  124306. t1 = this._box_0;
  124307. spaceExpressions = t1.spaceExpressions_;
  124308. if (spaceExpressions == null)
  124309. return;
  124310. singleExpression = t1.singleExpression_;
  124311. if (singleExpression == null)
  124312. this.$this.scanner.error$1(0, "Expected expression.");
  124313. spaceExpressions.push(singleExpression);
  124314. t2 = B.JSArray_methods.get$first(spaceExpressions);
  124315. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  124316. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_SrV0, false, t2);
  124317. t1.spaceExpressions_ = null;
  124318. },
  124319. $signature: 0
  124320. };
  124321. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  124322. call$0() {
  124323. return this.$this.scanner.peekChar$0() === 44;
  124324. },
  124325. $signature: 19
  124326. };
  124327. A.StylesheetParser__isHexColor_closure0.prototype = {
  124328. call$1(char) {
  124329. return A.CharacterExtension_get_isHex0(char);
  124330. },
  124331. $signature: 50
  124332. };
  124333. A.StylesheetParser__unicodeRange_closure1.prototype = {
  124334. call$1(char) {
  124335. return char != null && A.CharacterExtension_get_isHex0(char);
  124336. },
  124337. $signature: 32
  124338. };
  124339. A.StylesheetParser__unicodeRange_closure2.prototype = {
  124340. call$1(char) {
  124341. return char != null && A.CharacterExtension_get_isHex0(char);
  124342. },
  124343. $signature: 32
  124344. };
  124345. A.StylesheetParser_interpolatedStringToken_closure0.prototype = {
  124346. call$0() {
  124347. return A.consumeEscapedCharacter0(this.$this.scanner);
  124348. },
  124349. $signature: 0
  124350. };
  124351. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  124352. call$0() {
  124353. return this.$this.spanFrom$1(this.start);
  124354. },
  124355. $signature: 22
  124356. };
  124357. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  124358. call$1(contents) {
  124359. return new A.StringExpression0(contents, false);
  124360. },
  124361. $signature: 621
  124362. };
  124363. A.StylesheetParser__interpolatedDeclarationValue_closure0.prototype = {
  124364. call$0() {
  124365. return this.$this.scanIdentifier$2$caseSensitive("of", false);
  124366. },
  124367. $signature: 0
  124368. };
  124369. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  124370. call$0() {
  124371. var t1 = this.$this.scanner,
  124372. _0_0 = t1.peekChar$0();
  124373. $label0$0: {
  124374. if (61 === _0_0) {
  124375. t1 = t1.peekChar$1(1) !== 61;
  124376. break $label0$0;
  124377. }
  124378. if (60 === _0_0 || 62 === _0_0) {
  124379. t1 = true;
  124380. break $label0$0;
  124381. }
  124382. t1 = false;
  124383. break $label0$0;
  124384. }
  124385. return t1;
  124386. },
  124387. $signature: 19
  124388. };
  124389. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  124390. call$0() {
  124391. return this.$this.spanFrom$1(this.start);
  124392. },
  124393. $signature: 22
  124394. };
  124395. A.Stylesheet0.prototype = {
  124396. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  124397. var t1, t2, t3, t4, _i, child;
  124398. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  124399. child = t1[_i];
  124400. if (child instanceof A.UseRule0) {
  124401. t4.push(child);
  124402. continue;
  124403. }
  124404. if (child instanceof A.ForwardRule0) {
  124405. t3.push(child);
  124406. continue;
  124407. }
  124408. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  124409. continue;
  124410. break;
  124411. }
  124412. },
  124413. accept$1$1(visitor) {
  124414. return visitor.visitStylesheet$1(0, this);
  124415. },
  124416. accept$1(visitor) {
  124417. return this.accept$1$1(visitor, type$.dynamic);
  124418. },
  124419. toString$0(_) {
  124420. return B.JSArray_methods.join$1(this.children, " ");
  124421. },
  124422. get$span(receiver) {
  124423. return this.span;
  124424. }
  124425. };
  124426. A.SupportsExpression0.prototype = {
  124427. get$span(_) {
  124428. var t1 = this.condition;
  124429. return t1.get$span(t1);
  124430. },
  124431. accept$1$1(visitor) {
  124432. return visitor.visitSupportsExpression$1(0, this);
  124433. },
  124434. accept$1(visitor) {
  124435. return this.accept$1$1(visitor, type$.dynamic);
  124436. },
  124437. toString$0(_) {
  124438. return this.condition.toString$0(0);
  124439. }
  124440. };
  124441. A.ModifiableCssSupportsRule0.prototype = {
  124442. accept$1$1(visitor) {
  124443. return visitor.visitCssSupportsRule$1(this);
  124444. },
  124445. accept$1(visitor) {
  124446. return this.accept$1$1(visitor, type$.dynamic);
  124447. },
  124448. equalsIgnoringChildren$1(other) {
  124449. var t1, t2;
  124450. if (other instanceof A.ModifiableCssSupportsRule0) {
  124451. t1 = this.condition;
  124452. t2 = other.condition;
  124453. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  124454. } else
  124455. t1 = false;
  124456. return t1;
  124457. },
  124458. copyWithoutChildren$0() {
  124459. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  124460. },
  124461. get$span(receiver) {
  124462. return this.span;
  124463. }
  124464. };
  124465. A.SupportsRule0.prototype = {
  124466. accept$1$1(visitor) {
  124467. return visitor.visitSupportsRule$1(0, this);
  124468. },
  124469. accept$1(visitor) {
  124470. return this.accept$1$1(visitor, type$.dynamic);
  124471. },
  124472. toString$0(_) {
  124473. return "@supports " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  124474. },
  124475. get$span(receiver) {
  124476. return this.span;
  124477. }
  124478. };
  124479. A.JSToDartImporter.prototype = {
  124480. canonicalize$1(_, url) {
  124481. var t1,
  124482. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  124483. if (result == null)
  124484. return null;
  124485. t1 = self.URL;
  124486. if (result instanceof t1)
  124487. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  124488. t1 = self.Promise;
  124489. if (result instanceof t1)
  124490. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  124491. else
  124492. A.jsThrow(new self.Error(string$.The_ca));
  124493. },
  124494. load$1(_, url) {
  124495. var t1, contents, syntax, t2,
  124496. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  124497. if (result == null)
  124498. return null;
  124499. t1 = self.Promise;
  124500. if (result instanceof t1)
  124501. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  124502. type$.JSImporterResult._as(result);
  124503. t1 = J.getInterceptor$x(result);
  124504. contents = t1.get$contents(result);
  124505. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  124506. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  124507. syntax = t1.get$syntax(result);
  124508. if (contents == null || syntax == null)
  124509. A.jsThrow(new self.Error(string$.The_lo));
  124510. t2 = A.parseSyntax(syntax);
  124511. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  124512. },
  124513. isNonCanonicalScheme$1(scheme) {
  124514. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  124515. }
  124516. };
  124517. A.JSToDartImporter_canonicalize_closure.prototype = {
  124518. call$0() {
  124519. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  124520. },
  124521. $signature: 35
  124522. };
  124523. A.JSToDartImporter_load_closure.prototype = {
  124524. call$0() {
  124525. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  124526. },
  124527. $signature: 35
  124528. };
  124529. A.Syntax0.prototype = {
  124530. _enumToString$0() {
  124531. return "Syntax." + this._name;
  124532. },
  124533. toString$0(_) {
  124534. return this._syntax0$_name;
  124535. }
  124536. };
  124537. A.InterpolatedTypeSelector.prototype = {
  124538. get$span(_) {
  124539. return this.name.span;
  124540. },
  124541. accept$1$1(visitor) {
  124542. return J.visitTypeSelector$1$x(visitor._simple_selector$_inner, this);
  124543. },
  124544. accept$1(visitor) {
  124545. return this.accept$1$1(visitor, type$.dynamic);
  124546. },
  124547. toString$0(_) {
  124548. return this.name.toString$0(0);
  124549. }
  124550. };
  124551. A.TypeSelector0.prototype = {
  124552. get$specificity() {
  124553. return 1;
  124554. },
  124555. accept$1$1(visitor) {
  124556. return visitor.visitTypeSelector$1(0, this);
  124557. },
  124558. accept$1(visitor) {
  124559. return this.accept$1$1(visitor, type$.dynamic);
  124560. },
  124561. addSuffix$1(suffix) {
  124562. var t1 = this.name;
  124563. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  124564. },
  124565. unify$1(compound) {
  124566. var unified, t1,
  124567. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  124568. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  124569. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  124570. if (unified == null)
  124571. return null;
  124572. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  124573. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  124574. return t1;
  124575. } else {
  124576. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  124577. B.JSArray_methods.addAll$1(t1, compound);
  124578. return t1;
  124579. }
  124580. },
  124581. isSuperselector$1(other) {
  124582. var t1, t2, t3;
  124583. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  124584. t1 = false;
  124585. if (other instanceof A.TypeSelector0) {
  124586. t2 = this.name;
  124587. t3 = other.name;
  124588. if (t2.name === t3.name) {
  124589. t1 = t2.namespace;
  124590. t1 = t1 === "*" || t1 == t3.namespace;
  124591. }
  124592. }
  124593. } else
  124594. t1 = true;
  124595. return t1;
  124596. },
  124597. $eq(_, other) {
  124598. if (other == null)
  124599. return false;
  124600. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  124601. },
  124602. get$hashCode(_) {
  124603. var t1 = this.name;
  124604. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  124605. }
  124606. };
  124607. A.Types.prototype = {};
  124608. A.UnaryOperationExpression0.prototype = {
  124609. accept$1$1(visitor) {
  124610. return visitor.visitUnaryOperationExpression$1(0, this);
  124611. },
  124612. accept$1(visitor) {
  124613. return this.accept$1$1(visitor, type$.dynamic);
  124614. },
  124615. toString$0(_) {
  124616. var operand,
  124617. t1 = this.operator,
  124618. t2 = t1.operator;
  124619. t1 = t1 === B.UnaryOperator_not_not_3_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  124620. operand = this.operand;
  124621. $label0$0: {
  124622. t2 = true;
  124623. if (!(operand instanceof A.BinaryOperationExpression0))
  124624. if (!(operand instanceof A.UnaryOperationExpression0))
  124625. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  124626. break $label0$0;
  124627. }
  124628. if (t2)
  124629. t1 += "40";
  124630. t1 += operand.toString$0(0);
  124631. if (t2)
  124632. t1 += "41";
  124633. return t1.charCodeAt(0) == 0 ? t1 : t1;
  124634. },
  124635. get$span(receiver) {
  124636. return this.span;
  124637. }
  124638. };
  124639. A.UnaryOperator0.prototype = {
  124640. _enumToString$0() {
  124641. return "UnaryOperator." + this._name;
  124642. },
  124643. toString$0(_) {
  124644. return this.name;
  124645. }
  124646. };
  124647. A.UnitlessSassNumber0.prototype = {
  124648. get$numeratorUnits(_) {
  124649. return B.List_empty;
  124650. },
  124651. get$denominatorUnits(_) {
  124652. return B.List_empty;
  124653. },
  124654. get$hasUnits() {
  124655. return false;
  124656. },
  124657. get$hasComplexUnits() {
  124658. return false;
  124659. },
  124660. withValue$1(value) {
  124661. return new A.UnitlessSassNumber0(value, null);
  124662. },
  124663. withSlash$2(numerator, denominator) {
  124664. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  124665. },
  124666. hasUnit$1(unit) {
  124667. return false;
  124668. },
  124669. hasCompatibleUnits$1(other) {
  124670. return other instanceof A.UnitlessSassNumber0;
  124671. },
  124672. hasPossiblyCompatibleUnits$1(other) {
  124673. return other instanceof A.UnitlessSassNumber0;
  124674. },
  124675. compatibleWithUnit$1(unit) {
  124676. return true;
  124677. },
  124678. coerceToMatch$3(other, $name, otherName) {
  124679. return other.withValue$1(this._number1$_value);
  124680. },
  124681. coerceToMatch$1(other) {
  124682. return this.coerceToMatch$3(other, null, null);
  124683. },
  124684. coerceValueToMatch$3(other, $name, otherName) {
  124685. return this._number1$_value;
  124686. },
  124687. coerceValueToMatch$1(other) {
  124688. return this.coerceValueToMatch$3(other, null, null);
  124689. },
  124690. convertToMatch$3(other, $name, otherName) {
  124691. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  124692. },
  124693. convertValueToMatch$3(other, $name, otherName) {
  124694. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  124695. },
  124696. convertValueToMatch$1(other) {
  124697. return this.convertValueToMatch$3(other, null, null);
  124698. },
  124699. coerce$3(newNumerators, newDenominators, $name) {
  124700. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  124701. },
  124702. coerce$2(newNumerators, newDenominators) {
  124703. return this.coerce$3(newNumerators, newDenominators, null);
  124704. },
  124705. coerceValue$3(newNumerators, newDenominators, $name) {
  124706. return this._number1$_value;
  124707. },
  124708. coerceValueToUnit$2(unit, $name) {
  124709. return this._number1$_value;
  124710. },
  124711. coerceValueToUnit$1(unit) {
  124712. return this.coerceValueToUnit$2(unit, null);
  124713. },
  124714. greaterThan$1(other) {
  124715. var t1, t2;
  124716. if (other instanceof A.SassNumber0) {
  124717. t1 = this._number1$_value;
  124718. t2 = other._number1$_value;
  124719. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  124720. }
  124721. return this.super$SassNumber$greaterThan0(other);
  124722. },
  124723. greaterThanOrEquals$1(other) {
  124724. var t1, t2;
  124725. if (other instanceof A.SassNumber0) {
  124726. t1 = this._number1$_value;
  124727. t2 = other._number1$_value;
  124728. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  124729. }
  124730. return this.super$SassNumber$greaterThanOrEquals0(other);
  124731. },
  124732. lessThan$1(other) {
  124733. var t1, t2;
  124734. if (other instanceof A.SassNumber0) {
  124735. t1 = this._number1$_value;
  124736. t2 = other._number1$_value;
  124737. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  124738. }
  124739. return this.super$SassNumber$lessThan0(other);
  124740. },
  124741. lessThanOrEquals$1(other) {
  124742. var t1, t2;
  124743. if (other instanceof A.SassNumber0) {
  124744. t1 = this._number1$_value;
  124745. t2 = other._number1$_value;
  124746. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  124747. }
  124748. return this.super$SassNumber$lessThanOrEquals0(other);
  124749. },
  124750. modulo$1(other) {
  124751. if (other instanceof A.SassNumber0)
  124752. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  124753. return this.super$SassNumber$modulo0(other);
  124754. },
  124755. plus$1(other) {
  124756. if (other instanceof A.SassNumber0)
  124757. return other.withValue$1(this._number1$_value + other._number1$_value);
  124758. return this.super$SassNumber$plus0(other);
  124759. },
  124760. minus$1(other) {
  124761. if (other instanceof A.SassNumber0)
  124762. return other.withValue$1(this._number1$_value - other._number1$_value);
  124763. return this.super$SassNumber$minus0(other);
  124764. },
  124765. times$1(other) {
  124766. if (other instanceof A.SassNumber0)
  124767. return other.withValue$1(this._number1$_value * other._number1$_value);
  124768. return this.super$SassNumber$times0(other);
  124769. },
  124770. dividedBy$1(other) {
  124771. var t1, t2;
  124772. if (other instanceof A.SassNumber0) {
  124773. t1 = this._number1$_value / other._number1$_value;
  124774. if (other.get$hasUnits()) {
  124775. t2 = other.get$denominatorUnits(other);
  124776. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  124777. t1 = t2;
  124778. } else
  124779. t1 = new A.UnitlessSassNumber0(t1, null);
  124780. return t1;
  124781. }
  124782. return this.super$SassNumber$dividedBy0(other);
  124783. },
  124784. unaryMinus$0() {
  124785. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  124786. },
  124787. $eq(_, other) {
  124788. if (other == null)
  124789. return false;
  124790. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  124791. },
  124792. get$hashCode(_) {
  124793. var t1 = this.hashCache;
  124794. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  124795. }
  124796. };
  124797. A.InterpolatedUniversalSelector.prototype = {
  124798. accept$1$1(visitor) {
  124799. return J.visitUniversalSelector$1$x(visitor._simple_selector$_inner, this);
  124800. },
  124801. accept$1(visitor) {
  124802. return this.accept$1$1(visitor, type$.dynamic);
  124803. },
  124804. toString$0(_) {
  124805. var t1,
  124806. _0_0 = this.namespace;
  124807. $label0$0: {
  124808. if (_0_0 != null) {
  124809. t1 = _0_0.toString$0(0) + "|*";
  124810. break $label0$0;
  124811. }
  124812. t1 = "*";
  124813. break $label0$0;
  124814. }
  124815. return t1;
  124816. },
  124817. get$span(receiver) {
  124818. return this.span;
  124819. }
  124820. };
  124821. A.UniversalSelector0.prototype = {
  124822. get$specificity() {
  124823. return 0;
  124824. },
  124825. accept$1$1(visitor) {
  124826. return visitor.visitUniversalSelector$1(0, this);
  124827. },
  124828. accept$1(visitor) {
  124829. return this.accept$1$1(visitor, type$.dynamic);
  124830. },
  124831. unify$1(compound) {
  124832. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  124833. _0_1 = compound.length,
  124834. _0_4_isSet = _0_1 >= 1;
  124835. if (_0_4_isSet) {
  124836. _0_4 = compound[0];
  124837. if (!(_0_4 instanceof A.UniversalSelector0))
  124838. t1 = _0_4 instanceof A.TypeSelector0;
  124839. else
  124840. t1 = true;
  124841. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  124842. } else {
  124843. rest = _null;
  124844. _0_4 = rest;
  124845. t1 = false;
  124846. }
  124847. if (t1) {
  124848. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  124849. if (unified == null)
  124850. return _null;
  124851. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  124852. B.JSArray_methods.addAll$1(t1, rest);
  124853. return t1;
  124854. }
  124855. t1 = false;
  124856. if (_0_1 === 1) {
  124857. if (_0_4_isSet)
  124858. t2 = _0_4;
  124859. else {
  124860. _0_4 = compound[0];
  124861. t2 = _0_4;
  124862. _0_4_isSet = true;
  124863. }
  124864. if (t2 instanceof A.PseudoSelector0) {
  124865. t2 = _0_4_isSet ? _0_4 : compound[0];
  124866. type$.PseudoSelector_2._as(t2);
  124867. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  124868. }
  124869. }
  124870. if (t1)
  124871. return _null;
  124872. if (_0_1 <= 0)
  124873. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  124874. t1 = _this.namespace;
  124875. if (t1 == null || t1 === "*")
  124876. t1 = compound;
  124877. else {
  124878. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  124879. B.JSArray_methods.addAll$1(t1, compound);
  124880. }
  124881. return t1;
  124882. },
  124883. isSuperselector$1(other) {
  124884. var t1 = this.namespace;
  124885. if (t1 === "*")
  124886. return true;
  124887. if (other instanceof A.TypeSelector0)
  124888. return t1 == other.name.namespace;
  124889. if (other instanceof A.UniversalSelector0)
  124890. return t1 == other.namespace;
  124891. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  124892. },
  124893. $eq(_, other) {
  124894. if (other == null)
  124895. return false;
  124896. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  124897. },
  124898. get$hashCode(_) {
  124899. return J.get$hashCode$(this.namespace);
  124900. }
  124901. };
  124902. A.UnprefixedMapView0.prototype = {
  124903. get$keys(_) {
  124904. return new A._UnprefixedKeys0(this);
  124905. },
  124906. $index(_, key) {
  124907. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  124908. },
  124909. containsKey$1(key) {
  124910. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  124911. },
  124912. remove$1(_, key) {
  124913. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  124914. return t1;
  124915. }
  124916. };
  124917. A._UnprefixedKeys0.prototype = {
  124918. get$iterator(_) {
  124919. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  124920. t1 = t1.get$keys(t1);
  124921. t1 = t1.where$1(t1, new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
  124922. return t1.get$iterator(t1);
  124923. },
  124924. contains$1(_, key) {
  124925. return this._unprefixed_map_view0$_view.containsKey$1(key);
  124926. }
  124927. };
  124928. A._UnprefixedKeys_iterator_closure1.prototype = {
  124929. call$1(key) {
  124930. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  124931. },
  124932. $signature: 5
  124933. };
  124934. A._UnprefixedKeys_iterator_closure2.prototype = {
  124935. call$1(key) {
  124936. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  124937. },
  124938. $signature: 6
  124939. };
  124940. A.JSUrl0.prototype = {};
  124941. A.UseRule0.prototype = {
  124942. UseRule$4$configuration0(url, namespace, span, configuration) {
  124943. var t1, t2, _i, variable;
  124944. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  124945. variable = t1[_i];
  124946. if (variable.isGuarded)
  124947. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  124948. }
  124949. },
  124950. accept$1$1(visitor) {
  124951. return visitor.visitUseRule$1(0, this);
  124952. },
  124953. accept$1(visitor) {
  124954. return this.accept$1$1(visitor, type$.dynamic);
  124955. },
  124956. toString$0(_) {
  124957. var t1 = this.url,
  124958. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  124959. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  124960. dot = B.JSString_methods.indexOf$1(basename, ".");
  124961. t1 = this.namespace;
  124962. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  124963. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  124964. else
  124965. t1 = t2;
  124966. t2 = this.configuration;
  124967. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  124968. return t1.charCodeAt(0) == 0 ? t1 : t1;
  124969. },
  124970. get$span(receiver) {
  124971. return this.span;
  124972. }
  124973. };
  124974. A.UserDefinedCallable0.prototype = {
  124975. get$name(_) {
  124976. return this.declaration.name;
  124977. },
  124978. $isAsyncCallable0: 1,
  124979. $isCallable: 1
  124980. };
  124981. A.resolveImportPath_closure1.prototype = {
  124982. call$0() {
  124983. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  124984. },
  124985. $signature: 45
  124986. };
  124987. A.resolveImportPath_closure2.prototype = {
  124988. call$0() {
  124989. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  124990. },
  124991. $signature: 45
  124992. };
  124993. A._tryPathAsDirectory_closure0.prototype = {
  124994. call$0() {
  124995. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  124996. },
  124997. $signature: 45
  124998. };
  124999. A._exactlyOne_closure0.prototype = {
  125000. call$1(path) {
  125001. var t1 = $.$get$context();
  125002. return " " + t1.prettyUri$1(t1.toUri$1(path));
  125003. },
  125004. $signature: 6
  125005. };
  125006. A._PropertyDescriptor0.prototype = {};
  125007. A.futureToPromise_closure0.prototype = {
  125008. call$2(resolve, reject) {
  125009. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  125010. },
  125011. $signature: 622
  125012. };
  125013. A.futureToPromise__closure0.prototype = {
  125014. call$1(result) {
  125015. return this.resolve.call$1(result);
  125016. },
  125017. $signature: 33
  125018. };
  125019. A.futureToPromise__closure1.prototype = {
  125020. call$2(error, stackTrace) {
  125021. A.attachTrace0(error, stackTrace);
  125022. this.reject.call$1(error);
  125023. },
  125024. $signature: 56
  125025. };
  125026. A.objectToMap_closure.prototype = {
  125027. call$2(key, value) {
  125028. this.map.$indexSet(0, key, value);
  125029. return value;
  125030. },
  125031. $signature: 126
  125032. };
  125033. A._RequireMain0.prototype = {};
  125034. A.indent_closure0.prototype = {
  125035. call$1(line) {
  125036. return B.JSString_methods.$mul(" ", this.indentation) + line;
  125037. },
  125038. $signature: 6
  125039. };
  125040. A.flattenVertically_closure1.prototype = {
  125041. call$1(inner) {
  125042. return A.QueueList_QueueList$from(inner, this.T);
  125043. },
  125044. $signature() {
  125045. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  125046. }
  125047. };
  125048. A.flattenVertically_closure2.prototype = {
  125049. call$1(queue) {
  125050. this.result.push(queue.removeFirst$0());
  125051. return queue.get$length(0) === 0;
  125052. },
  125053. $signature() {
  125054. return this.T._eval$1("bool(QueueList<0>)");
  125055. }
  125056. };
  125057. A.longestCommonSubsequence_backtrack0.prototype = {
  125058. call$2(i, j) {
  125059. var selection, t1, _this = this;
  125060. if (i === -1 || j === -1)
  125061. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  125062. selection = _this.selections[i][j];
  125063. if (selection != null) {
  125064. t1 = _this.call$2(i - 1, j - 1);
  125065. J.add$1$ax(t1, selection);
  125066. return t1;
  125067. }
  125068. t1 = _this.lengths;
  125069. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  125070. },
  125071. $signature() {
  125072. return this.T._eval$1("List<0>(int,int)");
  125073. }
  125074. };
  125075. A.mapAddAll2_closure0.prototype = {
  125076. call$2(key, inner) {
  125077. var t1 = this.destination,
  125078. _0_0 = t1.$index(0, key);
  125079. if (_0_0 != null)
  125080. _0_0.addAll$1(0, inner);
  125081. else
  125082. t1.$indexSet(0, key, inner);
  125083. },
  125084. $signature() {
  125085. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  125086. }
  125087. };
  125088. A.CssValue0.prototype = {
  125089. $eq(_, other) {
  125090. if (other == null)
  125091. return false;
  125092. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  125093. },
  125094. get$hashCode(_) {
  125095. return J.get$hashCode$(this.value);
  125096. },
  125097. toString$0(_) {
  125098. return J.toString$0$(this.value);
  125099. },
  125100. $isAstNode0: 1,
  125101. get$span(receiver) {
  125102. return this.span;
  125103. }
  125104. };
  125105. A.ValueExpression0.prototype = {
  125106. accept$1$1(visitor) {
  125107. return visitor.visitValueExpression$1(0, this);
  125108. },
  125109. accept$1(visitor) {
  125110. return this.accept$1$1(visitor, type$.dynamic);
  125111. },
  125112. toString$0(_) {
  125113. return this.value.toString$0(0);
  125114. },
  125115. get$span(receiver) {
  125116. return this.span;
  125117. }
  125118. };
  125119. A.valueClass_closure.prototype = {
  125120. call$0() {
  125121. var t2,
  125122. t1 = type$.JSClass,
  125123. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  125124. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  125125. t1 = type$.String;
  125126. t2 = type$.Function;
  125127. A.LinkedHashMap_LinkedHashMap$_literal(["asList", new A.valueClass__closure0(), "hasBrackets", new A.valueClass__closure1(), "isTruthy", new A.valueClass__closure2(), "realNull", new A.valueClass__closure3(), "separator", new A.valueClass__closure4()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  125128. A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertCalculation", new A.valueClass__closure8(), "assertColor", new A.valueClass__closure9(), "assertFunction", new A.valueClass__closure10(), "assertMap", new A.valueClass__closure11(), "assertMixin", new A.valueClass__closure12(), "assertNumber", new A.valueClass__closure13(), "assertString", new A.valueClass__closure14(), "tryMap", new A.valueClass__closure15(), "equals", new A.valueClass__closure16(), "hashCode", new A.valueClass__closure17(), "toString", new A.valueClass__closure18()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  125129. return jsClass;
  125130. },
  125131. $signature: 15
  125132. };
  125133. A.valueClass__closure.prototype = {
  125134. call$1($self) {
  125135. return J.toString$0$($self);
  125136. },
  125137. $signature: 132
  125138. };
  125139. A.valueClass__closure0.prototype = {
  125140. call$1($self) {
  125141. return new self.immutable.List($self.get$asList());
  125142. },
  125143. $signature: 623
  125144. };
  125145. A.valueClass__closure1.prototype = {
  125146. call$1($self) {
  125147. return $self.get$hasBrackets();
  125148. },
  125149. $signature: 52
  125150. };
  125151. A.valueClass__closure2.prototype = {
  125152. call$1($self) {
  125153. return $self.get$isTruthy();
  125154. },
  125155. $signature: 52
  125156. };
  125157. A.valueClass__closure3.prototype = {
  125158. call$1($self) {
  125159. return $self.get$realNull();
  125160. },
  125161. $signature: 196
  125162. };
  125163. A.valueClass__closure4.prototype = {
  125164. call$1($self) {
  125165. return $self.get$separator($self).separator;
  125166. },
  125167. $signature: 624
  125168. };
  125169. A.valueClass__closure5.prototype = {
  125170. call$3($self, sassIndex, $name) {
  125171. return $self.sassIndexToListIndex$2(sassIndex, $name);
  125172. },
  125173. call$2($self, sassIndex) {
  125174. return this.call$3($self, sassIndex, null);
  125175. },
  125176. "call*": "call$3",
  125177. $requiredArgCount: 2,
  125178. $defaultValues() {
  125179. return [null];
  125180. },
  125181. $signature: 625
  125182. };
  125183. A.valueClass__closure6.prototype = {
  125184. call$2($self, index) {
  125185. return index < 1 && index >= -1 ? $self : self.undefined;
  125186. },
  125187. $signature: 255
  125188. };
  125189. A.valueClass__closure7.prototype = {
  125190. call$2($self, $name) {
  125191. return $self.assertBoolean$1($name);
  125192. },
  125193. call$1($self) {
  125194. return this.call$2($self, null);
  125195. },
  125196. "call*": "call$2",
  125197. $requiredArgCount: 1,
  125198. $defaultValues() {
  125199. return [null];
  125200. },
  125201. $signature: 626
  125202. };
  125203. A.valueClass__closure8.prototype = {
  125204. call$2($self, $name) {
  125205. return $self.assertCalculation$1($name);
  125206. },
  125207. call$1($self) {
  125208. return this.call$2($self, null);
  125209. },
  125210. "call*": "call$2",
  125211. $requiredArgCount: 1,
  125212. $defaultValues() {
  125213. return [null];
  125214. },
  125215. $signature: 627
  125216. };
  125217. A.valueClass__closure9.prototype = {
  125218. call$2($self, $name) {
  125219. return $self.assertColor$1($name);
  125220. },
  125221. call$1($self) {
  125222. return this.call$2($self, null);
  125223. },
  125224. "call*": "call$2",
  125225. $requiredArgCount: 1,
  125226. $defaultValues() {
  125227. return [null];
  125228. },
  125229. $signature: 628
  125230. };
  125231. A.valueClass__closure10.prototype = {
  125232. call$2($self, $name) {
  125233. return $self.assertFunction$1($name);
  125234. },
  125235. call$1($self) {
  125236. return this.call$2($self, null);
  125237. },
  125238. "call*": "call$2",
  125239. $requiredArgCount: 1,
  125240. $defaultValues() {
  125241. return [null];
  125242. },
  125243. $signature: 629
  125244. };
  125245. A.valueClass__closure11.prototype = {
  125246. call$2($self, $name) {
  125247. return $self.assertMap$1($name);
  125248. },
  125249. call$1($self) {
  125250. return this.call$2($self, null);
  125251. },
  125252. "call*": "call$2",
  125253. $requiredArgCount: 1,
  125254. $defaultValues() {
  125255. return [null];
  125256. },
  125257. $signature: 630
  125258. };
  125259. A.valueClass__closure12.prototype = {
  125260. call$2($self, $name) {
  125261. return $self.assertMixin$1($name);
  125262. },
  125263. call$1($self) {
  125264. return this.call$2($self, null);
  125265. },
  125266. "call*": "call$2",
  125267. $requiredArgCount: 1,
  125268. $defaultValues() {
  125269. return [null];
  125270. },
  125271. $signature: 631
  125272. };
  125273. A.valueClass__closure13.prototype = {
  125274. call$2($self, $name) {
  125275. return $self.assertNumber$1($name);
  125276. },
  125277. call$1($self) {
  125278. return this.call$2($self, null);
  125279. },
  125280. "call*": "call$2",
  125281. $requiredArgCount: 1,
  125282. $defaultValues() {
  125283. return [null];
  125284. },
  125285. $signature: 632
  125286. };
  125287. A.valueClass__closure14.prototype = {
  125288. call$2($self, $name) {
  125289. return $self.assertString$1($name);
  125290. },
  125291. call$1($self) {
  125292. return this.call$2($self, null);
  125293. },
  125294. "call*": "call$2",
  125295. $requiredArgCount: 1,
  125296. $defaultValues() {
  125297. return [null];
  125298. },
  125299. $signature: 633
  125300. };
  125301. A.valueClass__closure15.prototype = {
  125302. call$1($self) {
  125303. return $self.tryMap$0();
  125304. },
  125305. $signature: 634
  125306. };
  125307. A.valueClass__closure16.prototype = {
  125308. call$2($self, other) {
  125309. return $self.$eq(0, other);
  125310. },
  125311. $signature: 635
  125312. };
  125313. A.valueClass__closure17.prototype = {
  125314. call$2($self, _) {
  125315. return $self.get$hashCode($self);
  125316. },
  125317. call$1($self) {
  125318. return this.call$2($self, null);
  125319. },
  125320. "call*": "call$2",
  125321. $requiredArgCount: 1,
  125322. $defaultValues() {
  125323. return [null];
  125324. },
  125325. $signature: 636
  125326. };
  125327. A.valueClass__closure18.prototype = {
  125328. call$1($self) {
  125329. return $self.toString$0(0);
  125330. },
  125331. $signature: 190
  125332. };
  125333. A.Value0.prototype = {
  125334. get$isTruthy() {
  125335. return true;
  125336. },
  125337. get$separator(_) {
  125338. return B.ListSeparator_undecided_null_3_undecided0;
  125339. },
  125340. get$hasBrackets() {
  125341. return false;
  125342. },
  125343. get$asList() {
  125344. return A._setArrayType([this], type$.JSArray_Value_2);
  125345. },
  125346. get$lengthAsList() {
  125347. return 1;
  125348. },
  125349. get$isBlank() {
  125350. return false;
  125351. },
  125352. get$isSpecialNumber() {
  125353. return false;
  125354. },
  125355. get$isVar() {
  125356. return false;
  125357. },
  125358. get$realNull() {
  125359. return this;
  125360. },
  125361. sassIndexToListIndex$2(sassIndex, $name) {
  125362. var t1, index,
  125363. indexValue = sassIndex.assertNumber$1($name);
  125364. if (indexValue.get$hasUnits()) {
  125365. t1 = indexValue.get$unitString();
  125366. A.warnForDeprecation0("$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name == null ? "index" : $name) + string$.x0a_Morex3af, B.Deprecation_PHd);
  125367. }
  125368. index = indexValue.assertInt$1($name);
  125369. if (index === 0)
  125370. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  125371. if (Math.abs(index) > this.get$lengthAsList())
  125372. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  125373. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  125374. },
  125375. assertBoolean$1($name) {
  125376. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  125377. },
  125378. assertCalculation$1($name) {
  125379. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  125380. },
  125381. assertColor$1($name) {
  125382. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  125383. },
  125384. assertFunction$1($name) {
  125385. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  125386. },
  125387. assertMixin$1($name) {
  125388. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  125389. },
  125390. assertMap$1($name) {
  125391. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  125392. },
  125393. tryMap$0() {
  125394. return null;
  125395. },
  125396. assertNumber$1($name) {
  125397. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  125398. },
  125399. assertNumber$0() {
  125400. return this.assertNumber$1(null);
  125401. },
  125402. assertString$1($name) {
  125403. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  125404. },
  125405. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  125406. var invalidSeparator, buffer, t1, _this = this,
  125407. _s8_ = "Expected",
  125408. _s23_ = "Expected an unbracketed";
  125409. if (_this.get$separator(_this) !== B.ListSeparator_z0K0)
  125410. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_Lul0;
  125411. else
  125412. invalidSeparator = true;
  125413. if (!invalidSeparator && !_this.get$hasBrackets())
  125414. return _this.get$asList();
  125415. buffer = new A.StringBuffer(_s8_);
  125416. if (_this.get$hasBrackets()) {
  125417. buffer._contents = _s23_;
  125418. t1 = _s23_;
  125419. } else
  125420. t1 = _s8_;
  125421. if (invalidSeparator) {
  125422. t1 += _this.get$hasBrackets() ? "," : " a";
  125423. buffer._contents = t1;
  125424. t1 = buffer._contents = t1 + " space-";
  125425. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  125426. }
  125427. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  125428. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  125429. },
  125430. _value$_selectorString$1($name) {
  125431. var _0_0 = this._value$_selectorStringOrNull$0();
  125432. if (_0_0 != null)
  125433. return _0_0;
  125434. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  125435. },
  125436. _value$_selectorStringOrNull$0() {
  125437. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  125438. if (_this instanceof A.SassString0)
  125439. return _this._string0$_text;
  125440. if (!(_this instanceof A.SassList0))
  125441. return _null;
  125442. t1 = _this._list1$_contents;
  125443. t2 = t1.length;
  125444. if (t2 === 0)
  125445. return _null;
  125446. result = A._setArrayType([], type$.JSArray_String);
  125447. $label0$1: {
  125448. _1_0 = _this._list1$_separator;
  125449. if (B.ListSeparator_z0K0 === _1_0) {
  125450. for (_i = 0; _i < t2; ++_i) {
  125451. complex = t1[_i];
  125452. if (complex instanceof A.SassString0) {
  125453. result.push(complex._string0$_text);
  125454. continue;
  125455. }
  125456. if (complex instanceof A.SassList0 && B.ListSeparator_SrV0 === complex._list1$_separator) {
  125457. string = complex._value$_selectorStringOrNull$0();
  125458. if (string == null)
  125459. return _null;
  125460. result.push(string);
  125461. continue;
  125462. }
  125463. return _null;
  125464. }
  125465. break $label0$1;
  125466. }
  125467. if (B.ListSeparator_Lul0 === _1_0)
  125468. return _null;
  125469. for (_i = 0; _i < t2; ++_i) {
  125470. compound = t1[_i];
  125471. if (!(compound instanceof A.SassString0))
  125472. return _null;
  125473. result.push(compound._string0$_text);
  125474. }
  125475. }
  125476. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_z0K0 ? ", " : " ");
  125477. },
  125478. withListContents$2$separator(contents, separator) {
  125479. var t1 = separator == null ? this.get$separator(this) : separator,
  125480. t2 = this.get$hasBrackets();
  125481. return A.SassList$0(contents, t1, t2);
  125482. },
  125483. withListContents$1(contents) {
  125484. return this.withListContents$2$separator(contents, null);
  125485. },
  125486. greaterThan$1(other) {
  125487. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  125488. },
  125489. greaterThanOrEquals$1(other) {
  125490. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  125491. },
  125492. lessThan$1(other) {
  125493. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  125494. },
  125495. lessThanOrEquals$1(other) {
  125496. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  125497. },
  125498. times$1(other) {
  125499. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  125500. },
  125501. modulo$1(other) {
  125502. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  125503. },
  125504. plus$1(other) {
  125505. var t1;
  125506. $label0$0: {
  125507. if (other instanceof A.SassString0) {
  125508. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  125509. break $label0$0;
  125510. }
  125511. if (other instanceof A.SassCalculation0)
  125512. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  125513. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  125514. break $label0$0;
  125515. }
  125516. return t1;
  125517. },
  125518. minus$1(other) {
  125519. return other instanceof A.SassCalculation0 ? A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  125520. },
  125521. dividedBy$1(other) {
  125522. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  125523. },
  125524. unaryPlus$0() {
  125525. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  125526. },
  125527. unaryMinus$0() {
  125528. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  125529. },
  125530. unaryNot$0() {
  125531. return B.SassBoolean_false0;
  125532. },
  125533. withoutSlash$0() {
  125534. return this;
  125535. },
  125536. toCssString$1$quote(quote) {
  125537. return A.serializeValue0(this, false, quote);
  125538. },
  125539. toCssString$0() {
  125540. return this.toCssString$1$quote(true);
  125541. },
  125542. toString$0(_) {
  125543. return A.serializeValue0(this, true, true);
  125544. }
  125545. };
  125546. A.VariableExpression0.prototype = {
  125547. accept$1$1(visitor) {
  125548. return visitor.visitVariableExpression$1(0, this);
  125549. },
  125550. accept$1(visitor) {
  125551. return this.accept$1$1(visitor, type$.dynamic);
  125552. },
  125553. toString$0(_) {
  125554. return this.span.get$text();
  125555. },
  125556. get$span(receiver) {
  125557. return this.span;
  125558. }
  125559. };
  125560. A.VariableDeclaration0.prototype = {
  125561. accept$1$1(visitor) {
  125562. return visitor.visitVariableDeclaration$1(0, this);
  125563. },
  125564. accept$1(visitor) {
  125565. return this.accept$1$1(visitor, type$.dynamic);
  125566. },
  125567. toString$0(_) {
  125568. var t1 = this.namespace;
  125569. t1 = t1 != null ? t1 + "." : "";
  125570. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  125571. return t1.charCodeAt(0) == 0 ? t1 : t1;
  125572. },
  125573. get$span(receiver) {
  125574. return this.span;
  125575. }
  125576. };
  125577. A.WarnRule0.prototype = {
  125578. accept$1$1(visitor) {
  125579. return visitor.visitWarnRule$1(0, this);
  125580. },
  125581. accept$1(visitor) {
  125582. return this.accept$1$1(visitor, type$.dynamic);
  125583. },
  125584. toString$0(_) {
  125585. return "@warn " + this.expression.toString$0(0) + ";";
  125586. },
  125587. get$span(receiver) {
  125588. return this.span;
  125589. }
  125590. };
  125591. A.WhileRule0.prototype = {
  125592. accept$1$1(visitor) {
  125593. return visitor.visitWhileRule$1(0, this);
  125594. },
  125595. accept$1(visitor) {
  125596. return this.accept$1$1(visitor, type$.dynamic);
  125597. },
  125598. toString$0(_) {
  125599. return "@while " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  125600. },
  125601. get$span(receiver) {
  125602. return this.span;
  125603. }
  125604. };
  125605. A.XyzD50ColorSpace0.prototype = {
  125606. get$isBoundedInternal() {
  125607. return false;
  125608. },
  125609. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  125610. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  125611. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  125612. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  125613. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  125614. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  125615. lightness = missingLightness ? _null : 116 * f1 - 16;
  125616. a = 500 * (f0 - f1);
  125617. b = 200 * (f1 - f2);
  125618. if (dest === B.LabColorSpace_2nT0) {
  125619. t1 = missingA ? _null : a;
  125620. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  125621. } else
  125622. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  125623. return t1;
  125624. }
  125625. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  125626. },
  125627. convert$5(dest, x, y, z, alpha) {
  125628. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  125629. },
  125630. _xyz_d50$_convertComponentToLabF$1(component) {
  125631. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  125632. },
  125633. toLinear$1(channel) {
  125634. return channel;
  125635. },
  125636. fromLinear$1(channel) {
  125637. return channel;
  125638. },
  125639. transformationMatrix$1(dest) {
  125640. var t1;
  125641. $label0$0: {
  125642. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  125643. t1 = $.$get$xyzD50ToLinearSrgb0();
  125644. break $label0$0;
  125645. }
  125646. if (B.A98RgbColorSpace_lf20 === dest) {
  125647. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  125648. break $label0$0;
  125649. }
  125650. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  125651. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  125652. break $label0$0;
  125653. }
  125654. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  125655. t1 = $.$get$xyzD50ToLinearDisplayP30();
  125656. break $label0$0;
  125657. }
  125658. if (B.Rec2020ColorSpace_6oo0 === dest) {
  125659. t1 = $.$get$xyzD50ToLinearRec20200();
  125660. break $label0$0;
  125661. }
  125662. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  125663. t1 = $.$get$xyzD50ToXyzD650();
  125664. break $label0$0;
  125665. }
  125666. if (B.LmsColorSpace_Os30 === dest) {
  125667. t1 = $.$get$xyzD50ToLms0();
  125668. break $label0$0;
  125669. }
  125670. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  125671. break $label0$0;
  125672. }
  125673. return t1;
  125674. }
  125675. };
  125676. A.XyzD65ColorSpace0.prototype = {
  125677. get$isBoundedInternal() {
  125678. return false;
  125679. },
  125680. toLinear$1(channel) {
  125681. return channel;
  125682. },
  125683. fromLinear$1(channel) {
  125684. return channel;
  125685. },
  125686. transformationMatrix$1(dest) {
  125687. var t1;
  125688. $label0$0: {
  125689. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  125690. t1 = $.$get$xyzD65ToLinearSrgb0();
  125691. break $label0$0;
  125692. }
  125693. if (B.A98RgbColorSpace_lf20 === dest) {
  125694. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  125695. break $label0$0;
  125696. }
  125697. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  125698. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  125699. break $label0$0;
  125700. }
  125701. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  125702. t1 = $.$get$xyzD65ToLinearDisplayP30();
  125703. break $label0$0;
  125704. }
  125705. if (B.Rec2020ColorSpace_6oo0 === dest) {
  125706. t1 = $.$get$xyzD65ToLinearRec20200();
  125707. break $label0$0;
  125708. }
  125709. if (B.XyzD50ColorSpace_2OB0 === dest) {
  125710. t1 = $.$get$xyzD65ToXyzD500();
  125711. break $label0$0;
  125712. }
  125713. if (B.LmsColorSpace_Os30 === dest) {
  125714. t1 = $.$get$xyzD65ToLms0();
  125715. break $label0$0;
  125716. }
  125717. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  125718. break $label0$0;
  125719. }
  125720. return t1;
  125721. }
  125722. };
  125723. (function aliases() {
  125724. var _ = J.LegacyJavaScriptObject.prototype;
  125725. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  125726. _ = A.JsLinkedHashMap.prototype;
  125727. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  125728. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  125729. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  125730. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  125731. _ = A._BufferingStreamSubscription.prototype;
  125732. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  125733. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  125734. _ = A.ListBase.prototype;
  125735. _.super$ListBase$setRange = _.setRange$4;
  125736. _ = A.Iterable.prototype;
  125737. _.super$Iterable$where = _.where$1;
  125738. _.super$Iterable$skipWhile = _.skipWhile$1;
  125739. _ = A.ModifiableCssParentNode.prototype;
  125740. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  125741. _ = A.SimpleSelector.prototype;
  125742. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  125743. _.super$SimpleSelector$unify = _.unify$1;
  125744. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  125745. _ = A.Parser.prototype;
  125746. _.super$Parser$silentComment = _.silentComment$0;
  125747. _ = A.StylesheetParser.prototype;
  125748. _.super$StylesheetParser$importArgument = _.importArgument$0;
  125749. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  125750. _ = A.Value.prototype;
  125751. _.super$Value$assertMap = _.assertMap$1;
  125752. _.super$Value$plus = _.plus$1;
  125753. _.super$Value$minus = _.minus$1;
  125754. _.super$Value$dividedBy = _.dividedBy$1;
  125755. _.super$Value$toString = _.toString$0;
  125756. _ = A.ColorSpace.prototype;
  125757. _.super$ColorSpace$convert = _.convert$5;
  125758. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  125759. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  125760. _ = A.SassNumber.prototype;
  125761. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  125762. _.super$SassNumber$coerce = _.coerce$3;
  125763. _.super$SassNumber$coerceValue = _.coerceValue$3;
  125764. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  125765. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  125766. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  125767. _.super$SassNumber$greaterThan = _.greaterThan$1;
  125768. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  125769. _.super$SassNumber$lessThan = _.lessThan$1;
  125770. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  125771. _.super$SassNumber$modulo = _.modulo$1;
  125772. _.super$SassNumber$plus = _.plus$1;
  125773. _.super$SassNumber$minus = _.minus$1;
  125774. _.super$SassNumber$times = _.times$1;
  125775. _.super$SassNumber$dividedBy = _.dividedBy$1;
  125776. _ = A.AnySelectorVisitor.prototype;
  125777. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  125778. _ = A.EveryCssVisitor.prototype;
  125779. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  125780. _ = A.ReplaceExpressionVisitor.prototype;
  125781. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  125782. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  125783. _ = A.SourceSpanMixin.prototype;
  125784. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  125785. _.super$SourceSpanMixin$$eq = _.$eq;
  125786. _ = A.StringScanner.prototype;
  125787. _.super$StringScanner$readChar = _.readChar$0;
  125788. _.super$StringScanner$scanChar = _.scanChar$1;
  125789. _.super$StringScanner$scan = _.scan$1;
  125790. _.super$StringScanner$matches = _.matches$1;
  125791. _ = A.AnySelectorVisitor0.prototype;
  125792. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  125793. _ = A.EveryCssVisitor0.prototype;
  125794. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  125795. _ = A.ModifiableCssParentNode0.prototype;
  125796. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  125797. _ = A.SassNumber0.prototype;
  125798. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  125799. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  125800. _.super$SassNumber$coerce0 = _.coerce$3;
  125801. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  125802. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  125803. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  125804. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  125805. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  125806. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  125807. _.super$SassNumber$lessThan0 = _.lessThan$1;
  125808. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  125809. _.super$SassNumber$modulo0 = _.modulo$1;
  125810. _.super$SassNumber$plus0 = _.plus$1;
  125811. _.super$SassNumber$minus0 = _.minus$1;
  125812. _.super$SassNumber$times0 = _.times$1;
  125813. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  125814. _ = A.Parser1.prototype;
  125815. _.super$Parser$silentComment0 = _.silentComment$0;
  125816. _ = A.ReplaceExpressionVisitor0.prototype;
  125817. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  125818. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  125819. _ = A.SimpleSelector0.prototype;
  125820. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  125821. _.super$SimpleSelector$unify0 = _.unify$1;
  125822. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  125823. _ = A.ColorSpace0.prototype;
  125824. _.super$ColorSpace$convert0 = _.convert$5;
  125825. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  125826. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  125827. _ = A.StylesheetParser0.prototype;
  125828. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  125829. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  125830. _ = A.Value0.prototype;
  125831. _.super$Value$assertMap0 = _.assertMap$1;
  125832. _.super$Value$plus0 = _.plus$1;
  125833. _.super$Value$minus0 = _.minus$1;
  125834. _.super$Value$dividedBy0 = _.dividedBy$1;
  125835. _.super$Value$toString0 = _.toString$0;
  125836. })();
  125837. (function installTearOffs() {
  125838. var _static_2 = hunkHelpers._static_2,
  125839. _instance_1_i = hunkHelpers._instance_1i,
  125840. _instance_1_u = hunkHelpers._instance_1u,
  125841. _static_1 = hunkHelpers._static_1,
  125842. _static_0 = hunkHelpers._static_0,
  125843. _static = hunkHelpers.installStaticTearOff,
  125844. _instance = hunkHelpers.installInstanceTearOff,
  125845. _instance_2_u = hunkHelpers._instance_2u,
  125846. _instance_0_i = hunkHelpers._instance_0i,
  125847. _instance_0_u = hunkHelpers._instance_0u;
  125848. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 231);
  125849. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  125850. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  125851. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  125852. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  125853. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  125854. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  125855. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  125856. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 137);
  125857. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 137);
  125858. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 137);
  125859. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  125860. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 70);
  125861. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 76);
  125862. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  125863. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 639, 0);
  125864. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  125865. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  125866. }], 640, 1);
  125867. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  125868. var t1 = type$.dynamic;
  125869. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  125870. }], 641, 1);
  125871. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  125872. var t1 = type$.dynamic;
  125873. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  125874. }], 642, 1);
  125875. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  125876. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  125877. }], 643, 0);
  125878. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  125879. var t1 = type$.dynamic;
  125880. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  125881. }], 644, 0);
  125882. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  125883. var t1 = type$.dynamic;
  125884. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  125885. }], 645, 0);
  125886. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 646, 0);
  125887. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 647, 0);
  125888. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 648, 0);
  125889. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 649, 0);
  125890. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 650, 0);
  125891. _static_1(A, "async___printToZone$closure", "_printToZone", 89);
  125892. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 651, 0);
  125893. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  125894. return [null];
  125895. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 262, 0, 0);
  125896. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 76);
  125897. var _;
  125898. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 33);
  125899. _instance(_, "get$addError", 0, 1, function() {
  125900. return [null];
  125901. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 234, 0, 0);
  125902. _instance_0_i(_, "get$close", "close$0", 652);
  125903. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 33);
  125904. _instance_2_u(_, "get$_addError", "_addError$2", 76);
  125905. _instance_0_u(_, "get$_close", "_close$0", 0);
  125906. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  125907. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  125908. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 601, 0, 0);
  125909. _instance_0_i(_, "get$resume", "resume$0", 0);
  125910. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  125911. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  125912. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 33);
  125913. _instance_2_u(_, "get$_onError", "_onError$2", 76);
  125914. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  125915. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  125916. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  125917. _instance_1_u(_, "get$_handleData", "_handleData$1", 33);
  125918. _instance_2_u(_, "get$_handleError", "_handleError$2", 591);
  125919. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  125920. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 213);
  125921. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 209);
  125922. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 231);
  125923. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  125924. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  125925. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  125926. _instance_1_i(_, "get$contains", "contains$1", 9);
  125927. _instance_1_i(_, "get$add", "add$1", 9);
  125928. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  125929. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  125930. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  125931. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  125932. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 95);
  125933. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  125934. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 209);
  125935. _static_2(A, "core__identical$closure", "identical", 213);
  125936. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  125937. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  125938. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 33);
  125939. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  125940. return A.max(a, b, type$.num);
  125941. }], 654, 1);
  125942. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  125943. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 33);
  125944. _instance(_, "get$setError", 0, 1, function() {
  125945. return [null];
  125946. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 234, 0, 0);
  125947. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  125948. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  125949. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  125950. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 220);
  125951. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  125952. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  125953. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  125954. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  125955. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  125956. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 203);
  125957. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 468);
  125958. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  125959. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  125960. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  125961. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 67);
  125962. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  125963. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  125964. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  125965. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  125966. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 174);
  125967. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 174);
  125968. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  125969. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 144);
  125970. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 19);
  125971. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 19);
  125972. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  125973. _instance_0_u(_, "get$string", "string$0", 29);
  125974. _instance(_, "get$error", 1, 2, function() {
  125975. return [null];
  125976. }, ["call$3", "call$2"], ["error$3", "error$2"], 156, 0, 0);
  125977. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 539, 0, 0);
  125978. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 125);
  125979. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 125);
  125980. _instance(_, "get$_expression", 0, 0, null, ["call$4$bracketList$consumeNewlines$singleEquals$until", "call$0", "call$1$consumeNewlines", "call$3$consumeNewlines$singleEquals$until", "call$1$bracketList", "call$2$consumeNewlines$until"], ["_expression$4$bracketList$consumeNewlines$singleEquals$until", "_expression$0", "_expression$1$consumeNewlines", "_expression$3$consumeNewlines$singleEquals$until", "_expression$1$bracketList", "_expression$2$consumeNewlines$until"], 537, 0, 0);
  125981. _instance_0_u(_, "get$_number", "_number$0", 532);
  125982. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  125983. return {color: null};
  125984. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  125985. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  125986. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  125987. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  125988. return {color: null};
  125989. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 161, 0, 0);
  125990. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 33);
  125991. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  125992. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  125993. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 33);
  125994. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  125995. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  125996. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 72);
  125997. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 103);
  125998. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  125999. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  126000. _instance(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate$_interpolationToValue$3$trim$warnForColor", "_async_evaluate$_interpolationToValue$1", "_async_evaluate$_interpolationToValue$2$warnForColor"], 416, 0, 0);
  126001. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 165);
  126002. _instance(_ = A._EvaluateVisitor.prototype, "get$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_interpolationToValue$3$trim$warnForColor", "_interpolationToValue$1", "_interpolationToValue$2$warnForColor"], 320, 0, 0);
  126003. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 165);
  126004. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 276);
  126005. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 273);
  126006. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  126007. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  126008. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 275);
  126009. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 91);
  126010. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 271, 0, 0);
  126011. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 277);
  126012. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 8);
  126013. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  126014. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  126015. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  126016. return {color: null};
  126017. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  126018. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 93);
  126019. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 93);
  126020. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 93);
  126021. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 93);
  126022. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 208);
  126023. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 208);
  126024. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  126025. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  126026. }], 657, 0);
  126027. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  126028. return A._collect($event, soFar, type$.dynamic);
  126029. }], 658, 0);
  126030. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  126031. _instance(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate0$_interpolationToValue$3$trim$warnForColor", "_async_evaluate0$_interpolationToValue$1", "_async_evaluate0$_interpolationToValue$2$warnForColor"], 316, 0, 0);
  126032. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 257);
  126033. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 91);
  126034. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  126035. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 72);
  126036. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 77);
  126037. _static(A, "compile__compile$closure", 1, function() {
  126038. return [null];
  126039. }, ["call$2", "call$1"], ["compile0", function(path) {
  126040. return A.compile0(path, null);
  126041. }], 659, 0);
  126042. _static(A, "compile__compileString$closure", 1, function() {
  126043. return [null];
  126044. }, ["call$2", "call$1"], ["compileString0", function(text) {
  126045. return A.compileString0(text, null);
  126046. }], 660, 0);
  126047. _static(A, "compile__compileAsync$closure", 1, function() {
  126048. return [null];
  126049. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  126050. return A.compileAsync1(path, null);
  126051. }], 661, 0);
  126052. _static(A, "compile__compileStringAsync$closure", 1, function() {
  126053. return [null];
  126054. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  126055. return A.compileStringAsync1(text, null);
  126056. }], 662, 0);
  126057. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 663);
  126058. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 72);
  126059. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 664);
  126060. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 665);
  126061. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 19);
  126062. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 202);
  126063. _instance(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_evaluate0$_interpolationToValue$3$trim$warnForColor", "_evaluate0$_interpolationToValue$1", "_evaluate0$_interpolationToValue$2$warnForColor"], 447, 0, 0);
  126064. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 257);
  126065. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 202);
  126066. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  126067. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 666);
  126068. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  126069. return {color: null};
  126070. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  126071. _static_2(A, "legacy__render$closure", "render", 667);
  126072. _static_1(A, "legacy__renderSync$closure", "renderSync", 668);
  126073. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  126074. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 69);
  126075. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  126076. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  126077. return {color: null};
  126078. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 161, 0, 0);
  126079. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 33);
  126080. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 144);
  126081. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 669);
  126082. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 670, 0);
  126083. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 671);
  126084. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  126085. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 19);
  126086. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  126087. _instance_0_u(_, "get$string", "string$0", 29);
  126088. _instance(_, "get$error", 1, 2, function() {
  126089. return [null];
  126090. }, ["call$3", "call$2"], ["error$3", "error$2"], 156, 0, 0);
  126091. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  126092. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  126093. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  126094. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  126095. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  126096. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  126097. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  126098. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  126099. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 580);
  126100. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 91);
  126101. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 271, 0, 0);
  126102. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 581);
  126103. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 7);
  126104. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  126105. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 33);
  126106. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  126107. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  126108. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  126109. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 600, 0, 0);
  126110. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  126111. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  126112. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 602);
  126113. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  126114. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  126115. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  126116. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 672);
  126117. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 215);
  126118. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 673);
  126119. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  126120. _static_1(A, "utils1__unvendor$closure", "unvendor0", 6);
  126121. _static(A, "path__absolute$closure", 1, function() {
  126122. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  126123. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  126124. var _null = null;
  126125. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126126. }, function(part1, part2) {
  126127. var _null = null;
  126128. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126129. }, function(part1, part2, part3) {
  126130. var _null = null;
  126131. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126132. }, function(part1, part2, part3, part4) {
  126133. var _null = null;
  126134. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126135. }, function(part1, part2, part3, part4, part5) {
  126136. var _null = null;
  126137. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126138. }, function(part1, part2, part3, part4, part5, part6) {
  126139. var _null = null;
  126140. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  126141. }], 674, 0);
  126142. _static_1(A, "path__toUri$closure", "toUri", 127);
  126143. _static_1(A, "path__prettyUri$closure", "prettyUri", 675);
  126144. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 49);
  126145. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 49);
  126146. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 49);
  126147. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 49);
  126148. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 57);
  126149. _static_1(A, "number0__sqrt$closure", "sqrt", 54);
  126150. _static_1(A, "number0__sin$closure", "sin", 54);
  126151. _static_1(A, "number0__cos$closure", "cos", 54);
  126152. _static_1(A, "number0__tan$closure", "tan", 54);
  126153. _static_1(A, "number0__atan$closure", "atan", 54);
  126154. _static_1(A, "number0__asin$closure", "asin", 54);
  126155. _static_1(A, "number0__acos$closure", "acos", 54);
  126156. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  126157. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 49);
  126158. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 49);
  126159. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 49);
  126160. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 49);
  126161. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 57);
  126162. _static_1(A, "number2__sqrt$closure", "sqrt0", 51);
  126163. _static_1(A, "number2__sin$closure", "sin0", 51);
  126164. _static_1(A, "number2__cos$closure", "cos0", 51);
  126165. _static_1(A, "number2__tan$closure", "tan0", 51);
  126166. _static_1(A, "number2__atan$closure", "atan0", 51);
  126167. _static_1(A, "number2__asin$closure", "asin0", 51);
  126168. _static_1(A, "number2__acos$closure", "acos0", 51);
  126169. _static_1(A, "sass__main$closure", "main1", 499);
  126170. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 89);
  126171. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  126172. _static_1(A, "value0__wrapValue$closure", "wrapValue", 453);
  126173. })();
  126174. (function inheritance() {
  126175. var _mixin = hunkHelpers.mixin,
  126176. _inherit = hunkHelpers.inherit,
  126177. _inheritMany = hunkHelpers.inheritMany;
  126178. _inherit(A.Object, null);
  126179. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, A.SafeToStringHook, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.NonNullsIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A._Record, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.SetBase, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A._UnmodifiableSetMixin, A.Codec, A.Converter, A._Base64Encoder, A.ByteConversionSink, A._JsonStringifier, A.StringConversionSink, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A.NullRejectionException, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.FutureGroup, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.Version, A.VersionRange, A.CssMediaQuery, A.MediaQuerySuccessfulMergeResult, A.CssNode, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.ArgumentList, A.AtRootQuery, A.ConfiguredVariable, A.Expression, A.DynamicImport, A.StaticImport, A.Interpolation, A.Parameter, A.ParameterList, A.Statement, A.IfRuleClause, A.__HasContentVisitor_Object_StatementSearchVisitor, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.ComplexSelectorComponent, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ImportCache, A.AsyncImporter, A.CanonicalizeContext, A.ImporterResult, A.InterpolationBuffer, A.InterpolationMap, A.FileSystemException, A.LoggerWithDeprecationType, A._QuietLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Box, A.ModifiableBox, A.LazyFileSpan, A.MultiDirWatcher, A.MultiSpan, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A._ColorFormatEnum, A.SpanColorFormat, A.ColorChannel, A.GamutMapMethod, A.InterpolationMethod, A.ColorSpace, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A._EvaluationContext0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A.EveryCssVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.IsCalculationSafeVisitor, A.RecursiveStatementVisitor, A.ReplaceExpressionVisitor, A.SelectorSearchVisitor, A._SerializeVisitor, A.StatementSearchVisitor, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.WatchEvent, A.ChangeType, A.ColorSpace0, A.AnySelectorVisitor0, A.SupportsAnything0, A.ArgumentList0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A._EvaluationContext2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.Statement0, A.CssNode0, A.InterpolatedSelector, A.Selector0, A.Expression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, A.CanonicalizeContext0, A.ColorChannel0, A.GamutMapMethod0, A._CloneCssVisitor0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Compiler, A.InterpolatedComplexSelectorComponent, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.SupportsDeclaration0, A.LoggerWithDeprecationType0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A.JSExpressionVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardedModuleView0, A.SupportsFunction0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.InterpolationMap0, A.InterpolationMethod0, A.IsCalculationSafeVisitor0, A.FileSystemException0, A.LazyFileSpan0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.SupportsOperation0, A.Parameter0, A.ParameterList0, A.PlainCssCallable0, A.InterpolatedQualifiedName, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.JSSimpleSelectorVisitor, A.SourceInterpolationVisitor, A.SourceMapBuffer0, A.JSStatementVisitor, A.StatementSearchVisitor0, A.StaticImport0, A.UserDefinedCallable0, A.CssValue0]);
  126180. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  126181. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  126182. _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.Realpath, A.RealpathSync, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.ImmutableList, A.ImmutableMap, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSModule, A.JSModuleRequire, A.JSClass, A.JSUrl, A._PropertyDescriptor, A._RequireMain, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._Channels, A._ChannelOptions, A._ToGamutOptions, A._InterpolationOptions, A._NodeSassColor, A.CompileOptions, A.NodeCompileResult, A.Deprecation1, A.Exports, A.LoggerNamespace, A.JSExpressionVisitorObject, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList0, A.ImmutableMap0, A.JSImporter, A.JSImporterResult, A.NodeImporterResult0, A._ConstructorOptions, A._NodeSassList, A.JSLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A.JSModule0, A.JSModuleRequire0, A._ConstructorOptions0, A._NodeSassNumber, A.ParserExports, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A.JSSet, A.JSSimpleSelectorVisitorObject, A.JSStatementVisitorObject, A._ConstructorOptions1, A._NodeSassString, A.Types, A.JSUrl0, A._PropertyDescriptor0, A._RequireMain0]);
  126183. _inherit(J.JSArraySafeToStringHook, A.SafeToStringHook);
  126184. _inherit(J.JSUnmodifiableArray, J.JSArray);
  126185. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  126186. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A.NonNullsIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  126187. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  126188. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  126189. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  126190. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapBase_entries_closure, A._JsonMap_values_closure, A._Uri__makePath_closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.FutureGroup_add_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.UnionSet__iterable_closure, A.UnionSet_contains_closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure1, A.promiseToFuture_closure2, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.Version__splitParts_closure, A.ModifiableCssNode_hasFollowingSibling_closure, A.ListExpression_toString_closure, A.Interpolation_toString_closure, A.ParameterList_verify_closure, A.ParameterList_verify_closure0, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A._IsBogusVisitor_visitComplexSelector_closure, A._IsUselessVisitor_visitComplexSelector_closure, A.ComplexSelectorComponent_toString_closure, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure, A.IDSelector_unify_closure, A.SelectorList_asSassList_closure, A.SelectorList_nestWithin_closure, A.SelectorList_nestWithin__closure, A.SelectorList_nestWithin__closure0, A.SelectorList__nestWithinCompound_closure, A.SelectorList__nestWithinCompound_closure0, A.SelectorList__nestWithinCompound_closure1, A.SelectorList_withAdditionalCombinators_closure, A.PseudoSelector_specificity__closure, A.PseudoSelector_specificity__closure0, A.PseudoSelector_unify_closure, A.SimpleSelector_isSuperselector_closure, A.SimpleSelector_isSuperselector__closure, A._compileStylesheet_closure0, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A._EnvironmentModule_couldHaveBeenConfigured_closure0, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncImportCache_humanize_closure2, A.AsyncBuiltInCallable$mixin_closure, A.AsyncBuiltInCallable_withDeprecationWarning_closure, A.BuiltInCallable$mixin_closure, A.BuiltInCallable_withDeprecationWarning_closure, A._compileStylesheet_closure, A.Deprecation_fromId_closure, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._EnvironmentModule_couldHaveBeenConfigured_closure, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.repl_warn, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents_closure2, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A.complexIsSuperselector_closure, A.complexIsSuperselector_closure0, A._compatibleWithPreviousCombinator_closure, A.compoundIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global_closure25, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global__closure, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module_closure7, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module__closure2, A.module_closure15, A.module_closure16, A.module_closure17, A.module_closure18, A.module_closure19, A.module_closure20, A.module_closure21, A.module_closure22, A.module__closure1, A.module_closure23, A.module_closure_toXyzNoMissing, A.module_closure24, A._mix_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_closure, A._updateComponents_closure0, A._adjustColor_closure, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._parseChannels_closure, A._parseChannels_closure0, A._colorFromChannels_closure, A._colorFromChannels_closure0, A._channelFromValue_closure, A._channelFunction_closure, A._suggestScaleAndAdjust_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify_modifyNestedMap, A.global_closure, A.module_closure0, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._atan2_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._singleArgumentMathFunc_closure, A._numberFunction_closure, A._shared_closure, A._shared_closure0, A._shared_closure1, A._shared_closure2, A.moduleFunctions_closure, A.moduleFunctions_closure0, A.moduleFunctions__closure, A.moduleFunctions_closure1, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A.module_closure, A.module__closure, A.module__closure0, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.ImportCache_humanize_closure2, A.FilesystemImporter_canonicalize_closure, A.NodePackageImporter__nodePackageExportsResolve_closure, A.NodePackageImporter__nodePackageExportsResolve_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure1, A.NodePackageImporter__nodePackageExportsResolve_closure2, A.NodePackageImporter__nodePackageExportsResolve__closure, A.NodePackageImporter__nodePackageExportsResolve__closure0, A.NodePackageImporter__getMainExport_closure, A._exactlyOne_closure, A.InterpolationMap_mapException_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure1, A.watchDir_closure2, A.watchDir_closure3, A.watchDir_closure4, A.DeprecationProcessingLogger_summarize_closure, A.DeprecationProcessingLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_escape_closure, A.Parser_scanIdentChar_matches, A.SassParser_styleRuleSelector_closure, A.SassParser__peekIndentation_closure, A.SassParser__peekIndentation_closure0, A.SassParser__tryTrailingSemicolon_closure, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__isHexColor_closure, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A.MapExtensions_get_pairs_closure, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor$_forSpace_closure, A.HwbColorSpace_convert_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SassNumber_unitSuggestion_closure, A.SassNumber_unitSuggestion_closure0, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A.AnySelectorVisitor_visitComplexSelector_closure, A.AnySelectorVisitor_visitCompoundSelector_closure, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_visitModule0, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor_visitIfRule___closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor__warnForBogusCombinators_closure0, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor__slash_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor__visitCalculation_closure0, A._EvaluateVisitor__checkCalculationArguments_check0, A._EvaluateVisitor__visitCalculationExpression__closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolationHelper_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_visitModule, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor_visitIfRule___closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor__warnForBogusCombinators_closure, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor__slash_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor__visitCalculation_closure, A._EvaluateVisitor__checkCalculationArguments_check, A._EvaluateVisitor__visitCalculationExpression__closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolationHelper_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.EveryCssVisitor_visitCssAtRule_closure, A.EveryCssVisitor_visitCssKeyframeBlock_closure, A.EveryCssVisitor_visitCssMediaRule_closure, A.EveryCssVisitor_visitCssStyleRule_closure, A.EveryCssVisitor_visitCssStylesheet_closure, A.EveryCssVisitor_visitCssSupportsRule_closure, A.IsCalculationSafeVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitArgumentList_closure, A.ReplaceExpressionVisitor_visitInterpolation_closure, A.SelectorSearchVisitor_visitComplexSelector_closure, A.SelectorSearchVisitor_visitCompoundSelector_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.AnySelectorVisitor_visitComplexSelector_closure0, A.AnySelectorVisitor_visitCompoundSelector_closure0, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A.AsyncBuiltInCallable_withDeprecationWarning_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EnvironmentModule_couldHaveBeenConfigured_closure2, A._EvaluateVisitor_closure38, A._EvaluateVisitor_closure39, A._EvaluateVisitor_closure40, A._EvaluateVisitor_closure41, A._EvaluateVisitor_closure42, A._EvaluateVisitor_closure43, A._EvaluateVisitor_closure44, A._EvaluateVisitor_closure45, A._EvaluateVisitor_closure46, A._EvaluateVisitor_closure47, A._EvaluateVisitor_closure48, A._EvaluateVisitor_closure49, A._EvaluateVisitor_closure50, A._EvaluateVisitor__loadModule__closure5, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_visitModule2, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor_visitIfRule___closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor__warnForBogusCombinators_closure2, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor__slash_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure9, A._EvaluateVisitor__visitCalculation_closure2, A._EvaluateVisitor__checkCalculationArguments_check2, A._EvaluateVisitor__visitCalculationExpression__closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure10, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolationHelper_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.AsyncImportCache_humanize_closure5, A.AsyncImportCache_humanize_closure6, A.booleanClass__closure, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.BuiltInCallable$mixin_closure0, A.BuiltInCallable_withDeprecationWarning_closure0, A.calculationClass__closure, A.calculationClass__closure0, A.calculationClass__closure1, A.calculationClass__closure2, A.calculationClass__closure3, A.calculationClass__closure4, A.calculationClass__closure5, A.calculationOperationClass__closure, A.calculationOperationClass___closure, A.calculationOperationClass__closure1, A.calculationOperationClass__closure2, A.calculationOperationClass__closure3, A.calculationOperationClass__closure4, A.calculationInterpolationClass__closure1, A.calculationInterpolationClass__closure2, A.SassCalculation__verifyLength_closure0, A.updateCanonicalizeContextPrototype_closure, A.updateCanonicalizeContextPrototype_closure0, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global_closure56, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.global_closure61, A.global_closure62, A.global_closure63, A.global_closure64, A.global_closure65, A.global_closure66, A.global_closure67, A.global_closure68, A.global_closure69, A.global_closure70, A.global_closure71, A.global_closure72, A.global_closure73, A.global_closure74, A.global_closure75, A.global_closure76, A.global_closure77, A.global_closure78, A.global_closure79, A.global__closure0, A.global_closure80, A.global_closure81, A.global_closure82, A.global_closure83, A.global_closure84, A.global_closure85, A.global_closure86, A.module_closure27, A.module_closure28, A.module_closure29, A.module_closure30, A.module_closure31, A.module_closure32, A.module_closure33, A.module_closure34, A.module_closure35, A.module_closure36, A.module_closure37, A.module_closure38, A.module_closure39, A.module_closure40, A.module__closure6, A.module_closure41, A.module_closure42, A.module_closure43, A.module_closure44, A.module_closure45, A.module_closure46, A.module_closure47, A.module_closure48, A.module__closure5, A.module_closure49, A.module_closure_toXyzNoMissing0, A.module_closure50, A._mix_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_closure1, A._updateComponents_closure2, A._adjustColor_closure0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._parseChannels_closure1, A._parseChannels_closure2, A._colorFromChannels_closure1, A._colorFromChannels_closure2, A._channelFromValue_closure0, A._channelFunction_closure0, A._suggestScaleAndAdjust_closure0, A.colorClass__closure1, A.colorClass__closure3, A.colorClass__closure5, A.colorClass__closure7, A.colorClass___closure, A.colorClass__closure_changedValue, A.colorClass__closure9, A.colorClass__closure10, A.colorClass__closure11, A.colorClass__closure12, A.colorClass__closure13, A.colorClass__closure14, A.colorClass__closure15, A.colorClass__closure16, A.colorClass__closure17, A.colorClass__closure18, A.colorClass__closure19, A.colorClass__closure20, A.colorClass__closure21, A.colorClass__closure22, A.legacyColorClass_closure, A.legacyColorClass__closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.SassColor$_forSpace_closure0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A.nodePackageImporterClass__closure, A._compileStylesheet_closure1, A.AsyncCompiler_addCompilation_closure, A.compilerClass__closure, A.compilerClass__closure0, A.compilerClass__closure1, A.compilerClass__closure2, A.asyncCompilerClass__closure, A.asyncCompilerClass__closure0, A.asyncCompilerClass__closure1, A.asyncCompilerClass__closure2, A.ComplexSelectorComponent_toString_closure0, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0, A._disallowedFunctionNames_closure0, A.Deprecation_fromId_closure0, A.DeprecationProcessingLogger_summarize_closure1, A.DeprecationProcessingLogger_summarize_closure2, A.versionClass__closure, A.versionClass__closure0, A.EachRule_toString_closure0, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EnvironmentModule_couldHaveBeenConfigured_closure1, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor__loadModule__closure3, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__combineCss_visitModule1, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor_visitIfRule___closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor__warnForBogusCombinators_closure1, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor__slash_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor__visitCalculation_closure1, A._EvaluateVisitor__checkCalculationArguments_check1, A._EvaluateVisitor__visitCalculationExpression__closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure7, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolationHelper_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.EveryCssVisitor_visitCssAtRule_closure0, A.EveryCssVisitor_visitCssKeyframeBlock_closure0, A.EveryCssVisitor_visitCssMediaRule_closure0, A.EveryCssVisitor_visitCssStyleRule_closure0, A.EveryCssVisitor_visitCssStylesheet_closure0, A.EveryCssVisitor_visitCssSupportsRule_closure0, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents_closure6, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A.complexIsSuperselector_closure1, A.complexIsSuperselector_closure2, A._compatibleWithPreviousCombinator_closure0, A.compoundIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.HwbColorSpace_convert_toRgb0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.ImportCache_humanize_closure5, A.ImportCache_humanize_closure6, A.Interpolation_toString_closure0, A.InterpolationMap_mapException_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.IsCalculationSafeVisitor_visitListExpression_closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure2, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_nestWithin_closure0, A.SelectorList_nestWithin__closure1, A.SelectorList_nestWithin__closure2, A.SelectorList__nestWithinCompound_closure2, A.SelectorList__nestWithinCompound_closure3, A.SelectorList__nestWithinCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.listClass__closure, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.SassList_isBlank_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify_modifyNestedMap0, A.MapExtensions_get_pairs_closure0, A.mapClass__closure, A.mapClass__closure0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.global_closure43, A.module_closure26, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._atan2_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._singleArgumentMathFunc_closure0, A._numberFunction_closure0, A._shared_closure3, A._shared_closure4, A._shared_closure5, A._shared_closure6, A.moduleFunctions_closure2, A.moduleFunctions_closure3, A.moduleFunctions__closure0, A.moduleFunctions_closure4, A.mixinClass__closure, A.mixinClass__closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure3, A.NodePackageImporter__nodePackageExportsResolve_closure4, A.NodePackageImporter__nodePackageExportsResolve_closure5, A.NodePackageImporter__nodePackageExportsResolve_closure6, A.NodePackageImporter__nodePackageExportsResolve__closure1, A.NodePackageImporter__nodePackageExportsResolve__closure2, A.NodePackageImporter__getMainExport_closure0, A.legacyNullClass__closure, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.SassNumber_unitSuggestion_closure1, A.SassNumber_unitSuggestion_closure2, A.ParameterList_verify_closure1, A.ParameterList_verify_closure2, A.ParentStatement_closure0, A.ParentStatement__closure0, A.loadParserExports_closure, A.loadParserExports_closure0, A.loadParserExports_closure1, A.loadParserExports_closure2, A.loadParserExports_closure3, A._updateLazyFileSpanPrototype_closure0, A._updateLazyFileSpanPrototype_closure1, A._updateLazyFileSpanPrototype_closure2, A._updateAstPrototypes_closure, A._updateAstPrototypes_closure0, A._updateAstPrototypes_closure1, A._updateAstPrototypes_closure2, A._updateAstPrototypes_closure6, A._updateAstPrototypes_closure7, A._updateAstPrototypes_closure8, A._updateAstPrototypes_closure9, A._updateAstPrototypes_closure10, A._updateAstPrototypes_closure11, A._addSupportsConditionToInterpolation_closure, A.Parser_escape_closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_specificity__closure1, A.PseudoSelector_specificity__closure2, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A.ReplaceExpressionVisitor_visitListExpression_closure0, A.ReplaceExpressionVisitor_visitArgumentList_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A.SassParser_styleRuleSelector_closure0, A.SassParser__peekIndentation_closure1, A.SassParser__peekIndentation_closure2, A.SassParser__tryTrailingSemicolon_closure0, A._wrapMain_closure, A._wrapMain_closure0, A._IsBogusVisitor_visitComplexSelector_closure0, A._IsUselessVisitor_visitComplexSelector_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.SelectorSearchVisitor_visitComplexSelector_closure0, A.SelectorSearchVisitor_visitCompoundSelector_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SimpleSelector_isSuperselector_closure0, A.SimpleSelector_isSuperselector__closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype__closure, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.updateSourceSpanPrototype_closure6, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A.module_closure25, A.module__closure3, A.module__closure4, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.StringExtension_toCssIdentifier_writeEscape, A.StringExtension_toCssIdentifier_consumeSurrogatePair, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.StylesheetParser__declarationOrBuffer_closure5, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, A.StylesheetParser__isHexColor_closure0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure14, A.valueClass__closure15, A.valueClass__closure17, A.valueClass__closure18]);
  126191. _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__propagateToListeners_handleWhenCompleteCallback_closure0, A.Stream_Stream$fromFuture_closure0, A._AddStreamState_makeErrorHandler_closure, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_addAll_closure, A.MapBase_mapToString_closure, A._JsonMap_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri_parseIPv6Address_error, A.Parser_parse_closure, A.FutureGroup_add_closure0, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ComplexSelector_specificity_closure, A.CompoundSelector_specificity_closure, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._nest__closure0, A._append__closure0, A.watchDir_closure0, A.ParcelWatcher_subscribe_closure, A.StylesheetParser__styleRule_closure, A.StylesheetParser__withStyleRuleChildren_closure, A.StylesheetParser__tryDeclarationChildren_closure, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure3, A._EvaluateVisitor__closure4, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__closure0, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseJsLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure11, A._EvaluateVisitor__closure12, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A.calculationOperationClass__closure0, A.calculationInterpolationClass__closure, A.calculationInterpolationClass__closure0, A.colorClass__closure, A.colorClass__closure0, A.colorClass__closure2, A.colorClass__closure4, A.colorClass__closure6, A.colorClass__closure8, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure7, A._EvaluateVisitor__closure8, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_clone_closure0, A._weaveParents_closure3, A.paths_closure0, A.IfRule_toString_closure0, A.main_closure, A.main_closure0, A.render_closure1, A._parseFunctions_closure, A.listClass__closure0, A.legacyListClass_closure0, A.legacyListClass_closure3, A.mapClass__closure1, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.numberClass__closure10, A.numberClass__closure11, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A._updateAstPrototypes_closure3, A._updateAstPrototypes_closure4, A._updateAstPrototypes_closure5, A.JSClassExtension_get_defineStaticMethod_closure, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__styleRule_closure1, A.StylesheetParser__withStyleRuleChildren_closure0, A.StylesheetParser__tryDeclarationChildren_closure0, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure2, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure16]);
  126192. _inherit(A.CastList, A._CastListBase);
  126193. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  126194. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  126195. _inherit(A.UnmodifiableListBase, A.ListBase);
  126196. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  126197. _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainCoreFuture_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteErrorObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A._Utf8Decoder__decoder_closure, A._Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A._isStrictMode_closure, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.PseudoSelector_specificity_closure, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExecutableOptions_fatalDeprecations_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_clone__closure, A._changeColor_closure, A.ImportCache_canonicalize_closure, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.linkExists_closure, A.ensureDir_closure, A.listDir_closure, A.realpath_closure, A.modificationTime_closure, A.watchDir_closure, A.watchDir_closure5, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.Parser_spanFrom_closure, A.Parser_spanFromPosition_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseParameterList_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser__expression_resetState, A.StylesheetParser__expression_resolveOneOperation, A.StylesheetParser__expression_resolveOperations, A.StylesheetParser__expression_resolveSpaceExpressions, A.StylesheetParser_expressionUntilComma_closure, A.StylesheetParser_interpolatedStringToken_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__interpolatedDeclarationValue_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue_compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure6, A._EvaluateVisitor__closure5, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor_run__closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor__registerCommentsForModule_closure0, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor__applyMixin_closure1, A._EvaluateVisitor__applyMixin__closure2, A._EvaluateVisitor__applyMixin_closure2, A._EvaluateVisitor__applyMixin__closure1, A._EvaluateVisitor__applyMixin___closure0, A._EvaluateVisitor__applyMixin____closure0, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor__visitSupportsCondition_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor__visitCalculationExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure2, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_run__closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runExpression___closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor_runStatement___closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor__registerCommentsForModule_closure, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor__applyMixin_closure, A._EvaluateVisitor__applyMixin__closure0, A._EvaluateVisitor__applyMixin_closure0, A._EvaluateVisitor__applyMixin__closure, A._EvaluateVisitor__applyMixin___closure, A._EvaluateVisitor__applyMixin____closure, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor__visitSupportsCondition_closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor__visitCalculationExpression_closure, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A._SerializeVisitor__visitChildren_closure0, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeLabel_closure, A.Highlighter__writeLabel_closure0, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.JSToDartAsyncImporter_canonicalize_closure, A.JSToDartAsyncImporter_load_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure14, A._EvaluateVisitor__closure13, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor_run__closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__loadModule__closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor__registerCommentsForModule_closure2, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor__applyMixin_closure5, A._EvaluateVisitor__applyMixin__closure6, A._EvaluateVisitor__applyMixin_closure6, A._EvaluateVisitor__applyMixin__closure5, A._EvaluateVisitor__applyMixin___closure2, A._EvaluateVisitor__applyMixin____closure2, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor__visitSupportsCondition_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure8, A._EvaluateVisitor_visitFunctionExpression_closure10, A._EvaluateVisitor__visitCalculationExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure8, A._EvaluateVisitor__runBuiltInCallable_closure9, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.JSToDartAsyncFileImporter_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.booleanClass_closure, A.legacyBooleanClass_closure, A.calculationClass_closure, A.calculationOperationClass_closure, A.calculationInterpolationClass_closure, A._changeColor_closure0, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A._parseFunctions___closure6, A._parseFunctions___closure5, A.nodePackageImporterClass_closure, A.compilerClass_closure, A.asyncCompilerClass_closure, A.asyncCompilerClass___closure, A.initAsyncCompiler_closure, A.deprecations_closure, A.parseDeprecations_closure, A.versionClass_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor__closure9, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor_run__closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__loadModule__closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor__registerCommentsForModule_closure1, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor__applyMixin_closure3, A._EvaluateVisitor__applyMixin__closure4, A._EvaluateVisitor__applyMixin_closure4, A._EvaluateVisitor__applyMixin__closure3, A._EvaluateVisitor__applyMixin___closure1, A._EvaluateVisitor__applyMixin____closure1, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor__visitSupportsCondition_closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure7, A._EvaluateVisitor__visitCalculationExpression_closure1, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_clone__closure0, A.JSToDartFileImporter_canonicalize_closure, A.functionClass_closure, A.NodeImporter_load_closure, A.NodeImporter__tryPath_closure, A.NodeImporter__callImporterAsync_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.linkExists_closure0, A.listDir_closure0, A.realpath_closure0, A.JSToDartLogger_internalWarn_closure, A.JSToDartLogger_debug_closure, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure3, A._parseFunctions___closure4, A._parseFunctions___closure1, A._parseFunctions___closure0, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A.mixinClass_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue_compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A._updateLazyFileSpanPrototype_closure, A.Parser__parseIdentifier_closure0, A.Parser_spanFrom_closure0, A.Parser_spanFromPosition_closure0, A.PseudoSelector_specificity_closure0, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure1, A._SerializeVisitor__visitChildren_closure2, A.SingleUnitSassNumber_multiplyUnits_closure2, A.updateSourceSpanPrototype_closure, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure0, A.StylesheetParser_parseParameterList_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__declarationOrBuffer_closure3, A.StylesheetParser__declarationOrBuffer_closure4, A.StylesheetParser__declarationOrBuffer_closure6, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser_mozDocumentRule_closure1, A.StylesheetParser__expression_resetState0, A.StylesheetParser__expression_resolveOneOperation0, A.StylesheetParser__expression_resolveOperations0, A.StylesheetParser__expression_resolveSpaceExpressions0, A.StylesheetParser_expressionUntilComma_closure0, A.StylesheetParser_interpolatedStringToken_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__interpolatedDeclarationValue_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.JSToDartImporter_canonicalize_closure, A.JSToDartImporter_load_closure, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
  126198. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  126199. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  126200. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  126201. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  126202. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  126203. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  126204. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  126205. _inherit(A._Record_1, A._Record1);
  126206. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  126207. _inheritMany(A._Record3, [A._Record_3, A._Record_3_deprecation_message_span, A._Record_3_forImport, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  126208. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  126209. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  126210. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  126211. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  126212. _inherit(A.ConstantStringMap, A.ConstantMap);
  126213. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  126214. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  126215. _inherit(A.Instantiation1, A.Instantiation);
  126216. _inherit(A.NullError, A.TypeError);
  126217. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  126218. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  126219. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  126220. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  126221. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  126222. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  126223. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  126224. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  126225. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  126226. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  126227. _inherit(A._TypeError, A._Error);
  126228. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  126229. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  126230. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  126231. _inherit(A._ControllerStream, A._StreamImpl);
  126232. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  126233. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  126234. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  126235. _inherit(A._MapStream, A._ForwardingStream);
  126236. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  126237. _inherit(A._IdentityHashMap, A._HashMap);
  126238. _inherit(A._LinkedHashSet, A._SetBase);
  126239. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  126240. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  126241. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  126242. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  126243. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  126244. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  126245. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  126246. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  126247. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  126248. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  126249. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  126250. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  126251. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  126252. _inherit(A._DataUri, A._Uri);
  126253. _inherit(A.ArgParserException, A.FormatException);
  126254. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  126255. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  126256. _inherit(A._CastQueueList, A.QueueList);
  126257. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  126258. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  126259. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  126260. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  126261. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  126262. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  126263. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  126264. _inherit(A.InternalStyle, A.Style);
  126265. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  126266. _inheritMany(A._Enum, [A._SingletonCssMediaQueryMergeResult, A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.Deprecation, A.ExtendMode, A.Syntax, A.CalculationOperator, A.HueInterpolationMethod, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.Deprecation0, A.HueInterpolationMethod0, A.ListSeparator0, A._SingletonCssMediaQueryMergeResult0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  126267. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  126268. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  126269. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  126270. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  126271. _inherit(A.CssStylesheet, A.CssParentNode);
  126272. _inheritMany(A.Expression, [A.BinaryOperationExpression, A.BooleanExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.SupportsExpression, A.UnaryOperationExpression, A.ValueExpression, A.VariableExpression]);
  126273. _inheritMany(A.Statement, [A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.ImportRule, A.IncludeRule, A.LoudComment, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule]);
  126274. _inheritMany(A.ParentStatement, [A.AtRootRule, A.AtRule, A.CallableDeclaration, A.Declaration, A.EachRule, A.ForRule, A.MediaRule, A.StyleRule, A.Stylesheet, A.SupportsRule, A.WhileRule]);
  126275. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  126276. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  126277. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  126278. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  126279. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  126280. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  126281. _inherit(A._ContainsParentSelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor);
  126282. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  126283. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  126284. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  126285. _inherit(A.ExplicitConfiguration, A.Configuration);
  126286. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  126287. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  126288. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  126289. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  126290. _inherit(A.MergedExtension, A.Extension);
  126291. _inherit(A.Importer, A.AsyncImporter);
  126292. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  126293. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  126294. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  126295. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  126296. _inherit(A.CssParser, A.ScssParser);
  126297. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  126298. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  126299. _inherit(A.SassArgumentList, A.SassList);
  126300. _inherit(A.LinearChannel, A.ColorChannel);
  126301. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  126302. _inheritMany(A.ColorSpace, [A.A98RgbColorSpace, A.DisplayP3ColorSpace, A.HslColorSpace, A.HwbColorSpace, A.LabColorSpace, A.LchColorSpace, A.LmsColorSpace, A.OklabColorSpace, A.OklchColorSpace, A.ProphotoRgbColorSpace, A.Rec2020ColorSpace, A.RgbColorSpace, A.SrgbColorSpace, A.SrgbLinearColorSpace, A.XyzD50ColorSpace, A.XyzD65ColorSpace]);
  126303. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  126304. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  126305. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  126306. _inherit(A.SingleMapping, A.Mapping);
  126307. _inherit(A.FileLocation, A.SourceLocationMixin);
  126308. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  126309. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  126310. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  126311. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  126312. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  126313. _inheritMany(A.ColorSpace0, [A.A98RgbColorSpace0, A.DisplayP3ColorSpace0, A.HslColorSpace0, A.HwbColorSpace0, A.LabColorSpace0, A.LchColorSpace0, A.LmsColorSpace0, A.OklabColorSpace0, A.OklchColorSpace0, A.ProphotoRgbColorSpace0, A.Rec2020ColorSpace0, A.RgbColorSpace0, A.SrgbColorSpace0, A.SrgbLinearColorSpace0, A.XyzD50ColorSpace0, A.XyzD65ColorSpace0]);
  126314. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  126315. _inherit(A.SassArgumentList0, A.SassList0);
  126316. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  126317. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  126318. _inheritMany(A.Statement0, [A.ParentStatement0, A.ContentRule0, A.DebugRule0, A.ErrorRule0, A.ExtendRule0, A.ForwardRule0, A.IfRule0, A.ImportRule0, A.IncludeRule0, A.LoudComment0, A.ReturnRule0, A.SilentComment0, A.UseRule0, A.VariableDeclaration0, A.WarnRule0]);
  126319. _inheritMany(A.ParentStatement0, [A.AtRootRule0, A.AtRule0, A.CallableDeclaration0, A.Declaration0, A.EachRule0, A.ForRule0, A.MediaRule0, A.StyleRule0, A.Stylesheet0, A.SupportsRule0, A.WhileRule0]);
  126320. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  126321. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  126322. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  126323. _inheritMany(A.InterpolatedSelector, [A.InterpolatedSimpleSelector, A.InterpolatedComplexSelector, A.InterpolatedCompoundSelector, A.InterpolatedSelectorList]);
  126324. _inheritMany(A.InterpolatedSimpleSelector, [A.InterpolatedAttributeSelector, A.InterpolatedClassSelector, A.InterpolatedIDSelector, A.InterpolatedParentSelector, A.InterpolatedPlaceholderSelector, A.InterpolatedPseudoSelector, A.InterpolatedTypeSelector, A.InterpolatedUniversalSelector]);
  126325. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  126326. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  126327. _inheritMany(A.Expression0, [A.BinaryOperationExpression0, A.BooleanExpression0, A.ColorExpression0, A.FunctionExpression0, A.IfExpression0, A.InterpolatedFunctionExpression0, A.ListExpression0, A.MapExpression0, A.NullExpression0, A.NumberExpression0, A.ParenthesizedExpression0, A.SelectorExpression0, A.StringExpression0, A.SupportsExpression0, A.UnaryOperationExpression0, A.ValueExpression0, A.VariableExpression0]);
  126328. _inherit(A.LinearChannel0, A.ColorChannel0);
  126329. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  126330. _inherit(A._ConstructionOptions, A._Channels);
  126331. _inherit(A.CompileStringOptions, A.CompileOptions);
  126332. _inherit(A.AsyncCompiler, A.Compiler);
  126333. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  126334. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  126335. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  126336. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  126337. _inherit(A.CssParser0, A.ScssParser0);
  126338. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  126339. _inherit(A._NodeException, A.JsError);
  126340. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  126341. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  126342. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  126343. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  126344. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  126345. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  126346. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  126347. _inherit(A.MergedExtension0, A.Extension0);
  126348. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  126349. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  126350. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  126351. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  126352. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  126353. _inherit(A._ContainsParentSelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0);
  126354. _inherit(A.CssStylesheet0, A.CssParentNode0);
  126355. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  126356. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  126357. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  126358. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  126359. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  126360. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  126361. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  126362. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  126363. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  126364. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  126365. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  126366. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  126367. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  126368. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  126369. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  126370. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  126371. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  126372. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  126373. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  126374. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  126375. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  126376. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  126377. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  126378. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  126379. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  126380. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  126381. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  126382. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  126383. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  126384. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  126385. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  126386. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  126387. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  126388. })();
  126389. var init = {
  126390. G: typeof self != "undefined" ? self : globalThis,
  126391. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  126392. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map", JSObject: "JSObject"},
  126393. mangledNames: {},
  126394. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "bool(String)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(Object?)", "int()", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "bool(SimpleSelector)", "bool(SimpleSelector0)", "JSClass0()", "double(double)", "SassString0(List<Value0>)", "SassString(List<Value>)", "bool()", "bool(ComplexSelector)", "bool(ComplexSelector0)", "FileSpan()", "SassColor0(List<Value0>)", "SassNumber0(List<Value0>)", "SassColor(List<Value>)", "SassNumber(List<Value>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "String()", "Future<~>()", "double(SassColor0)", "bool(int?)", "~(Object?)", "SassMap0(List<Value0>)", "Object?()", "Value()", "Null(~())", "SassMap(List<Value>)", "Future<Null>(Future<~>())", "int(SassColor0)", "Value(Value)", "Value?()", "Value0?()", "Value0(Value0)", "String?()", "double(SassColor)", "Uri(Uri)", "Value0()", "bool(num,num)", "bool(int)", "SassNumber0(SassNumber0)", "bool(Value0)", "bool(ComplexSelectorComponent0)", "SassNumber(SassNumber)", "bool(ComplexSelectorComponent)", "Null(Object,StackTrace)", "double(double,double)", "ValueExpression0(Value0)", "int(SassColor)", "ValueExpression(Value)", "~(Value)", "ComplexSelector(ComplexSelector)", "ComplexSelector0(ComplexSelector0)", "~(Value0)", "@()", "Null(@)", "bool(SelectorList)", "Future<Value?>()", "bool(SelectorList0)", "~(@)", "Future<Value>()", "Object(Object)", "Frame()", "bool(Object)", "bool(Value)", "~(Object,StackTrace)", "bool(ColorChannel0)", "Future<Value0?>()", "Future<Value0>()", "Object()", "~(Module0<Callable0>,bool)", "Value?(Statement)", "Future<Value?>(Statement)", "Stylesheet?()", "bool(Module0<AsyncCallable>)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Callable?()", "int(Uri)", "~(String)", "Null([Object?])", "~(Object)", "Future<Value0>(List<Value0>)", "Frame(String)", "~(String[Deprecation?])", "@(@)", "AsyncCallable0?()", "~(Value0,Value0)", "SassRuntimeException0(AstNode0)", "~([int?])", "~(String,Value)", "Future<Value0?>(Statement0)", "double(SassNumber0)", "bool(ColorChannel)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "AsyncCallable?()", "bool(Module1<Callable>)", "~(Value,Value)", "bool(Module0<Callable0>)", "SassRuntimeException(AstNode)", "~(String[Deprecation0?])", "~(Module1<Callable>,bool)", "~(String,Value0)", "Value0?(Statement0)", "Callable0?()", "Null(_NodeSassColor,num)", "bool(Module1<AsyncCallable0>)", "Null(Module0<AsyncCallable>,bool)", "bool(Expression0)", "String(Expression0)", "Null(Module1<AsyncCallable0>,bool)", "bool(_Highlight)", "bool(Expression)", "String(String{color:Object?})", "int(_NodeSassColor)", "Statement()", "~(String,Object?)", "Uri(String)", "+originalUrl(Importer,Uri,Uri)?()", "double(SassNumber)", "Map<ComplexSelector,Extension>()", "Map<ComplexSelector0,Extension0>()", "String(Object)", "String(Expression)", "String(@)", "~(String,Function)", "Statement0()", "~(~())", "List<String>()", "~(String,@)", "SassCalculation0(Object)", "List<CssComment0>()", "ImmutableList0(SassColor0)", "Uri?()", "int(String,String)", "String?(String?)", "String?(Object)", "bool(Statement)", "bool(Import)", "String(String[String?])", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "int(int)", "0&(String,FileSpan[StackTrace?])", "Set<0^>()<Object?>", "~(@,@)", "AtRootRule(List<Statement>,FileSpan)", "AtRule(List<Statement>,FileSpan)", "String(String{color:@})", "Entry(Entry)", "~(Object?,Object?)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "SassMixin(List<Value>)", "Future<~>(List<Value>)", "int(ComplexSelector)", "List<ExtensionStore>()", "bool(ModifiableCssParentNode)", "AsyncCallable?(Module0<AsyncCallable>)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "~(Iterable<ExtensionStore>)", "Future<SassNumber>()", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "List<CssComment>()", "bool(UseRule)", "bool(ForwardRule)", "Future<String>()", "Uri?/()", "Future<Object>()", "@(String)", "Future<Value>(List<Value>)", "InterpolationMap(List<int>)", "AstNode?()", "String(SassNumber)", "~(List<Value>)", "SassNumber()", "String(Value0)", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<Extension0>()", "String(_NodeException)", "SassNumber0()", "double(Value)", "Value0?(Value0)", "int(SourceLocation)", "~(List<Value0>)", "Map<String,Callable>(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "Callable?(Module1<Callable>)", "~(Iterable<ExtensionStore0>)", "Version(String)", "Set<0&>(Object)", "AtRootRule0(List<Statement0>,FileSpan)", "StyleRule0(List<Statement0>,FileSpan)", "double()", "Trace(String)", "int(Object?)", "AsyncImporter0(Object?)", "Future<NodeCompileResult>()", "String(FileSpan)", "bool(Object?,Object?)", "String(double)", "JSUrl0(Uri)", "FileLocation(FileSpan)", "double(Value0)", "~(int)", "bool(String?)", "Future<~>?()", "SelectorList0(SelectorList0,SelectorList0)", "Object(CalculationOperation0)", "0&(@[@])", "SelectorList(Value)", "0&(Object[Object?])", "SelectorList0(Value0)", "Expression0(Expression0)", "int(ComplexSelector0)", "String(SassNumber0)", "AstNode0?()", "int(@,@)", "InterpolationMap0(List<int>)", "AtRule0(List<Statement0>,FileSpan)", "~(Object[StackTrace?])", "double(SassNumber0,SassNumber0[String?,String?])", "bool(Queue<List<ComplexSelectorComponent>>)", "double(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "bool(ForwardRule0)", "bool(UseRule0)", "SassNumber0(SassNumber0,Object,Object[String?])", "Future<SassNumber0>()", "bool(SassNumber0,String)", "Expression(Expression)", "bool(ModifiableCssParentNode0)", "List<ExtensionStore0>()", "Future<~>(List<Value0>)", "SassMixin0(List<Value0>)", "ImmutableList0(SassNumber0)", "SelectorList(SelectorList,SelectorList)", "bool(SassNumber0)", "Null(_NodeSassMap,int,Object)", "Object(_NodeSassMap,int)", "Value0(int)", "Value0?(Value0,num)", "SassFunction0(List<Value0>)", "AstNode0(AstNode0)", "bool(Import0)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "AsyncCallable0?(Module1<AsyncCallable0>)", "~([Object?])", "Map<String,Callable0>(Module0<Callable0>)", "bool(Frame)", "Trace()", "bool(Statement0)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "String(Frame)", "int(Frame)", "Callable0?(Module0<Callable0>)", "~(double?[String?])", "List<Extension>()", "~(List<Statement>)", "Module0<Callable0>?(Module0<Callable0>)", "~(CssMediaQuery)", "~(ContentBlock)", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Value?(Module0<Callable0>)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "Value(Expression)", "String(Trace)", "UserDefinedCallable<Environment>(ContentBlock)", "Value?(IfRuleClause)", "Frame(String,String)", "CssValue<String>(Interpolation)", "bool(Deprecation)", "Frame(Frame)", "Map<String,Value>(Module0<Callable0>)", "Map<String,AstNode>(Module0<Callable0>)", "Value?(Value)", "~(Module0<Callable0>)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "ArgParser()", "Set<Deprecation>()", "Value0/(List<Value0>)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "Module0<Callable0>()", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "Object?(Object?)", "~(+deprecation,message,span(Deprecation?,String,FileSpan))", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "Value/(List<Value>)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "Value/()", "0&(String,int?)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "bool(Extension)", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "Set<ModifiableBox<SelectorList>>()", "~(Module1<AsyncCallable0>)", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "Future<Value>(Expression)", "~(String,Option)", "Future<Stylesheet?>()", "Future<Value0?>(Value0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "Future<CssValue0<String>>(Interpolation0)", "List<SimpleSelector>(Extender)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "List<Extender>?(SimpleSelector)", "bool(PseudoSelector)", "Future<Value0?>(IfRuleClause0)", "~(Symbol0,@)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "Future<Value0>(Expression0)", "ModifiableBox<SelectorList>()", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "Value0/()", "Future<Value?>(IfRuleClause)", "bool(List<Iterable<ComplexSelectorComponent>>)", "@(@,String)", "Map<String,AstNode>(Module0<AsyncCallable>)", "Map<String,Value>(Module0<AsyncCallable>)", "Future<Value?>(Value)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "~(Module0<AsyncCallable>)", "SelectorList?(PseudoSelector)", "Null(@,@)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "Value?(Module0<AsyncCallable>)", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "Future<Module0<AsyncCallable>>()", "Null(@,StackTrace)", "Null(Function,Function)", "String(String?)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "bool(String?,String?)", "int(String?)", "SassColor0(SassColor0)", "SassColor0(ColorSpace0)", "~(Module0<AsyncCallable>,bool)", "0&(List<Value0>)", "~(int,@)", "SassColor(SassColor)", "SassColor0(Object,_ConstructionOptions)", "bool(SassColor0,Object)", "SassColor0(SassColor0,String)", "bool(SassColor0[String?])", "SassColor0(SassColor0,_ToGamutOptions)", "double(SassColor0,String[_ChannelOptions?])", "bool(SassColor0,String)", "bool(SassColor0,String[_ChannelOptions?])", "SassColor0(SassColor0,_ConstructionOptions)", "double?(String)", "SassColor0(SassColor0,SassColor0[_InterpolationOptions?])", "String(SassColor0)", "bool(SassColor0)", "Future<CssValue<String>>(Interpolation)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "double(num)", "SimpleSelector(SimpleSelector)", "double(_NodeSassColor)", "SassColor(ColorSpace)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "SingleUnitSassNumber(double)", "AsyncImporter0(JSImporter)", "0&(@)", "SassScriptException()", "NodePackageImporter0(Object[String?])", "Iterable<ComplexSelector>(ComplexSelector)", "NodeCompileResult(Compiler,String[CompileOptions?])", "NodeCompileResult(Compiler,String[CompileStringOptions?])", "Null(Compiler)", "Promise(AsyncCompiler,String[CompileOptions?])", "Promise(AsyncCompiler,String[CompileStringOptions?])", "Promise(AsyncCompiler)", "Future<AsyncCompiler>()", "int(int,ComplexSelectorComponent0)", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(BuiltInCallable0)", "bool(Deprecation0)", "Iterable<Deprecation0>()", "Version(Object,int,int,int)", "DateTime(StylesheetNode)", "StringExpression(Interpolation)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "~(BinaryOperator)", "~(Expression)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "WhileRule(List<Statement>,FileSpan)", "bool(@)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "String(Value)", "SupportsRule(List<Statement>,FileSpan)", "0&(List<Value>)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "Object(Value0)", "MixinRule(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "CssValue0<String>(Interpolation0)", "ContentBlock(List<Statement>,FileSpan)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "ForRule(List<Statement>,FileSpan)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "Object(String)", "FunctionRule(List<Statement>,FileSpan)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "bool(Version)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableBox0<SelectorList0>>)", "ModifiableBox0<SelectorList0>()", "SassFunction0(Object,String,Value0(List<Value0>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "EachRule(List<Statement>,FileSpan)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<Value>(Value)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Declaration(List<Statement>,FileSpan)", "StyleRule(List<Statement>,FileSpan)", "~(Object?,Object,Object?)", "+(String,String)(String)", "+originalUrl(Importer0,Uri,Uri)?()", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "Future<~>(List<String>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "UseRule()", "Null(_NodeSassList,int?[bool?,SassList0?])", "VariableDeclaration()", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "Value0?(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "ParameterList()", "int(_NodeSassMap)", "Statement?()", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "bool(ModifiableCssNode0)", "SassNumber0(Object,num[Object?])", "Stylesheet()", "int?(SassNumber0)", "NumberExpression()", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "Expression({bracketList:bool,consumeNewlines:bool,singleEquals:bool,until:bool()?})", "SassList(ComplexSelector)", "Statement({root:bool})", "CompoundSelector()", "SelectorList()", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "String(Parameter0)", "JSExpressionVisitor(JSExpressionVisitorObject)", "JSStatementVisitor(JSStatementVisitorObject)", "JSSimpleSelectorVisitor(JSSimpleSelectorVisitorObject)", "SourceFile(String)", "JSSet(Set<Object?>)", "SourceFile(LazyFileSpan0)", "int(LazyFileSpan0)", "Uri?(LazyFileSpan0)", "String(SourceFile,int[int?])", "FileSpan(SourceFile,int[int?])", "List<int>(SourceFile)", "String?(Interpolation0)", "Object?(Statement0,StatementVisitor<Object?>)", "Object?(Expression0,ExpressionVisitor<Object?>)", "Object?(InterpolatedSelector,InterpolatedSelectorVisitor<Object?>)", "ArgumentList0(IncludeRule0)", "ArgumentList0(ContentRule0)", "ArgumentList0(FunctionExpression0)", "ArgumentList0(IfExpression0)", "ArgumentList0(InterpolatedFunctionExpression0)", "FileSpan(AstNode0)", "Interpolation0(SupportsCondition)", "List<CssMediaQuery>()", "String(Object,@,@[@])", "bool(ModifiableCssNode)", "String(BuiltInCallable)", "AtRootQuery()", "int(int,SimpleSelector)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "Null(JSObject?,JSArray<Object?>)", "JSUrl0?(FileSpan)", "String(CssValue<Combinator>)", "~(Object?,List<JSObject>)", "int(int,ComplexSelectorComponent)", "SassString0(int)", "SassString0(String)", "~(@,StackTrace)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "Statement0({root:bool})", "~([Future<~>?])", "NumberExpression0()", "Stylesheet0()", "Statement0?()", "ParameterList0()", "+(String,ParameterList0)()", "String(int,IfClause)", "Declaration0(List<Statement0>,FileSpan)", "Uri(+originalUrl(Importer,Uri,Uri))", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "bool(+originalUrl(Importer,Uri,Uri))", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList0(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassCalculation0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassMixin0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "String(Parameter)", "SassMap(Value)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?,Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?,Object?,Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?,Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?,Object?,Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "Future<@>()", "SassString(String)", "0^(0^,0^)<num>", "SassMap(SassMap)", "SassString(int)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "Compiler()", "Promise()", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "ParserExports()", "Stylesheet0(String,String,String?)", "String?(String)", "Uri(JSUrl0)", "Object(Map<String,Object?>)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "String(Object?)", "SassNumber(Value)", "Value(Object)", "SassString(SimpleSelector)", "bool(List<Value>)", "~(Module1<Callable>)"],
  126395. interceptorsByTag: null,
  126396. leafTags: null,
  126397. arrayRti: Symbol("$ti"),
  126398. rttc: {
  126399. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  126400. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  126401. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  126402. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  126403. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  126404. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  126405. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  126406. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  126407. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  126408. "3;importer,isDependency": (t1, t2, t3) => o => o instanceof A._Record_3_importer_isDependency && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  126409. "3;deprecation,message,span": (t1, t2, t3) => o => o instanceof A._Record_3_deprecation_message_span && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  126410. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  126411. }
  126412. };
  126413. A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","Realpath":"LegacyJavaScriptObject","RealpathSync":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSModule":"LegacyJavaScriptObject","JSModuleRequire":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","_RequireMain":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_ConstructionOptions":"LegacyJavaScriptObject","_ChannelOptions":"LegacyJavaScriptObject","_ToGamutOptions":"LegacyJavaScriptObject","_InterpolationOptions":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","JSExpressionVisitorObject":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","ParserExports":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSSet":"LegacyJavaScriptObject","JSSimpleSelectorVisitorObject":"LegacyJavaScriptObject","JSStatementVisitorObject":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","_RequireMain0":"LegacyJavaScriptObject","NativeArrayBuffer":"NativeByteBuffer","JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"JavaScriptObject":{"JSObject":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":[],"JsSystemError":[],"ImmutableList":[],"_ConstructionOptions":[],"_ChannelOptions":[],"_ToGamutOptions":[],"_InterpolationOptions":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"Deprecation1":[],"_NodeException":[],"JSExpressionVisitorObject":[],"Fiber":[],"JSFunction0":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"ParserExports":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"JSSet":[],"JSSimpleSelectorVisitorObject":[],"JSStatementVisitorObject":[],"_ConstructorOptions1":[],"_NodeSassString":[],"JSUrl0":[]},"JSArraySafeToStringHook":{"SafeToStringHook":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"NonNullsIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"ConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ConstantStringSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"GeneralConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeysIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapValuesIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapEntriesIterable":{"EfficientLengthIterable":["MapEntry<1,2>"],"Iterable":["MapEntry<1,2>"],"Iterable.E":"MapEntry<1,2>"},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JSObject":[]},"NativeByteData":{"ByteData":[],"JSObject":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JSObject":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"Float32List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"Float64List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_Future":{"Future":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"_PlatformUri":[],"Uri":[]},"_SimpleUri":{"_PlatformUri":[],"Uri":[]},"_DataUri":{"_PlatformUri":[],"Uri":[]},"NullRejectionException":{"Exception":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2"},"UnionSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView0":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"Version":{"VersionRange":[],"Comparable":["VersionRange"]},"VersionRange":{"Comparable":["VersionRange"]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"ArgumentList":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"Expression":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"Parameter":{"AstNode":[]},"ParameterList":{"AstNode":[]},"Statement":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfClause":{"IfRuleClause":[]},"ElseClause":{"IfRuleClause":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"AstNode":[]},"Selector":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[],"AstNode":[]},"ClassSelector":{"SimpleSelector":[],"AstNode":[]},"ComplexSelector":{"AstNode":[]},"CompoundSelector":{"AstNode":[]},"IDSelector":{"SimpleSelector":[],"AstNode":[]},"SelectorList":{"AstNode":[]},"_ParentSelectorVisitor":{"SelectorSearchVisitor":["ParentSelector"],"SelectorSearchVisitor.T":"ParentSelector"},"ParentSelector":{"SimpleSelector":[],"AstNode":[]},"PlaceholderSelector":{"SimpleSelector":[],"AstNode":[]},"PseudoSelector":{"SimpleSelector":[],"AstNode":[]},"SimpleSelector":{"AstNode":[]},"TypeSelector":{"SimpleSelector":[],"AstNode":[]},"UniversalSelector":{"SimpleSelector":[],"AstNode":[]},"_EnvironmentModule0":{"Module0":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable0":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable0":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable0":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module0":["Callable0"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException":{"MultiSourceSpanFormatException":[],"SassFormatException":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"NodePackageImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module0":["1"]},"ForwardedModuleView":{"Module0":["1"]},"ShadowedModuleView":{"Module0":["1"]},"LazyFileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"LinearChannel":{"ColorChannel":[]},"A98RgbColorSpace":{"ColorSpace":[]},"DisplayP3ColorSpace":{"ColorSpace":[]},"HslColorSpace":{"ColorSpace":[]},"HwbColorSpace":{"ColorSpace":[]},"LabColorSpace":{"ColorSpace":[]},"LchColorSpace":{"ColorSpace":[]},"LmsColorSpace":{"ColorSpace":[]},"OklabColorSpace":{"ColorSpace":[]},"OklchColorSpace":{"ColorSpace":[]},"ProphotoRgbColorSpace":{"ColorSpace":[]},"Rec2020ColorSpace":{"ColorSpace":[]},"RgbColorSpace":{"ColorSpace":[]},"SrgbColorSpace":{"ColorSpace":[]},"SrgbLinearColorSpace":{"ColorSpace":[]},"XyzD50ColorSpace":{"ColorSpace":[]},"XyzD65ColorSpace":{"ColorSpace":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"SassMixin":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"MultiSourceSpanException":{"Exception":[]},"MultiSourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"A98RgbColorSpace0":{"ColorSpace0":[]},"SupportsAnything0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"ArgumentList0":{"SassNode":[],"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluateVisitor2":{"StatementVisitor":["Future<Value0?>"],"ExpressionVisitor":["Future<Value0>"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedAttributeSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"LinearChannel0":{"ColorChannel0":[]},"InterpolatedClassSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"AsyncCompiler":{"Compiler":[]},"InterpolatedComplexSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"InterpolatedComplexSelectorComponent":{"SassNode":[],"AstNode0":[]},"InterpolatedCompoundSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"SassNode":[],"AstNode0":[]},"ContentBlock0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"DisplayP3ColorSpace0":{"ColorSpace0":[]},"DynamicImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_EvaluateVisitor1":{"StatementVisitor":["Value0?"],"ExpressionVisitor":["Value0"]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"SassNode":[],"AstNode0":[]},"JSExpressionVisitor":{"ExpressionVisitor":["Object?"]},"_MakeExpressionCalculationSafe0":{"ExpressionVisitor":["Expression0"]},"ExtendRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"HslColorSpace0":{"ColorSpace0":[]},"HwbColorSpace0":{"ColorSpace0":[]},"InterpolatedIDSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSelector":{"SassNode":[],"AstNode0":[]},"Interpolation0":{"SassNode":[],"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"IsCalculationSafeVisitor0":{"ExpressionVisitor":["bool"]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LabColorSpace0":{"ColorSpace0":[]},"LazyFileSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LchColorSpace0":{"ColorSpace0":[]},"LimitedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"ListExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSelectorList":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LmsColorSpace0":{"ColorSpace0":[]},"LoudComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementVisitor":["bool?"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"NullExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"OklabColorSpace0":{"ColorSpace0":[]},"OklchColorSpace0":{"ColorSpace0":[]},"SupportsOperation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"Parameter0":{"SassNode":[],"AstNode0":[]},"ParameterList0":{"SassNode":[],"AstNode0":[]},"InterpolatedParentSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedPlaceholderSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PlainCssCallable0":{"Callable":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"ProphotoRgbColorSpace0":{"ColorSpace0":[]},"InterpolatedPseudoSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"InterpolatedQualifiedName":{"SassNode":[],"AstNode0":[]},"Rec2020ColorSpace0":{"ColorSpace0":[]},"ReturnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"RgbColorSpace0":{"ColorSpace0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSimpleSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"JSSimpleSelectorVisitor":{"InterpolatedSelectorVisitor":["Object?"]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"SourceInterpolationVisitor":{"ExpressionVisitor":["~"]},"SrgbColorSpace0":{"ColorSpace0":[]},"SrgbLinearColorSpace0":{"ColorSpace0":[]},"Statement0":{"SassNode":[],"AstNode0":[]},"JSStatementVisitor":{"StatementVisitor":["Object?"]},"StaticImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"InterpolatedTypeSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"InterpolatedUniversalSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"XyzD50ColorSpace0":{"ColorSpace0":[]},"XyzD65ColorSpace0":{"ColorSpace0":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"CssComment":{"CssNode":[],"AstNode":[]},"Import":{"AstNode":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"SassNode":[],"AstNode0":[]},"SassNode":{"AstNode0":[]},"SupportsCondition":{"SassNode":[],"AstNode0":[]}}'));
  126414. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"NonNullsIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"ConstantSet":1,"LinkedHashMapKeyIterator":1,"LinkedHashMapValueIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"UnmodifiableMapBase":2,"_UnmodifiableMapMixin":2,"MapView":2,"_UnmodifiableSetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"_UnmodifiableSetView_SetBase__UnmodifiableSetMixin":1,"_StringSinkConversionSink":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1,"ExpressionVisitor":1,"InterpolatedSelectorVisitor":1}'));
  126415. var string$ = {
  126416. x00_____: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u03f6\x00\u0404\u03f4 \u03f4\u03f6\u01f6\u01f6\u03f6\u03fc\u01f4\u03ff\u03ff\u0584\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u05d4\u01f4\x00\u01f4\x00\u0504\u05c4\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0400\x00\u0400\u0200\u03f7\u0200\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0200\u0200\u0200\u03f7\x00",
  126417. x0a_BUG_: "\n\nBUG: This should include a source span!",
  126418. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  126419. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  126420. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  126421. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  126422. x0a_This: "\n\nThis is only an error because you've set the ",
  126423. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  126424. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  126425. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  126426. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  126427. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  126428. x20It_wi: " It will be omitted from the generated CSS.",
  126429. x20be_an: " be an extender.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  126430. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  126431. x20deprex20ix2c: " deprecation is obsolete, so does not need to be made fatal.",
  126432. x20deprex20ix2e: " deprecation is obsolete. If you were previously silencing it, your code may now behave in unexpected ways.",
  126433. x20deprex20t: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  126434. x20deprex2c: " deprecation, since it has also been made fatal.",
  126435. x20hue__: ' hue" may not be set for rectangular color space ',
  126436. x20in_in: " in interpolation here.\nIt may end up represented as ",
  126437. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126438. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  126439. x20is_av: " is available from multiple global modules.",
  126440. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  126441. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  126442. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  126443. x20is_nov: " is not valid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  126444. x20must_b: " must be either nearest, up, down or to-zero.",
  126445. x20must_n: " must not be greater than the number of characters in the file, ",
  126446. x20repet: " repetitive deprecation warnings omitted.",
  126447. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  126448. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  126449. x20to_cl: " to clarify that it's meant to be a binary operation, or wrap\nit in parentheses to make it a unary operation. This will be an error in future\nversions of Sass.\n\nMore info and automated migrator: https://sass-lang.com/d/strict-unary",
  126450. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  126451. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  126452. x20was_n: " was not declared with !default in the @used module.",
  126453. x20was_p: " was passed both by position and by name.",
  126454. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  126455. x21globai: "!global isn't allowed for variables in other modules.",
  126456. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  126457. x22x20can_: "\" can't be used as a parent in a compound selector.",
  126458. x22x20is_ix0a: '" is invalid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
  126459. x22x20is_ix20: '" is invalid CSS. It will be omitted from the generated CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
  126460. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  126461. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  126462. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  126463. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  126464. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  126465. x22packa: '"package:" URLs aren\'t supported on this platform.',
  126466. x24color: "$color1, $color2, $weight: 50%, $method: null",
  126467. x24css_a: "$css and $module may not both be passed at once.",
  126468. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  126469. x24selec: "$selectors: At least one selector must be passed.",
  126470. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  126471. x27x20must: "' must be a path relative to the package root at '",
  126472. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  126473. x28__cal: "() calculation. This doesn't allow unitless numbers to be mixed with numbers with units. If you want to use the Sass function, call math.",
  126474. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  126475. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  126476. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126477. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  126478. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  126479. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  126480. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  126481. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  126482. x29x20is_d_: ") is deprecated.\n\nTo preserve current behavior: ",
  126483. x29x20is_dT: ") is deprecated.\nThis will be an error in Dart Sass 2.0.0.",
  126484. x29x20to_clg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  126485. x29x20to_cli: ") to color.invert() is deprecated.\n\nRecommendation: ",
  126486. x29x20to_cm: ") to compileString() or related functions is deprecated and will be an error in Dart Sass 2.0.0.",
  126487. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  126488. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  126489. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  126490. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  126491. x3d_____: "===== asynchronous gap ===========================\n",
  126492. x40_moz_: "@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see https://sass-lang.com/d/moz-document.",
  126493. x40conte: "@content is only allowed within mixin declarations.",
  126494. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  126495. x40exten: "@extend may only be used within style rules.",
  126496. x40forwa: "@forward rules must be written before any other rules.",
  126497. x40funct: "@function if($condition, $if-true, $if-false) {",
  126498. x40use_r: "@use rules must be written before any other rules.",
  126499. A_list: "A list with more than one element must have an explicit separator.",
  126500. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  126501. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  126502. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  126503. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  126504. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  126505. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  126506. As_of_S: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",
  126507. At_rul: "At-rules may not be used within nested declarations.",
  126508. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  126509. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  126510. Cannotfq: "Cannot extract a file path from a URI with a query component",
  126511. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  126512. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  126513. Config: "Configuring private variables is deprecated.\nThis will be an error in Dart Sass 2.0.0.",
  126514. Could_: 'Could not find an option with short name "-',
  126515. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  126516. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  126517. Declarm: "Declarations may only be used within style rules.",
  126518. Declarp: "Declarations parsed as raw CSS may not be nested.",
  126519. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  126520. Either: "Either options.data or options.file must be set.",
  126521. Entrie: "Entries may not be removed from MergedMapView.",
  126522. Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",
  126523. Evalua: "Evaluation handles @include and its content block together.",
  126524. Expecta: "Expected a color interpolation method, got an empty list.",
  126525. Expectu: 'Expected unquoted string "hue" at the end of ',
  126526. Expectv: "Expected variable, mixin, or function name",
  126527. Functi: "Functions may not be declared in control directives.",
  126528. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  126529. Globalcad: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.adjust instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126530. Globalcal: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.alpha instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126531. Globalcg: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.grayscale instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126532. Globalci: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.invert instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126533. Globalco: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.opacity instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126534. Globalm: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse math.abs instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126535. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  126536. If_con: "If conditions is longer than one element, conjunction may not be null.",
  126537. If_par: "If parsedAsSassScript is false, value must contain a SassString (was `",
  126538. If_str: "If strategy is not null, step is required.",
  126539. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  126540. In_fut: "In future versions of Sass, round() will be interpreted as a CSS round() calculation. This requires an explicit modulus when rounding numbers with units. If you want to use the Sass function, call math.round() instead.\n\nSee https://sass-lang.com/d/import",
  126541. Indent: "Indenting at the beginning of the document is illegal.",
  126542. Interpn: "Interpolation isn't allowed in namespaces.",
  126543. Interpp: "Interpolation isn't allowed in plain CSS.",
  126544. Invali: 'Invalid return value for custom function "',
  126545. It_s_n: "It's not clear which file to import. Found:\n",
  126546. Keywor: "Keyword arguments can't be used with calculations.",
  126547. May_no: "May not have a value for string elements (at index ",
  126548. Media_: "Media rules may not be used within nested declarations.",
  126549. Mixinsb: "Mixins may not be declared in control directives.",
  126550. Mixinscf: "Mixins may not contain function declarations.",
  126551. Mixinscm: "Mixins may not contain mixin declarations.",
  126552. Modulel: "Module loop: this module is already being loaded.",
  126553. Modulen: "Module namespaces aren't allowed in plain CSS.",
  126554. Must_n: "Must not have a value for expression elements (at index ",
  126555. Named_: "Named arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",
  126556. Nested: "Nested declarations aren't allowed in plain CSS.",
  126557. New_en: "New entries may not be added to MergedMapView.",
  126558. No_Sasc: "No Sass callable is currently being evaluated.",
  126559. No_Sass: "No Sass stylesheet is currently being evaluated.",
  126560. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  126561. Number: "Number to round and step arguments are required.",
  126562. Only_2: "Only 2 slash-separated elements allowed, but ",
  126563. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  126564. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  126565. Other_: "Other modules' members can't be defined with !global.",
  126566. Parent: "Parent selectors can't have suffixes in plain CSS.",
  126567. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  126568. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  126569. Passinp: "Passing percentage units to the global abs() function is deprecated.\nIn the future, this will emit a CSS abs() function to be resolved by the browser.\nTo preserve current behavior: math.abs(",
  126570. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  126571. Plain_: "Plain CSS functions don't support keyword arguments.",
  126572. Positik: "Positional arguments must come before keyword arguments.",
  126573. Positir: "Positional arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",
  126574. Privat: "Private members can't be accessed from outside their modules.",
  126575. Rest_a: "Rest arguments can't be used with calculations.",
  126576. Sass__i: "Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  126577. Sass__m: "Sass @mixin names beginning with -- are forbidden for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  126578. Sass_v: "Sass variables aren't allowed in plain CSS.",
  126579. Silent: "Silent comments aren't allowed in plain CSS.",
  126580. Style_k: "Style rules may not be used within keyframe blocks.",
  126581. Style_n: "Style rules may not be used within nested declarations.",
  126582. Suppor: "Supports rules may not be used within nested declarations.",
  126583. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  126584. The_No: "The Node package importer cannot be used without a filesystem.",
  126585. The_ca: "The canonicalize() method must return a URL.",
  126586. The_co: "The color() function doesn't support the color space ",
  126587. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  126588. The_fie: "The findFileUrl() method must return a URL.",
  126589. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  126590. The_le: "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/legacy-js-api",
  126591. The_lo: "The load() function must return an object with contents and syntax fields.",
  126592. The_pa: "The parent selector isn't allowed in plain CSS.",
  126593. The_sa: "The same variable may only be configured once.",
  126594. The_ta: 'The target selector was not found.\nUse "@extend ',
  126595. There_: "There's already a module with namespace \"",
  126596. This_d: 'This declaration has no parameter named "$',
  126597. This_e: "This expression can't be used in a calculation.",
  126598. This_f: "This function isn't allowed in plain CSS.",
  126599. This_ma: 'This module and the new module both define a variable named "$',
  126600. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  126601. This_n: "This name is reserved for the plain-CSS function.",
  126602. This_o: "This operation can't be used in a calculation.",
  126603. This_s: "This selector doesn't have any properties and won't be rendered.",
  126604. This_v: "This variable was not declared with !default in the @used module.",
  126605. To_usei: "To use color.invert() with non-legacy color ",
  126606. To_usem: "To use color.mix() with non-legacy color ",
  126607. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  126608. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  126609. Unable: "Unable to determine which of multiple potential resolutions found for ",
  126610. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  126611. User_a: "User-authored deprecations should not be silenced.",
  126612. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  126613. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  126614. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  126615. Using_t: "Using the current working directory as an implicit load path is deprecated. Either add it as an explicit load path or importer, or load this stylesheet from a different URL.",
  126616. Variab_: "Variable keyword argument map must have string keys.\n",
  126617. Variabs: "Variable keyword arguments must be a map (was ",
  126618. You_ma: "You may not @extend selectors across media queries.",
  126619. You_pr: "You probably don't mean to use the color value ",
  126620. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  126621. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  126622. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  126623. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126624. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  126625. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  126626. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  126627. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  126628. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  126629. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  126630. conten: "content-exists() may only be called within a mixin.",
  126631. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126632. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126633. fileEx: "fileExists() is only supported on Node.js",
  126634. leadin: "leadingCombinators and components may not both be empty.",
  126635. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126636. linkEx: "linkExists() is only supported on Node.js",
  126637. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  126638. math_r: "math.random() will no longer ignore $limit units (",
  126639. multip: "multiple statements on one line are not supported in the indented syntax.",
  126640. must_b: "must be a UniversalSelector or a TypeSelector",
  126641. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  126642. throug: "through() must return false for at least one parent of ",
  126643. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  126644. };
  126645. var type$ = (function rtii() {
  126646. var findType = A.findType;
  126647. return {
  126648. $env_1_1_String: findType("@<String>"),
  126649. ArgParser: findType("ArgParser"),
  126650. AstNode: findType("AstNode"),
  126651. AstNode_2: findType("AstNode0"),
  126652. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  126653. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  126654. AsyncCallable: findType("AsyncCallable"),
  126655. AsyncCallable_2: findType("AsyncCallable0"),
  126656. AsyncCompiler: findType("AsyncCompiler"),
  126657. AsyncImporter: findType("AsyncImporter0"),
  126658. Box_SelectorList: findType("Box<SelectorList>"),
  126659. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  126660. BuiltInCallable: findType("BuiltInCallable"),
  126661. BuiltInCallable_2: findType("BuiltInCallable0"),
  126662. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  126663. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  126664. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  126665. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  126666. ByteBuffer: findType("ByteBuffer"),
  126667. ByteData: findType("ByteData"),
  126668. Callable: findType("Callable0"),
  126669. Callable_2: findType("Callable"),
  126670. ChangeType: findType("ChangeType"),
  126671. CodeUnits: findType("CodeUnits"),
  126672. Combinator: findType("Combinator"),
  126673. Combinator_2: findType("Combinator0"),
  126674. Comparable_dynamic: findType("Comparable<@>"),
  126675. Comparable_nullable_Object: findType("Comparable<Object?>"),
  126676. CompileResult: findType("CompileResult"),
  126677. CompileResult_2: findType("CompileResult0"),
  126678. ComplexSelector: findType("ComplexSelector"),
  126679. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  126680. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  126681. ComplexSelector_2: findType("ComplexSelector0"),
  126682. Configuration: findType("Configuration"),
  126683. Configuration_2: findType("Configuration0"),
  126684. ConfiguredValue: findType("ConfiguredValue"),
  126685. ConfiguredValue_2: findType("ConfiguredValue0"),
  126686. ConfiguredVariable: findType("ConfiguredVariable"),
  126687. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  126688. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  126689. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  126690. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  126691. CssComment: findType("CssComment"),
  126692. CssComment_2: findType("CssComment0"),
  126693. CssMediaQuery: findType("CssMediaQuery"),
  126694. CssMediaQuery_2: findType("CssMediaQuery0"),
  126695. CssParentNode: findType("CssParentNode"),
  126696. CssParentNode_2: findType("CssParentNode0"),
  126697. CssStylesheet: findType("CssStylesheet"),
  126698. CssStylesheet_2: findType("CssStylesheet0"),
  126699. CssValue_AttributeOperator: findType("CssValue0<AttributeOperator0>"),
  126700. CssValue_Combinator: findType("CssValue<Combinator>"),
  126701. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  126702. CssValue_List_String: findType("CssValue<List<String>>"),
  126703. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  126704. CssValue_String: findType("CssValue<String>"),
  126705. CssValue_String_2: findType("CssValue0<String>"),
  126706. CssValue_Value: findType("CssValue<Value>"),
  126707. CssValue_Value_2: findType("CssValue0<Value0>"),
  126708. DateTime: findType("DateTime"),
  126709. Deprecation: findType("Deprecation"),
  126710. Deprecation_2: findType("Deprecation1"),
  126711. Deprecation_3: findType("Deprecation0"),
  126712. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  126713. Error: findType("Error"),
  126714. EvaluationContext: findType("EvaluationContext"),
  126715. EvaluationContext_2: findType("EvaluationContext0"),
  126716. Exception: findType("Exception"),
  126717. Expression: findType("Expression"),
  126718. Expression_2: findType("Expression0"),
  126719. Extender: findType("Extender"),
  126720. Extender_2: findType("Extender0"),
  126721. Extension: findType("Extension"),
  126722. Extension_2: findType("Extension0"),
  126723. FileLocation: findType("FileLocation"),
  126724. FileSpan: findType("FileSpan"),
  126725. Float32List: findType("Float32List"),
  126726. Float64List: findType("Float64List"),
  126727. FormatException: findType("FormatException"),
  126728. Frame: findType("Frame"),
  126729. Function: findType("Function"),
  126730. FutureGroup_void: findType("FutureGroup<~>"),
  126731. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  126732. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  126733. FutureOr_nullable_Uri: findType("Uri?/"),
  126734. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  126735. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  126736. Future_Value: findType("Future<Value>"),
  126737. Future_Value_2: findType("Future<Value0>"),
  126738. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  126739. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  126740. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  126741. Future_nullable_Uri: findType("Future<Uri?>"),
  126742. Future_nullable_Value: findType("Future<Value?>"),
  126743. Future_nullable_Value_2: findType("Future<Value0?>"),
  126744. IfClause: findType("IfClause"),
  126745. IfClause_2: findType("IfClause0"),
  126746. ImmutableList: findType("ImmutableList0"),
  126747. ImmutableList_2: findType("ImmutableList"),
  126748. ImmutableMap: findType("ImmutableMap0"),
  126749. Import: findType("Import"),
  126750. Import_2: findType("Import0"),
  126751. Importer: findType("Importer0"),
  126752. ImporterResult: findType("ImporterResult"),
  126753. ImporterResult_2: findType("ImporterResult0"),
  126754. Importer_2: findType("Importer"),
  126755. Int16List: findType("Int16List"),
  126756. Int32List: findType("Int32List"),
  126757. Int8List: findType("Int8List"),
  126758. InterpolatedComplexSelector: findType("InterpolatedComplexSelector"),
  126759. InterpolatedComplexSelectorComponent: findType("InterpolatedComplexSelectorComponent"),
  126760. InterpolatedSimpleSelector: findType("InterpolatedSimpleSelector"),
  126761. Interpolation: findType("Interpolation"),
  126762. InterpolationBuffer: findType("InterpolationBuffer"),
  126763. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  126764. InterpolationMap: findType("InterpolationMap"),
  126765. InterpolationMap_2: findType("InterpolationMap0"),
  126766. Interpolation_2: findType("Interpolation0"),
  126767. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  126768. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  126769. Iterable_dynamic: findType("Iterable<@>"),
  126770. JSArray_AstNode: findType("JSArray<AstNode>"),
  126771. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  126772. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  126773. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  126774. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  126775. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  126776. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  126777. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  126778. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  126779. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  126780. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  126781. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  126782. JSArray_Callable: findType("JSArray<Callable0>"),
  126783. JSArray_Callable_2: findType("JSArray<Callable>"),
  126784. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  126785. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  126786. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  126787. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  126788. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  126789. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  126790. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  126791. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  126792. JSArray_CssComment: findType("JSArray<CssComment>"),
  126793. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  126794. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  126795. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  126796. JSArray_CssNode: findType("JSArray<CssNode>"),
  126797. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  126798. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  126799. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  126800. JSArray_Entry: findType("JSArray<Entry>"),
  126801. JSArray_Expression: findType("JSArray<Expression>"),
  126802. JSArray_Expression_2: findType("JSArray<Expression0>"),
  126803. JSArray_Extender: findType("JSArray<Extender>"),
  126804. JSArray_Extender_2: findType("JSArray<Extender0>"),
  126805. JSArray_Extension: findType("JSArray<Extension>"),
  126806. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  126807. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  126808. JSArray_Extension_2: findType("JSArray<Extension0>"),
  126809. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  126810. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  126811. JSArray_Frame: findType("JSArray<Frame>"),
  126812. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  126813. JSArray_IfClause: findType("JSArray<IfClause>"),
  126814. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  126815. JSArray_Import: findType("JSArray<Import>"),
  126816. JSArray_Import_2: findType("JSArray<Import0>"),
  126817. JSArray_Importer: findType("JSArray<Importer>"),
  126818. JSArray_Importer_2: findType("JSArray<Importer0>"),
  126819. JSArray_InterpolatedComplexSelector: findType("JSArray<InterpolatedComplexSelector>"),
  126820. JSArray_InterpolatedComplexSelectorComponent: findType("JSArray<InterpolatedComplexSelectorComponent>"),
  126821. JSArray_InterpolatedSimpleSelector: findType("JSArray<InterpolatedSimpleSelector>"),
  126822. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  126823. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  126824. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  126825. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  126826. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  126827. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  126828. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  126829. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  126830. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  126831. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  126832. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  126833. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  126834. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  126835. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  126836. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  126837. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  126838. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  126839. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  126840. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  126841. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  126842. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  126843. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  126844. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  126845. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  126846. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  126847. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  126848. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  126849. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  126850. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  126851. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  126852. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  126853. JSArray_Object: findType("JSArray<Object>"),
  126854. JSArray_Parameter: findType("JSArray<Parameter>"),
  126855. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  126856. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  126857. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  126858. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  126859. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  126860. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  126861. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  126862. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  126863. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  126864. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  126865. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  126866. JSArray_SassList: findType("JSArray<SassList>"),
  126867. JSArray_SassList_2: findType("JSArray<SassList0>"),
  126868. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  126869. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  126870. JSArray_Statement: findType("JSArray<Statement>"),
  126871. JSArray_Statement_2: findType("JSArray<Statement0>"),
  126872. JSArray_String: findType("JSArray<String>"),
  126873. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  126874. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  126875. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  126876. JSArray_Trace: findType("JSArray<Trace>"),
  126877. JSArray_UseRule: findType("JSArray<UseRule>"),
  126878. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  126879. JSArray_Value: findType("JSArray<Value>"),
  126880. JSArray_Value_2: findType("JSArray<Value0>"),
  126881. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  126882. JSArray__Highlight: findType("JSArray<_Highlight>"),
  126883. JSArray__Line: findType("JSArray<_Line>"),
  126884. JSArray_double: findType("JSArray<double>"),
  126885. JSArray_dynamic: findType("JSArray<@>"),
  126886. JSArray_int: findType("JSArray<int>"),
  126887. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  126888. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  126889. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  126890. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  126891. JSArray_nullable_String: findType("JSArray<String?>"),
  126892. JSClass: findType("JSClass0"),
  126893. JSFunction: findType("JSFunction0"),
  126894. JSImporter: findType("JSImporter"),
  126895. JSImporterResult: findType("JSImporterResult"),
  126896. JSNull: findType("JSNull"),
  126897. JSObject: findType("JSObject"),
  126898. JSUrl: findType("JSUrl0"),
  126899. JavaScriptFunction: findType("JavaScriptFunction"),
  126900. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  126901. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  126902. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  126903. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  126904. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  126905. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  126906. JsSystemError: findType("JsSystemError"),
  126907. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  126908. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  126909. LinearChannel: findType("LinearChannel"),
  126910. LinearChannel_2: findType("LinearChannel0"),
  126911. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  126912. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  126913. List_CssComment: findType("List<CssComment>"),
  126914. List_CssComment_2: findType("List<CssComment0>"),
  126915. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  126916. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  126917. List_Extension: findType("List<Extension>"),
  126918. List_ExtensionStore: findType("List<ExtensionStore>"),
  126919. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  126920. List_Extension_2: findType("List<Extension0>"),
  126921. List_JSObject: findType("List<JSObject>"),
  126922. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  126923. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  126924. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  126925. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  126926. List_Module_Callable: findType("List<Module0<Callable0>>"),
  126927. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  126928. List_String: findType("List<String>"),
  126929. List_WatchEvent: findType("List<WatchEvent>"),
  126930. List_dynamic: findType("List<@>"),
  126931. List_int: findType("List<int>"),
  126932. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  126933. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  126934. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  126935. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  126936. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  126937. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  126938. MapKeySet_String: findType("MapKeySet<String>"),
  126939. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  126940. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  126941. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  126942. Map_String_AstNode: findType("Map<String,AstNode>"),
  126943. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  126944. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  126945. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  126946. Map_String_Callable: findType("Map<String,Callable0>"),
  126947. Map_String_Callable_2: findType("Map<String,Callable>"),
  126948. Map_String_Value: findType("Map<String,Value>"),
  126949. Map_String_Value_2: findType("Map<String,Value0>"),
  126950. Map_String_dynamic: findType("Map<String,@>"),
  126951. Map_dynamic_dynamic: findType("Map<@,@>"),
  126952. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  126953. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  126954. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  126955. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  126956. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  126957. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  126958. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  126959. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  126960. MixinRule: findType("MixinRule"),
  126961. MixinRule_2: findType("MixinRule0"),
  126962. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  126963. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  126964. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  126965. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  126966. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  126967. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  126968. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  126969. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  126970. ModifiableCssNode: findType("ModifiableCssNode"),
  126971. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  126972. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  126973. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  126974. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  126975. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  126976. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  126977. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  126978. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  126979. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  126980. Module_Callable: findType("Module0<Callable0>"),
  126981. Module_Callable_2: findType("Module1<Callable>"),
  126982. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  126983. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  126984. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  126985. NativeUint8List: findType("NativeUint8List"),
  126986. Never: findType("0&"),
  126987. NodeCompileResult: findType("NodeCompileResult"),
  126988. NodeImporterResult: findType("NodeImporterResult0"),
  126989. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  126990. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  126991. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  126992. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  126993. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  126994. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  126995. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  126996. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  126997. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  126998. Null: findType("Null"),
  126999. NumberExpression: findType("NumberExpression"),
  127000. NumberExpression_2: findType("NumberExpression0"),
  127001. Object: findType("Object"),
  127002. Option: findType("Option"),
  127003. Parameter: findType("Parameter"),
  127004. ParameterList: findType("ParameterList"),
  127005. ParameterList_2: findType("ParameterList0"),
  127006. Parameter_2: findType("Parameter0"),
  127007. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  127008. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  127009. PathMap_String: findType("PathMap<String>"),
  127010. PathMap_nullable_String: findType("PathMap<String?>"),
  127011. Promise: findType("Promise"),
  127012. PseudoSelector: findType("PseudoSelector"),
  127013. PseudoSelector_2: findType("PseudoSelector0"),
  127014. RangeError: findType("RangeError"),
  127015. Record: findType("Record"),
  127016. Record_0: findType("+()"),
  127017. Record_1_nullable_Object: findType("+(Object?)"),
  127018. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  127019. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  127020. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  127021. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  127022. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  127023. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  127024. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  127025. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  127026. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  127027. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  127028. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  127029. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  127030. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  127031. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  127032. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  127033. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  127034. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  127035. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  127036. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  127037. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  127038. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  127039. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  127040. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  127041. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  127042. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  127043. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  127044. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  127045. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value>,Map<String,AstNode>,List<Value>,List<AstNode>,ListSeparator)"),
  127046. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value0>,Map<String,AstNode0>,List<Value0>,List<AstNode0>,ListSeparator0)"),
  127047. RegExpMatch: findType("RegExpMatch"),
  127048. RenderContextOptions: findType("RenderContextOptions0"),
  127049. RenderResult: findType("RenderResult"),
  127050. Result_String: findType("Result<String>"),
  127051. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  127052. Runes: findType("Runes"),
  127053. SassArgumentList: findType("SassArgumentList"),
  127054. SassArgumentList_2: findType("SassArgumentList0"),
  127055. SassBoolean: findType("SassBoolean"),
  127056. SassBoolean_2: findType("SassBoolean0"),
  127057. SassColor: findType("SassColor"),
  127058. SassColor_2: findType("SassColor0"),
  127059. SassFormatException: findType("SassFormatException"),
  127060. SassFormatException_2: findType("SassFormatException0"),
  127061. SassList: findType("SassList"),
  127062. SassList_2: findType("SassList0"),
  127063. SassMap: findType("SassMap"),
  127064. SassMap_2: findType("SassMap0"),
  127065. SassNumber: findType("SassNumber"),
  127066. SassNumber_2: findType("SassNumber0"),
  127067. SassRuntimeException: findType("SassRuntimeException"),
  127068. SassRuntimeException_2: findType("SassRuntimeException0"),
  127069. SassString: findType("SassString"),
  127070. SassString_2: findType("SassString0"),
  127071. SelectorList: findType("SelectorList"),
  127072. SelectorList_2: findType("SelectorList0"),
  127073. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  127074. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  127075. Set_Uri: findType("Set<Uri>"),
  127076. SimpleSelector: findType("SimpleSelector"),
  127077. SimpleSelector_2: findType("SimpleSelector0"),
  127078. SourceFile: findType("SourceFile"),
  127079. SourceLocation: findType("SourceLocation"),
  127080. SourceSpan: findType("SourceSpan"),
  127081. SourceSpanFormatException: findType("SourceSpanFormatException"),
  127082. SourceSpanWithContext: findType("SourceSpanWithContext"),
  127083. StackTrace: findType("StackTrace"),
  127084. Statement: findType("Statement"),
  127085. Statement_2: findType("Statement0"),
  127086. StaticImport: findType("StaticImport"),
  127087. StaticImport_2: findType("StaticImport0"),
  127088. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  127089. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  127090. StreamQueue_String: findType("StreamQueue<String>"),
  127091. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  127092. String: findType("String"),
  127093. StringExpression: findType("StringExpression"),
  127094. StringExpression_2: findType("StringExpression0"),
  127095. StyleRule: findType("StyleRule"),
  127096. StyleRule_2: findType("StyleRule0"),
  127097. StylesheetNode: findType("StylesheetNode"),
  127098. Timer: findType("Timer"),
  127099. Trace: findType("Trace"),
  127100. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  127101. TypeError: findType("TypeError"),
  127102. TypeSelector: findType("TypeSelector"),
  127103. TypeSelector_2: findType("TypeSelector0"),
  127104. Uint16List: findType("Uint16List"),
  127105. Uint32List: findType("Uint32List"),
  127106. Uint8ClampedList: findType("Uint8ClampedList"),
  127107. Uint8List: findType("Uint8List"),
  127108. UnionSet_Uri: findType("UnionSet<Uri>"),
  127109. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  127110. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  127111. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  127112. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  127113. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  127114. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  127115. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  127116. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  127117. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  127118. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  127119. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  127120. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  127121. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  127122. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  127123. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  127124. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  127125. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  127126. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  127127. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  127128. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  127129. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  127130. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  127131. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  127132. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  127133. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  127134. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  127135. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  127136. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  127137. Uri: findType("Uri"),
  127138. UseRule: findType("UseRule"),
  127139. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  127140. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  127141. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  127142. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  127143. Value: findType("Value"),
  127144. Value_2: findType("Value0"),
  127145. Value_Function_List_Value: findType("Value(List<Value>)"),
  127146. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  127147. VariableDeclaration: findType("VariableDeclaration"),
  127148. VersionRange: findType("VersionRange"),
  127149. WatchEvent: findType("WatchEvent"),
  127150. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  127151. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  127152. WhereIterable_String: findType("WhereIterable<String>"),
  127153. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  127154. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  127155. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  127156. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  127157. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  127158. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  127159. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  127160. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  127161. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  127162. _EventRequest_dynamic: findType("_EventRequest<@>"),
  127163. _Future_List_void: findType("_Future<List<~>>"),
  127164. _Future_Object: findType("_Future<Object>"),
  127165. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  127166. _Future_String: findType("_Future<String>"),
  127167. _Future_Value: findType("_Future<Value>"),
  127168. _Future_Value_2: findType("_Future<Value0>"),
  127169. _Future_bool: findType("_Future<bool>"),
  127170. _Future_dynamic: findType("_Future<@>"),
  127171. _Future_int: findType("_Future<int>"),
  127172. _Future_nullable_Object: findType("_Future<Object?>"),
  127173. _Future_void: findType("_Future<~>"),
  127174. _Highlight: findType("_Highlight"),
  127175. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  127176. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  127177. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  127178. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  127179. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  127180. _MapEntry: findType("_MapEntry"),
  127181. _NodeException: findType("_NodeException"),
  127182. _PlatformUri: findType("_PlatformUri"),
  127183. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  127184. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  127185. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  127186. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  127187. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  127188. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  127189. bool: findType("bool"),
  127190. double: findType("double"),
  127191. dynamic: findType("@"),
  127192. dynamic_Function: findType("@()"),
  127193. dynamic_Function_Object: findType("@(Object)"),
  127194. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  127195. int: findType("int"),
  127196. nullable_AstNode: findType("AstNode?"),
  127197. nullable_AstNode_2: findType("AstNode0?"),
  127198. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  127199. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  127200. nullable_CssValue_String: findType("CssValue<String>?"),
  127201. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  127202. nullable_FileSpan: findType("FileSpan?"),
  127203. nullable_Future_Null: findType("Future<Null>?"),
  127204. nullable_Future_void: findType("Future<~>?"),
  127205. nullable_ImporterResult: findType("ImporterResult?"),
  127206. nullable_ImporterResult_2: findType("ImporterResult0?"),
  127207. nullable_JSObject: findType("JSObject?"),
  127208. nullable_Object: findType("Object?"),
  127209. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  127210. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  127211. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  127212. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  127213. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  127214. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  127215. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  127216. nullable_SourceFile: findType("SourceFile?"),
  127217. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  127218. nullable_String: findType("String?"),
  127219. nullable_Stylesheet: findType("Stylesheet?"),
  127220. nullable_StylesheetNode: findType("StylesheetNode?"),
  127221. nullable_Stylesheet_2: findType("Stylesheet0?"),
  127222. nullable_Uri: findType("Uri?"),
  127223. nullable_Value: findType("Value?"),
  127224. nullable_Value_2: findType("Value0?"),
  127225. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  127226. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  127227. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  127228. nullable__Highlight: findType("_Highlight?"),
  127229. nullable_bool: findType("bool?"),
  127230. nullable_double: findType("double?"),
  127231. nullable_int: findType("int?"),
  127232. nullable_num: findType("num?"),
  127233. num: findType("num"),
  127234. void: findType("~"),
  127235. void_Function_Object: findType("~(Object)"),
  127236. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  127237. };
  127238. })();
  127239. (function constants() {
  127240. var makeConstList = hunkHelpers.makeConstList;
  127241. B.Interceptor_methods = J.Interceptor.prototype;
  127242. B.JSArray_methods = J.JSArray.prototype;
  127243. B.JSBool_methods = J.JSBool.prototype;
  127244. B.JSInt_methods = J.JSInt.prototype;
  127245. B.JSNull_methods = J.JSNull.prototype;
  127246. B.JSNumber_methods = J.JSNumber.prototype;
  127247. B.JSString_methods = J.JSString.prototype;
  127248. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  127249. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  127250. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  127251. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  127252. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  127253. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  127254. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  127255. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  127256. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  127257. B.List_U47 = makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN], type$.JSArray_LinearChannel);
  127258. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  127259. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  127260. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  127261. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  127262. B.List_U470 = makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0], type$.JSArray_LinearChannel_2);
  127263. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  127264. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  127265. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  127266. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  127267. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  127268. B.AttributeOperator_OrK = new A.AttributeOperator("~=", 1, "include");
  127269. B.AttributeOperator_OrK0 = new A.AttributeOperator0("~=", 1, "include");
  127270. B.AttributeOperator_g5B = new A.AttributeOperator("|=", 2, "dash");
  127271. B.AttributeOperator_g5B0 = new A.AttributeOperator0("|=", 2, "dash");
  127272. B.AttributeOperator_h20 = new A.AttributeOperator("*=", 5, "substring");
  127273. B.AttributeOperator_h200 = new A.AttributeOperator0("*=", 5, "substring");
  127274. B.AttributeOperator_jFZ = new A.AttributeOperator("=", 0, "equal");
  127275. B.AttributeOperator_jFZ0 = new A.AttributeOperator0("=", 0, "equal");
  127276. B.AttributeOperator_stc = new A.AttributeOperator("^=", 3, "prefix");
  127277. B.AttributeOperator_stc0 = new A.AttributeOperator0("^=", 3, "prefix");
  127278. B.AttributeOperator_xJ9 = new A.AttributeOperator("$=", 4, "suffix");
  127279. B.AttributeOperator_xJ90 = new A.AttributeOperator0("$=", 4, "suffix");
  127280. B.BinaryOperator_5vK = new A.BinaryOperator("and", "and", 2, true, 2, "and");
  127281. B.BinaryOperator_5vK0 = new A.BinaryOperator0("and", "and", 2, true, 2, "and");
  127282. B.BinaryOperator_CG2 = new A.BinaryOperator("less than", "<", 4, false, 7, "lessThan");
  127283. B.BinaryOperator_CG20 = new A.BinaryOperator0("less than", "<", 4, false, 7, "lessThan");
  127284. B.BinaryOperator_Fv2 = new A.BinaryOperator("not equals", "!=", 3, false, 4, "notEquals");
  127285. B.BinaryOperator_Fv20 = new A.BinaryOperator0("not equals", "!=", 3, false, 4, "notEquals");
  127286. B.BinaryOperator_K7S = new A.BinaryOperator("equals", "==", 3, false, 3, "equals");
  127287. B.BinaryOperator_K7S0 = new A.BinaryOperator0("equals", "==", 3, false, 3, "equals");
  127288. B.BinaryOperator_OOf = new A.BinaryOperator("or", "or", 1, true, 1, "or");
  127289. B.BinaryOperator_OOf0 = new A.BinaryOperator0("or", "or", 1, true, 1, "or");
  127290. B.BinaryOperator_Tic = new A.BinaryOperator("greater than", ">", 4, false, 5, "greaterThan");
  127291. B.BinaryOperator_Tic0 = new A.BinaryOperator0("greater than", ">", 4, false, 5, "greaterThan");
  127292. B.BinaryOperator_YGt = new A.BinaryOperator("greater than or equals", ">=", 4, false, 6, "greaterThanOrEquals");
  127293. B.BinaryOperator_YGt0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, 6, "greaterThanOrEquals");
  127294. B.BinaryOperator_bgA = new A.BinaryOperator("modulo", "%", 6, false, 13, "modulo");
  127295. B.BinaryOperator_bgA0 = new A.BinaryOperator0("modulo", "%", 6, false, 13, "modulo");
  127296. B.BinaryOperator_ehp = new A.BinaryOperator("divided by", "/", 6, false, 12, "dividedBy");
  127297. B.BinaryOperator_ehp0 = new A.BinaryOperator0("divided by", "/", 6, false, 12, "dividedBy");
  127298. B.BinaryOperator_f2c = new A.BinaryOperator("less than or equals", "<=", 4, false, 8, "lessThanOrEquals");
  127299. B.BinaryOperator_f2c0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, 8, "lessThanOrEquals");
  127300. B.BinaryOperator_g6F = new A.BinaryOperator("single equals", "=", 0, false, 0, "singleEquals");
  127301. B.BinaryOperator_g6F0 = new A.BinaryOperator0("single equals", "=", 0, false, 0, "singleEquals");
  127302. B.BinaryOperator_jCK = new A.BinaryOperator("plus", "+", 5, true, 9, "plus");
  127303. B.BinaryOperator_jCK0 = new A.BinaryOperator0("plus", "+", 5, true, 9, "plus");
  127304. B.BinaryOperator_tDf = new A.BinaryOperator("minus", "-", 5, false, 10, "minus");
  127305. B.BinaryOperator_tDf0 = new A.BinaryOperator0("minus", "-", 5, false, 10, "minus");
  127306. B.BinaryOperator_wkM = new A.BinaryOperator("times", "*", 6, true, 11, "times");
  127307. B.BinaryOperator_wkM0 = new A.BinaryOperator0("times", "*", 6, true, 11, "times");
  127308. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  127309. B.C_AsciiCodec = new A.AsciiCodec();
  127310. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  127311. B.C_Base64Encoder = new A.Base64Encoder();
  127312. B.C_Base64Codec = new A.Base64Codec();
  127313. B.C_DefaultEquality = new A.DefaultEquality();
  127314. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  127315. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  127316. B.C_EmptyIterator = new A.EmptyIterator();
  127317. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  127318. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  127319. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  127320. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  127321. B.C_IterableEquality = new A.IterableEquality();
  127322. B.C_JS_CONST = function getTagFallback(o) {
  127323. var s = Object.prototype.toString.call(o);
  127324. return s.substring(8, s.length - 1);
  127325. };
  127326. B.C_JS_CONST0 = function() {
  127327. var toStringFunction = Object.prototype.toString;
  127328. function getTag(o) {
  127329. var s = toStringFunction.call(o);
  127330. return s.substring(8, s.length - 1);
  127331. }
  127332. function getUnknownTag(object, tag) {
  127333. if (/^HTML[A-Z].*Element$/.test(tag)) {
  127334. var name = toStringFunction.call(object);
  127335. if (name == "[object Object]") return null;
  127336. return "HTMLElement";
  127337. }
  127338. }
  127339. function getUnknownTagGenericBrowser(object, tag) {
  127340. if (object instanceof HTMLElement) return "HTMLElement";
  127341. return getUnknownTag(object, tag);
  127342. }
  127343. function prototypeForTag(tag) {
  127344. if (typeof window == "undefined") return null;
  127345. if (typeof window[tag] == "undefined") return null;
  127346. var constructor = window[tag];
  127347. if (typeof constructor != "function") return null;
  127348. return constructor.prototype;
  127349. }
  127350. function discriminator(tag) { return null; }
  127351. var isBrowser = typeof HTMLElement == "function";
  127352. return {
  127353. getTag: getTag,
  127354. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  127355. prototypeForTag: prototypeForTag,
  127356. discriminator: discriminator };
  127357. };
  127358. B.C_JS_CONST6 = function(getTagFallback) {
  127359. return function(hooks) {
  127360. if (typeof navigator != "object") return hooks;
  127361. var userAgent = navigator.userAgent;
  127362. if (typeof userAgent != "string") return hooks;
  127363. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  127364. if (userAgent.indexOf("Chrome") >= 0) {
  127365. function confirm(p) {
  127366. return typeof window == "object" && window[p] && window[p].name == p;
  127367. }
  127368. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  127369. }
  127370. hooks.getTag = getTagFallback;
  127371. };
  127372. };
  127373. B.C_JS_CONST1 = function(hooks) {
  127374. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  127375. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  127376. };
  127377. B.C_JS_CONST5 = function(hooks) {
  127378. if (typeof navigator != "object") return hooks;
  127379. var userAgent = navigator.userAgent;
  127380. if (typeof userAgent != "string") return hooks;
  127381. if (userAgent.indexOf("Firefox") == -1) return hooks;
  127382. var getTag = hooks.getTag;
  127383. var quickMap = {
  127384. "BeforeUnloadEvent": "Event",
  127385. "DataTransfer": "Clipboard",
  127386. "GeoGeolocation": "Geolocation",
  127387. "Location": "!Location",
  127388. "WorkerMessageEvent": "MessageEvent",
  127389. "XMLDocument": "!Document"};
  127390. function getTagFirefox(o) {
  127391. var tag = getTag(o);
  127392. return quickMap[tag] || tag;
  127393. }
  127394. hooks.getTag = getTagFirefox;
  127395. };
  127396. B.C_JS_CONST4 = function(hooks) {
  127397. if (typeof navigator != "object") return hooks;
  127398. var userAgent = navigator.userAgent;
  127399. if (typeof userAgent != "string") return hooks;
  127400. if (userAgent.indexOf("Trident/") == -1) return hooks;
  127401. var getTag = hooks.getTag;
  127402. var quickMap = {
  127403. "BeforeUnloadEvent": "Event",
  127404. "DataTransfer": "Clipboard",
  127405. "HTMLDDElement": "HTMLElement",
  127406. "HTMLDTElement": "HTMLElement",
  127407. "HTMLPhraseElement": "HTMLElement",
  127408. "Position": "Geoposition"
  127409. };
  127410. function getTagIE(o) {
  127411. var tag = getTag(o);
  127412. var newTag = quickMap[tag];
  127413. if (newTag) return newTag;
  127414. if (tag == "Object") {
  127415. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  127416. }
  127417. return tag;
  127418. }
  127419. function prototypeForTagIE(tag) {
  127420. var constructor = window[tag];
  127421. if (constructor == null) return null;
  127422. return constructor.prototype;
  127423. }
  127424. hooks.getTag = getTagIE;
  127425. hooks.prototypeForTag = prototypeForTagIE;
  127426. };
  127427. B.C_JS_CONST2 = function(hooks) {
  127428. var getTag = hooks.getTag;
  127429. var prototypeForTag = hooks.prototypeForTag;
  127430. function getTagFixed(o) {
  127431. var tag = getTag(o);
  127432. if (tag == "Document") {
  127433. if (!!o.xmlVersion) return "!Document";
  127434. return "!HTMLDocument";
  127435. }
  127436. return tag;
  127437. }
  127438. function prototypeForTagFixed(tag) {
  127439. if (tag == "Document") return null;
  127440. return prototypeForTag(tag);
  127441. }
  127442. hooks.getTag = getTagFixed;
  127443. hooks.prototypeForTag = prototypeForTagFixed;
  127444. };
  127445. B.C_JS_CONST3 = function(hooks) { return hooks; }
  127446. ;
  127447. B.C_JsonCodec = new A.JsonCodec();
  127448. B.C_ListEquality0 = new A.ListEquality();
  127449. B.C_ListEquality = new A.ListEquality();
  127450. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  127451. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  127452. B.C_SentinelValue = new A.SentinelValue();
  127453. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  127454. B.C_Utf8Codec = new A.Utf8Codec();
  127455. B.C_Utf8Encoder = new A.Utf8Encoder();
  127456. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  127457. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  127458. B.C__ContainsParentSelectorVisitor = new A._ContainsParentSelectorVisitor();
  127459. B.C__ContainsParentSelectorVisitor0 = new A._ContainsParentSelectorVisitor0();
  127460. B.C__DelayedDone = new A._DelayedDone();
  127461. B.C__HasContentVisitor = new A._HasContentVisitor();
  127462. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  127463. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  127464. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  127465. B.C__JSRandom = new A._JSRandom();
  127466. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  127467. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  127468. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  127469. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  127470. B.C__Required = new A._Required();
  127471. B.C__RootZone = new A._RootZone();
  127472. B.C__SassNull = new A._SassNull();
  127473. B.C__SassNull0 = new A._SassNull0();
  127474. B.CalculationOperator_KrC = new A.CalculationOperator("minus", "-", 1, 1, "minus");
  127475. B.CalculationOperator_KrC0 = new A.CalculationOperator0("minus", "-", 1, 1, "minus");
  127476. B.CalculationOperator_LPB = new A.CalculationOperator("times", "*", 2, 2, "times");
  127477. B.CalculationOperator_LPB0 = new A.CalculationOperator0("times", "*", 2, 2, "times");
  127478. B.CalculationOperator_dpX = new A.CalculationOperator("plus", "+", 1, 0, "plus");
  127479. B.CalculationOperator_dpX0 = new A.CalculationOperator0("plus", "+", 1, 0, "plus");
  127480. B.CalculationOperator_wFL = new A.CalculationOperator("divided by", "/", 2, 3, "dividedBy");
  127481. B.CalculationOperator_wFL0 = new A.CalculationOperator0("divided by", "/", 2, 3, "dividedBy");
  127482. B.ChangeType_add = new A.ChangeType("add");
  127483. B.ChangeType_modify = new A.ChangeType("modify");
  127484. B.ChangeType_remove = new A.ChangeType("remove");
  127485. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  127486. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  127487. B.Combinator_98W = new A.Combinator("~", 2, "followingSibling");
  127488. B.Combinator_98W0 = new A.Combinator0("~", 2, "followingSibling");
  127489. B.Combinator_iUF = new A.Combinator(">", 1, "child");
  127490. B.Combinator_iUF0 = new A.Combinator0(">", 1, "child");
  127491. B.Combinator_sHB = new A.Combinator("+", 0, "nextSibling");
  127492. B.Combinator_sHB0 = new A.Combinator0("+", 0, "nextSibling");
  127493. B.Object_empty = {};
  127494. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  127495. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  127496. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  127497. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  127498. B.Deprecation_0rM = new A.Deprecation("bogus-combinators", "1.54.0", null, 7, "bogusCombinators");
  127499. B.Deprecation_2PR = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", null, 7, "bogusCombinators");
  127500. B.Deprecation_45o = new A.Deprecation0("user-authored", null, null, null, 26, "userAuthored");
  127501. B.Deprecation_6BW = new A.Deprecation("import", "1.80.0", null, 20, "import");
  127502. B.Deprecation_7Bn = new A.Deprecation("color-module-compat", "1.23.0", null, 5, "colorModuleCompat");
  127503. B.Deprecation_7TE = new A.Deprecation("function-units", "1.56.0", null, 9, "functionUnits");
  127504. B.Deprecation_8Zg = new A.Deprecation("misplaced-rest", "1.91.0", null, 24, "misplacedRest");
  127505. B.Deprecation_DVV = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", null, 10, "duplicateVarFlags");
  127506. B.Deprecation_Gmv = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", null, 2, "mozDocument");
  127507. B.Deprecation_HUu = new A.Deprecation("elseif", "1.3.2", null, 1, "elseif");
  127508. B.Deprecation_IqB = new A.Deprecation("relative-canonical", "1.14.2", null, 3, "relativeCanonical");
  127509. B.Deprecation_Jgi = new A.Deprecation0("misplaced-rest", "1.91.0", "A rest parameter before a positional or named parameter.", null, 24, "misplacedRest");
  127510. B.Deprecation_K9u = new A.Deprecation("strict-unary", "1.55.0", null, 8, "strictUnary");
  127511. B.Deprecation_Kh7 = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", null, 8, "strictUnary");
  127512. B.Deprecation_L3L = new A.Deprecation0("import", "1.80.0", "@import rules.", null, 20, "import");
  127513. B.Deprecation_LIY = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", null, 0, "callString");
  127514. B.Deprecation_LUk = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", null, 13, "fsImporterCwd");
  127515. B.Deprecation_PGp = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", null, 19, "legacyJsApi");
  127516. B.Deprecation_PHd = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", null, 9, "functionUnits");
  127517. B.Deprecation_PY0 = new A.Deprecation("feature-exists", "1.78.0", null, 16, "featureExists");
  127518. B.Deprecation_PmQ = new A.Deprecation("moz-document", "1.7.2", null, 2, "mozDocument");
  127519. B.Deprecation_S1A = new A.Deprecation0("calc-interp", null, null, null, 27, "calcInterp");
  127520. B.Deprecation_SGB = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", null, 21, "globalBuiltin");
  127521. B.Deprecation_Usi = new A.Deprecation("abs-percent", "1.65.0", null, 12, "absPercent");
  127522. B.Deprecation_VUl = new A.Deprecation0("elseif", "1.3.2", "@elseif.", null, 1, "elseif");
  127523. B.Deprecation_Vc9 = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", null, 3, "relativeCanonical");
  127524. B.Deprecation_WW3 = new A.Deprecation("global-builtin", "1.80.0", null, 21, "globalBuiltin");
  127525. B.Deprecation_alT = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", null, 17, "color4Api");
  127526. B.Deprecation_c4i = new A.Deprecation("call-string", "0.0.0", null, 0, "callString");
  127527. B.Deprecation_hJG = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", null, 18, "colorFunctions");
  127528. B.Deprecation_jGw = new A.Deprecation("new-global", "1.17.2", null, 4, "newGlobal");
  127529. B.Deprecation_lkJ = new A.Deprecation0("with-private", "1.92.0", "Configuring private variables in @use, @forward, or load-css().", null, 25, "withPrivate");
  127530. B.Deprecation_mXO = new A.Deprecation("with-private", "1.92.0", null, 25, "withPrivate");
  127531. B.Deprecation_mqF = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", null, 5, "colorModuleCompat");
  127532. B.Deprecation_nRC = new A.Deprecation("duplicate-var-flags", "1.62.0", null, 10, "duplicateVarFlags");
  127533. B.Deprecation_ox0 = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", null, 11, "nullAlpha");
  127534. B.Deprecation_p2t = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", null, 16, "featureExists");
  127535. B.Deprecation_pwd = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", null, 4, "newGlobal");
  127536. B.Deprecation_qZ1 = new A.Deprecation("slash-div", "1.33.0", null, 6, "slashDiv");
  127537. B.Deprecation_r8S = new A.Deprecation("compile-string-relative-url", "1.88.0", null, 23, "compileStringRelativeUrl");
  127538. B.Deprecation_uJ0 = new A.Deprecation("fs-importer-cwd", "1.73.0", null, 13, "fsImporterCwd");
  127539. B.Deprecation_v81 = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", null, 6, "slashDiv");
  127540. B.Deprecation_w3M = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", null, 12, "absPercent");
  127541. B.Deprecation_wRY = new A.Deprecation("user-authored", null, null, 26, "userAuthored");
  127542. B.Deprecation_y9Y = new A.Deprecation0("compile-string-relative-url", "1.88.0", "Passing a relative url to compileString().", null, 23, "compileStringRelativeUrl");
  127543. B.Deprecation_zUK = new A.Deprecation("color-functions", "1.79.0", null, 18, "colorFunctions");
  127544. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  127545. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  127546. B.Duration_0 = new A.Duration(0);
  127547. B.ExtendMode_allTargets_2_allTargets = new A.ExtendMode("allTargets", 2, "allTargets");
  127548. B.ExtendMode_allTargets_2_allTargets0 = new A.ExtendMode0("allTargets", 2, "allTargets");
  127549. B.ExtendMode_normal_0_normal = new A.ExtendMode("normal", 0, "normal");
  127550. B.ExtendMode_normal_0_normal0 = new A.ExtendMode0("normal", 0, "normal");
  127551. B.ExtendMode_replace_1_replace = new A.ExtendMode("replace", 1, "replace");
  127552. B.ExtendMode_replace_1_replace0 = new A.ExtendMode0("replace", 1, "replace");
  127553. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  127554. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  127555. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  127556. B.List_oAL = makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m], type$.JSArray_ColorChannel);
  127557. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  127558. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  127559. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  127560. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  127561. B.List_oAL0 = makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0], type$.JSArray_ColorChannel_2);
  127562. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  127563. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod(0, "shorter");
  127564. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0(0, "shorter");
  127565. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod(1, "longer");
  127566. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0(1, "longer");
  127567. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod(2, "increasing");
  127568. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0(2, "increasing");
  127569. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod(3, "decreasing");
  127570. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0(3, "decreasing");
  127571. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  127572. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  127573. B.List_Ar1 = makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP], type$.JSArray_ColorChannel);
  127574. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  127575. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  127576. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  127577. B.List_Ar10 = makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0], type$.JSArray_ColorChannel_2);
  127578. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  127579. B.JsonDecoder_null = new A.JsonDecoder(null);
  127580. B.JsonEncoder_null = new A.JsonEncoder(null);
  127581. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  127582. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  127583. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  127584. B.List_KEo = makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83], type$.JSArray_ColorChannel);
  127585. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  127586. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  127587. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  127588. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  127589. B.List_KEo0 = makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830], type$.JSArray_ColorChannel_2);
  127590. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  127591. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  127592. B.List_grF = makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg], type$.JSArray_ColorChannel);
  127593. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  127594. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  127595. B.List_grF0 = makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0], type$.JSArray_ColorChannel_2);
  127596. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  127597. B.LineFeed_2_lf = new A.LineFeed(2, "lf");
  127598. B.LineFeed_3HY = new A.LineFeed0("cr", "\r", 0, "cr");
  127599. B.LineFeed_Kui = new A.LineFeed0("lfcr", "\n\r", 3, "lfcr");
  127600. B.LineFeed_aqi = new A.LineFeed0("crlf", "\r\n", 1, "crlf");
  127601. B.LineFeed_oJz = new A.LineFeed0("lf", "\n", 2, "lf");
  127602. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  127603. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  127604. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  127605. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  127606. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  127607. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  127608. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  127609. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  127610. B.ListSeparator_Lul = new A.ListSeparator("slash", "/", 2, "slash");
  127611. B.ListSeparator_Lul0 = new A.ListSeparator0("slash", "/", 2, "slash");
  127612. B.ListSeparator_SrV = new A.ListSeparator("space", " ", 0, "space");
  127613. B.ListSeparator_SrV0 = new A.ListSeparator0("space", " ", 0, "space");
  127614. B.ListSeparator_undecided_null_3_undecided = new A.ListSeparator("undecided", null, 3, "undecided");
  127615. B.ListSeparator_undecided_null_3_undecided0 = new A.ListSeparator0("undecided", null, 3, "undecided");
  127616. B.ListSeparator_z0K = new A.ListSeparator("comma", ",", 1, "comma");
  127617. B.ListSeparator_z0K0 = new A.ListSeparator0("comma", ",", 1, "comma");
  127618. B.Deprecation_NNd = new A.Deprecation("null-alpha", "1.62.3", null, 11, "nullAlpha");
  127619. B.Deprecation_k1x = new A.Deprecation("css-function-mixin", "1.76.0", null, 14, "cssFunctionMixin");
  127620. B.Deprecation_Uqa = new A.Deprecation("mixed-decls", "1.77.7", "1.92.0", 15, "mixedDecls");
  127621. B.Deprecation_mme = new A.Deprecation("color-4-api", "1.79.0", null, 17, "color4Api");
  127622. B.Deprecation_cfK = new A.Deprecation("legacy-js-api", "1.79.0", null, 19, "legacyJsApi");
  127623. B.Deprecation_ST9 = new A.Deprecation("type-function", "1.86.0", "1.92.0", 22, "typeFunction");
  127624. B.Deprecation_yFV = new A.Deprecation("calc-interp", null, null, 27, "calcInterp");
  127625. B.List_1RF = makeConstList([B.Deprecation_c4i, B.Deprecation_HUu, B.Deprecation_PmQ, B.Deprecation_IqB, B.Deprecation_jGw, B.Deprecation_7Bn, B.Deprecation_qZ1, B.Deprecation_0rM, B.Deprecation_K9u, B.Deprecation_7TE, B.Deprecation_nRC, B.Deprecation_NNd, B.Deprecation_Usi, B.Deprecation_uJ0, B.Deprecation_k1x, B.Deprecation_Uqa, B.Deprecation_PY0, B.Deprecation_mme, B.Deprecation_zUK, B.Deprecation_cfK, B.Deprecation_6BW, B.Deprecation_WW3, B.Deprecation_ST9, B.Deprecation_r8S, B.Deprecation_8Zg, B.Deprecation_mXO, B.Deprecation_wRY, B.Deprecation_yFV], A.findType("JSArray<Deprecation>"));
  127626. B.Object_84Z = {em: 0, rem: 1, ex: 2, rex: 3, cap: 4, rcap: 5, ch: 6, rch: 7, ic: 8, ric: 9, lh: 10, rlh: 11, vw: 12, lvw: 13, svw: 14, dvw: 15, vh: 16, lvh: 17, svh: 18, dvh: 19, vi: 20, lvi: 21, svi: 22, dvi: 23, vb: 24, lvb: 25, svb: 26, dvb: 27, vmin: 28, lvmin: 29, svmin: 30, dvmin: 31, vmax: 32, lvmax: 33, svmax: 34, dvmax: 35, cqw: 36, cqh: 37, cqi: 38, cqb: 39, cqmin: 40, cqmax: 41, cm: 42, mm: 43, q: 44, in: 45, pt: 46, pc: 47, px: 48};
  127627. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  127628. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  127629. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  127630. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  127631. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  127632. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  127633. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  127634. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  127635. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  127636. B.List_BFg = makeConstList([B.Set_V30th, B.Set_5FBBb, B.Set_cXesm, B.Set_1Tayw, B.Set_w2NC6], A.findType("JSArray<Set<String>>"));
  127637. B.List_UqK = makeConstList([B.CalculationOperator_dpX0, B.CalculationOperator_KrC0, B.CalculationOperator_LPB0, B.CalculationOperator_wFL0], A.findType("JSArray<CalculationOperator0>"));
  127638. B.List_empty26 = makeConstList([], type$.JSArray_AsyncCallable_2);
  127639. B.List_empty27 = makeConstList([], type$.JSArray_AsyncImporter);
  127640. B.List_empty1 = makeConstList([], type$.JSArray_ComplexSelector);
  127641. B.List_empty16 = makeConstList([], type$.JSArray_ComplexSelector_2);
  127642. B.List_empty2 = makeConstList([], type$.JSArray_ComplexSelectorComponent);
  127643. B.List_empty17 = makeConstList([], type$.JSArray_ComplexSelectorComponent_2);
  127644. B.List_empty10 = makeConstList([], type$.JSArray_ConfiguredVariable);
  127645. B.List_empty23 = makeConstList([], type$.JSArray_ConfiguredVariable_2);
  127646. B.List_empty3 = makeConstList([], type$.JSArray_CssNode);
  127647. B.List_empty18 = makeConstList([], type$.JSArray_CssNode_2);
  127648. B.List_empty0 = makeConstList([], type$.JSArray_CssValue_Combinator);
  127649. B.List_empty15 = makeConstList([], type$.JSArray_CssValue_Combinator_2);
  127650. B.List_empty9 = makeConstList([], type$.JSArray_Expression);
  127651. B.List_empty22 = makeConstList([], type$.JSArray_Expression_2);
  127652. B.List_empty5 = makeConstList([], type$.JSArray_Extension);
  127653. B.List_empty19 = makeConstList([], type$.JSArray_Extension_2);
  127654. B.List_empty25 = makeConstList([], type$.JSArray_Importer_2);
  127655. B.List_empty7 = makeConstList([], A.findType("JSArray<Module0<0&>>"));
  127656. B.List_empty20 = makeConstList([], A.findType("JSArray<Module1<0&>>"));
  127657. B.List_empty11 = makeConstList([], type$.JSArray_Object);
  127658. B.List_empty13 = makeConstList([], type$.JSArray_Parameter);
  127659. B.List_empty24 = makeConstList([], type$.JSArray_Parameter_2);
  127660. B.List_empty14 = makeConstList([], type$.JSArray_Statement);
  127661. B.List_empty = makeConstList([], type$.JSArray_String);
  127662. B.List_empty8 = makeConstList([], type$.JSArray_Value);
  127663. B.List_empty21 = makeConstList([], type$.JSArray_Value_2);
  127664. B.List_empty4 = makeConstList([], type$.JSArray_int);
  127665. B.List_empty6 = makeConstList([], type$.JSArray_dynamic);
  127666. B.List_empty12 = makeConstList([], type$.JSArray_nullable_FileSpan);
  127667. B.Deprecation_uw7 = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", null, 14, "cssFunctionMixin");
  127668. B.Deprecation_Fpx = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "1.92.0", 15, "mixedDecls");
  127669. B.Deprecation_Byo = new A.Deprecation0("type-function", "1.86.0", 'Functions named "type".', "1.92.0", 22, "typeFunction");
  127670. B.List_hzi = makeConstList([B.Deprecation_LIY, B.Deprecation_VUl, B.Deprecation_Gmv, B.Deprecation_Vc9, B.Deprecation_pwd, B.Deprecation_mqF, B.Deprecation_v81, B.Deprecation_2PR, B.Deprecation_Kh7, B.Deprecation_PHd, B.Deprecation_DVV, B.Deprecation_ox0, B.Deprecation_w3M, B.Deprecation_LUk, B.Deprecation_uw7, B.Deprecation_Fpx, B.Deprecation_p2t, B.Deprecation_alT, B.Deprecation_hJG, B.Deprecation_PGp, B.Deprecation_L3L, B.Deprecation_SGB, B.Deprecation_Byo, B.Deprecation_y9Y, B.Deprecation_Jgi, B.Deprecation_lkJ, B.Deprecation_45o, B.Deprecation_S1A], A.findType("JSArray<Deprecation0>"));
  127671. B.List_mRc = makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30], A.findType("JSArray<HueInterpolationMethod0>"));
  127672. B.List_null = makeConstList([null], type$.JSArray_nullable_FileSpan);
  127673. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  127674. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  127675. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  127676. B.List_wOx = makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH], type$.JSArray_ColorChannel);
  127677. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  127678. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  127679. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  127680. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  127681. B.List_wOx0 = makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0], type$.JSArray_ColorChannel_2);
  127682. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  127683. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  127684. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  127685. B.Object_CSf = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6, deg: 7, grad: 8, rad: 9, turn: 10, s: 11, ms: 12, Hz: 13, kHz: 14, dpi: 15, dpcm: 16, dppx: 17};
  127686. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  127687. B.Map_LdTcR = new A.ConstantStringMap(B.Object_R4j, [1, 0.39370078740157477, 0.16666666666666666, 0.03937007874015748, 0.00984251968503937, 0.013888888888888888, 0.010416666666666666], type$.ConstantStringMap_String_double);
  127688. B.Map_LdCjQ = new A.ConstantStringMap(B.Object_R4j, [2.54, 1, 0.42333333333333334, 0.1, 0.025, 0.035277777777777776, 0.026458333333333334], type$.ConstantStringMap_String_double);
  127689. B.Map_Ldr6M = new A.ConstantStringMap(B.Object_R4j, [6, 2.3622047244094486, 1, 0.2362204724409449, 0.05905511811023623, 0.08333333333333333, 0.0625], type$.ConstantStringMap_String_double);
  127690. B.Map_LdTyG = new A.ConstantStringMap(B.Object_R4j, [25.4, 10, 4.233333333333333, 1, 0.25, 0.35277777777777775, 0.26458333333333334], type$.ConstantStringMap_String_double);
  127691. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  127692. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  127693. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  127694. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  127695. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  127696. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  127697. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  127698. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  127699. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  127700. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  127701. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  127702. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  127703. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  127704. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  127705. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  127706. B.Map_NtHoP = new A.ConstantStringMap(B.Object_CSf, [B.Map_LdTcR, B.Map_LdCjQ, B.Map_Ldr6M, B.Map_LdTyG, B.Map_Ld577, B.Map_LdIVT, B.Map_Ld6L5, B.Map_LjNxM, B.Map_Lj8V1, B.Map_LjePw, B.Map_LjtMd, B.Map_Aezv1, B.Map_AeI7g, B.Map_kdDCg, B.Map_kdBEM, B.Map_vIkFS, B.Map_vIY7E, B.Map_vIcSC], A.findType("ConstantStringMap<String,Map<String,double>>"));
  127707. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  127708. B.List_Ldp = makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"], type$.JSArray_String);
  127709. B.List_deg_grad_rad_turn = makeConstList(["deg", "grad", "rad", "turn"], type$.JSArray_String);
  127710. B.List_s_ms = makeConstList(["s", "ms"], type$.JSArray_String);
  127711. B.List_Hz_kHz = makeConstList(["Hz", "kHz"], type$.JSArray_String);
  127712. B.List_dpi_dpcm_dppx = makeConstList(["dpi", "dpcm", "dppx"], type$.JSArray_String);
  127713. B.Map_Sr65K = new A.ConstantStringMap(B.Object_J3y, [B.List_Ldp, B.List_deg_grad_rad_turn, B.List_s_ms, B.List_Hz_kHz, B.List_dpi_dpcm_dppx], A.findType("ConstantStringMap<String,List<String>>"));
  127714. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  127715. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  127716. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  127717. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  127718. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  127719. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  127720. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  127721. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  127722. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  127723. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  127724. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  127725. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  127726. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  127727. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  127728. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  127729. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  127730. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  127731. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  127732. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  127733. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  127734. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  127735. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  127736. B.List_ZWr = makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D], type$.JSArray_ColorChannel);
  127737. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  127738. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  127739. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  127740. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  127741. B.List_ZWr0 = makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0], type$.JSArray_ColorChannel_2);
  127742. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  127743. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  127744. B.List_g5j = makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg], type$.JSArray_ColorChannel);
  127745. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  127746. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  127747. B.List_g5j0 = makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0], type$.JSArray_ColorChannel_2);
  127748. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  127749. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  127750. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  127751. B.OptionType_zZK = new A.OptionType("OptionType.single");
  127752. B.OutputStyle_0 = new A.OutputStyle(0, "expanded");
  127753. B.OutputStyle_00 = new A.OutputStyle0(0, "expanded");
  127754. B.OutputStyle_1 = new A.OutputStyle(1, "compressed");
  127755. B.OutputStyle_10 = new A.OutputStyle0(1, "compressed");
  127756. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  127757. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  127758. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  127759. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  127760. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  127761. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  127762. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  127763. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  127764. B.List_Ds2 = makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3], type$.JSArray_ColorChannel);
  127765. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  127766. B.List_Ds20 = makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30], type$.JSArray_ColorChannel_2);
  127767. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  127768. B.SassBoolean_false = new A.SassBoolean(false);
  127769. B.SassBoolean_false0 = new A.SassBoolean0(false);
  127770. B.SassBoolean_true = new A.SassBoolean(true);
  127771. B.SassBoolean_true0 = new A.SassBoolean0(true);
  127772. B.SassList_9ua = new A.SassList0(B.List_empty21, B.ListSeparator_undecided_null_3_undecided0, false);
  127773. B.SassList_oH0 = new A.SassList(B.List_empty8, B.ListSeparator_z0K, false);
  127774. B.SassList_oH00 = new A.SassList0(B.List_empty21, B.ListSeparator_z0K0, false);
  127775. B.SassList_oWx = new A.SassList(B.List_empty8, B.ListSeparator_z0K, true);
  127776. B.SassList_oWx0 = new A.SassList0(B.List_empty21, B.ListSeparator_z0K0, true);
  127777. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  127778. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  127779. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  127780. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  127781. B.Object_Tro = {is: 0, matches: 1, where: 2};
  127782. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  127783. B.Object_ssn = {sass: 0, style: 1, default: 2};
  127784. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  127785. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  127786. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  127787. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  127788. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  127789. B.Object_GR4 = {calc: 0, clamp: 1, hypot: 2, sin: 3, cos: 4, tan: 5, asin: 6, acos: 7, atan: 8, sqrt: 9, exp: 10, sign: 11, mod: 12, rem: 13, atan2: 14, pow: 15, log: 16, "calc-size": 17};
  127790. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  127791. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  127792. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  127793. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  127794. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  127795. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  127796. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  127797. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  127798. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  127799. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  127800. B.Set_xkEMv = new A.GeneralConstantSet([B.BinaryOperator_wkM, B.BinaryOperator_ehp, B.BinaryOperator_jCK, B.BinaryOperator_tDf], A.findType("GeneralConstantSet<BinaryOperator>"));
  127801. B.Set_xkEMv0 = new A.GeneralConstantSet([B.BinaryOperator_wkM0, B.BinaryOperator_ehp0, B.BinaryOperator_jCK0, B.BinaryOperator_tDf0], A.findType("GeneralConstantSet<BinaryOperator0>"));
  127802. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  127803. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  127804. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  127805. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  127806. B.StderrLogger_false = new A.StderrLogger(false);
  127807. B.StderrLogger_false0 = new A.StderrLogger0(false);
  127808. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  127809. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  127810. B.Symbol__extensions = new A.Symbol("_extensions");
  127811. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  127812. B.Symbol_call = new A.Symbol("call");
  127813. B.Syntax_CSS_2_css = new A.Syntax("CSS", 2, "css");
  127814. B.Syntax_CSS_2_css0 = new A.Syntax0("CSS", 2, "css");
  127815. B.Syntax_SCSS_0_scss = new A.Syntax("SCSS", 0, "scss");
  127816. B.Syntax_SCSS_0_scss0 = new A.Syntax0("SCSS", 0, "scss");
  127817. B.Syntax_Sass_1_sass = new A.Syntax("Sass", 1, "sass");
  127818. B.Syntax_Sass_1_sass0 = new A.Syntax0("Sass", 1, "sass");
  127819. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  127820. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  127821. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  127822. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  127823. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  127824. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  127825. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  127826. B.Type_Object_A4p = A.typeLiteral("Object");
  127827. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  127828. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  127829. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  127830. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  127831. B.UnaryOperator_Y93 = new A.UnaryOperator("divide", "/", 2, "divide");
  127832. B.UnaryOperator_Y930 = new A.UnaryOperator0("divide", "/", 2, "divide");
  127833. B.UnaryOperator_hCO = new A.UnaryOperator("minus", "-", 1, "minus");
  127834. B.UnaryOperator_hCO0 = new A.UnaryOperator0("minus", "-", 1, "minus");
  127835. B.UnaryOperator_n2K = new A.UnaryOperator("plus", "+", 0, "plus");
  127836. B.UnaryOperator_n2K0 = new A.UnaryOperator0("plus", "+", 0, "plus");
  127837. B.UnaryOperator_not_not_3_not = new A.UnaryOperator("not", "not", 3, "not");
  127838. B.UnaryOperator_not_not_3_not0 = new A.UnaryOperator0("not", "not", 3, "not");
  127839. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  127840. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  127841. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  127842. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  127843. B.List_QRs = makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl], type$.JSArray_LinearChannel);
  127844. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  127845. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  127846. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  127847. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  127848. B.List_QRs0 = makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0], type$.JSArray_LinearChannel_2);
  127849. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  127850. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  127851. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  127852. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  127853. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  127854. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  127855. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  127856. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  127857. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  127858. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  127859. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  127860. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  127861. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  127862. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  127863. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  127864. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  127865. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  127866. B._PathDirection_6kc = new A._PathDirection("reaches root");
  127867. B._PathDirection_Wme = new A._PathDirection("below root");
  127868. B._PathDirection_dMN = new A._PathDirection("at root");
  127869. B._PathDirection_vgO = new A._PathDirection("above root");
  127870. B._PathRelation_different = new A._PathRelation("different");
  127871. B._PathRelation_equal = new A._PathRelation("equal");
  127872. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  127873. B._PathRelation_within = new A._PathRelation("within");
  127874. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult(0, "empty");
  127875. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0(0, "empty");
  127876. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult(1, "unrepresentable");
  127877. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0(1, "unrepresentable");
  127878. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  127879. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  127880. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  127881. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  127882. B._StringStackTrace_OdL = new A._StringStackTrace("");
  127883. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  127884. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  127885. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  127886. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  127887. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  127888. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  127889. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  127890. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  127891. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  127892. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  127893. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  127894. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  127895. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  127896. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  127897. })();
  127898. (function staticFields() {
  127899. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  127900. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  127901. $.printToZone = null;
  127902. $.Primitives__identityHashCodeProperty = null;
  127903. $.BoundClosure__receiverFieldNameCache = null;
  127904. $.BoundClosure__interceptorFieldNameCache = null;
  127905. $.getTagFunction = null;
  127906. $.alternateTagFunction = null;
  127907. $.prototypeForTagFunction = null;
  127908. $.dispatchRecordsForInstanceTags = null;
  127909. $.interceptorsForUncacheableTags = null;
  127910. $.initNativeDispatchFlag = null;
  127911. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  127912. $._nextCallback = null;
  127913. $._lastCallback = null;
  127914. $._lastPriorityCallback = null;
  127915. $._isInCallbackLoop = false;
  127916. $.Zone__current = B.C__RootZone;
  127917. $._RootZone__rootDelegate = null;
  127918. $.Uri__cachedBaseString = "";
  127919. $.Uri__cachedBaseUri = null;
  127920. $._fs = null;
  127921. $._currentUriBase = null;
  127922. $._current = null;
  127923. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  127924. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  127925. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  127926. $._realCaseCache = function() {
  127927. var t1 = type$.String;
  127928. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127929. }();
  127930. $.selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  127931. $.selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  127932. $._glyphs = B.C_UnicodeGlyphSet;
  127933. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  127934. $._realCaseCache0 = function() {
  127935. var t1 = type$.String;
  127936. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127937. }();
  127938. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  127939. $.selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  127940. $.selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  127941. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  127942. })();
  127943. (function lazyInitializers() {
  127944. var _lazyFinal = hunkHelpers.lazyFinal,
  127945. _lazy = hunkHelpers.lazy;
  127946. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  127947. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  127948. _lazyFinal($, "_safeToStringHooks", "$get$_safeToStringHooks", () => A._setArrayType([new J.JSArraySafeToStringHook()], A.findType("JSArray<SafeToStringHook>")));
  127949. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  127950. toString: function() {
  127951. return "$receiver$";
  127952. }
  127953. })));
  127954. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  127955. toString: function() {
  127956. return "$receiver$";
  127957. }
  127958. })));
  127959. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  127960. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  127961. var $argumentsExpr$ = "$arguments$";
  127962. try {
  127963. null.$method$($argumentsExpr$);
  127964. } catch (e) {
  127965. return e.message;
  127966. }
  127967. }()));
  127968. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  127969. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  127970. var $argumentsExpr$ = "$arguments$";
  127971. try {
  127972. (void 0).$method$($argumentsExpr$);
  127973. } catch (e) {
  127974. return e.message;
  127975. }
  127976. }()));
  127977. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  127978. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  127979. try {
  127980. null.$method$;
  127981. } catch (e) {
  127982. return e.message;
  127983. }
  127984. }()));
  127985. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  127986. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  127987. try {
  127988. (void 0).$method$;
  127989. } catch (e) {
  127990. return e.message;
  127991. }
  127992. }()));
  127993. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  127994. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  127995. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  127996. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  127997. var t1 = type$.dynamic;
  127998. return A.HashMap_HashMap(t1, t1);
  127999. });
  128000. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  128001. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  128002. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  128003. _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int))));
  128004. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  128005. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  128006. return t1;
  128007. });
  128008. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  128009. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  128010. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  128011. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  128012. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  128013. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  128014. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  128015. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  128016. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  128017. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  128018. _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", false), A.RegExp_RegExp("[^/\\\\]$", false), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", false)));
  128019. _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false), A.RegExp_RegExp("^/", false)));
  128020. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  128021. _lazyFinal($, "startVersion", "$get$startVersion", () => A.RegExp_RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\\+([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?", false));
  128022. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  128023. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  128024. _lazyFinal($, "colorsByName", "$get$colorsByName", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor_SassColor$rgb(154, 205, 50, 1), "yellow", A.SassColor_SassColor$rgb(255, 255, 0, 1), "whitesmoke", A.SassColor_SassColor$rgb(245, 245, 245, 1), "white", A.SassColor_SassColor$rgb(255, 255, 255, 1), "wheat", A.SassColor_SassColor$rgb(245, 222, 179, 1), "violet", A.SassColor_SassColor$rgb(238, 130, 238, 1), "turquoise", A.SassColor_SassColor$rgb(64, 224, 208, 1), "transparent", A.SassColor_SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor_SassColor$rgb(255, 99, 71, 1), "thistle", A.SassColor_SassColor$rgb(216, 191, 216, 1), "teal", A.SassColor_SassColor$rgb(0, 128, 128, 1), "tan", A.SassColor_SassColor$rgb(210, 180, 140, 1), "steelblue", A.SassColor_SassColor$rgb(70, 130, 180, 1), "springgreen", A.SassColor_SassColor$rgb(0, 255, 127, 1), "snow", A.SassColor_SassColor$rgb(255, 250, 250, 1), "slategrey", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slategray", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slateblue", A.SassColor_SassColor$rgb(106, 90, 205, 1), "skyblue", A.SassColor_SassColor$rgb(135, 206, 235, 1), "silver", A.SassColor_SassColor$rgb(192, 192, 192, 1), "sienna", A.SassColor_SassColor$rgb(160, 82, 45, 1), "seashell", A.SassColor_SassColor$rgb(255, 245, 238, 1), "seagreen", A.SassColor_SassColor$rgb(46, 139, 87, 1), "sandybrown", A.SassColor_SassColor$rgb(244, 164, 96, 1), "salmon", A.SassColor_SassColor$rgb(250, 128, 114, 1), "saddlebrown", A.SassColor_SassColor$rgb(139, 69, 19, 1), "royalblue", A.SassColor_SassColor$rgb(65, 105, 225, 1), "rosybrown", A.SassColor_SassColor$rgb(188, 143, 143, 1), "red", A.SassColor_SassColor$rgb(255, 0, 0, 1), "rebeccapurple", A.SassColor_SassColor$rgb(102, 51, 153, 1), "purple", A.SassColor_SassColor$rgb(128, 0, 128, 1), "powderblue", A.SassColor_SassColor$rgb(176, 224, 230, 1), "plum", A.SassColor_SassColor$rgb(221, 160, 221, 1), "pink", A.SassColor_SassColor$rgb(255, 192, 203, 1), "peru", A.SassColor_SassColor$rgb(205, 133, 63, 1), "peachpuff", A.SassColor_SassColor$rgb(255, 218, 185, 1), "papayawhip", A.SassColor_SassColor$rgb(255, 239, 213, 1), "palevioletred", A.SassColor_SassColor$rgb(219, 112, 147, 1), "paleturquoise", A.SassColor_SassColor$rgb(175, 238, 238, 1), "palegreen", A.SassColor_SassColor$rgb(152, 251, 152, 1), "palegoldenrod", A.SassColor_SassColor$rgb(238, 232, 170, 1), "orchid", A.SassColor_SassColor$rgb(218, 112, 214, 1), "orangered", A.SassColor_SassColor$rgb(255, 69, 0, 1), "orange", A.SassColor_SassColor$rgb(255, 165, 0, 1), "olivedrab", A.SassColor_SassColor$rgb(107, 142, 35, 1), "olive", A.SassColor_SassColor$rgb(128, 128, 0, 1), "oldlace", A.SassColor_SassColor$rgb(253, 245, 230, 1), "navy", A.SassColor_SassColor$rgb(0, 0, 128, 1), "navajowhite", A.SassColor_SassColor$rgb(255, 222, 173, 1), "moccasin", A.SassColor_SassColor$rgb(255, 228, 181, 1), "mistyrose", A.SassColor_SassColor$rgb(255, 228, 225, 1), "mintcream", A.SassColor_SassColor$rgb(245, 255, 250, 1), "midnightblue", A.SassColor_SassColor$rgb(25, 25, 112, 1), "mediumvioletred", A.SassColor_SassColor$rgb(199, 21, 133, 1), "mediumturquoise", A.SassColor_SassColor$rgb(72, 209, 204, 1), "mediumspringgreen", A.SassColor_SassColor$rgb(0, 250, 154, 1), "mediumslateblue", A.SassColor_SassColor$rgb(123, 104, 238, 1), "mediumseagreen", A.SassColor_SassColor$rgb(60, 179, 113, 1), "mediumpurple", A.SassColor_SassColor$rgb(147, 112, 219, 1), "mediumorchid", A.SassColor_SassColor$rgb(186, 85, 211, 1), "mediumblue", A.SassColor_SassColor$rgb(0, 0, 205, 1), "mediumaquamarine", A.SassColor_SassColor$rgb(102, 205, 170, 1), "maroon", A.SassColor_SassColor$rgb(128, 0, 0, 1), "magenta", A.SassColor_SassColor$rgb(255, 0, 255, 1), "linen", A.SassColor_SassColor$rgb(250, 240, 230, 1), "limegreen", A.SassColor_SassColor$rgb(50, 205, 50, 1), "lime", A.SassColor_SassColor$rgb(0, 255, 0, 1), "lightyellow", A.SassColor_SassColor$rgb(255, 255, 224, 1), "lightsteelblue", A.SassColor_SassColor$rgb(176, 196, 222, 1), "lightslategrey", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightslategray", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightskyblue", A.SassColor_SassColor$rgb(135, 206, 250, 1), "lightseagreen", A.SassColor_SassColor$rgb(32, 178, 170, 1), "lightsalmon", A.SassColor_SassColor$rgb(255, 160, 122, 1), "lightpink", A.SassColor_SassColor$rgb(255, 182, 193, 1), "lightgrey", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgreen", A.SassColor_SassColor$rgb(144, 238, 144, 1), "lightgray", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor_SassColor$rgb(250, 250, 210, 1), "lightcyan", A.SassColor_SassColor$rgb(224, 255, 255, 1), "lightcoral", A.SassColor_SassColor$rgb(240, 128, 128, 1), "lightblue", A.SassColor_SassColor$rgb(173, 216, 230, 1), "lemonchiffon", A.SassColor_SassColor$rgb(255, 250, 205, 1), "lawngreen", A.SassColor_SassColor$rgb(124, 252, 0, 1), "lavenderblush", A.SassColor_SassColor$rgb(255, 240, 245, 1), "lavender", A.SassColor_SassColor$rgb(230, 230, 250, 1), "khaki", A.SassColor_SassColor$rgb(240, 230, 140, 1), "ivory", A.SassColor_SassColor$rgb(255, 255, 240, 1), "indigo", A.SassColor_SassColor$rgb(75, 0, 130, 1), "indianred", A.SassColor_SassColor$rgb(205, 92, 92, 1), "hotpink", A.SassColor_SassColor$rgb(255, 105, 180, 1), "honeydew", A.SassColor_SassColor$rgb(240, 255, 240, 1), "grey", A.SassColor_SassColor$rgb(128, 128, 128, 1), "greenyellow", A.SassColor_SassColor$rgb(173, 255, 47, 1), "green", A.SassColor_SassColor$rgb(0, 128, 0, 1), "gray", A.SassColor_SassColor$rgb(128, 128, 128, 1), "goldenrod", A.SassColor_SassColor$rgb(218, 165, 32, 1), "gold", A.SassColor_SassColor$rgb(255, 215, 0, 1), "ghostwhite", A.SassColor_SassColor$rgb(248, 248, 255, 1), "gainsboro", A.SassColor_SassColor$rgb(220, 220, 220, 1), "fuchsia", A.SassColor_SassColor$rgb(255, 0, 255, 1), "forestgreen", A.SassColor_SassColor$rgb(34, 139, 34, 1), "floralwhite", A.SassColor_SassColor$rgb(255, 250, 240, 1), "firebrick", A.SassColor_SassColor$rgb(178, 34, 34, 1), "dodgerblue", A.SassColor_SassColor$rgb(30, 144, 255, 1), "dimgrey", A.SassColor_SassColor$rgb(105, 105, 105, 1), "dimgray", A.SassColor_SassColor$rgb(105, 105, 105, 1), "deepskyblue", A.SassColor_SassColor$rgb(0, 191, 255, 1), "deeppink", A.SassColor_SassColor$rgb(255, 20, 147, 1), "darkviolet", A.SassColor_SassColor$rgb(148, 0, 211, 1), "darkturquoise", A.SassColor_SassColor$rgb(0, 206, 209, 1), "darkslategrey", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslategray", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslateblue", A.SassColor_SassColor$rgb(72, 61, 139, 1), "darkseagreen", A.SassColor_SassColor$rgb(143, 188, 143, 1), "darksalmon", A.SassColor_SassColor$rgb(233, 150, 122, 1), "darkred", A.SassColor_SassColor$rgb(139, 0, 0, 1), "darkorchid", A.SassColor_SassColor$rgb(153, 50, 204, 1), "darkorange", A.SassColor_SassColor$rgb(255, 140, 0, 1), "darkolivegreen", A.SassColor_SassColor$rgb(85, 107, 47, 1), "darkmagenta", A.SassColor_SassColor$rgb(139, 0, 139, 1), "darkkhaki", A.SassColor_SassColor$rgb(189, 183, 107, 1), "darkgrey", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgreen", A.SassColor_SassColor$rgb(0, 100, 0, 1), "darkgray", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgoldenrod", A.SassColor_SassColor$rgb(184, 134, 11, 1), "darkcyan", A.SassColor_SassColor$rgb(0, 139, 139, 1), "darkblue", A.SassColor_SassColor$rgb(0, 0, 139, 1), "cyan", A.SassColor_SassColor$rgb(0, 255, 255, 1), "crimson", A.SassColor_SassColor$rgb(220, 20, 60, 1), "cornsilk", A.SassColor_SassColor$rgb(255, 248, 220, 1), "cornflowerblue", A.SassColor_SassColor$rgb(100, 149, 237, 1), "coral", A.SassColor_SassColor$rgb(255, 127, 80, 1), "chocolate", A.SassColor_SassColor$rgb(210, 105, 30, 1), "chartreuse", A.SassColor_SassColor$rgb(127, 255, 0, 1), "cadetblue", A.SassColor_SassColor$rgb(95, 158, 160, 1), "burlywood", A.SassColor_SassColor$rgb(222, 184, 135, 1), "brown", A.SassColor_SassColor$rgb(165, 42, 42, 1), "blueviolet", A.SassColor_SassColor$rgb(138, 43, 226, 1), "blue", A.SassColor_SassColor$rgb(0, 0, 255, 1), "blanchedalmond", A.SassColor_SassColor$rgb(255, 235, 205, 1), "black", A.SassColor_SassColor$rgb(0, 0, 0, 1), "bisque", A.SassColor_SassColor$rgb(255, 228, 196, 1), "beige", A.SassColor_SassColor$rgb(245, 245, 220, 1), "azure", A.SassColor_SassColor$rgb(240, 255, 255, 1), "aquamarine", A.SassColor_SassColor$rgb(127, 255, 212, 1), "aqua", A.SassColor_SassColor$rgb(0, 255, 255, 1), "antiquewhite", A.SassColor_SassColor$rgb(250, 235, 215, 1), "aliceblue", A.SassColor_SassColor$rgb(240, 248, 255, 1)], type$.String, type$.SassColor));
  128025. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  128026. var $name,
  128027. t1 = type$.SassColor,
  128028. t2 = type$.String,
  128029. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  128030. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  128031. t2 = t1.get$current(t1);
  128032. $name = t2._0;
  128033. t3.$indexSet(0, t2._1, $name);
  128034. }
  128035. return t3;
  128036. });
  128037. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  128038. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  128039. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  128040. var t1 = type$.BuiltInCallable,
  128041. t2 = A.List_List$of($.$get$global(), true, t1);
  128042. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  128043. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  128044. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  128045. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  128046. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  128047. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  128048. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  128049. return A.UnmodifiableListView$(t2, t1);
  128050. });
  128051. _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<Callable0>>")), type$.BuiltInModule_Callable));
  128052. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  128053. _lazyFinal($, "global", "$get$global", () => {
  128054. var _s5_ = "color",
  128055. _s27_ = "$red, $green, $blue, $alpha",
  128056. _s19_ = "$red, $green, $blue",
  128057. _s9_ = "$channels",
  128058. _s37_ = "$hue, $saturation, $lightness, $alpha",
  128059. _s29_ = "$hue, $saturation, $lightness",
  128060. _s17_ = "$hue, $saturation",
  128061. _s6_ = "adjust",
  128062. _s15_ = "$color, $amount",
  128063. t1 = type$.String,
  128064. t2 = type$.Value_Function_List_Value;
  128065. return A.UnmodifiableListView$(A._setArrayType([A._channelFunction("red", B.RgbColorSpace_i0P, new A.global_closure0(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("green", B.RgbColorSpace_i0P, new A.global_closure1(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("blue", B.RgbColorSpace_i0P, new A.global_closure2(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure7(), _s19_, new A.global_closure8(), "$color, $alpha", new A.global_closure9(), "$channels", new A.global_closure10()], t1, t2)), A._function5("invert", "$color, $weight: 100%, $space: null", new A.global_closure11()), A._channelFunction("hue", B.HslColorSpace_JQ2, new A.global_closure12(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction("saturation", B.HslColorSpace_JQ2, new A.global_closure13(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction("lightness", B.HslColorSpace_JQ2, new A.global_closure14(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure15(), _s29_, new A.global_closure16(), _s17_, new A.global_closure17(), "$channels", new A.global_closure18()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure19(), _s29_, new A.global_closure20(), _s17_, new A.global_closure21(), "$channels", new A.global_closure22()], t1, t2)), A._function5("grayscale", "$color", new A.global_closure23()), A._function5("adjust-hue", "$color, $degrees", new A.global_closure24()).withDeprecationWarning$2(_s5_, _s6_), A._function5("lighten", _s15_, new A.global_closure25()).withDeprecationWarning$2(_s5_, _s6_), A._function5("darken", _s15_, new A.global_closure26()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure27(), "$color, $amount", new A.global_closure28()], t1, t2)), A._function5("desaturate", _s15_, new A.global_closure29()).withDeprecationWarning$2(_s5_, _s6_), A._function5("opacify", _s15_, new A.global_closure30()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-in", _s15_, new A.global_closure31()).withDeprecationWarning$2(_s5_, _s6_), A._function5("transparentize", _s15_, new A.global_closure32()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-out", _s15_, new A.global_closure33()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure34(), "$args...", new A.global_closure35()], t1, t2)), A._function5("opacity", "$color", new A.global_closure36()), A._function5(_s5_, "$description", new A.global_closure37()), A._function5("hwb", _s9_, new A.global_closure38()), A._function5("lab", _s9_, new A.global_closure39()), A._function5("lch", _s9_, new A.global_closure40()), A._function5("oklab", _s9_, new A.global_closure41()), A._function5("oklch", _s9_, new A.global_closure42()), $.$get$_complement().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr(), $.$get$_adjust().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128066. });
  128067. _lazyFinal($, "module", "$get$module", () => {
  128068. var _null = null,
  128069. _s10_ = "saturation",
  128070. _s9_ = "lightness",
  128071. _s6_ = "$color", _s5_ = "alpha",
  128072. _s30_ = "$color, $channel, $space: null",
  128073. t1 = type$.String,
  128074. t2 = type$.Value_Function_List_Value;
  128075. return A.BuiltInModule$("color", A._setArrayType([A._channelFunction("red", B.RgbColorSpace_i0P, new A.module_closure1(), false, _null), A._channelFunction("green", B.RgbColorSpace_i0P, new A.module_closure2(), false, _null), A._channelFunction("blue", B.RgbColorSpace_i0P, new A.module_closure3(), false, _null), $.$get$_mix(), A._function5("invert", "$color, $weight: 100%, $space: null", new A.module_closure4()), A._channelFunction("hue", B.HslColorSpace_JQ2, new A.module_closure5(), false, "deg"), A._channelFunction(_s10_, B.HslColorSpace_JQ2, new A.module_closure6(), false, "%"), A._channelFunction(_s9_, B.HslColorSpace_JQ2, new A.module_closure7(), false, "%"), A._removedColorFunction("adjust-hue", "hue", false), A._removedColorFunction("lighten", _s9_, false), A._removedColorFunction("darken", _s9_, true), A._removedColorFunction("saturate", _s10_, false), A._removedColorFunction("desaturate", _s10_, true), A._function5("grayscale", _s6_, new A.module_closure8()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure9(), "$channels", new A.module_closure10()], t1, t2)), A._channelFunction("whiteness", B.HwbColorSpace_guQ, new A.module_closure11(), false, "%"), A._channelFunction("blackness", B.HwbColorSpace_guQ, new A.module_closure12(), false, "%"), A._removedColorFunction("opacify", _s5_, false), A._removedColorFunction("fade-in", _s5_, false), A._removedColorFunction("transparentize", _s5_, true), A._removedColorFunction("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure13(), "$args...", new A.module_closure14()], t1, t2)), A._function5("opacity", _s6_, new A.module_closure15()), A._function5("space", _s6_, new A.module_closure16()), A._function5("to-space", "$color, $space", new A.module_closure17()), A._function5("is-legacy", _s6_, new A.module_closure18()), A._function5("is-missing", "$color, $channel", new A.module_closure19()), A._function5("is-in-gamut", "$color, $space: null", new A.module_closure20()), A._function5("to-gamut", "$color, $space: null, $method: null", new A.module_closure21()), A._function5("channel", _s30_, new A.module_closure22()), A._function5("same", "$color1, $color2", new A.module_closure23()), A._function5("is-powerless", _s30_, new A.module_closure24()), $.$get$_complement(), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), _null, _null, type$.Callable);
  128076. });
  128077. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  128078. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  128079. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  128080. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  128081. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  128082. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  128083. _lazyFinal($, "global0", "$get$global0", () => {
  128084. var _s4_ = "list";
  128085. return A.UnmodifiableListView$(A._setArrayType([$.$get$_length0().withDeprecationWarning$1(_s4_), $.$get$_nth().withDeprecationWarning$1(_s4_), $.$get$_setNth().withDeprecationWarning$1(_s4_), $.$get$_join().withDeprecationWarning$1(_s4_), $.$get$_append0().withDeprecationWarning$1(_s4_), $.$get$_zip().withDeprecationWarning$1(_s4_), $.$get$_index0().withDeprecationWarning$1(_s4_), $.$get$_isBracketed().withDeprecationWarning$1(_s4_), $.$get$_separator().withDeprecationWarning$1(_s4_).withName$1("list-separator")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128086. });
  128087. _lazyFinal($, "module0", "$get$module0", () => A.BuiltInModule$("list", A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator(), $.$get$_slash()], type$.JSArray_Callable), null, null, type$.Callable));
  128088. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  128089. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  128090. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  128091. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  128092. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  128093. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  128094. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  128095. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  128096. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  128097. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  128098. _lazyFinal($, "global1", "$get$global1", () => {
  128099. var _s3_ = "map";
  128100. return A.UnmodifiableListView$(A._setArrayType([$.$get$_get().withDeprecationWarning$1(_s3_).withName$1("map-get"), $.$get$_merge().withDeprecationWarning$1(_s3_).withName$1("map-merge"), $.$get$_remove().withDeprecationWarning$1(_s3_).withName$1("map-remove"), $.$get$_keys().withDeprecationWarning$1(_s3_).withName$1("map-keys"), $.$get$_values().withDeprecationWarning$1(_s3_).withName$1("map-values"), $.$get$_hasKey().withDeprecationWarning$1(_s3_).withName$1("map-has-key")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128101. });
  128102. _lazyFinal($, "module1", "$get$module1", () => A.BuiltInModule$("map", A._setArrayType([$.$get$_get(), $.$get$_set(), $.$get$_merge(), $.$get$_remove(), $.$get$_keys(), $.$get$_values(), $.$get$_hasKey(), $.$get$_deepMerge(), $.$get$_deepRemove()], type$.JSArray_Callable), null, null, type$.Callable));
  128103. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  128104. _lazyFinal($, "_set", "$get$_set", () => A.BuiltInCallable$overloadedFunction("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure(), "$map, $args...", new A._set_closure0()], type$.String, type$.Value_Function_List_Value)));
  128105. _lazyFinal($, "_merge", "$get$_merge", () => A.BuiltInCallable$overloadedFunction("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure(), "$map1, $args...", new A._merge_closure0()], type$.String, type$.Value_Function_List_Value)));
  128106. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  128107. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  128108. _lazyFinal($, "_remove", "$get$_remove", () => A.BuiltInCallable$overloadedFunction("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure(), "$map, $key, $keys...", new A._remove_closure0()], type$.String, type$.Value_Function_List_Value)));
  128109. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  128110. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  128111. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  128112. _lazyFinal($, "global2", "$get$global2", () => {
  128113. var _s4_ = "math";
  128114. return A.UnmodifiableListView$(A._setArrayType([A._function2("abs", "$number", new A.global_closure()), $.$get$_ceil().withDeprecationWarning$1(_s4_), $.$get$_floor().withDeprecationWarning$1(_s4_), $.$get$_max().withDeprecationWarning$1(_s4_), $.$get$_min().withDeprecationWarning$1(_s4_), $.$get$_percentage().withDeprecationWarning$1(_s4_), $.$get$_randomFunction().withDeprecationWarning$1(_s4_), $.$get$_round().withDeprecationWarning$1(_s4_), $.$get$_unit().withDeprecationWarning$1(_s4_), $.$get$_compatible().withDeprecationWarning$1(_s4_).withName$1("comparable"), $.$get$_isUnitless().withDeprecationWarning$1(_s4_).withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128115. });
  128116. _lazyFinal($, "module2", "$get$module2", () => {
  128117. var _null = null;
  128118. return A.BuiltInModule$("math", A._setArrayType([A._numberFunction("abs", new A.module_closure0()), $.$get$_acos(), $.$get$_asin(), $.$get$_atan(), $.$get$_atan2(), $.$get$_ceil(), $.$get$_clamp(), $.$get$_cos(), $.$get$_compatible(), $.$get$_floor(), $.$get$_hypot(), $.$get$_isUnitless(), $.$get$_log(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_pow(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_sin(), $.$get$_sqrt(), $.$get$_tan(), $.$get$_unit(), $.$get$_div()], type$.JSArray_Callable), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber(2.718281828459045, _null), "pi", A.SassNumber_SassNumber(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber(5e-324, _null)], type$.String, type$.Value), type$.Callable);
  128119. });
  128120. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  128121. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  128122. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  128123. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  128124. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  128125. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  128126. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  128127. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  128128. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  128129. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  128130. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  128131. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  128132. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  128133. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  128134. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  128135. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  128136. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  128137. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  128138. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  128139. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  128140. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  128141. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  128142. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  128143. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  128144. _lazyFinal($, "_shared", "$get$_shared", () => A.UnmodifiableListView$(A._setArrayType([A._function("feature-exists", "$feature", new A._shared_closure()), A._function("inspect", "$value", new A._shared_closure0()), A._function("type-of", "$value", new A._shared_closure1()), A._function("keywords", "$args", new A._shared_closure2())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  128145. _lazyFinal($, "global3", "$get$global5", () => {
  128146. var t2,
  128147. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  128148. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  128149. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  128150. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  128151. });
  128152. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  128153. var t1 = type$.BuiltInCallable,
  128154. t2 = A.List_List$of($.$get$_shared(), true, t1);
  128155. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  128156. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  128157. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  128158. return A.UnmodifiableListView$(t2, t1);
  128159. });
  128160. _lazyFinal($, "global4", "$get$global3", () => {
  128161. var _s8_ = "selector";
  128162. return A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector().withDeprecationWarning$1(_s8_), $.$get$_simpleSelectors().withDeprecationWarning$1(_s8_), $.$get$_parse().withDeprecationWarning$1(_s8_).withName$1("selector-parse"), $.$get$_nest().withDeprecationWarning$1(_s8_).withName$1("selector-nest"), $.$get$_append().withDeprecationWarning$1(_s8_).withName$1("selector-append"), $.$get$_extend().withDeprecationWarning$1(_s8_).withName$1("selector-extend"), $.$get$_replace().withDeprecationWarning$1(_s8_).withName$1("selector-replace"), $.$get$_unify().withDeprecationWarning$1(_s8_).withName$1("selector-unify")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128163. });
  128164. _lazyFinal($, "module3", "$get$module3", () => A.BuiltInModule$("selector", A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse(), $.$get$_nest(), $.$get$_append(), $.$get$_extend(), $.$get$_replace(), $.$get$_unify()], type$.JSArray_Callable), null, null, type$.Callable));
  128165. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  128166. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  128167. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  128168. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  128169. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  128170. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  128171. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  128172. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  128173. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  128174. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  128175. _lazyFinal($, "global5", "$get$global4", () => {
  128176. var _s6_ = "string";
  128177. return A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote().withDeprecationWarning$1(_s6_), $.$get$_quote().withDeprecationWarning$1(_s6_), $.$get$_toUpperCase().withDeprecationWarning$1(_s6_), $.$get$_toLowerCase().withDeprecationWarning$1(_s6_), $.$get$_uniqueId().withDeprecationWarning$1(_s6_), $.$get$_length().withDeprecationWarning$1(_s6_).withName$1("str-length"), $.$get$_insert().withDeprecationWarning$1(_s6_).withName$1("str-insert"), $.$get$_index().withDeprecationWarning$1(_s6_).withName$1("str-index"), $.$get$_slice().withDeprecationWarning$1(_s6_).withName$1("str-slice")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  128178. });
  128179. _lazyFinal($, "module4", "$get$module4", () => A.BuiltInModule$("string", A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_length(), $.$get$_insert(), $.$get$_index(), $.$get$_slice(), $.$get$_uniqueId(), A._function0("split", "$string, $separator, $limit: null", new A.module_closure())], type$.JSArray_Callable), null, null, type$.Callable));
  128180. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  128181. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  128182. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  128183. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  128184. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  128185. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  128186. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  128187. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  128188. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  128189. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  128190. var _null = null;
  128191. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  128192. });
  128193. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  128194. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  128195. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  128196. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  128197. var t1 = $.$get$globalFunctions();
  128198. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  128199. t1.add$1(0, "if");
  128200. t1.remove$1(0, "abs");
  128201. t1.remove$1(0, "alpha");
  128202. t1.remove$1(0, "color");
  128203. t1.remove$1(0, "grayscale");
  128204. t1.remove$1(0, "hsl");
  128205. t1.remove$1(0, "hsla");
  128206. t1.remove$1(0, "hwb");
  128207. t1.remove$1(0, "invert");
  128208. t1.remove$1(0, "lab");
  128209. t1.remove$1(0, "lch");
  128210. t1.remove$1(0, "max");
  128211. t1.remove$1(0, "min");
  128212. t1.remove$1(0, "oklab");
  128213. t1.remove$1(0, "oklch");
  128214. t1.remove$1(0, "opacity");
  128215. t1.remove$1(0, "rgb");
  128216. t1.remove$1(0, "rgba");
  128217. t1.remove$1(0, "round");
  128218. t1.remove$1(0, "saturate");
  128219. return t1;
  128220. });
  128221. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  128222. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  128223. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  128224. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  128225. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  128226. _lazyFinal($, "lmsToOklab", "$get$lmsToOklab", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.210454268309314, 0.7936177747023054, -0.0040720430116193, 1.9779985324311684, -2.42859224204858, 0.450593709617411, 0.0259040424655478, 0.7827717124575296, -0.8086757549230774], type$.JSArray_double)));
  128227. _lazyFinal($, "oklabToLms", "$get$oklabToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002, 0.3963377773761749, 0.2158037573099136, 0.9999999999999998, -0.10556134581565854, -0.06385417282581334, 0.9999999999999999, -0.0894841775298118, -1.2914855480194094], type$.JSArray_double)));
  128228. _lazyFinal($, "linearSrgbToLinearDisplayP3", "$get$linearSrgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8224619687143623, 0.17753803128563775, 0, 0.03319419885096161, 0.9668058011490384, 0, 0.01708263072112003, 0.07239744066396346, 0.9105199286149165], type$.JSArray_double)));
  128229. _lazyFinal($, "linearDisplayP3ToLinearSrgb", "$get$linearDisplayP3ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598, -0.22494017628055996, 0, -0.04205695470968816, 1.042056954709688, 0, -0.01963755459033443, -0.07863604555063188, 1.0982736001409663], type$.JSArray_double)));
  128230. _lazyFinal($, "linearSrgbToLinearA98Rgb", "$get$linearSrgbToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7151256068556247, 0.28487439314437535, 0, 0, 1, 0, 0, 0.04116194845011846, 0.9588380515498816], type$.JSArray_double)));
  128231. _lazyFinal($, "linearA98RgbToLinearSrgb", "$get$linearA98RgbToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783, -0.3983557439607783, 0, 0, 1, 0, 0, -0.04292898929447326, 1.0429289892944733], type$.JSArray_double)));
  128232. _lazyFinal($, "linearSrgbToLinearRec2020", "$get$linearSrgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.627403895934699, 0.3292830383778837, 0.04331306568741722, 0.06909728935823208, 0.9195403950754587, 0.01136231556630917, 0.01639143887515027, 0.08801330787722575, 0.895595253247624], type$.JSArray_double)));
  128233. _lazyFinal($, "linearRec2020ToLinearSrgb", "$get$linearRec2020ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345, -0.5876411387885495, -0.07284986331988487, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0181507633549053, -0.10057889800800737, 1.1187296613629127], type$.JSArray_double)));
  128234. _lazyFinal($, "linearSrgbToXyzD65", "$get$linearSrgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.4123907992659595, 0.35758433938387796, 0.1804807884018343, 0.21263900587151036, 0.7151686787677559, 0.07219231536073371, 0.01933081871559185, 0.11919477979462598, 0.9505321522496606], type$.JSArray_double)));
  128235. _lazyFinal($, "xyzD65ToLinearSrgb", "$get$xyzD65ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213, -1.5373831775700935, -0.4986107602930033, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.0556300796969936, -0.20397695888897657, 1.0569715142428786], type$.JSArray_double)));
  128236. _lazyFinal($, "linearSrgbToLms", "$get$linearSrgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.412221469470763, 0.5363325372617348, 0.0514459932675022, 0.2119034958178252, 0.6806995506452342, 0.1073969535369405, 0.08830245919005641, 0.2817188391361215, 0.6299787016738221], type$.JSArray_double)));
  128237. _lazyFinal($, "lmsToLinearSrgb", "$get$lmsToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958, -3.307711539258062, 0.23096990318210417, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.00419607613867551, -0.7034186179359363, 1.707614694074612], type$.JSArray_double)));
  128238. _lazyFinal($, "linearSrgbToLinearProphotoRgb", "$get$linearSrgbToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5292769776226116, 0.33015450197849283, 0.14056852039889556, 0.09836585954044917, 0.8734707129069618, 0.028163427552589, 0.01687534092138684, 0.11765941425612084, 0.8654652448224923], type$.JSArray_double)));
  128239. _lazyFinal($, "linearProphotoRgbToLinearSrgb", "$get$linearProphotoRgbToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996, -0.7276357899341342, -0.3067450595828618, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.00855882878391742, -0.1532667021380372, 1.1618255309219547], type$.JSArray_double)));
  128240. _lazyFinal($, "linearSrgbToXyzD50", "$get$linearSrgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.43606574687426936, 0.3851515095901596, 0.14307841996513868, 0.22249317711056518, 0.7168870130944824, 0.06061980979495235, 0.01392392146316939, 0.09708132423141015, 0.7140993568158807], type$.JSArray_double)));
  128241. _lazyFinal($, "xyzD50ToLinearSrgb", "$get$xyzD50ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178, -1.617385998018042, -0.49066221791109754, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.07195539255794733, -0.228976759815182, 1.4053860351131182], type$.JSArray_double)));
  128242. _lazyFinal($, "linearDisplayP3ToLinearA98Rgb", "$get$linearDisplayP3ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8640051374740484, 0.13599486252595164, 0, -0.04205695470968816, 1.042056954709688, 0, -0.02056038078232985, -0.03250613804550798, 1.0530665188278379], type$.JSArray_double)));
  128243. _lazyFinal($, "linearA98RgbToLinearDisplayP3", "$get$linearA98RgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184, -0.15009441814101834, 0, 0.04641729862941844, 0.9535827013705815, 0, 0.02388759479083904, 0.02650477632633013, 0.9496076288828308], type$.JSArray_double)));
  128244. _lazyFinal($, "linearDisplayP3ToLinearRec2020", "$get$linearDisplayP3ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7538330343617218, 0.1985973690526163, 0.04756959658566187, 0.04574384896535833, 0.9417772198116935, 0.01247893122294812, -0.00121034035451832, 0.01760171730108989, 0.9836086230534284], type$.JSArray_double)));
  128245. _lazyFinal($, "linearRec2020ToLinearDisplayP3", "$get$linearRec2020ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332, -0.2821796705261357, -0.06139858205819628, -0.06529745278911953, 1.0757879158485746, -0.01049046305945495, 0.00282178726170095, -0.01959849452449406, 1.0167767072627931], type$.JSArray_double)));
  128246. _lazyFinal($, "linearDisplayP3ToXyzD65", "$get$linearDisplayP3ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48657094864821626, 0.26566769316909294, 0.1982172852343625, 0.22897456406974884, 0.6917385218365062, 0.079286914093745, 0, 0.04511338185890257, 1.0439443689009757], type$.JSArray_double)));
  128247. _lazyFinal($, "xyzD65ToLinearDisplayP3", "$get$xyzD65ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245, -0.9313836179191236, -0.40271078445071684, -0.8294889695615749, 1.7626640603183468, 0.02362468584194359, 0.03584583024378433, -0.0761723892680417, 0.9568845240076873], type$.JSArray_double)));
  128248. _lazyFinal($, "linearDisplayP3ToLms", "$get$linearDisplayP3ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48137985274995443, 0.46211837101131803, 0.05650177623872756, 0.22883194181124472, 0.6532168193835676, 0.11795123880518774, 0.08394575232299319, 0.22416527097756642, 0.6918889766994404], type$.JSArray_double)));
  128249. _lazyFinal($, "lmsToLinearDisplayP3", "$get$lmsToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737, -2.2571357625916386, 0.12936679122976494, -1.0910090184377979, 2.4133317103069225, -0.32232269186912466, -0.02601080193857045, -0.508041331704167, 1.5340521336427373], type$.JSArray_double)));
  128250. _lazyFinal($, "linearDisplayP3ToLinearProphotoRgb", "$get$linearDisplayP3ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6316869193403589, 0.21393038569465722, 0.1543826949649839, 0.08320371426648458, 0.8858651367630243, 0.03093114897049121, -0.00127273456473881, 0.05075510433665735, 0.9505176302280814], type$.JSArray_double)));
  128251. _lazyFinal($, "linearProphotoRgbToLinearDisplayP3", "$get$linearProphotoRgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179, -0.3797716184825984, -0.2528039902243195, -0.15370040233755072, 1.1667025472425014, -0.01300214490495082, 0.01039319529676572, -0.0628073126495944, 1.0524141173528287], type$.JSArray_double)));
  128252. _lazyFinal($, "linearDisplayP3ToXyzD50", "$get$linearDisplayP3ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.515146442968116, 0.2920099820638577, 0.15713925139759397, 0.2412003221252552, 0.6922225411313818, 0.06657713674336294, -0.00105013914714014, 0.0418782701890746, 0.7842764714685257], type$.JSArray_double)));
  128253. _lazyFinal($, "xyzD50ToLinearDisplayP3", "$get$xyzD50ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973, -0.9900304424955931, -0.39761363181465614, -0.8422700161454688, 1.7989580161067082, 0.01604562477090472, 0.04819381686413303, -0.09738519815446048, 1.2736713693321273], type$.JSArray_double)));
  128254. _lazyFinal($, "linearA98RgbToLinearRec2020", "$get$linearA98RgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8773338416636568, 0.07749370651571998, 0.04517245182062317, 0.09662259146620378, 0.8915273202441805, 0.01185008828961569, 0.02292106270284839, 0.04303668501067932, 0.9340422522864723], type$.JSArray_double)));
  128255. _lazyFinal($, "linearRec2020ToLinearA98Rgb", "$get$linearRec2020ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163, -0.0975030553024086, -0.05447533941350766, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0225303827810559, -0.04980650742838876, 1.0723368902094446], type$.JSArray_double)));
  128256. _lazyFinal($, "linearA98RgbToXyzD65", "$get$linearA98RgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5766690429101308, 0.18555823790654627, 0.18822864623499472, 0.29734497525053616, 0.627363566255466, 0.07529145849399789, 0.02703136138641237, 0.07068885253582714, 0.9913375368376389], type$.JSArray_double)));
  128257. _lazyFinal($, "xyzD65ToLinearA98Rgb", "$get$xyzD65ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746, -0.5650069742788596, -0.3447313507783295, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.01344428063203102, -0.11836239223101823, 1.0151749943912054], type$.JSArray_double)));
  128258. _lazyFinal($, "linearA98RgbToLms", "$get$linearA98RgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5764322596183941, 0.36991322261987963, 0.05365451776172635, 0.29631647054222465, 0.5916761332521885, 0.11200739620558686, 0.1234782510142776, 0.21949869837199862, 0.6570230506137238], type$.JSArray_double)));
  128259. _lazyFinal($, "lmsToLinearA98Rgb", "$get$lmsToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566, -1.6219761806828699, 0.06793934207131327, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.05623473593749381, -0.5670418395669061, 1.6232765755043999], type$.JSArray_double)));
  128260. _lazyFinal($, "linearA98RgbToLinearProphotoRgb", "$get$linearA98RgbToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7401175018047792, 0.11327951328898105, 0.1466029849062397, 0.1375504646980262, 0.833077080269484, 0.02937245503248977, 0.02359772990871766, 0.07378347703906656, 0.9026187930522158], type$.JSArray_double)));
  128261. _lazyFinal($, "linearProphotoRgbToLinearA98Rgb", "$get$linearProphotoRgbToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152, -0.16945907691487766, -0.22019217123664242, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.01762544368426068, -0.09625702306122665, 1.1138824667454874], type$.JSArray_double)));
  128262. _lazyFinal($, "linearA98RgbToXyzD50", "$get$linearA98RgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6097750418861814, 0.20530000261929401, 0.14922063192409227, 0.31112461220464155, 0.6256532308346856, 0.06322215696067286, 0.01947059555648168, 0.06087908649415867, 0.7447549204598198], type$.JSArray_double)));
  128263. _lazyFinal($, "xyzD50ToLinearA98Rgb", "$get$xyzD50ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806, -0.6107423404815073, -0.3413580980827154, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.02870443944957101, -0.1406748663317068, 1.3489141814137937], type$.JSArray_double)));
  128264. _lazyFinal($, "linearRec2020ToXyzD65", "$get$linearRec2020ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6369580483012913, 0.14461690358620838, 0.16888097516417205, 0.26270021201126703, 0.677998071518871, 0.05930171646986194, 0, 0.0280726930490875, 1.0609850577107909], type$.JSArray_double)));
  128265. _lazyFinal($, "xyzD65ToLinearRec2020", "$get$xyzD65ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676, -0.3556707837763924, -0.2533662813736598, -0.666684351832489, 1.616481236634939, 0.01576854581391113, 0.01763985744531091, -0.04277061325780865, 0.942103121235474], type$.JSArray_double)));
  128266. _lazyFinal($, "linearRec2020ToLms", "$get$linearRec2020ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6167557848654444, 0.36019840122646335, 0.02304581390809228, 0.2651330593926367, 0.6358393720678491, 0.09902756853951408, 0.10010262952034828, 0.20390652261661452, 0.6959908478630372], type$.JSArray_double)));
  128267. _lazyFinal($, "lmsToLinearRec2020", "$get$lmsToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513, -1.246389493760618, 0.10648276332596668, -0.8847358357577674, 2.1632309383612007, -0.2784951026034334, -0.04857374640044396, -0.4545031497140964, 1.5030768961145404], type$.JSArray_double)));
  128268. _lazyFinal($, "linearRec2020ToLinearProphotoRgb", "$get$linearRec2020ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8351873331297235, 0.04886884858605698, 0.11594381828421951, 0.05403324519953363, 0.9289184085692044, 0.01704834623126199, -0.00234203897072539, 0.03633215316169465, 0.9660098858090307], type$.JSArray_double)));
  128269. _lazyFinal($, "linearProphotoRgbToLinearRec2020", "$get$linearProphotoRgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408, -0.05756805370122346, -0.14309127581618444, -0.06994154955888504, 1.080617897597214, -0.01067634803832895, 0.00554147334294746, -0.04078219298657951, 1.035240719643632], type$.JSArray_double)));
  128270. _lazyFinal($, "linearRec2020ToXyzD50", "$get$linearRec2020ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.673515463188276, 0.16569726370390453, 0.12508294953738705, 0.2790590051411206, 0.6753180057491098, 0.04562298910976962, -0.00193242713400438, 0.02997782679282923, 0.7970592028516355], type$.JSArray_double)));
  128271. _lazyFinal($, "xyzD50ToLinearRec2020", "$get$xyzD50ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766, -0.3936818981316471, -0.23595963848828266, -0.6826641074173818, 1.6477146127444076, 0.01281708338512084, 0.02966887665275675, -0.0629258964297003, 1.2535578201865771], type$.JSArray_double)));
  128272. _lazyFinal($, "xyzD65ToLms", "$get$xyzD65ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.819022437996703, 0.36190626005289034, -0.12887378152098788, 0.03298365393238846, 0.9292868615863433, 0.03614466635064235, 0.0481771893596242, 0.2642395317527308, 0.6335478284694308], type$.JSArray_double)));
  128273. _lazyFinal($, "lmsToXyzD65", "$get$lmsToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243, -0.5578149944602171, 0.2813910456659646, -0.04057574521480084, 1.1122868032803173, -0.07171105806551635, -0.07637293667466007, -0.42149333240224324, 1.5869240198367818], type$.JSArray_double)));
  128274. _lazyFinal($, "xyzD65ToLinearProphotoRgb", "$get$xyzD65ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979, -0.22301514479051668, -0.1016066850741379, -0.5262384021633072, 1.4816319629234644, 0.01701879027252688, -0.0112022652862215, 0.01824640347962099, 0.9112472274915048], type$.JSArray_double)));
  128275. _lazyFinal($, "linearProphotoRgbToXyzD65", "$get$linearProphotoRgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.755590742296921, 0.11271984265940525, 0.0821453420953454, 0.2683218435785719, 0.7151152566617912, 0.01656289975963685, 0.0039159727624258, -0.01293344283684181, 1.0980752208342945], type$.JSArray_double)));
  128276. _lazyFinal($, "xyzD65ToXyzD50", "$get$xyzD65ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966, 0.02294687060160952, -0.05019226628920519, 0.02962780877005567, 0.99043442675388, -0.01707379906341879, -0.00924304064620452, 0.01505519149029816, 0.751874281428137], type$.JSArray_double)));
  128277. _lazyFinal($, "xyzD50ToXyzD65", "$get$xyzD50ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.9554734214880752, -0.02309845494876452, 0.06325924320057065, -0.02836970933386358, 1.0099953980813041, 0.0210414411919173, 0.01231401486448199, -0.02050764929889898, 1.330365926242124], type$.JSArray_double)));
  128278. _lazyFinal($, "lmsToLinearProphotoRgb", "$get$lmsToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207, -0.9879509427514458, 0.24959579463572504, -0.7070494015329266, 1.9343700444401382, -0.2273206429072115, -0.08407882206239634, -0.35754060521141334, 1.4416194272738097], type$.JSArray_double)));
  128279. _lazyFinal($, "linearProphotoRgbToLms", "$get$linearProphotoRgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7154484605655534, 0.35279155007721186, -0.0682400106427653, 0.2744116490015671, 0.6677976498412367, 0.05779070115719616, 0.10978443261622942, 0.18619829115002018, 0.7040172762337504], type$.JSArray_double)));
  128280. _lazyFinal($, "lmsToXyzD50", "$get$lmsToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706, -0.5378717444973745, 0.2135812027542364, -0.00253387643187372, 1.0923167988719165, -0.08978292244004273, -0.06937382305734124, -0.29500839894431263, 1.1894868245121142], type$.JSArray_double)));
  128281. _lazyFinal($, "xyzD50ToLms", "$get$xyzD50ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7707000420431172, 0.34924840261939616, -0.11202351884164681, 0.00559649248368848, 0.9370723401136769, 0.06972568836252771, 0.04633714262191069, 0.25277531574310524, 0.851458076746796], type$.JSArray_double)));
  128282. _lazyFinal($, "linearProphotoRgbToXyzD50", "$get$linearProphotoRgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7977666449006423, 0.13518129740053308, 0.0313477341283922, 0.2880748288194013, 0.711835234241873, 0.00008993693872564, 0, 0, 0.8251046025104602], type$.JSArray_double)));
  128283. _lazyFinal($, "xyzD50ToLinearProphotoRgb", "$get$xyzD50ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583, -0.25557208737979464, -0.05110186497554526, -0.5446307051249019, 1.5082477428451468, 0.02052744743642139, 0, 0, 1.2119675456389452], type$.JSArray_double)));
  128284. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  128285. var t3, type,
  128286. t1 = type$.String,
  128287. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  128288. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  128289. t3 = t1.get$current(t1);
  128290. type = t3._0;
  128291. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  128292. t2.$indexSet(0, t3.get$current(t3), type);
  128293. }
  128294. return t2;
  128295. });
  128296. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  128297. var _i, set, t2,
  128298. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  128299. for (_i = 0; _i < 5; ++_i) {
  128300. set = B.List_BFg[_i];
  128301. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  128302. t1.$indexSet(0, t2.get$current(0), set);
  128303. }
  128304. return t1;
  128305. });
  128306. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  128307. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  128308. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  128309. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  128310. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  128311. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  128312. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  128313. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  128314. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  128315. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  128316. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  128317. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  128318. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  128319. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  128320. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  128321. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  128322. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  128323. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  128324. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  128325. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  128326. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  128327. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  128328. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  128329. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  128330. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  128331. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  128332. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  128333. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  128334. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  128335. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  128336. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  128337. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  128338. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  128339. _lazyFinal($, "global6", "$get$global6", () => {
  128340. var _s5_ = "color",
  128341. _s27_ = "$red, $green, $blue, $alpha",
  128342. _s19_ = "$red, $green, $blue",
  128343. _s9_ = "$channels",
  128344. _s37_ = "$hue, $saturation, $lightness, $alpha",
  128345. _s29_ = "$hue, $saturation, $lightness",
  128346. _s17_ = "$hue, $saturation",
  128347. _s6_ = "adjust",
  128348. _s15_ = "$color, $amount",
  128349. t1 = type$.String,
  128350. t2 = type$.Value_Function_List_Value_2;
  128351. return A.UnmodifiableListView$(A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_i0P0, new A.global_closure44(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("green", B.RgbColorSpace_i0P0, new A.global_closure45(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("blue", B.RgbColorSpace_i0P0, new A.global_closure46(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix0().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure47(), _s19_, new A.global_closure48(), "$color, $alpha", new A.global_closure49(), "$channels", new A.global_closure50()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure51(), _s19_, new A.global_closure52(), "$color, $alpha", new A.global_closure53(), "$channels", new A.global_closure54()], t1, t2)), A._function12("invert", "$color, $weight: 100%, $space: null", new A.global_closure55()), A._channelFunction0("hue", B.HslColorSpace_JQ20, new A.global_closure56(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction0("saturation", B.HslColorSpace_JQ20, new A.global_closure57(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction0("lightness", B.HslColorSpace_JQ20, new A.global_closure58(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure59(), _s29_, new A.global_closure60(), _s17_, new A.global_closure61(), "$channels", new A.global_closure62()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure63(), _s29_, new A.global_closure64(), _s17_, new A.global_closure65(), "$channels", new A.global_closure66()], t1, t2)), A._function12("grayscale", "$color", new A.global_closure67()), A._function12("adjust-hue", "$color, $degrees", new A.global_closure68()).withDeprecationWarning$2(_s5_, _s6_), A._function12("lighten", _s15_, new A.global_closure69()).withDeprecationWarning$2(_s5_, _s6_), A._function12("darken", _s15_, new A.global_closure70()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure71(), "$color, $amount", new A.global_closure72()], t1, t2)), A._function12("desaturate", _s15_, new A.global_closure73()).withDeprecationWarning$2(_s5_, _s6_), A._function12("opacify", _s15_, new A.global_closure74()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-in", _s15_, new A.global_closure75()).withDeprecationWarning$2(_s5_, _s6_), A._function12("transparentize", _s15_, new A.global_closure76()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-out", _s15_, new A.global_closure77()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure78(), "$args...", new A.global_closure79()], t1, t2)), A._function12("opacity", "$color", new A.global_closure80()), A._function12(_s5_, "$description", new A.global_closure81()), A._function12("hwb", _s9_, new A.global_closure82()), A._function12("lab", _s9_, new A.global_closure83()), A._function12("lch", _s9_, new A.global_closure84()), A._function12("oklab", _s9_, new A.global_closure85()), A._function12("oklch", _s9_, new A.global_closure86()), $.$get$_complement0().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr0(), $.$get$_adjust0().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale0().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change0().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128352. });
  128353. _lazyFinal($, "module5", "$get$module5", () => {
  128354. var _null = null,
  128355. _s10_ = "saturation",
  128356. _s9_ = "lightness",
  128357. _s6_ = "$color", _s5_ = "alpha",
  128358. _s30_ = "$color, $channel, $space: null",
  128359. t1 = type$.String,
  128360. t2 = type$.Value_Function_List_Value_2;
  128361. return A.BuiltInModule$0("color", A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_i0P0, new A.module_closure27(), false, _null), A._channelFunction0("green", B.RgbColorSpace_i0P0, new A.module_closure28(), false, _null), A._channelFunction0("blue", B.RgbColorSpace_i0P0, new A.module_closure29(), false, _null), $.$get$_mix0(), A._function12("invert", "$color, $weight: 100%, $space: null", new A.module_closure30()), A._channelFunction0("hue", B.HslColorSpace_JQ20, new A.module_closure31(), false, "deg"), A._channelFunction0(_s10_, B.HslColorSpace_JQ20, new A.module_closure32(), false, "%"), A._channelFunction0(_s9_, B.HslColorSpace_JQ20, new A.module_closure33(), false, "%"), A._removedColorFunction0("adjust-hue", "hue", false), A._removedColorFunction0("lighten", _s9_, false), A._removedColorFunction0("darken", _s9_, true), A._removedColorFunction0("saturate", _s10_, false), A._removedColorFunction0("desaturate", _s10_, true), A._function12("grayscale", _s6_, new A.module_closure34()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure35(), "$channels", new A.module_closure36()], t1, t2)), A._channelFunction0("whiteness", B.HwbColorSpace_guQ0, new A.module_closure37(), false, "%"), A._channelFunction0("blackness", B.HwbColorSpace_guQ0, new A.module_closure38(), false, "%"), A._removedColorFunction0("opacify", _s5_, false), A._removedColorFunction0("fade-in", _s5_, false), A._removedColorFunction0("transparentize", _s5_, true), A._removedColorFunction0("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction0(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure39(), "$args...", new A.module_closure40()], t1, t2)), A._function12("opacity", _s6_, new A.module_closure41()), A._function12("space", _s6_, new A.module_closure42()), A._function12("to-space", "$color, $space", new A.module_closure43()), A._function12("is-legacy", _s6_, new A.module_closure44()), A._function12("is-missing", "$color, $channel", new A.module_closure45()), A._function12("is-in-gamut", "$color, $space: null", new A.module_closure46()), A._function12("to-gamut", "$color, $space: null, $method: null", new A.module_closure47()), A._function12("channel", _s30_, new A.module_closure48()), A._function12("same", "$color1, $color2", new A.module_closure49()), A._function12("is-powerless", _s30_, new A.module_closure50()), $.$get$_complement0(), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), _null, _null, type$.Callable_2);
  128362. });
  128363. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  128364. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  128365. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  128366. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  128367. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  128368. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  128369. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  128370. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  128371. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  128372. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getR", new A.legacyColorClass_closure0(), "getG", new A.legacyColorClass_closure1(), "getB", new A.legacyColorClass_closure2(), "getA", new A.legacyColorClass_closure3(), "setR", new A.legacyColorClass_closure4(), "setG", new A.legacyColorClass_closure5(), "setB", new A.legacyColorClass_closure6(), "setA", new A.legacyColorClass_closure7()], type$.String, type$.Function));
  128373. return t1;
  128374. });
  128375. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor_SassColor$rgb0(154, 205, 50, 1), "yellow", A.SassColor_SassColor$rgb0(255, 255, 0, 1), "whitesmoke", A.SassColor_SassColor$rgb0(245, 245, 245, 1), "white", A.SassColor_SassColor$rgb0(255, 255, 255, 1), "wheat", A.SassColor_SassColor$rgb0(245, 222, 179, 1), "violet", A.SassColor_SassColor$rgb0(238, 130, 238, 1), "turquoise", A.SassColor_SassColor$rgb0(64, 224, 208, 1), "transparent", A.SassColor_SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor_SassColor$rgb0(255, 99, 71, 1), "thistle", A.SassColor_SassColor$rgb0(216, 191, 216, 1), "teal", A.SassColor_SassColor$rgb0(0, 128, 128, 1), "tan", A.SassColor_SassColor$rgb0(210, 180, 140, 1), "steelblue", A.SassColor_SassColor$rgb0(70, 130, 180, 1), "springgreen", A.SassColor_SassColor$rgb0(0, 255, 127, 1), "snow", A.SassColor_SassColor$rgb0(255, 250, 250, 1), "slategrey", A.SassColor_SassColor$rgb0(112, 128, 144, 1), "slategray", A.SassColor_SassColor$rgb0(112, 128, 144, 1), "slateblue", A.SassColor_SassColor$rgb0(106, 90, 205, 1), "skyblue", A.SassColor_SassColor$rgb0(135, 206, 235, 1), "silver", A.SassColor_SassColor$rgb0(192, 192, 192, 1), "sienna", A.SassColor_SassColor$rgb0(160, 82, 45, 1), "seashell", A.SassColor_SassColor$rgb0(255, 245, 238, 1), "seagreen", A.SassColor_SassColor$rgb0(46, 139, 87, 1), "sandybrown", A.SassColor_SassColor$rgb0(244, 164, 96, 1), "salmon", A.SassColor_SassColor$rgb0(250, 128, 114, 1), "saddlebrown", A.SassColor_SassColor$rgb0(139, 69, 19, 1), "royalblue", A.SassColor_SassColor$rgb0(65, 105, 225, 1), "rosybrown", A.SassColor_SassColor$rgb0(188, 143, 143, 1), "red", A.SassColor_SassColor$rgb0(255, 0, 0, 1), "rebeccapurple", A.SassColor_SassColor$rgb0(102, 51, 153, 1), "purple", A.SassColor_SassColor$rgb0(128, 0, 128, 1), "powderblue", A.SassColor_SassColor$rgb0(176, 224, 230, 1), "plum", A.SassColor_SassColor$rgb0(221, 160, 221, 1), "pink", A.SassColor_SassColor$rgb0(255, 192, 203, 1), "peru", A.SassColor_SassColor$rgb0(205, 133, 63, 1), "peachpuff", A.SassColor_SassColor$rgb0(255, 218, 185, 1), "papayawhip", A.SassColor_SassColor$rgb0(255, 239, 213, 1), "palevioletred", A.SassColor_SassColor$rgb0(219, 112, 147, 1), "paleturquoise", A.SassColor_SassColor$rgb0(175, 238, 238, 1), "palegreen", A.SassColor_SassColor$rgb0(152, 251, 152, 1), "palegoldenrod", A.SassColor_SassColor$rgb0(238, 232, 170, 1), "orchid", A.SassColor_SassColor$rgb0(218, 112, 214, 1), "orangered", A.SassColor_SassColor$rgb0(255, 69, 0, 1), "orange", A.SassColor_SassColor$rgb0(255, 165, 0, 1), "olivedrab", A.SassColor_SassColor$rgb0(107, 142, 35, 1), "olive", A.SassColor_SassColor$rgb0(128, 128, 0, 1), "oldlace", A.SassColor_SassColor$rgb0(253, 245, 230, 1), "navy", A.SassColor_SassColor$rgb0(0, 0, 128, 1), "navajowhite", A.SassColor_SassColor$rgb0(255, 222, 173, 1), "moccasin", A.SassColor_SassColor$rgb0(255, 228, 181, 1), "mistyrose", A.SassColor_SassColor$rgb0(255, 228, 225, 1), "mintcream", A.SassColor_SassColor$rgb0(245, 255, 250, 1), "midnightblue", A.SassColor_SassColor$rgb0(25, 25, 112, 1), "mediumvioletred", A.SassColor_SassColor$rgb0(199, 21, 133, 1), "mediumturquoise", A.SassColor_SassColor$rgb0(72, 209, 204, 1), "mediumspringgreen", A.SassColor_SassColor$rgb0(0, 250, 154, 1), "mediumslateblue", A.SassColor_SassColor$rgb0(123, 104, 238, 1), "mediumseagreen", A.SassColor_SassColor$rgb0(60, 179, 113, 1), "mediumpurple", A.SassColor_SassColor$rgb0(147, 112, 219, 1), "mediumorchid", A.SassColor_SassColor$rgb0(186, 85, 211, 1), "mediumblue", A.SassColor_SassColor$rgb0(0, 0, 205, 1), "mediumaquamarine", A.SassColor_SassColor$rgb0(102, 205, 170, 1), "maroon", A.SassColor_SassColor$rgb0(128, 0, 0, 1), "magenta", A.SassColor_SassColor$rgb0(255, 0, 255, 1), "linen", A.SassColor_SassColor$rgb0(250, 240, 230, 1), "limegreen", A.SassColor_SassColor$rgb0(50, 205, 50, 1), "lime", A.SassColor_SassColor$rgb0(0, 255, 0, 1), "lightyellow", A.SassColor_SassColor$rgb0(255, 255, 224, 1), "lightsteelblue", A.SassColor_SassColor$rgb0(176, 196, 222, 1), "lightslategrey", A.SassColor_SassColor$rgb0(119, 136, 153, 1), "lightslategray", A.SassColor_SassColor$rgb0(119, 136, 153, 1), "lightskyblue", A.SassColor_SassColor$rgb0(135, 206, 250, 1), "lightseagreen", A.SassColor_SassColor$rgb0(32, 178, 170, 1), "lightsalmon", A.SassColor_SassColor$rgb0(255, 160, 122, 1), "lightpink", A.SassColor_SassColor$rgb0(255, 182, 193, 1), "lightgrey", A.SassColor_SassColor$rgb0(211, 211, 211, 1), "lightgreen", A.SassColor_SassColor$rgb0(144, 238, 144, 1), "lightgray", A.SassColor_SassColor$rgb0(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor_SassColor$rgb0(250, 250, 210, 1), "lightcyan", A.SassColor_SassColor$rgb0(224, 255, 255, 1), "lightcoral", A.SassColor_SassColor$rgb0(240, 128, 128, 1), "lightblue", A.SassColor_SassColor$rgb0(173, 216, 230, 1), "lemonchiffon", A.SassColor_SassColor$rgb0(255, 250, 205, 1), "lawngreen", A.SassColor_SassColor$rgb0(124, 252, 0, 1), "lavenderblush", A.SassColor_SassColor$rgb0(255, 240, 245, 1), "lavender", A.SassColor_SassColor$rgb0(230, 230, 250, 1), "khaki", A.SassColor_SassColor$rgb0(240, 230, 140, 1), "ivory", A.SassColor_SassColor$rgb0(255, 255, 240, 1), "indigo", A.SassColor_SassColor$rgb0(75, 0, 130, 1), "indianred", A.SassColor_SassColor$rgb0(205, 92, 92, 1), "hotpink", A.SassColor_SassColor$rgb0(255, 105, 180, 1), "honeydew", A.SassColor_SassColor$rgb0(240, 255, 240, 1), "grey", A.SassColor_SassColor$rgb0(128, 128, 128, 1), "greenyellow", A.SassColor_SassColor$rgb0(173, 255, 47, 1), "green", A.SassColor_SassColor$rgb0(0, 128, 0, 1), "gray", A.SassColor_SassColor$rgb0(128, 128, 128, 1), "goldenrod", A.SassColor_SassColor$rgb0(218, 165, 32, 1), "gold", A.SassColor_SassColor$rgb0(255, 215, 0, 1), "ghostwhite", A.SassColor_SassColor$rgb0(248, 248, 255, 1), "gainsboro", A.SassColor_SassColor$rgb0(220, 220, 220, 1), "fuchsia", A.SassColor_SassColor$rgb0(255, 0, 255, 1), "forestgreen", A.SassColor_SassColor$rgb0(34, 139, 34, 1), "floralwhite", A.SassColor_SassColor$rgb0(255, 250, 240, 1), "firebrick", A.SassColor_SassColor$rgb0(178, 34, 34, 1), "dodgerblue", A.SassColor_SassColor$rgb0(30, 144, 255, 1), "dimgrey", A.SassColor_SassColor$rgb0(105, 105, 105, 1), "dimgray", A.SassColor_SassColor$rgb0(105, 105, 105, 1), "deepskyblue", A.SassColor_SassColor$rgb0(0, 191, 255, 1), "deeppink", A.SassColor_SassColor$rgb0(255, 20, 147, 1), "darkviolet", A.SassColor_SassColor$rgb0(148, 0, 211, 1), "darkturquoise", A.SassColor_SassColor$rgb0(0, 206, 209, 1), "darkslategrey", A.SassColor_SassColor$rgb0(47, 79, 79, 1), "darkslategray", A.SassColor_SassColor$rgb0(47, 79, 79, 1), "darkslateblue", A.SassColor_SassColor$rgb0(72, 61, 139, 1), "darkseagreen", A.SassColor_SassColor$rgb0(143, 188, 143, 1), "darksalmon", A.SassColor_SassColor$rgb0(233, 150, 122, 1), "darkred", A.SassColor_SassColor$rgb0(139, 0, 0, 1), "darkorchid", A.SassColor_SassColor$rgb0(153, 50, 204, 1), "darkorange", A.SassColor_SassColor$rgb0(255, 140, 0, 1), "darkolivegreen", A.SassColor_SassColor$rgb0(85, 107, 47, 1), "darkmagenta", A.SassColor_SassColor$rgb0(139, 0, 139, 1), "darkkhaki", A.SassColor_SassColor$rgb0(189, 183, 107, 1), "darkgrey", A.SassColor_SassColor$rgb0(169, 169, 169, 1), "darkgreen", A.SassColor_SassColor$rgb0(0, 100, 0, 1), "darkgray", A.SassColor_SassColor$rgb0(169, 169, 169, 1), "darkgoldenrod", A.SassColor_SassColor$rgb0(184, 134, 11, 1), "darkcyan", A.SassColor_SassColor$rgb0(0, 139, 139, 1), "darkblue", A.SassColor_SassColor$rgb0(0, 0, 139, 1), "cyan", A.SassColor_SassColor$rgb0(0, 255, 255, 1), "crimson", A.SassColor_SassColor$rgb0(220, 20, 60, 1), "cornsilk", A.SassColor_SassColor$rgb0(255, 248, 220, 1), "cornflowerblue", A.SassColor_SassColor$rgb0(100, 149, 237, 1), "coral", A.SassColor_SassColor$rgb0(255, 127, 80, 1), "chocolate", A.SassColor_SassColor$rgb0(210, 105, 30, 1), "chartreuse", A.SassColor_SassColor$rgb0(127, 255, 0, 1), "cadetblue", A.SassColor_SassColor$rgb0(95, 158, 160, 1), "burlywood", A.SassColor_SassColor$rgb0(222, 184, 135, 1), "brown", A.SassColor_SassColor$rgb0(165, 42, 42, 1), "blueviolet", A.SassColor_SassColor$rgb0(138, 43, 226, 1), "blue", A.SassColor_SassColor$rgb0(0, 0, 255, 1), "blanchedalmond", A.SassColor_SassColor$rgb0(255, 235, 205, 1), "black", A.SassColor_SassColor$rgb0(0, 0, 0, 1), "bisque", A.SassColor_SassColor$rgb0(255, 228, 196, 1), "beige", A.SassColor_SassColor$rgb0(245, 245, 220, 1), "azure", A.SassColor_SassColor$rgb0(240, 255, 255, 1), "aquamarine", A.SassColor_SassColor$rgb0(127, 255, 212, 1), "aqua", A.SassColor_SassColor$rgb0(0, 255, 255, 1), "antiquewhite", A.SassColor_SassColor$rgb0(250, 235, 215, 1), "aliceblue", A.SassColor_SassColor$rgb0(240, 248, 255, 1)], type$.String, type$.SassColor_2));
  128376. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  128377. var $name,
  128378. t1 = type$.SassColor_2,
  128379. t2 = type$.String,
  128380. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  128381. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  128382. t2 = t1.get$current(t1);
  128383. $name = t2._0;
  128384. t3.$indexSet(0, t2._1, $name);
  128385. }
  128386. return t3;
  128387. });
  128388. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  128389. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  128390. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  128391. _lazyFinal($, "lmsToOklab0", "$get$lmsToOklab0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.210454268309314, 0.7936177747023054, -0.0040720430116193, 1.9779985324311684, -2.42859224204858, 0.450593709617411, 0.0259040424655478, 0.7827717124575296, -0.8086757549230774], type$.JSArray_double)));
  128392. _lazyFinal($, "oklabToLms0", "$get$oklabToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002, 0.3963377773761749, 0.2158037573099136, 0.9999999999999998, -0.10556134581565854, -0.06385417282581334, 0.9999999999999999, -0.0894841775298118, -1.2914855480194094], type$.JSArray_double)));
  128393. _lazyFinal($, "linearSrgbToLinearDisplayP30", "$get$linearSrgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8224619687143623, 0.17753803128563775, 0, 0.03319419885096161, 0.9668058011490384, 0, 0.01708263072112003, 0.07239744066396346, 0.9105199286149165], type$.JSArray_double)));
  128394. _lazyFinal($, "linearDisplayP3ToLinearSrgb0", "$get$linearDisplayP3ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598, -0.22494017628055996, 0, -0.04205695470968816, 1.042056954709688, 0, -0.01963755459033443, -0.07863604555063188, 1.0982736001409663], type$.JSArray_double)));
  128395. _lazyFinal($, "linearSrgbToLinearA98Rgb0", "$get$linearSrgbToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7151256068556247, 0.28487439314437535, 0, 0, 1, 0, 0, 0.04116194845011846, 0.9588380515498816], type$.JSArray_double)));
  128396. _lazyFinal($, "linearA98RgbToLinearSrgb0", "$get$linearA98RgbToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783, -0.3983557439607783, 0, 0, 1, 0, 0, -0.04292898929447326, 1.0429289892944733], type$.JSArray_double)));
  128397. _lazyFinal($, "linearSrgbToLinearRec20200", "$get$linearSrgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.627403895934699, 0.3292830383778837, 0.04331306568741722, 0.06909728935823208, 0.9195403950754587, 0.01136231556630917, 0.01639143887515027, 0.08801330787722575, 0.895595253247624], type$.JSArray_double)));
  128398. _lazyFinal($, "linearRec2020ToLinearSrgb0", "$get$linearRec2020ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345, -0.5876411387885495, -0.07284986331988487, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0181507633549053, -0.10057889800800737, 1.1187296613629127], type$.JSArray_double)));
  128399. _lazyFinal($, "linearSrgbToXyzD650", "$get$linearSrgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.4123907992659595, 0.35758433938387796, 0.1804807884018343, 0.21263900587151036, 0.7151686787677559, 0.07219231536073371, 0.01933081871559185, 0.11919477979462598, 0.9505321522496606], type$.JSArray_double)));
  128400. _lazyFinal($, "xyzD65ToLinearSrgb0", "$get$xyzD65ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213, -1.5373831775700935, -0.4986107602930033, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.0556300796969936, -0.20397695888897657, 1.0569715142428786], type$.JSArray_double)));
  128401. _lazyFinal($, "linearSrgbToLms0", "$get$linearSrgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.412221469470763, 0.5363325372617348, 0.0514459932675022, 0.2119034958178252, 0.6806995506452342, 0.1073969535369405, 0.08830245919005641, 0.2817188391361215, 0.6299787016738221], type$.JSArray_double)));
  128402. _lazyFinal($, "lmsToLinearSrgb0", "$get$lmsToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958, -3.307711539258062, 0.23096990318210417, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.00419607613867551, -0.7034186179359363, 1.707614694074612], type$.JSArray_double)));
  128403. _lazyFinal($, "linearSrgbToLinearProphotoRgb0", "$get$linearSrgbToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5292769776226116, 0.33015450197849283, 0.14056852039889556, 0.09836585954044917, 0.8734707129069618, 0.028163427552589, 0.01687534092138684, 0.11765941425612084, 0.8654652448224923], type$.JSArray_double)));
  128404. _lazyFinal($, "linearProphotoRgbToLinearSrgb0", "$get$linearProphotoRgbToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996, -0.7276357899341342, -0.3067450595828618, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.00855882878391742, -0.1532667021380372, 1.1618255309219547], type$.JSArray_double)));
  128405. _lazyFinal($, "linearSrgbToXyzD500", "$get$linearSrgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.43606574687426936, 0.3851515095901596, 0.14307841996513868, 0.22249317711056518, 0.7168870130944824, 0.06061980979495235, 0.01392392146316939, 0.09708132423141015, 0.7140993568158807], type$.JSArray_double)));
  128406. _lazyFinal($, "xyzD50ToLinearSrgb0", "$get$xyzD50ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178, -1.617385998018042, -0.49066221791109754, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.07195539255794733, -0.228976759815182, 1.4053860351131182], type$.JSArray_double)));
  128407. _lazyFinal($, "linearDisplayP3ToLinearA98Rgb0", "$get$linearDisplayP3ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8640051374740484, 0.13599486252595164, 0, -0.04205695470968816, 1.042056954709688, 0, -0.02056038078232985, -0.03250613804550798, 1.0530665188278379], type$.JSArray_double)));
  128408. _lazyFinal($, "linearA98RgbToLinearDisplayP30", "$get$linearA98RgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184, -0.15009441814101834, 0, 0.04641729862941844, 0.9535827013705815, 0, 0.02388759479083904, 0.02650477632633013, 0.9496076288828308], type$.JSArray_double)));
  128409. _lazyFinal($, "linearDisplayP3ToLinearRec20200", "$get$linearDisplayP3ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7538330343617218, 0.1985973690526163, 0.04756959658566187, 0.04574384896535833, 0.9417772198116935, 0.01247893122294812, -0.00121034035451832, 0.01760171730108989, 0.9836086230534284], type$.JSArray_double)));
  128410. _lazyFinal($, "linearRec2020ToLinearDisplayP30", "$get$linearRec2020ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332, -0.2821796705261357, -0.06139858205819628, -0.06529745278911953, 1.0757879158485746, -0.01049046305945495, 0.00282178726170095, -0.01959849452449406, 1.0167767072627931], type$.JSArray_double)));
  128411. _lazyFinal($, "linearDisplayP3ToXyzD650", "$get$linearDisplayP3ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48657094864821626, 0.26566769316909294, 0.1982172852343625, 0.22897456406974884, 0.6917385218365062, 0.079286914093745, 0, 0.04511338185890257, 1.0439443689009757], type$.JSArray_double)));
  128412. _lazyFinal($, "xyzD65ToLinearDisplayP30", "$get$xyzD65ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245, -0.9313836179191236, -0.40271078445071684, -0.8294889695615749, 1.7626640603183468, 0.02362468584194359, 0.03584583024378433, -0.0761723892680417, 0.9568845240076873], type$.JSArray_double)));
  128413. _lazyFinal($, "linearDisplayP3ToLms0", "$get$linearDisplayP3ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48137985274995443, 0.46211837101131803, 0.05650177623872756, 0.22883194181124472, 0.6532168193835676, 0.11795123880518774, 0.08394575232299319, 0.22416527097756642, 0.6918889766994404], type$.JSArray_double)));
  128414. _lazyFinal($, "lmsToLinearDisplayP30", "$get$lmsToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737, -2.2571357625916386, 0.12936679122976494, -1.0910090184377979, 2.4133317103069225, -0.32232269186912466, -0.02601080193857045, -0.508041331704167, 1.5340521336427373], type$.JSArray_double)));
  128415. _lazyFinal($, "linearDisplayP3ToLinearProphotoRgb0", "$get$linearDisplayP3ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6316869193403589, 0.21393038569465722, 0.1543826949649839, 0.08320371426648458, 0.8858651367630243, 0.03093114897049121, -0.00127273456473881, 0.05075510433665735, 0.9505176302280814], type$.JSArray_double)));
  128416. _lazyFinal($, "linearProphotoRgbToLinearDisplayP30", "$get$linearProphotoRgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179, -0.3797716184825984, -0.2528039902243195, -0.15370040233755072, 1.1667025472425014, -0.01300214490495082, 0.01039319529676572, -0.0628073126495944, 1.0524141173528287], type$.JSArray_double)));
  128417. _lazyFinal($, "linearDisplayP3ToXyzD500", "$get$linearDisplayP3ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.515146442968116, 0.2920099820638577, 0.15713925139759397, 0.2412003221252552, 0.6922225411313818, 0.06657713674336294, -0.00105013914714014, 0.0418782701890746, 0.7842764714685257], type$.JSArray_double)));
  128418. _lazyFinal($, "xyzD50ToLinearDisplayP30", "$get$xyzD50ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973, -0.9900304424955931, -0.39761363181465614, -0.8422700161454688, 1.7989580161067082, 0.01604562477090472, 0.04819381686413303, -0.09738519815446048, 1.2736713693321273], type$.JSArray_double)));
  128419. _lazyFinal($, "linearA98RgbToLinearRec20200", "$get$linearA98RgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8773338416636568, 0.07749370651571998, 0.04517245182062317, 0.09662259146620378, 0.8915273202441805, 0.01185008828961569, 0.02292106270284839, 0.04303668501067932, 0.9340422522864723], type$.JSArray_double)));
  128420. _lazyFinal($, "linearRec2020ToLinearA98Rgb0", "$get$linearRec2020ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163, -0.0975030553024086, -0.05447533941350766, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0225303827810559, -0.04980650742838876, 1.0723368902094446], type$.JSArray_double)));
  128421. _lazyFinal($, "linearA98RgbToXyzD650", "$get$linearA98RgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5766690429101308, 0.18555823790654627, 0.18822864623499472, 0.29734497525053616, 0.627363566255466, 0.07529145849399789, 0.02703136138641237, 0.07068885253582714, 0.9913375368376389], type$.JSArray_double)));
  128422. _lazyFinal($, "xyzD65ToLinearA98Rgb0", "$get$xyzD65ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746, -0.5650069742788596, -0.3447313507783295, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.01344428063203102, -0.11836239223101823, 1.0151749943912054], type$.JSArray_double)));
  128423. _lazyFinal($, "linearA98RgbToLms0", "$get$linearA98RgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5764322596183941, 0.36991322261987963, 0.05365451776172635, 0.29631647054222465, 0.5916761332521885, 0.11200739620558686, 0.1234782510142776, 0.21949869837199862, 0.6570230506137238], type$.JSArray_double)));
  128424. _lazyFinal($, "lmsToLinearA98Rgb0", "$get$lmsToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566, -1.6219761806828699, 0.06793934207131327, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.05623473593749381, -0.5670418395669061, 1.6232765755043999], type$.JSArray_double)));
  128425. _lazyFinal($, "linearA98RgbToLinearProphotoRgb0", "$get$linearA98RgbToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7401175018047792, 0.11327951328898105, 0.1466029849062397, 0.1375504646980262, 0.833077080269484, 0.02937245503248977, 0.02359772990871766, 0.07378347703906656, 0.9026187930522158], type$.JSArray_double)));
  128426. _lazyFinal($, "linearProphotoRgbToLinearA98Rgb0", "$get$linearProphotoRgbToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152, -0.16945907691487766, -0.22019217123664242, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.01762544368426068, -0.09625702306122665, 1.1138824667454874], type$.JSArray_double)));
  128427. _lazyFinal($, "linearA98RgbToXyzD500", "$get$linearA98RgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6097750418861814, 0.20530000261929401, 0.14922063192409227, 0.31112461220464155, 0.6256532308346856, 0.06322215696067286, 0.01947059555648168, 0.06087908649415867, 0.7447549204598198], type$.JSArray_double)));
  128428. _lazyFinal($, "xyzD50ToLinearA98Rgb0", "$get$xyzD50ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806, -0.6107423404815073, -0.3413580980827154, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.02870443944957101, -0.1406748663317068, 1.3489141814137937], type$.JSArray_double)));
  128429. _lazyFinal($, "linearRec2020ToXyzD650", "$get$linearRec2020ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6369580483012913, 0.14461690358620838, 0.16888097516417205, 0.26270021201126703, 0.677998071518871, 0.05930171646986194, 0, 0.0280726930490875, 1.0609850577107909], type$.JSArray_double)));
  128430. _lazyFinal($, "xyzD65ToLinearRec20200", "$get$xyzD65ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676, -0.3556707837763924, -0.2533662813736598, -0.666684351832489, 1.616481236634939, 0.01576854581391113, 0.01763985744531091, -0.04277061325780865, 0.942103121235474], type$.JSArray_double)));
  128431. _lazyFinal($, "linearRec2020ToLms0", "$get$linearRec2020ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6167557848654444, 0.36019840122646335, 0.02304581390809228, 0.2651330593926367, 0.6358393720678491, 0.09902756853951408, 0.10010262952034828, 0.20390652261661452, 0.6959908478630372], type$.JSArray_double)));
  128432. _lazyFinal($, "lmsToLinearRec20200", "$get$lmsToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513, -1.246389493760618, 0.10648276332596668, -0.8847358357577674, 2.1632309383612007, -0.2784951026034334, -0.04857374640044396, -0.4545031497140964, 1.5030768961145404], type$.JSArray_double)));
  128433. _lazyFinal($, "linearRec2020ToLinearProphotoRgb0", "$get$linearRec2020ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8351873331297235, 0.04886884858605698, 0.11594381828421951, 0.05403324519953363, 0.9289184085692044, 0.01704834623126199, -0.00234203897072539, 0.03633215316169465, 0.9660098858090307], type$.JSArray_double)));
  128434. _lazyFinal($, "linearProphotoRgbToLinearRec20200", "$get$linearProphotoRgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408, -0.05756805370122346, -0.14309127581618444, -0.06994154955888504, 1.080617897597214, -0.01067634803832895, 0.00554147334294746, -0.04078219298657951, 1.035240719643632], type$.JSArray_double)));
  128435. _lazyFinal($, "linearRec2020ToXyzD500", "$get$linearRec2020ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.673515463188276, 0.16569726370390453, 0.12508294953738705, 0.2790590051411206, 0.6753180057491098, 0.04562298910976962, -0.00193242713400438, 0.02997782679282923, 0.7970592028516355], type$.JSArray_double)));
  128436. _lazyFinal($, "xyzD50ToLinearRec20200", "$get$xyzD50ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766, -0.3936818981316471, -0.23595963848828266, -0.6826641074173818, 1.6477146127444076, 0.01281708338512084, 0.02966887665275675, -0.0629258964297003, 1.2535578201865771], type$.JSArray_double)));
  128437. _lazyFinal($, "xyzD65ToLms0", "$get$xyzD65ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.819022437996703, 0.36190626005289034, -0.12887378152098788, 0.03298365393238846, 0.9292868615863433, 0.03614466635064235, 0.0481771893596242, 0.2642395317527308, 0.6335478284694308], type$.JSArray_double)));
  128438. _lazyFinal($, "lmsToXyzD650", "$get$lmsToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243, -0.5578149944602171, 0.2813910456659646, -0.04057574521480084, 1.1122868032803173, -0.07171105806551635, -0.07637293667466007, -0.42149333240224324, 1.5869240198367818], type$.JSArray_double)));
  128439. _lazyFinal($, "xyzD65ToLinearProphotoRgb0", "$get$xyzD65ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979, -0.22301514479051668, -0.1016066850741379, -0.5262384021633072, 1.4816319629234644, 0.01701879027252688, -0.0112022652862215, 0.01824640347962099, 0.9112472274915048], type$.JSArray_double)));
  128440. _lazyFinal($, "linearProphotoRgbToXyzD650", "$get$linearProphotoRgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.755590742296921, 0.11271984265940525, 0.0821453420953454, 0.2683218435785719, 0.7151152566617912, 0.01656289975963685, 0.0039159727624258, -0.01293344283684181, 1.0980752208342945], type$.JSArray_double)));
  128441. _lazyFinal($, "xyzD65ToXyzD500", "$get$xyzD65ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966, 0.02294687060160952, -0.05019226628920519, 0.02962780877005567, 0.99043442675388, -0.01707379906341879, -0.00924304064620452, 0.01505519149029816, 0.751874281428137], type$.JSArray_double)));
  128442. _lazyFinal($, "xyzD50ToXyzD650", "$get$xyzD50ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.9554734214880752, -0.02309845494876452, 0.06325924320057065, -0.02836970933386358, 1.0099953980813041, 0.0210414411919173, 0.01231401486448199, -0.02050764929889898, 1.330365926242124], type$.JSArray_double)));
  128443. _lazyFinal($, "lmsToLinearProphotoRgb0", "$get$lmsToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207, -0.9879509427514458, 0.24959579463572504, -0.7070494015329266, 1.9343700444401382, -0.2273206429072115, -0.08407882206239634, -0.35754060521141334, 1.4416194272738097], type$.JSArray_double)));
  128444. _lazyFinal($, "linearProphotoRgbToLms0", "$get$linearProphotoRgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7154484605655534, 0.35279155007721186, -0.0682400106427653, 0.2744116490015671, 0.6677976498412367, 0.05779070115719616, 0.10978443261622942, 0.18619829115002018, 0.7040172762337504], type$.JSArray_double)));
  128445. _lazyFinal($, "lmsToXyzD500", "$get$lmsToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706, -0.5378717444973745, 0.2135812027542364, -0.00253387643187372, 1.0923167988719165, -0.08978292244004273, -0.06937382305734124, -0.29500839894431263, 1.1894868245121142], type$.JSArray_double)));
  128446. _lazyFinal($, "xyzD50ToLms0", "$get$xyzD50ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7707000420431172, 0.34924840261939616, -0.11202351884164681, 0.00559649248368848, 0.9370723401136769, 0.06972568836252771, 0.04633714262191069, 0.25277531574310524, 0.851458076746796], type$.JSArray_double)));
  128447. _lazyFinal($, "linearProphotoRgbToXyzD500", "$get$linearProphotoRgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7977666449006423, 0.13518129740053308, 0.0313477341283922, 0.2880748288194013, 0.711835234241873, 0.00008993693872564, 0, 0, 0.8251046025104602], type$.JSArray_double)));
  128448. _lazyFinal($, "xyzD50ToLinearProphotoRgb0", "$get$xyzD50ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583, -0.25557208737979464, -0.05110186497554526, -0.5446307051249019, 1.5082477428451468, 0.02052744743642139, 0, 0, 1.2119675456389452], type$.JSArray_double)));
  128449. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  128450. var t1 = $.$get$globalFunctions0();
  128451. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  128452. t1.add$1(0, "if");
  128453. t1.remove$1(0, "abs");
  128454. t1.remove$1(0, "alpha");
  128455. t1.remove$1(0, "color");
  128456. t1.remove$1(0, "grayscale");
  128457. t1.remove$1(0, "hsl");
  128458. t1.remove$1(0, "hsla");
  128459. t1.remove$1(0, "hwb");
  128460. t1.remove$1(0, "invert");
  128461. t1.remove$1(0, "lab");
  128462. t1.remove$1(0, "lch");
  128463. t1.remove$1(0, "max");
  128464. t1.remove$1(0, "min");
  128465. t1.remove$1(0, "oklab");
  128466. t1.remove$1(0, "oklch");
  128467. t1.remove$1(0, "opacity");
  128468. t1.remove$1(0, "rgb");
  128469. t1.remove$1(0, "rgba");
  128470. t1.remove$1(0, "round");
  128471. t1.remove$1(0, "saturate");
  128472. return t1;
  128473. });
  128474. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  128475. var _i, deprecation, t2,
  128476. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  128477. for (_i = 0; _i < 28; ++_i) {
  128478. deprecation = B.List_hzi[_i];
  128479. if (deprecation !== B.Deprecation_S1A) {
  128480. t2 = deprecation.id;
  128481. t1.$indexSet(0, t2, {id: t2, status: new A.deprecations_closure(deprecation).call$0(), description: deprecation.description, deprecatedIn: deprecation.get$deprecatedIn(0), obsoleteIn: deprecation.get$obsoleteIn(0)});
  128482. }
  128483. }
  128484. return t1;
  128485. });
  128486. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  128487. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  128488. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  128489. var _null = null;
  128490. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  128491. });
  128492. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  128493. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  128494. var t1 = type$.BuiltInCallable_2,
  128495. t2 = A.List_List$of($.$get$global6(), true, t1);
  128496. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  128497. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  128498. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  128499. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  128500. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  128501. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  128502. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  128503. return A.UnmodifiableListView$(t2, t1);
  128504. });
  128505. _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<Callable>>")), type$.BuiltInModule_Callable_2));
  128506. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  128507. _lazyFinal($, "global7", "$get$global7", () => {
  128508. var _s4_ = "list";
  128509. return A.UnmodifiableListView$(A._setArrayType([$.$get$_length2().withDeprecationWarning$1(_s4_), $.$get$_nth0().withDeprecationWarning$1(_s4_), $.$get$_setNth0().withDeprecationWarning$1(_s4_), $.$get$_join0().withDeprecationWarning$1(_s4_), $.$get$_append2().withDeprecationWarning$1(_s4_), $.$get$_zip0().withDeprecationWarning$1(_s4_), $.$get$_index2().withDeprecationWarning$1(_s4_), $.$get$_isBracketed0().withDeprecationWarning$1(_s4_), $.$get$_separator0().withDeprecationWarning$1(_s4_).withName$1("list-separator")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128510. });
  128511. _lazyFinal($, "module6", "$get$module6", () => A.BuiltInModule$0("list", A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0(), $.$get$_slash0()], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  128512. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  128513. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  128514. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  128515. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  128516. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  128517. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  128518. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  128519. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  128520. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  128521. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  128522. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  128523. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  128524. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  128525. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyListClass_closure0(), "setValue", new A.legacyListClass_closure1(), "getSeparator", new A.legacyListClass_closure2(), "setSeparator", new A.legacyListClass_closure3(), "getLength", new A.legacyListClass_closure4()], type$.String, type$.Function));
  128526. return t1;
  128527. });
  128528. _lazyFinal($, "global8", "$get$global8", () => {
  128529. var _s3_ = "map";
  128530. return A.UnmodifiableListView$(A._setArrayType([$.$get$_get0().withDeprecationWarning$1(_s3_).withName$1("map-get"), $.$get$_merge0().withDeprecationWarning$1(_s3_).withName$1("map-merge"), $.$get$_remove0().withDeprecationWarning$1(_s3_).withName$1("map-remove"), $.$get$_keys0().withDeprecationWarning$1(_s3_).withName$1("map-keys"), $.$get$_values0().withDeprecationWarning$1(_s3_).withName$1("map-values"), $.$get$_hasKey0().withDeprecationWarning$1(_s3_).withName$1("map-has-key")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128531. });
  128532. _lazyFinal($, "module7", "$get$module7", () => A.BuiltInModule$0("map", A._setArrayType([$.$get$_get0(), $.$get$_set0(), $.$get$_merge0(), $.$get$_remove0(), $.$get$_keys0(), $.$get$_values0(), $.$get$_hasKey0(), $.$get$_deepMerge0(), $.$get$_deepRemove0()], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  128533. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  128534. _lazyFinal($, "_set0", "$get$_set0", () => A.BuiltInCallable$overloadedFunction0("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure1(), "$map, $args...", new A._set_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  128535. _lazyFinal($, "_merge0", "$get$_merge0", () => A.BuiltInCallable$overloadedFunction0("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure1(), "$map1, $args...", new A._merge_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  128536. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  128537. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  128538. _lazyFinal($, "_remove0", "$get$_remove0", () => A.BuiltInCallable$overloadedFunction0("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure1(), "$map, $key, $keys...", new A._remove_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  128539. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  128540. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  128541. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  128542. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  128543. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  128544. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  128545. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getKey", new A.legacyMapClass_closure0(), "getValue", new A.legacyMapClass_closure1(), "getLength", new A.legacyMapClass_closure2(), "setKey", new A.legacyMapClass_closure3(), "setValue", new A.legacyMapClass_closure4()], type$.String, type$.Function));
  128546. return t1;
  128547. });
  128548. _lazyFinal($, "global9", "$get$global9", () => {
  128549. var _s4_ = "math";
  128550. return A.UnmodifiableListView$(A._setArrayType([A._function9("abs", "$number", new A.global_closure43()), $.$get$_ceil0().withDeprecationWarning$1(_s4_), $.$get$_floor0().withDeprecationWarning$1(_s4_), $.$get$_max0().withDeprecationWarning$1(_s4_), $.$get$_min0().withDeprecationWarning$1(_s4_), $.$get$_percentage0().withDeprecationWarning$1(_s4_), $.$get$_randomFunction0().withDeprecationWarning$1(_s4_), $.$get$_round0().withDeprecationWarning$1(_s4_), $.$get$_unit0().withDeprecationWarning$1(_s4_), $.$get$_compatible0().withDeprecationWarning$1(_s4_).withName$1("comparable"), $.$get$_isUnitless0().withDeprecationWarning$1(_s4_).withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128551. });
  128552. _lazyFinal($, "module8", "$get$module8", () => {
  128553. var _null = null;
  128554. return A.BuiltInModule$0("math", A._setArrayType([A._numberFunction0("abs", new A.module_closure26()), $.$get$_acos0(), $.$get$_asin0(), $.$get$_atan0(), $.$get$_atan20(), $.$get$_ceil0(), $.$get$_clamp0(), $.$get$_cos0(), $.$get$_compatible0(), $.$get$_floor0(), $.$get$_hypot0(), $.$get$_isUnitless0(), $.$get$_log0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_pow0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_sin0(), $.$get$_sqrt0(), $.$get$_tan0(), $.$get$_unit0(), $.$get$_div0()], type$.JSArray_Callable_2), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber0(2.718281828459045, _null), "pi", A.SassNumber_SassNumber0(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber0(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber0(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber0(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber0(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber0(5e-324, _null)], type$.String, type$.Value_2), type$.Callable_2);
  128555. });
  128556. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  128557. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  128558. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  128559. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  128560. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  128561. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  128562. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  128563. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  128564. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  128565. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  128566. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  128567. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  128568. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  128569. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  128570. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  128571. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  128572. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  128573. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  128574. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  128575. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  128576. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  128577. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  128578. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  128579. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  128580. _lazyFinal($, "_shared0", "$get$_shared0", () => A.UnmodifiableListView$(A._setArrayType([A._function6("feature-exists", "$feature", new A._shared_closure3()), A._function6("inspect", "$value", new A._shared_closure4()), A._function6("type-of", "$value", new A._shared_closure5()), A._function6("keywords", "$args", new A._shared_closure6())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  128581. _lazyFinal($, "global10", "$get$global12", () => {
  128582. var t2,
  128583. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  128584. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  128585. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  128586. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  128587. });
  128588. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  128589. var t1 = type$.BuiltInCallable_2,
  128590. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  128591. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  128592. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  128593. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  128594. return A.UnmodifiableListView$(t2, t1);
  128595. });
  128596. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  128597. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  128598. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  128599. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  128600. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  128601. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  128602. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  128603. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyNumberClass_closure0(), "setValue", new A.legacyNumberClass_closure1(), "getUnit", new A.legacyNumberClass_closure2(), "setUnit", new A.legacyNumberClass_closure3()], type$.String, type$.Function));
  128604. return t1;
  128605. });
  128606. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  128607. var t3, type,
  128608. t1 = type$.String,
  128609. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  128610. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  128611. t3 = t1.get$current(t1);
  128612. type = t3._0;
  128613. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  128614. t2.$indexSet(0, t3.get$current(t3), type);
  128615. }
  128616. return t2;
  128617. });
  128618. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty11, B.List_empty12, $.$get$bogusSpan0()));
  128619. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  128620. _lazyFinal($, "global11", "$get$global10", () => {
  128621. var _s8_ = "selector";
  128622. return A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector0().withDeprecationWarning$1(_s8_), $.$get$_simpleSelectors0().withDeprecationWarning$1(_s8_), $.$get$_parse0().withDeprecationWarning$1(_s8_).withName$1("selector-parse"), $.$get$_nest0().withDeprecationWarning$1(_s8_).withName$1("selector-nest"), $.$get$_append1().withDeprecationWarning$1(_s8_).withName$1("selector-append"), $.$get$_extend0().withDeprecationWarning$1(_s8_).withName$1("selector-extend"), $.$get$_replace0().withDeprecationWarning$1(_s8_).withName$1("selector-replace"), $.$get$_unify0().withDeprecationWarning$1(_s8_).withName$1("selector-unify")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128623. });
  128624. _lazyFinal($, "module9", "$get$module9", () => A.BuiltInModule$0("selector", A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0(), $.$get$_nest0(), $.$get$_append1(), $.$get$_extend0(), $.$get$_replace0(), $.$get$_unify0()], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  128625. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  128626. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  128627. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  128628. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  128629. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  128630. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  128631. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  128632. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  128633. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  128634. var _i, set, t2,
  128635. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  128636. for (_i = 0; _i < 5; ++_i) {
  128637. set = B.List_BFg[_i];
  128638. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  128639. t1.$indexSet(0, t2.get$current(0), set);
  128640. }
  128641. return t1;
  128642. });
  128643. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  128644. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  128645. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  128646. _lazyFinal($, "global12", "$get$global11", () => {
  128647. var _s6_ = "string";
  128648. return A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote0().withDeprecationWarning$1(_s6_), $.$get$_quote0().withDeprecationWarning$1(_s6_), $.$get$_toUpperCase0().withDeprecationWarning$1(_s6_), $.$get$_toLowerCase0().withDeprecationWarning$1(_s6_), $.$get$_uniqueId0().withDeprecationWarning$1(_s6_), $.$get$_length1().withDeprecationWarning$1(_s6_).withName$1("str-length"), $.$get$_insert0().withDeprecationWarning$1(_s6_).withName$1("str-insert"), $.$get$_index1().withDeprecationWarning$1(_s6_).withName$1("str-index"), $.$get$_slice0().withDeprecationWarning$1(_s6_).withName$1("str-slice")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  128649. });
  128650. _lazyFinal($, "module10", "$get$module10", () => A.BuiltInModule$0("string", A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_length1(), $.$get$_insert0(), $.$get$_index1(), $.$get$_slice0(), $.$get$_uniqueId0(), A._function7("split", "$string, $separator, $limit: null", new A.module_closure25())], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  128651. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  128652. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  128653. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  128654. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  128655. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  128656. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  128657. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  128658. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  128659. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  128660. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  128661. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  128662. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  128663. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  128664. return t1;
  128665. });
  128666. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  128667. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  128668. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  128669. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  128670. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  128671. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  128672. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  128673. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  128674. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  128675. })();
  128676. (function nativeSupport() {
  128677. !function() {
  128678. var intern = function(s) {
  128679. var o = {};
  128680. o[s] = 1;
  128681. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  128682. };
  128683. init.getIsolateTag = function(name) {
  128684. return intern("___dart_" + name + init.isolateTag);
  128685. };
  128686. var tableProperty = "___dart_isolate_tags_";
  128687. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  128688. var rootProperty = "_ZxYxX";
  128689. for (var i = 0;; i++) {
  128690. var property = intern(rootProperty + "_" + i + "_");
  128691. if (!(property in usedProperties)) {
  128692. usedProperties[property] = 1;
  128693. init.isolateTag = property;
  128694. break;
  128695. }
  128696. }
  128697. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  128698. }();
  128699. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, SharedArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  128700. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, SharedArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  128701. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  128702. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  128703. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  128704. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  128705. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  128706. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  128707. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  128708. })();
  128709. Function.prototype.call$0 = function() {
  128710. return this();
  128711. };
  128712. Function.prototype.call$1 = function(a) {
  128713. return this(a);
  128714. };
  128715. Function.prototype.call$2 = function(a, b) {
  128716. return this(a, b);
  128717. };
  128718. Function.prototype.call$3$1 = function(a) {
  128719. return this(a);
  128720. };
  128721. Function.prototype.call$2$1 = function(a) {
  128722. return this(a);
  128723. };
  128724. Function.prototype.call$1$1 = function(a) {
  128725. return this(a);
  128726. };
  128727. Function.prototype.call$3 = function(a, b, c) {
  128728. return this(a, b, c);
  128729. };
  128730. Function.prototype.call$4 = function(a, b, c, d) {
  128731. return this(a, b, c, d);
  128732. };
  128733. Function.prototype.call$3$3 = function(a, b, c) {
  128734. return this(a, b, c);
  128735. };
  128736. Function.prototype.call$2$2 = function(a, b) {
  128737. return this(a, b);
  128738. };
  128739. Function.prototype.call$5 = function(a, b, c, d, e) {
  128740. return this(a, b, c, d, e);
  128741. };
  128742. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  128743. return this(a, b, c, d, e, f);
  128744. };
  128745. Function.prototype.call$2$0 = function() {
  128746. return this();
  128747. };
  128748. Function.prototype.call$1$0 = function() {
  128749. return this();
  128750. };
  128751. Function.prototype.call$1$2 = function(a, b) {
  128752. return this(a, b);
  128753. };
  128754. Function.prototype.call$2$3 = function(a, b, c) {
  128755. return this(a, b, c);
  128756. };
  128757. convertAllToFastObject(holders);
  128758. convertToFastObject($);
  128759. (function(callback) {
  128760. if (typeof document === "undefined") {
  128761. callback(null);
  128762. return;
  128763. }
  128764. if (typeof document.currentScript != "undefined") {
  128765. callback(document.currentScript);
  128766. return;
  128767. }
  128768. var scripts = document.scripts;
  128769. function onLoad(event) {
  128770. for (var i = 0; i < scripts.length; ++i) {
  128771. scripts[i].removeEventListener("load", onLoad, false);
  128772. }
  128773. callback(event.target);
  128774. }
  128775. for (var i = 0; i < scripts.length; ++i) {
  128776. scripts[i].addEventListener("load", onLoad, false);
  128777. }
  128778. })(function(currentScript) {
  128779. init.currentScript = currentScript;
  128780. var callMain = A.main2;
  128781. if (typeof dartMainRunner === "function") {
  128782. dartMainRunner(callMain, []);
  128783. } else {
  128784. callMain([]);
  128785. }
  128786. });
  128787. })();
  128788. }